11\chapter {A categorical interlude }
22\label {ch:cats }
3+ \marginnote {%
4+ This chapter introduces some useful terminology that we'll use in the rest of the book.
5+ It can probably be skipped at a first reading, and only consulted as needed.}
36
47We have seen that many types carry a notion of morphism between its elements:
58\begin {itemize }
@@ -37,9 +40,10 @@ \chapter{A categorical interlude}
3740 give traditional expositions,
3841 and \citeauthor {MacLaneWorking }\footnotemark {}
3942 gives a comprehensive treatment.}%
40- \footcitetext {hottbook}%
41- \footcitetext {RiehlContext}%
42- \footcitetext {AwodeyCat}
43+ \addtocounter {footnote}{-3}\footcitetext {hottbook}%
44+ \stepcounter {footnote}\footcitetext {AwodeyCat}%
45+ \stepcounter {footnote}\footcitetext {RiehlContext}%
46+ \stepcounter {footnote}\footcitetext {MacLaneWorking}%
4347on category in order to systematize what we've done so far,
4448and prepare for the main result of the next chapter, which is to give an
4549\emph {equivalence of categories } between the categories of concrete and abstract groups.
@@ -67,7 +71,11 @@ \section{Categories}
6771and this motivates the following definition:
6872
6973\begin {definition }\label {def:wild-cat }
70- A \emph {wild precategory }\index {category!wild precategory}
74+ A \emph {wild precategory }\index {category!wild precategory}\footnote {%
75+ See below for remarks on the terminology.
76+ Adding further properties to the data given here eventually
77+ recovers the notion of a category \emph {simpliciter },
78+ see \cref {def:category }.}
7179 consists of the following data:
7280 \begin {enumerate }
7381 \item \label {struc:cat-ob } A type $ \var {Ob}$ , called the \emph {type of objects }.
@@ -79,7 +87,16 @@ \section{Categories}
7987 \item \label {struc:cat-id } For each object $ A : \var {Ob}$ ,
8088 an \emph {identity arrow } $ \id _A : A \to A$ .
8189 \item \label {struc:cat-comp } For each pair of arrows $ f : A \to B$ and $ g : B \to C$ ,
82- a \emph {composite arrow } $ g\circ f : A \to C$ .
90+ a \emph {composite arrow } $ g\circ f : A \to C$ .\footnote {%
91+ To be fully explicit, the composition operation has
92+ type
93+ \[
94+ \prod _{A,B,C:\var {Ob}}(B \to C) \to (A \to B) \to (A \to C),
95+ \]
96+ and we might denote it $ g \circ _{A,B,C} f$ .
97+ Since the objects $ A$ , $ B$ , and $ C$ can often be inferred,
98+ we leave them out, lest the notation becomes too heavy.
99+ A similar remark goes for the other operations.}
83100 \item \label {struc:cat-unit-laws } For each arrow $ f : A \to B$ ,
84101 a pair of identifications
85102 \[
@@ -95,6 +112,7 @@ \section{Categories}
95112 If $ \mathcal C \jdeq (\var {Ob},\hom ,\id ,\lambda ,\rho ,\alpha )$
96113 is a wild precategory, then we write $ A, B : \mathcal C$ instead of $ A, B : \var {Ob}$
97114 to indicate that $ A, B$ are elements of the underlying type of objects of $ \mathcal C$ .
115+ We also write $ \constant {Ob}(\mathcal C)$ for this type.
98116 We may write $ f, g : A \to _{\mathcal C} B$ to emphasize where the arrows $ f$ and $ g$ live, if needed,
99117 and sometimes $ \hom _{\mathcal C}(A,B)$ or $ \mathcal C(A,B)$ , instead of $ \hom (A,B)$ .
100118\end {definition }
@@ -157,7 +175,7 @@ \section{Categories}
157175Most (wild) precategories we shall meet satisfy a further condition
158176that makes them better behaved than arbitrary precategories:
159177a \emph {univalence } condition.
160- In fact, for the wild precategory of types and function ,
178+ In fact, for the wild precategory of types and functions ,
161179this condition is exactly the Univalence Axiom (\cref {def:univalence })!
162180
163181In order to define this, we need the notion corresponding to equivalence
@@ -196,14 +214,14 @@ \section{Categories}
196214We write $ \inv f$ for the inverse of an isomorphism $ f$ .
197215\begin {definition }
198216 A wild precategory $ \mathcal C$ is \emph {univalent }\index {univalent} if
199- for all objects $ A,B : \mathcal C$ , the function
217+ for all objects $ A,B : \constant {Ob}( \ mathcal C) $ , the function
200218 \[
201- \constant {idtoiso}_{A,B} : (A \eqto B) \to (A \isoto B)
219+ \constant {idtoiso}_{A,B} : (A \eqto _{ \constant {Ob}( \mathcal C)} B) \to (A \isoto _{ \mathcal C} B)
202220 \]
203221 defined by path induction sending $ \refl A$ to $ \id _A$ ,
204222 is an equivalence.
205223\end {definition }
206- \begin {definition }
224+ \begin {definition }\label { def:category }
207225 A \emph {wild category }\index {category!wild category} is a univalent wild precategory,
208226 and a \emph {category }\index {category} is a univalent precategory.
209227\end {definition }
@@ -250,14 +268,16 @@ \section{Categories}
250268 of a preorder reduces to just a type $ P$ and a binary relation,
251269 typically written $ \le : P \to P \to \Prop $ ,
252270 that is reflexive, $ x \le x$ (via the identities)
253- and transitive, $ x\le y \to y \le z \to x\le z$ (via composition).
271+ and transitive, \ie if $ x\le y$ and $ y \le z$ implies $ x\le z$ (via composition).
254272
255273 A \emph {partial order }\index {partial order}, also known as a \emph {poset }\index {poset},
256274 is a univalent preorder.
257275 In this case, the type of objects is a set.
258- This happens if and only if the relation is symmetric, $ x \le y \to y \le x \to x = y$ .
276+ This happens if and only if the relation is symmetric,
277+ \ie if $ x \le y$ and $ y \le x$ implies $ x = y$ .
259278
260- Typical examples are $ (\NN ,\le )$ , $ (\ZZ ,\le )$ , and $ (\Prop ,\to )$ .
279+ Typical examples are $ (\NN ,\le )$ , $ (\ZZ ,\le )$ , $ (\Prop ,\to )$ ,
280+ and $ (\Sub (S),\subseteq )$ for a set $ S$ .
261281 A preorder that fails to be a poset is the two-element type $ \bn 2 $
262282 with the always true relation.
263283 This is hence also an example of a precategory that fails to be univalent.
@@ -301,8 +321,8 @@ \section{Categories}
301321 They \emph {all } work at the level of $ (\infty ,1 )$ -categories.
302322 We refer to \citeauthor {LurieHTT }\footnotemark {} and
303323 \citeauthor {LandInftyCat }\footnotemark {} for details.}%
304- \footcitetext {LurieHTT}%
305- \footcitetext {LandInftyCat}
324+ \addtocounter {footnote}{-1} \ footcitetext {LurieHTT}%
325+ \stepcounter {footnote} \ footcitetext {LandInftyCat}
306326but a notable exception is the construction of slice categories.
307327\begin {example }
308328 The \emph {slice precategory } of a precategory $ \mathcal C$ over an object $ C : \mathcal {C}$ ,
@@ -357,7 +377,7 @@ \section{Abstract notions and duality}
357377while the trivial group $ \TG $ is initial in the category of groups.
358378
359379The relationship between terminal and initial objects reflects
360- a deep aspect of category theory: Every concepts come with a dual version
380+ a deep aspect of category theory: Every concept comes with a dual version
361381obtained by `` reversing all the arrows'' .
362382More formally, can introduce for every wild precategory its opposite category
363383that has its arrows reversed.
@@ -422,7 +442,12 @@ \section{Abstract notions and duality}
422442 \]
423443 respectively.
424444\end {definition }
425- We already met the monomorphisms in the category of groups in~\cref {def:typeofmono }.
445+ We already met the monomorphisms in the category of groups in~\cref {def:typeofmono }
446+ using a different definition.
447+ \begin {xca }
448+ Show that the monomorphisms in the category of groups are the same as
449+ those of~\cref {def:typeofmono }.
450+ \end {xca }
426451\begin {xca }
427452 Show that the monomorphisms in the wild category of types are just the injections,
428453 and the epimorphisms in the category of sets are just the surjections.
@@ -433,6 +458,32 @@ \section{Abstract notions and duality}
433458\section {Naturality and adjunctions }
434459\label {sec:naturality }
435460
461+ Not only do have arrows \emph {in } (wild pre-)categories, there's also
462+ a notion of arrow \emph {between } them. These are called functors.
463+ \begin {definition }\label {def:functor }
464+ A \emph {wild functor }\index {functor}
465+ $ F : \mathcal C \to \mathcal D$
466+ between wild precategories $ \mathcal C$ and $ \mathcal D$
467+ consists of a function
468+ $ F : \constant {Ob}(\mathcal C) \to \constant {Ob}(\mathcal C)$ ,
469+ mapping objects to objects,
470+ and a family of functions\footnote {%
471+ In practice, the functions on objects and arrows are named the same as
472+ the functor, but they could be disambiguated with subscripts,
473+ say, $ F_0 $ and $ F_1 $ , if needed.}
474+ $ F : \prod _{A,B:\mathcal C}(A \to _{\mathcal C} B) \to (F(A) \to _{\mathcal D} F(B))$
475+ together with identifications
476+ \[
477+ F_{\id } : F(\id _A) \eqto \id _A,\quad\text {and}\quad
478+ F_{\circ } : F(g\circ f) \eqto F(g)\circ F(f),
479+ \]
480+ for all objects $ A$ and composable arrows $ f$ and $ g$ in $ \mathcal C$ .
481+
482+ If $ \mathcal D$ is a precategory, then the types of $ F_{\id }$ and $ F_{\circ }$
483+ are propositions, and in this case we just call $ F$ a \emph {functor }.
484+ \end {definition }
485+
486+
436487% functors and natural transformations
437488% functor category
438489% equivalences of categories
0 commit comments