Internal categories [frct-003O]
We have already seen in our discussion of locally small and globally small categories that smallness in the fibered sense appropriately generalizes the ordinary notion of smallness for categories over \mathbf {Set}. Another perspective on smallness is given by the internal language, in which a category is viewed as an algebra for the “theory of categories” computed in another category with enough structure. The notion of internal categories is credited (independently) to Alexander Grothendieck and Charles Ehresmann.
The notion of a (meta-)category is an essentially algebraic theory. As such it is possible to compute models of this theory in any category that has finite limits.
Definition Internal category [frct-001A]
Let E be a category with finite limits; then an internal category in E is defined by the following data:
- an object of objects C_{0}\in E,
- an object of morphisms C_{1}\in E,
- source and target morphisms s,t:C_{1}\to C_{0},
- a generic identity morphism C_{0}\to C_{1},
- a generic composition morphism C_{1}\times _{C_{0}}C_{1}\to C_{1},
- satisfying a number of laws corresponding to those of a category.
For the details of these laws, we refer to any standard source.
The externalization of an internal category [frct-000V]
- with contributions from Jon Sterling
Construction Externalization [frct-001R]
Let C be an internal category in E. We may define a fibered category {\mathopen {}\left [C\right ]\mathclose {}} over E called the externalization of C.
- Given x\in E, an object of {\mathopen {}\left [C\right ]\mathclose {}}_{x} is defined to be a morphism x\to C_{0} in E.
Given x,y\in E and f:x\to y and u \in {\mathopen {}\left [C\right ]\mathclose {}}_{x} and v\in {\mathopen {}\left [C\right ]\mathclose {}}_{y}, a morphism u\xrightarrow [f]{} v is defined to be a morphism h : x\to C_{1} in E such that the following diagram commutes:
Lemma Cartesian lifts in the externalization [frct-000W]
The externalization is a cartesian fibration.
Proof.
Given an object v\in {\mathopen {}\left [C\right ]\mathclose {}}_{y} and a morphism f:x\to y in E, we may define a cartesian lift f^{*}v\xrightarrow [f]{} v by setting f^{*}v = v\circ f : x \to C_{0}.
Lemma Globally small externalization [frct-000X]
The externalization is globally small
Proof.
We may choose a generic object for {\mathopen {}\left [C\right ]\mathclose {}}, namely the identity element (C_{0},1_{C_{0}})\in \widetilde {{\mathopen {}\left [C\right ]\mathclose {}}}. Given any object (x,u)\in \widetilde {{\mathopen {}\left [C\right ]\mathclose {}}} the cartesian map (x,u)\to (C_{0},1_{C_{0}}) is given as follows:
Lemma Locally small externalization [frct-000Y]
The externalization is locally small.
Proof.
Fix x\in E and u,v\in {\mathopen {}\left [C\right ]\mathclose {}}_{x}, we must exhibit a terminal object to the (total) category \widetilde {\mathbf {H}_{{\mathopen {}\left [C\right ]\mathclose {}}_{x}}(u,v)} of “hom candidates”. First we define {\mathopen {}\left [u,v\right ]\mathclose {}} to be the following pullback in E:
We define \overline {p}:{\mathopen {}\left [u,v\right ]\mathclose {}}^{*}{u}\xrightarrow [p]{} u\in {\mathopen {}\left [C\right ]\mathclose {}}_{{\mathopen {}\left [u,v\right ]\mathclose {}}} to be the cartesian lift of u\in {\mathopen {}\left [C\right ]\mathclose {}}_{x} along p:{\mathopen {}\left [u,v\right ]\mathclose {}}\to x:
We need to define a displayed evaluation map \epsilon : {\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u\xrightarrow [p]{} v; unraveling the definition of a displayed morphism in the externalization of C, we choose the following diagram:
Putting all this together, we assert that the terminal object of \widetilde {\mathbf {H}_{{\mathopen {}\left [C\right ]\mathclose {}}_{x}}(u,v)} is the following span in {\mathopen {}\left [C\right ]\mathclose {}}:
Fixing another such candidate hom span {\mathopen {}\left \{u \leftarrow \bar {h}\rightarrow v\right \}\mathclose {}}\in \widetilde {\mathbf {H}_{{\mathopen {}\left [C\right ]\mathclose {}}_{x}}(u,v)}, we must exhibit a unique cartesian morphism \bar \alpha : \bar {h}\to {\mathopen {}\left [u,v\right ]\mathclose {}}^{*}{u} making the following diagram commute:
First we note that the evaluation map \epsilon _{h} : \bar {h}\to v amounts to an internal morphism h\to C_{1} satisfying the appropriate compatibility conditions. Therefore we may define the base \alpha :h\to {\mathopen {}\left [u,v\right ]\mathclose {}} of the universal map using the universal property of the pullback that defines {\mathopen {}\left [u,v\right ]\mathclose {}}:
The morphism \alpha :h\to {\mathopen {}\left [u,v\right ]\mathclose {}} defined above is the unique map in E satisfying the conditions required of the base for \bar \alpha ; therefore, it suffices to show that there exists a cartesian morphism \bar \alpha :\bar {h}\xrightarrow [\alpha ]{}{\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u since it will be unique if it exists. We define \bar \alpha using the universal property of the cartesian lift:
That \bar {\alpha }:\bar {h}\xrightarrow [\alpha ]{}{\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u is cartesian follows from the generalized pullback lemma for cartesian morphisms: it suffices to observe that both \bar {p}_{h}:\bar {h}\to u and its second factor \bar {p}:{\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u\to u are cartesian.
The full internal subcategory associated to a displayed object [frct-0011]
The full subfibration associated to a displayed object \bar {u} of a locally small cartesian fibration E over B can be seen to be equivalent to the externalization of an internal category {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}} in B.
Construction The internal category associated to a displayed object [frct-003Q]
Let \bar {u} be a displayed object in a locally small fibration E over B. We will define the internal category {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}} in B associated to \bar {u}. In particular, we let the object of objects {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}_{0} be u itself; defining the object of arrows {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}_{1} is more complex, making critical use of the local smallness of E over B.
We will think of the fiber category E_{u\times u} as the category of objects indexed in the boundary (source and target) of a morphism. Restricting \bar {u} along the source and target projections, we obtain the displayed objects of “points of the source” and “points of the target” respectively:
Because E is locally small, there is an object \mathbf {hom}_{E_{u\times u}}{\mathopen {}\left (\bar \partial _{1},\bar \partial _{2}\right )\mathclose {}}\in {B}_{/u\times u} that behaves as the “generic hom set”. We define {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}_{1}\in B and its source and target projections to be this very object.
Theorem Characterization of the externalization [frct-001S]
The externalization {\mathopen {}\left [{\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}\right ]\mathclose {}} of the internal category {\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}} associated to a displayed object \bar {u} in a locally small fibered category E over B is equivalent to the full internal subfibration \mathbf {Full}{\mathopen {}\left (\bar {u}\right )\mathclose {}}.
Proof.
We will define a fibred equivalence F : {\mathopen {}\left [{\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}\right ]\mathclose {}}\to \mathbf {Full}{\mathopen {}\left (\bar {u}\right )\mathclose {}} over B.
- Fix x\in B and \chi _{x} \in {\mathopen {}\left [{\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}\right ]\mathclose {}}_{x}, i.e. \chi _{x} : x\to u; we define F{\mathopen {}\left (\chi _{x}\right )\mathclose {}} to be an arbitrary cartesian map \phi _{x} : \bar {x}\xrightarrow [\chi _{x}]{} \bar {u}. (Here we have used the axiom of choice for collections.)
Fix f : x\to y\in B and \chi _{x} :x\to u and \chi _{y}:y\to u and a diagram representing a displayed morphism h from \chi _{x} to \chi _{y} over f as below:
We must define F{\mathopen {}\left (h\right )\mathclose {}}:\bar {x}\xrightarrow [f]{} \bar {y}, fixing arbitrary cartesian maps \bar \chi _{x}:\bar {x}\xrightarrow [\chi _{x}]{}\bar {u} and \bar \chi _{y}:\bar {y}\xrightarrow [\chi _{y}]{}\bar {u}. First we lift h:x\to {\mathopen {}\left [{\mathopen {}\left \langle \bar {u}\right \rangle \mathclose {}}\right ]\mathclose {}}_{1} into E using the universal property of the cartesian lift:
By composition with the “evaluation map” for our hom object, we have a map \bar {x}\xrightarrow [f;\chi _{y}]{}\bar {u}:
Next we define F{\mathopen {}\left (h\right )\mathclose {}}:\bar {x}\xrightarrow [f]{}\bar {y} using the universal property of (another) cartesian lift:
The internalization of a small fibration [frct-000Z]
Let E be a small fibration over B a category with finite limits, i.e. a cartesian fibration that is both locally small and globally small. We will show that E is equivalent to the externalization {\mathopen {}\left [C\right ]\mathclose {}} of an internal category C in B, namely the full internal subcategory associated to the generic object \bar {u}\in E.
Proof.
By the characterization of the externalization we know that the externalization of C so-defined is equivalent to the full subfibration \mathbf {Full}{\mathopen {}\left (\bar {u}\right )\mathclose {}} of E spanned by objects that are “classified” by \bar {u}. Because \bar {u} is generic, we know that every object of E is classified by \bar {u}, so we are done.