Skip to content

Commit 12263bf

Browse files
some stuff on adjunctions (more tbd)
1 parent 6067572 commit 12263bf

File tree

2 files changed

+141
-9
lines changed

2 files changed

+141
-9
lines changed

cats.tex

Lines changed: 137 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ \section{Categories}
373373
\citeauthor{LandInftyCat}\footnotemark{} for details.}%
374374
\addtocounter{footnote}{-1}\footcitetext{LurieHTT}%
375375
\stepcounter{footnote}\footcitetext{LandInftyCat}
376-
but a notable exception is the construction of slice categories.
376+
but a notable exception is the construction of slice categories,
377+
(also known as \emph{over categories}).
377378
\begin{example}\label{def:slice-cat}
378379
The \emph{slice precategory} of a precategory $\mathcal C$ over an object $C : \mathcal{C}$,
379380
denoted $\mathcal C/C$,
@@ -402,7 +403,7 @@ \section{Categories}
402403
carry over to $\mathcal C/C$.}
403404
\end{example}
404405
\begin{xca}\label{xca:univ-slice-cat}
405-
Construct the wild precategory structure on the \emph{slice of the universe} $\UU/B$
406+
Construct a wild precategory structure on the \emph{slice of the universe} $\UU/B$
406407
over a fixed type $B:\UU$.
407408
\end{xca}
408409

@@ -463,7 +464,8 @@ \section{Abstract notions and duality}
463464
has a dual version, obtained by precomposition with $(\blank)\op$.
464465

465466
For example, the dual of the slice category construction
466-
is the \emph{coslice} category $C/\mathcal C$.
467+
is the \emph{coslice} category $C/\mathcal C$
468+
(also known as the \emph{under category}).
467469

468470
As a further example of a pair dual notions, we consider that of
469471
monomorphisms and epimorphisms.
@@ -582,7 +584,7 @@ \section{Functors and natural transformations}
582584
for $X,Y : \BG\to\Set$,
583585
to the functorial action of set truncation, for $w:\BH$:
584586
\end{example}
585-
\begin{example}
587+
\begin{example}\label{def:n-trunc-functor}
586588
Taking $n$-truncation gives a wild functor
587589
$\Trunc\blank_n : \UU \to \UU^{\le n}$.
588590
For $n=0$, this is a functor from $\UU$ to $\Set_\UU$.
@@ -616,7 +618,8 @@ \section{Functors and natural transformations}
616618
We leave it to the reader to fill in the remaining data.
617619
\end{example}
618620
\begin{example}
619-
For an object $C : \mathcal C$ recall the slice precategory
621+
For an object $C$ of a precategory $\mathcal C$,
622+
recall the slice precategory
620623
$\mathcal C/C$ of~\cref{def:slice-cat}.
621624
Taking the domain of an object $(A,f:A\to C)$ of the slice
622625
extends to a functor $\fst : \mathcal C/C \to \mathcal C$.
@@ -704,6 +707,16 @@ \section{Functors and natural transformations}
704707
where $(A_+)_\div \jdeq A \coprod\bn 1$.
705708
The naturality squares commute by reflexivity.
706709
\end{example}
710+
\begin{example}\label{ex:path-gpd-nat}
711+
Every function $f : A \to B$ between types in $\UU$
712+
becomes a wild functor between the corresponding wild path groupoids
713+
using the action on paths, $\ap f$ from~\cref{def:ap}.
714+
715+
Likewise, given two functions $f,g : A \to B$, we get for
716+
every family of identifications $h : \prod_{x:A} f(x) \eqto g(x)$
717+
a wild natural transformation between the corresponding wild functors,
718+
using the naturality squares of~\cref{def:naturality-square}.
719+
\end{example}
707720

708721
With natural transformations as arrows we can elevate the
709722
type of functors to a precategory.
@@ -744,15 +757,130 @@ \section{Functors and natural transformations}
744757
to the type of functions from $A$ to the objects of $\mathcal C$.
745758
\end{xca}
746759

760+
A functor $F : \mathcal C\op \to \mathcal D$ whose domain is an opposite
761+
category is called \emph{contravariant}, because it reverses the directions
762+
of arrows: $f : C \to_{\mathcal C} C'$ in $\mathcal C$ maps to
763+
$F(f) : F(C') \to_{\mathcal D} F(C)$ in $\mathcal D$.
764+
If needed for emphasis, we may say that a functor
765+
$F : \mathcal C \to \mathcal D$ is \emph{covariant} by contrast.
766+
767+
\begin{example}
768+
For an object $C$ of a \emph{locally $\UU$-small}
769+
wild precategory $\mathcal C$, we can form the
770+
co-
771+
and contravariant wild
772+
functors
773+
\begin{align*}
774+
\Hom_{\mathcal C}(C, \blank) &: \mathcal C \to \UU, \\
775+
\Hom_{\mathcal C}(\blank, C) &: \mathcal C\op \to \UU,
776+
\end{align*}
777+
whose actions on morphisms
778+
are by post- and precomposition, respectively.
779+
These are called \emph{representable} functors.
780+
\end{example}
781+
747782
\section{Adjunctions}
748783
\label{sec:adjunctions}
749784

750-
We have already seen one example of an adjunction
751-
in~\cref{xca:adjunction-^*-_*}.
785+
We have already seen two examples of an adjunctions
786+
in~\cref{xca:adjunction-_!-^*,xca:adjunction-^*-_*}.
752787
Given a group homomorphism $f : G \to H$,
788+
there are families of bijections
789+
\begin{align*}
790+
\alpha &: \Hom_H(f_!\,X,Y) \isoto \Hom_G(X,f^*\,Y), \\
791+
\beta &: \Hom_G(f^*\,Y,X) \isoto \Hom_H(Y,f_*\,X),
792+
\end{align*}
793+
for $G$-sets $X$ and $H$-sets $Y$
794+
that are furthermore \emph{natural}.
795+
This just means that if we fix either $X$ or $Y$,
796+
then we get natural transformations of corresponding functors.
797+
For example,
798+
fixing $X$, we can regard $\alpha$ as a natural transformation
799+
\[
800+
\alpha : \Hom_H(f_!\,X, \blank) \to \Hom_G(X, f^*\,\blank)
801+
\]
802+
from the representable functor for $\GSet[H]$ at $f_!\,X$
803+
to the composition of $f^*$ and the representable functor
804+
for $\GSet$ at $X$.
805+
806+
\begin{definition}\label{def:adjunction}
807+
A (\emph{wild}) \emph{adjunction} between two (wild) precategories
808+
$\mathcal C$ and $\mathcal D$ consists of:
809+
\begin{itemize}
810+
\item a (wild) functor $F : \mathcal C \to \mathcal D$ (the \emph{left adjoint}),
811+
\item a (wild) functor $G : \mathcal D \to \mathcal C$ (the \emph{right adjoint}),
812+
\item a (wild) natural isomorphism $\alpha : \Hom_{\mathcal D}(F\blank,\blank) \isoto
813+
\Hom_{\mathcal C}(\blank, G\blank)$.
814+
\end{itemize}
815+
We write $F \dashv G$ to denote this situation.%
816+
\glossary(2dashv){$\protect\dashv$}{adjunction}
817+
\end{definition}
818+
The essence of an adjunction is thus the ability to
819+
transpose between arrows $F(C) \to_{\mathcal D} D$ and
820+
$C \to_{\mathcal C} G(D)$.
821+
There is however another way of packaging this information.
822+
We can transpose the identity $\id_{F(C)}$
823+
to get an arrow $\eta_C : C \to_{\mathcal C} GF(C)$,
824+
and the identity $\id_{G(D)}$ to get an arrow
825+
$\varepsilon_D : FG(D) \to_{\mathcal D} D$.
826+
Naturality of $\alpha$ makes these into natural transformations
827+
\[
828+
\eta : \id_{\mathcal C} \to GF,\quad\text{and}\quad
829+
\varepsilon : FG \to \id_{\mathcal D}
830+
\]
831+
called the \emph{unit} and \emph{counit} of the adjunction.
832+
\begin{marginfigure}
833+
\[
834+
\begin{tikzcd}[ampersand replacement=\&,column sep=small]
835+
FGF(C) \ar[r,"\varepsilon_{F(C)}"] \& F(C) \\
836+
F(C) \ar[u,"F(\eta_C)"]\ar[ur,"\id_{F(C)}"'] \& \\[-5mm]
837+
\& G(D) \\
838+
G(D) \ar[ur,"\id_{G(D)}"]\ar[r,"\eta_{G(D)}"'] \& GFG(D) \ar[u,"G(\varepsilon_D)"']
839+
\end{tikzcd}
840+
\]
841+
\caption{Triangle laws for an adjunction $F \dashv G$.}
842+
\label{fig:adj-triangles}
843+
\end{marginfigure}
844+
\begin{xca}
845+
Use naturality of $\alpha$, along with unit laws to fill the
846+
triangle laws in~\cref{fig:adj-triangles}.
847+
\end{xca}
848+
Conversely, given $F$, $G$, $\eta$, and $\varepsilon$, along with
849+
fillers for the triangle laws, we can recover $\alpha$
850+
by sending $f : F(C) \to_{\mathcal D} D$ to
851+
the composite
852+
\[
853+
C \xrightarrow{\eta_C} GF(C) \xrightarrow{G(f)} G(D).
854+
\]
855+
\begin{xca}
856+
Use the functor and triangle laws to check that $\alpha$ thus
857+
defined is a natural isomorphism.
858+
\end{xca}
859+
860+
\begin{example}
861+
We have a wild adjunction $\Trunc\blank_n \dashv \iota_n$
862+
with $\Trunc\blank_n : \UU \to \UU^{\le n}$ (cf.~\cref{def:n-trunc-functor})
863+
as the left adjoint
864+
and the inclusion $\iota_n : \UU^{\le n} \to \UU$ as the right adjoint.
865+
Indeed, the constructor $\trunc\blank_n$ acts as the unit, precomposition with which
866+
gives the equivalence
867+
\[
868+
(\Trunc X_n \to Y) \equivto (X \to Y)
869+
\]
870+
for $X : \UU$ and $Y : \UU^{\le n}$.
871+
\end{example}
872+
\begin{example}
873+
Also the add/forget base points functors
874+
from~\cref{ex:add-remove-basepoint} can be arranged
875+
into a wild adjunction $(\blank)_+ \dashv (\blank)_\div$.
876+
For $A : \UUp$ and $X : \UU$ we have
877+
\[
878+
\alpha : (A_+ \ptdto X) \equivto (A \to X_\div)
879+
\]
880+
given by precomposition with $\inl{} : A \to A_+$.
881+
\end{example}
753882

754-
% adjunctions
755-
% restriction and (co)induction of G-/H-sets
883+
% being a left adjoint is a proposition (after yoneda?)
756884
% product and exponential in types
757885
% equivalences of categories
758886
% fundamental theorem

macros.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@
157157
\newcommand{\casrus}[1]{\foreignlanguage{russian}{%
158158
\fontfamily{Tempora-TLF}\selectfont #1}}
159159

160+
%%% And yo from hiragana
161+
\font\maljapanese=dmjhira at 2ex % you can change this "2ex" value
162+
\newcommand*{\yo}{\textrm{\maljapanese\char"48}\!}
163+
160164
%%% Tufte font size
161165
%%
162166
% Set the font sizes and baselines to match Tufte's books

0 commit comments

Comments
 (0)