@@ -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}
463464has a dual version, obtained by precomposition with $ (\blank )\op $ .
464465
465466For 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
468470As a further example of a pair dual notions, we consider that of
469471monomorphisms 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
708721With natural transformations as arrows we can elevate the
709722type 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- ^*-_* }.
752787Given 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
0 commit comments