Foundations of relative category theory [frct-003I]
- January 1, 2022
- Jon Sterling, Carlo Angiuli
We assume knowledge of basic categorical concepts such as categories, functors, and natural transformations. The purpose of this lecture is to develop the notion of a category over another category.
We will draw on the work of Ahrens and Lumsdaine, Bénabou, Borceux, Jacobs, and Streicher.
Foundational assumptions [frct-000R]
- with contributions from Jon Sterling
Definition Meta-category [frct-001F]
A meta-category \mathfrak {C} is defined by explaining what an object of \mathfrak {E} is, and, given two objects x,y\in \mathfrak {E}, what a morphism from x to y is, together with the following operations:
- for each object x\in \mathfrak {E}, an identity map 1_{x} : x \to x,
- for any two maps f:x\to y and g:y\to z, a composite map f;g : x \to z,
- such that the following equations hold: 1_{x};h = h\qquad h;1_{y} = h\qquad f;(g;h) = (f;g);{h}
Remark Collections [frct-003J]
In the definition of meta-categories, we have not imposed any restrictions on what kinds of things the objects and morphisms are; our definition is pre-mathematical, so we do not assume beforehand that there is a such thing as a collection of “all” meta-categories.
We may define analogous notions of meta-functor, etc. But we do not assume that the notion of “all meta-functors \mathfrak {C}\to \mathfrak {D}” is well-defined; the notion is entirely schematic.
Assumption. We assume a meta-category \boldsymbol {\mathfrak {Coll}} whose objects we will refer to as “collections”. We assume that the meta-category of all collections satisfies the axioms of Lawvere’s ETCS.
Definition Category [frct-001G]
A category E is defined to be a meta-category whose objects are defined to be the elements of some collection, and for any two objects x,y\in E the morphisms x\to y are defined to be the elements of some collection.
Remark Cartesian closure of the meta-category of all categories [frct-003K]
Consequently there exists a meta-category \boldsymbol {\mathfrak {Cat}} of all categories. Following Lawvere (but deviating from some other authors that ground the notion of meta-categories in classes) we notice that \boldsymbol {\mathfrak {Cat}} is cartesian closed; in other words, all functor categories exist regardless of size.
Assumption. At times we may assume that there exists a category \mathbf {Set}\subseteq \boldsymbol {\mathfrak {Coll}} of collections that we will refer to as sets, such that \mathbf {Set} is closed under the axioms of ETCS. Rather than work with \mathbf {Set} at all times, our approach is to use the tools of relative category theory to objectify the notions of “small” and “locally small” category over any category B, generalizing the role of \mathbf {Set} from classical category theory.
Displayed categories and fibrations [frct-0008]
- with contributions from Carlo Angiuli, Jon Sterling
Definition Displayed category [frct-0000]
- 2022
- Jon Sterling
Let B be a category. A displayed category E over B is defined by the following data according to (Ahrens and Lumsdaine):
- for each object x\in B, a collection of displayed objects E_{x},
- for each morphism {x}\xrightarrow {{f}}{y}\in B and displayed objects \bar {x}\in E_{x} and \bar {y}\in E_{y}, a family of collections of displayed morphisms \mathbf {hom}_{E_{f}}{\mathopen {}\left (\bar {x},\bar {y}\right )\mathclose {}}, an element of which shall denote by {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}},
- for each x\in B and \bar {x}\in E_{x}, a displayed morphism {\bar {x}}\xrightarrow [1_{x}]{1_{\bar {x}}}{\bar {x}},
- for each {x}\xrightarrow {{f}}{y} and {y}\xrightarrow {{g}}{z} in B and objects \bar {x}\in E_{x}, \bar {y}\in E_{y}, \bar {z}\in E_{z}, a function \mathbf {hom}_{E_{f}}{\mathopen {}\left (\bar {x},\bar {y}\right )\mathclose {}} \times \mathbf {hom}_{E_{g}}{\mathopen {}\left (\bar {y},\bar {z}\right )\mathclose {}} \to \mathbf {hom}_{E_{f;g}}{\mathopen {}\left (\bar {x},\bar {z}\right )\mathclose {}} that we will denote like ordinary (diagrammatic) function composition,
- such that the following equations hold: 1_{\bar {x}};\bar {h} = \bar {h}\qquad \bar {h};1_{\bar {y}} = \bar {h}\qquad \bar {f};(\bar {g};\bar {h}) = (\bar {f};\bar {g});\bar {h} Note that these are well-defined because of the corresponding laws for the base category B.
Notation Square brackets for subscripts [frct-003R]
- December 27, 2022
When we have too many subscripts, we will write E[x] instead of E_{x}.
Definition Cartesian morphism [frct-0001]
Let E be displayed over B, and let {x}\xrightarrow {{f}}{y} \in B; a morphism {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} in E is called cartesian over f when for any {u}\xrightarrow {{m}}{x} and {\bar {u}}\xrightarrow [m;f]{\bar {h}}{\bar {y}} there exists a unique {\bar {u}}\xrightarrow [m]{\bar {m}}{\bar {x}} with \bar {m};\bar {f} = \bar {h}. We visualize this unique factorization of \bar {h} through \bar {f} over m as follows:
Above we have used the “pullback corner” to indicate \bar {x}\to \bar {y} as a cartesian map. We return to this in our discussion of the self-indexing of a category.
Definition Cleaving of a displayed category [frct-003T]
- March 11, 2023
- Jon Sterling
Let E be a displayed category over C; following Ahrens and Lumsdaine, we define a cleaving of E to be a function assigning to each {x}\xrightarrow {{f}}{y}\in C and u\in C_y a cartesian morphism {f^{*}u}\xrightarrow [f]{\bar {f}}{u} in E called the chosen cartesian lift of u along f.
Remark Cleavings from the axiom of choice [frct-003U]
- March 11, 2023
- Jon Sterling
Assuming the axiom of choice, any cartesian fibration may be equipped with a (non-canonical) cleaving. In the current version of these notes, we freely use this principle, but in the future we would like to follow Ahrens and Lumsdaine in distinguishing between weak and strong fibrations, in which the latter come equipped with cleavings.
Definition Cartesian fibration [frct-0002]
A displayed category E over B is said to be a cartesian fibration, when for each morphism {x}\xrightarrow {{f}}{y} and displayed object \bar {y}\in E_{y}, there exists a displayed object \bar {x}\in E_{x} and a cartesian morphism {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}}. Note that the pair (\bar {x},\bar {f}) is unique up to unique isomorphism, so being a cartesian fibration is a property of a displayed category.
We will also refer to cartesian fibrations as simply fibrations or fibered categories.
There are other variations of fibration. For instance, E is said to be an isofibration when the condition above holds just for isomorphisms f : x\cong y in the base.
The fundamental self-indexing [frct-0003]
Construction The fundamental self-indexing [frct-001X]
Let B be an ordinary category; there is an important displayed category \underline {B} over B given fiberwise by the slices of B.
- For x\in B, we define \underline {B}_{x} to be the collection {B}_{/x} of pairs (\bar {x}\in B,{\bar {x}}\xrightarrow {{p_{x}}}{x}).
- For {x}\xrightarrow {{f}}{y}\in B, we define \underline {B}_{f} to be the collection of commuting squares in the following configuration:
Exercise Pullbacks and cartesian maps [frct-001Y]
Prove that the fundamental self-indexing \underline {B} is a cartesian fibration if and only if B has pullbacks.
The generalized pullback lemma [frct-0014]
In light of our discussion of the fundamental self-indexing, the following result for displayed categories generalizes the ordinary “pullback lemma.”
Lemma Generalized pullback lemma [frct-001H]
Let {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}}, and suppose that {\bar {y}}\xrightarrow [g]{\bar {g}}{\bar {z}} is cartesian over g. Then \bar {f};\bar {g} is cartesian over f;g if and only if \bar {f} is cartesian over f.
Proof.
Suppose first that \bar {f} is cartesian. To see that \bar {f};\bar {g} is cartesian, we must construct a unique factorization as follows:
Because \bar {g} is cartesian, we can factor \bar {h} = i;\bar {g} for a unique {\bar {u}}\xrightarrow [m;f]{i}{\bar {y}}. Then, because \bar {f} is cartesian, we can further factor i = j;\bar {f} for a unique {\bar {u}}\xrightarrow [m]{j}{\bar {x}}. We conclude that there is a unique {\bar {u}}\xrightarrow [m]{j}{\bar {x}} for which \bar {h} = j;\bar {f};\bar {g}, as required.
Conversely, suppose that \bar {f};\bar {g} is cartesian. To see that \bar {f} is cartesian, we must construct a unique factorization as follows:
Because \bar {f};\bar {g} is cartesian, we can factor \bar {h};\bar {g} = i;\bar {f};\bar {g} for a unique {\bar {u}}\xrightarrow [m]{i}{\bar {x}}. On the other hand, because \bar {g} is cartesian, there is a unique {\bar {u}}\xrightarrow [m;f]{j}{\bar {y}} for which \bar {h};\bar {g} = j;\bar {g}; as both \bar {h} and i;\bar {f} satisfy this condition, we conclude \bar {h}=i;\bar {f}. Therefore, there is a unique {\bar {u}}\xrightarrow [m]{i}{\bar {x}} for which \bar {h} = i;\bar {f}, as required.
An alternative definition of fibration [frct-0029]
- Carlo Angiuli, with contributions from Jon Sterling
Warning Competing terminologies for cartesian maps [frct-003S]
- March 2, 2023
- Jon Sterling
Some authors including Grothendieck give an equivalent definition of cartesian fibration that factors through a nonequivalent definition of cartesian morphisms. Such authors refer to our notion of cartesian morphism as “hypercartesian” (see Streicher).
Definition Hypocartesian morphisms [frct-002A]
Let E be displayed over B, and let f:x\to y \in B; a morphism {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} in E is called hypocartesian over f when for any \bar {u}\in E_{x} and {\bar {u}}\xrightarrow [f]{\bar {h}}{\bar {y}} there exists a unique {\bar {u}}\xrightarrow [1_{x}]{i}{\bar {x}} with i;\bar {f} = \bar {h} as follows:
Remark Hypocartesian morphisms need not be closed composable [frct-003G]
Cartesian morphisms are clearly hypocartesian (setting u=x and m=1_{x}), but the converse does not hold. The problem is that in an arbitrary displayed category, hypocartesian morphisms may not be closed under composition.
Lemma Hypocartesian = cartesian in a cartesian fibration [frct-002C]
Let E be a cartesian fibration, and let {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} be displayed over {x}\xrightarrow {{f}}{y}. The displayed morphism \bar {f} is cartesian if and only if it is hypocartesian.
Proof.
Any cartesian map is clearly hypocartesian. To see that a hypocartesian map {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} in a cartesian fibration is cartesian, we consider the cartesian lift of {x}\xrightarrow {{f}}{y} under \bar {y}:
As the cartesian lift \bar {x}'\to \bar {y} is also hypocartesian, it follows that there is a unique vertical isomorphism identifying \bar {x} with \bar {x}' factoring {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} through {\bar {x}'}\xrightarrow [f]{\bar {f}'}{\bar {y}}. Being cartesian over f is clearly stable under isomorphism, hence we conclude that \bar {f} is cartesian from the fact that \bar {f}' is cartesian.
Grothendieck defines a fibration in terms of (what we refer to as) hypocartesian morphisms rather than (what we refer to as) cartesian morphisms, and therefore imposes the additional constraint that the hypocartesian morphisms be closed under composition. Below, we verify that these two definitions of cartesian fibration coincide.
Lemma Equivalence with Grothendieck’s fibrations [frct-002B]
Let E be displayed over B. Then E is a cartesian fibration if and only if the following two conditions hold:
- Hypocartesian lifts. For each f:x\to y\in B and \bar {y}\in E_{y} there exists a displayed object \bar {x}\in E_{x} and hypocartesian morphism \bar {f}:\bar {x}\xrightarrow [f]{}\bar {y}.
- Closure under composition. If \bar {f}:\bar {x}\xrightarrow [f]{}\bar {y} and \bar {g}:\bar {y}\xrightarrow [g]{}\bar {z} are hypocartesian, then \bar {f};\bar {g} is hypocartesian.
Proof.
Suppose first that E is a cartesian fibration in our sense. Then E has hypocartesian lifts because it has cartesian lifts. For closure under composition, fix hypocartesian \bar {f},\bar {g}; because hypocartesian and cartesian maps coincide in a cartesian fibration we know that \bar {f},\bar {g} are also cartesian and hence by the generalized pullback lemma so is the composite \bar {f};\bar {g}; therefore it follows that \bar {f};\bar {g} is also hypocartesian.
Conversely, suppose that E is a cartesian fibration in the sense of Grothendieck, and let \bar {f}:\bar {x}\xrightarrow [f]{}\bar {y} be the hypocartesian lift of f:x\to y at \bar {y}\in E_{y}; we shall see that \bar {f} is also a cartesian lift of f at \bar {y} by constructing a unique factorization as follows:
Let \bar {m}:\bar {u}'\xrightarrow [m]{}\bar {x} be the hypocartesian lift of m at \bar {x}, where \bar {u}'\in E_{u}. By hypothesis, the composite \bar {m};\bar {f} : \bar {u}'\xrightarrow [m;f]{}\bar {y} is hypocartesian, so \bar {h} factors uniquely through \bar {m};\bar {f} over 1_{u}:
The composite i;\bar {m} : \bar {u}\xrightarrow [m]{}\bar {x} is the required (cartesian) factorization of \bar {h} through \bar {f} over m. To see that i;\bar {m} is the unique such map, we observe that all morphisms \bar {u}\xrightarrow [m]{}\bar {x} factor uniquely through \bar {m} over 1_{u} as a consequence of \bar {m} being hypocartesian.
Remark Two ways to generalize pullbacks [frct-002D]
Hypocartesian and cartesian morphisms can be thought of as two distinct ways to generalize the concept of a pullback, depending on what one considers the essential properties of pullbacks. Hypocartesian morphisms more directly generalize the “little picture” universal property of pullbacks as limiting cones, whereas cartesian morphisms generalize the “big picture” dynamics of the pullback pasting lemma. As we have seen, these two notions coincide in any cartesian fibration; the instance of this result for the fundamental self-indexing verifies that pullbacks can be equivalently presented in terms of cartesian morphisms.
Displayed and fibered functors [frct-0004]
Let E be displayed over B and let F be displayed over C. If {B}\xrightarrow {{U}}{C} is an ordinary functor, than a displayed functor from E to F over U is given by the following data:
- for each displayed object \bar {x}\in E_{x}, a displayed object \bar {U}\bar {x}\in F_{Ux},
- for each displayed morphism {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}}, a displayed morphism {\bar {U}\bar {x}}\xrightarrow [Uf]{\bar {U}\bar {f}}{\bar {U}\bar {y}},
- such that the assignment \bar {U}f preserves displayed identities and displayed composition.
From this notion, we can see that the variation of displayed categories over their base categories itself has a “displayed categorical” structure; up to size issues, we could speak of the displayed bicategory of displayed categories.
Note. The correct notion of morphism between cartesian fibrations is given by displayed functors that preserve cartesian maps. We will call these fibered functors.
Fiber categories and vertical maps [frct-0005]
Let E be a category displayed over B. A vertical map in E is defined to be one that lies over the identity map in B. For every b\in B, there the collection E_{b} of displayed objects has the structure of a category; in particular, we set \mathbf {hom}_{E_{b}}{\mathopen {}\left (u,v\right )\mathclose {}} to be the collection of vertical maps u\xrightarrow [1_{b}]{}v.
Opposite categories [frct-000Q]
We adapt Bénabou’s construction as reported by Streicher. Our first construction works for an uncloven fibration, but it has the downside that it requires us to treat the collection of cartesian lifts as a set that can be quotiented, whereas our second construction avoids this by virtue of a cleaving. Up to equivalence, the two constructions coincide for a cloven fibration, which shows that our second construction is independent of the chosen cleaving.
Construction The opposite of an uncloven fibration [frct-001Z]
Let E be fibered over B; we may define the opposite fibered category E^{\mathsf {op}} over B like so:
- An object of E^{\mathsf {op}}_{x} is given by an object of E_{x}.
Given {x}\xrightarrow {{f}}{y}\in B, a morphism \bar {x}\xrightarrow [f]{} \bar {y} in E^{\mathsf {op}} is given in terms of E by a cartesian map {\bar {y}_{x}}\xrightarrow [f]{\bar {y}_{f}}{\bar {y}} together with a vertical map {\bar {y}_{x}}\xrightarrow [1_{x}]{h}{\bar {x}} as depicted below:
such that {\mathopen {}\left \{\bar {x} \leftarrow \bar {y}_{x}^{1}\to \bar {y}\right \}\mathclose {}} is identified with {\mathopen {}\left \{\bar {x}\leftarrow \bar {y}_{x}^{2}\to \bar {y}\right \}\mathclose {}} when they agree up to the unique vertical isomorphism \bar {y}_{x}^{1}\cong \bar {y}_{x}^{2} induced by the universal property of cartesian maps in the sense that the following diagram commutes:
Construction The opposite of a cloven fibration [frct-003W]
- March 11, 2023
- Jon Sterling
Let E be a cloven fibration over B; in this case, we may use the cleaving of E to give a simple construction of the opposite fibration E^{\mathsf {op}}.
- A displayed object of E^{\mathsf {op}} over x\in B is given by an object of E over x.
- Given {x}\xrightarrow {{f}}{u}\in B, a displayed morphism \bar {x}\xrightarrow [f]{}\bar {y} in E^{\mathsf {op}} is given by a vertical map {f^{*}\bar {y}}\xrightarrow [1_{x}]{h}{\bar {x}}.
Going forward, we will not be sensitive to the difference between the two constructions of opposite fibrations.
Cartesian maps in the opposite category [frct-000T]
There is a simple characterization of cartesian maps in E^{\mathsf {op}}.
Lemma Characterization of cartesian maps [frct-0020]
A morphism {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}}\in E^{\mathsf {op}} is cartesian over {x}\xrightarrow {{f}}{y} if and only if the vertical leg of f is an isomorphism.
Proof.
Suppose that {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} is represented by a span {\mathopen {}\left \{\bar {x}\leftarrow \bar {y}_{x}\to \bar {y}\right \}\mathclose {}} in E in which the vertical leg \bar {x}\leftarrow \bar {y}_{x} is an isomorphism. We must show that {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}} is cartesian in E^{\mathsf {op}}. We fix a morphism {\bar {w}}\xrightarrow [m;f]{\bar {h}}{\bar {y}}\in E^{\mathsf {op}} where {w}\xrightarrow {{m}}{x}, depicted below in terms of E^{\mathsf {op}}:
We must define the unique intervening map {\bar {w}}\xrightarrow [m]{}{\bar {x}} in E^{\mathsf {op}}. We first translate the above into the language of E by unfolding definitions:
The desired intervening map \bar {w}\xrightarrow [m]{} \bar {x}\in E^{\mathsf {op}} shakes out in the language of E to be a span {\mathopen {}\left \{\bar {w}\xleftarrow [1_{w}]{} \bar {y}_{w}\xrightarrow [m]{} \bar {x}\right \}\mathclose {}} in which the left-hand leg is vertical and the right-hand leg is cartesian over {w}\xrightarrow {{m}}{x}. But the left-hand span {\mathopen {}\left \{\bar {w}\xleftarrow [1_{w}]{}\bar {y}_{w}\to \bar {y}_{x}\cong \bar {x}\right \}\mathclose {}} in the diagram above is exactly what we need.
We leave the converse to the reader.
Cartesian lifts in the opposite category [frct-000U]
The foregoing characterization of cartesian maps in E^{\mathsf {op}} immediately implies that E^{\mathsf {op}} is fibered over B.
Corollary [frct-0021]
The displayed category E^{\mathsf {op}} is a cartesian fibration.
Proof.
Fixing \bar {y}\in E^{\mathsf {op}}_{y} and f:x\to y\in B, we must exhibit a cartesian lift \bar {f} : \bar {x}\xrightarrow [f]{}\bar {y}\in E^{\mathsf {op}}. By the characterization it suffices to find any map over f whose vertical component is an isomorphism. Writing \bar {y}_{x}\xrightarrow [f]{}\bar {y} for the cartesian lift of f in E, consider the map in E^{\mathsf {op}} presented by the following span in E:
Exegesis of opposite categories [frct-000S]
The construction of fibered opposite categories does appear quite involved, but it can be seen to be inevitable from the perspective of the fiber categories E^{\mathsf {op}}_{x}. Indeed, let u,v\in E^{\mathsf {op}}_{x} and fix a vertical map h : u \to v\in E^{\mathsf {op}}_{x}; by unfolding definitions, we see that the vertical map h : u \to v is uniquely determined by a morphism v\to u\in E_{x}.
Proof.
A displayed morphism u\xrightarrow [1_{x}]{} v\in E^{\mathsf {op}} is determined by a span {\mathopen {}\left \{u\leftarrow v_{x} \to v\right \}\mathclose {}}\in E where the right-hand map is cartesian over 1_{x} : x\to x and the left-hand map is vertical, taken up to the identification of different cartesian lifts v_{x}\to x. A displayed morphism that is cartesian over the identity is an isomorphism; hence, displayed morphisms u\xrightarrow [1_{x}]{} v\in E^{\mathsf {op}} are equivalently determined by vertical maps v\to u \in E.
Example The family fibration [frct-0006]
- with contributions from Jon Sterling
Any ordinary category C can be viewed as a displayed category \boldsymbol {\mathcal {F}}_{C} over \mathbf {Set}:
- For S\in \mathbf {Set}, an object in \boldsymbol {\mathcal {F}}_{C}[S] is specified by a functor C^S where S is regarded as a discrete category.
- Given f : S \to T in \mathbf {Set} and x\in C^S and y\in C^T, a morphism x \xrightarrow [f]{} y is given by a morphism x\to f^{*}y in C^S where {C^T}\xrightarrow {{f^{*}}}{C^S} is precomposition with f.
The displayed category \boldsymbol {\mathcal {F}}_{C} is in fact a cartesian fibration. This family fibration is the starting point for developing a relative form of category theory, the purpose of this lecture. By analogy with viewing an ordinary category C as a fibration \boldsymbol {\mathcal {F}}_{C} over \mathbf {Set}, we may reasonably define a “relative category” over another base B to be a fibration over B.
This story for relative category theory reflects the way that ordinary categories are “based on” \mathbf {Set} in some sense in spite of the fact that they do not necessarily have sets of objects or even sets of morphisms between objects. Being small and locally small respectively will later be seen to be properties of a family fibration over an arbitrary base B, strictly generalizing the classical notions.
Construction Cleaving the family fibration [frct-003V]
- March 11, 2023
- Jon Sterling
The family fibration can be cloven, constructively. In particular, let C be a category and consider the family fibration \boldsymbol {\mathcal {F}}_{C} over \mathbf {Set}; let {T}\xrightarrow {{f}}{S} be a function between sets and let u\in C^S be an S-indexed family of objects of C. The family f^{*}u = f;u\in C^T is the object part of a cartesian lift for u along f. The cartesian morphism {f^{*}u}\xrightarrow [f]{\bar {f}}{u}\in \boldsymbol {\mathcal {F}}_{C} is given by the identity map {f^{*}u}\xrightarrow {{1_{f^{*}u}}}{f^{*}u}\in C^T.
Construction Change of base of displayed categories [frct-0007]
Suppose that E is displayed over B and {X}\xrightarrow {{F}}{B} is a functor; then we may define a displayed category F^{*}E as over X follows:
- An object of (F^{*}E)_{x} is an object of E_{Fx}.
- Given \bar {x}\in (F^{*}E)_{x}, \bar {y}\in (F^{*}E)_{y} and f : x \to y, a morphism \bar {x}\xrightarrow [f]{}\bar {y} in F^{*}E is given by a morphism \bar {x}\xrightarrow [Ff]{}\bar {y} in E.
We visualize the change of base scenario as follows:
Full subfibrations and figure shapes [frct-002J]
In a category E, a morphism {x}\xrightarrow {{f}}{y} can be thought of as a “figure” of shape x drawn in y. For instance, if x is the point (i.e. x=\mathbf {1}_{E}) then a morphism x\to y is a “point” of the “space” y. We refer to x as the figure-shape in any such scenario. The perspective of morphisms as figures is developed in more detail by Lawvere and Schanuel.
It often happens that a useful class of figure shapes can be arranged into a set-indexed family {\mathopen {}\left (u_{i}\right )\mathclose {}}_{i\in I}; viewed from the perspective of the family fibration \boldsymbol {\mathcal {F}}_{E}, this family is just a displayed object \bar {u} over I and then a figure shape “in” this family is given by any cartesian morphism \bar {z}\to \bar {u}. We will generalize this situation to the case of an arbitrary fibration, by constructing the full subfibration spanned by displayed objects equipped with a cartesian morphism into \bar {u} in the associated full subfibration below.
Construction The full subfibration associated to a displayed object [frct-0010]
Let E be a cartesian fibration over B; then any displayed object \bar {x} \in E_{x} induces a full subfibration \mathbf {Full}{\mathopen {}\left (\bar {u}\right )\mathclose {}}\subseteq E spanned by displayed objects that are classified by \bar {u}, i.e. arise from \bar {u} by cartesian lift.
- An object of \mathbf {Full}{\mathopen {}\left (\bar {u}\right )\mathclose {}}_{x} is specified by an object \bar {x}\in E_{x} together with a cartesian morphism \bar {x}\to \bar {u}.
- Given {x}\xrightarrow {{f}}{y}\in B, a morphism from \bar {x}\to \bar {u} to \bar {y}\to \bar {u}\in over f is given by any displayed morphism \bar {x}\xrightarrow [f]{}\bar {y}.
Definition Figures and figure shapes in the full subfibration [frct-002K]
Let E be a cartesian fibration and let \mathbf {Full}{\mathopen {}\left (\bar {s}\right )\mathclose {}}\subseteq E be the full subfibration determined by a displayed object \bar {s}\in E. We now develop the following vocabulary:
- We will refer to each object of \mathbf {Full}{\mathopen {}\left (\bar {s}\right )\mathclose {}} as a \bar {s}-figure shape.
- A displayed morphism \bar {z}\to \bar {x} is called a \bar {s}-figure whenever \bar {z}\in \mathbf {Full}{\mathopen {}\left (\bar {s}\right )\mathclose {}}.
Definition Agreement on a class of figure shapes [frct-002I]
Let \bar {s} be a displayed object in a cartesian fibration E over B. A pair of displayed morphisms {\bar {x}}\xrightarrow {{f,g}}{\bar {y}}\in E are said to agree on \bar {s}-figures when for any \bar {s}-figure {\bar {z}}\xrightarrow {{h}}{\bar {x}}, we have {\bar {z}}\xrightarrow {{h;f = h;g}}{\bar {y}}.
Displayed functors and natural transformations [005H]
- May 31, 2023
- Jon Sterling
We will develop the theory of functors between displayed categories or fibrations as well as natural transformations between these functors, building on Ahrens and Lumsdaine and Jacobs.
Definition Displayed functor [005I]
- May 31, 2023
- Jon Sterling
Let X be a displayed category over B and let Y be a displayed category over C, and let {B}\xrightarrow {{F}}{C} be a functor. A displayed functor from X to Y over F, written {X}\xrightarrow [F]{\bar F}{Y} is defined by the following data:
- for each displayed object x\in X^b, an assigned object \bar F_b x \in Y^{F b};
- for each displayed morphism {x}\xrightarrow [f]{\bar {f}}{y} in X over {b}\xrightarrow {{f}}{c} in B, an assigned morphism {\bar F_b{x}}\xrightarrow [F{f}]{\bar F_f\bar {f}}{\bar F_c y};
- such that \bar F_{1_{b}} 1_{x} = 1_{\bar F_b x} and \bar F_{f;g}{\mathopen {}\left (\bar {f};\bar {g}\right )\mathclose {}}=\bar F_f{\bar {f}};\bar F_g{\bar {g}}.
When it does not cause confusion, we may drop some of the subscripts in our notation.
The notion of fibered functor below makes sense for arbitrary displayed categories, but it is most useful when applied to fibrations.
Definition Fibered functor [005J]
- May 31, 2023
- Jon Sterling
Let X be a displayed category over B and let Y be a displayed category over C, and let {B}\xrightarrow {{F}}{C} be a functor. A displayed functor from X to Y over F is called fibered when it preserves cartesian morphisms.
Definition Displayed natural transformation [005K]
- May 31, 2023
- Jon Sterling
Let X be a displayed category over B and let Y be a displayed category over C, and let {X}\xrightarrow [F]{\bar F}{Y} and {X}\xrightarrow [G]{\bar G}{Y} be two displayed functors over {B}\xrightarrow {{F,G}}{C} respectively. Given a natural transformation {F}\xrightarrow {{\alpha }}{G}, a displayed dinatural transformation from \bar F to \bar G over \alpha , written {\bar F}\xrightarrow [\alpha ]{\bar \alpha }{\bar G}, is defined by the following data:
- for each displayed object x\in X^b, an assigned displayed morphism {\bar F{x}}\xrightarrow [\alpha _b]{\bar \alpha _x}{\bar G{x}};
- such that for each {x}\xrightarrow [f]{\bar {f}}{y} in X, we have \bar \alpha _x; \bar G\bar {f} = \bar F\bar {f};\bar \alpha _y.
Remark Vertical functors and natural transformations [005N]
- May 31, 2023
- Jon Sterling
In practice, we will frequently consider vertical displayed functors between fibrations over the same base category B, i.e. functors displayed over the identity functor {B}\xrightarrow {{1_{B}}}{B}. Likewise, we will often consider vertical natural transformations between vertical functors, i.e. natural transformations whose components are vertical. The vertical and non-vertical perspectives give rise to two different (very large) displayed categories of displayed categories, one with unfixed base, and the other with a fixed base. Both viewpoints are important, but it is important not to get them confused.
We wish to define displayed versions of dinatural transformations, but there is some question of how much verticality to assume in the definition: for instance, we could define a displayed dinatural transformation over a dinatural transformation, or we could define a totally vertical notion of dinatural transformation. It is unclear to me that the latter would be an instance of the former. We will focus on the latter, because it is most useful in practice when using displayed category theory to formalize reasoning over a fixed base category.
Definition Vertical dinatural transformation [005L]
- May 31, 2023
- Jon Sterling
Let X and Y be two fibrations over B, and let {X^{\mathsf {op}}\times _{B} X}\xrightarrow [1_{B}]{F,G}{Y} be two vertical fibered functors over B, recalling the theory of opposite fibrations. A vertical dinatural transformation \alpha from F to G is defined by the following data:
- for each displayed object x\in X^b, an assigned vertical morphism {F_b{\mathopen {}\left (x,x\right )\mathclose {}}}\xrightarrow [1_{b}]{\alpha _x}{G_b{\mathopen {}\left (x,x\right )\mathclose {}}};
- such that for each displayed morphism {x}\xrightarrow [f]{\bar {f}}{y} over {b}\xrightarrow {{f}}{c}\in B, the following hexagon commutes:
Above, we have written {x}\xrightarrow [1_{b}]{\gamma _{\bar {f}}}{f^{*}{y}}\in X^b for the vertical gap map factoring {x}\xrightarrow [f]{\bar {f}}{y} through the cartesian map {f^{*}{y}}\xrightarrow [f]{y^{*}f}{x}. We have used the fact that a vertical map in X^{\mathsf {op}} is the same as a vertical map in X going the other way.
The Grothendieck construction [frct-0009]
The total category and its projection [frct-000A]
- 2022
Note that any displayed category E over B can be viewed as an undisplayed category \widetilde {E} equipped with a projection functor p_{E}: \widetilde {E}\to B; in this case \widetilde {E} is called the total category of E.
- An object of \widetilde {E} is given by a pair (x,\bar {x}) where x\in B and \bar {x}\in E_{x}.
- A morphism {(x,\bar {x})}\xrightarrow {{}}{(y,\bar {y})} in \widetilde {E} is given by a pair (f,\bar {f}) where {x}\xrightarrow {{f}}{y} and {\bar {x}}\xrightarrow [f]{\bar {f}}{\bar {y}}:\bar {x}.
The construction of the total category of a displayed category is called the Grothendieck construction.
Exercise [frct-001T]
Prove that the total category \widetilde {\underline {B}} of the fundamental self-indexing is the arrow category B^{\to }, and the projection is the codomain functor.
Displayed categories from functors [frct-000B]
In many cases, one starts with a functor P:E\to B; if it were meaningful to speak of equality of objects in an arbitrary category then there would be an obvious construction of a displayed category P_{\bullet } from P; we would simply set P_{x} to be the collection of objects u\in E such that Pu=x. As it stands there is a more subtle version that will coincide up to categorical equivalence with the naïve one in all cases that the latter is meaningful.
-
We define an object of P_{x} to be a pair (u,\phi _{u}) where u\in E and \phi _{u} : Pu\cong x. It is good to visualize such a pair as a “crooked
leg” like so:
-
A morphism (u,\phi _{u})\xrightarrow [f]{} (v,\phi _{v}) over f : x \to y is given by a morphism h : u\to v that lies over f modulo the isomorphisms \phi _{u},\phi _{v} in sense depicted below:
Exercise [frct-001U]
Suppose that B is an internal category in \mathbf {Set}, i.e. it has a set of objects. Exhibit an equivalence of displayed categories between P_{\bullet } as described above, and the naïve definition which E_{x} is the collection of objects u\in E such that Pu = x.
We have a functor \widetilde {P_{\bullet }}\to E taking a pair (x,(u,\phi _{u})) to u.
Exercise [frct-001V]
Explicitly construct the functorial action of \widetilde {P_{\bullet }}\to E.
Exercise [frct-001W]
Verify that \widetilde {P_{\bullet }}\to E is a categorical equivalence.
Relationship to Street’s fibrations [frct-000C]
In classical category theory, cartesian fibrations are defined by Grothendieck to be certain functors E\to B such that any morphism f:x\to Pv in B lies strictly underneath a cartesian morphism in E. As we have discussed, this condition cannot be formulated unless equality is meaningful for the collection of objects of B.
There is an alternative definition of cartesian fibration due to Street that avoids equality of objects; here we require for each f:x\to Pv a cartesian morphism h:f^{*}v \to v together with an isomorphism \phi : P(f^{*}v)\cong x such that \phi ^{-1};Ph = f.
By unrolling definitions, it is not difficult to see that the displayed category P_{\bullet } is a cartesian fibration in our sense if and only if the functor P:E\to B was a fibration in Street’s sense. Moreover, it can be seen that the Grothendieck construction yields a Grothendieck fibration \widetilde {P_{\bullet }}\to B; hence we have introduced by accident a convenient destription of the strictification of Street fibrations into equivalent Grothendieck fibrations.
Iteration and pushforward [frct-000D]
It also makes sense to speak of categories displayed over other displayed categories; one way to formalize this notion is as follows. Let E be displayed over B; we define a category displayed over E to be simply a category displayed over the total category \widetilde {E}.
Now let F be displayed over E over B. Then we may regard F as a displayed category B_{!}F over B as follows:
- An object of (B_{!}F)_{x} is a pair (\bar {x},{\ddot {x}}) with \bar {x}\in E_{x} and {\ddot {x}}\in F_{\bar {x}}.
- A morphism (\bar {x},{\ddot {x}})\xrightarrow [f]{}(\bar {y},{\ddot {y}}) is given by a pair (\bar {f},{\ddot {f}}) where \bar {f}:\bar {x}\xrightarrow [f]{}\bar {y} in E and {\ddot {f}}:{\ddot {x}}\xrightarrow [\bar {f}]{} {\ddot {y}} in F.
Using the displayed category induced by a functor, we may define the pushforward of a displayed category along a functor. In particular, let E be displayed over B and let U:B\to C be an ordinary functor; then we may obtain a displayed category U_{!}E over C as follows:
- First we construct the displayed category U_{\bullet } corresponding to the functor U:B \to C.
- We recall that there is a canonical equivalence of categories \widetilde {U_{\bullet }}\to B.
- Because E is displayed over B, we may regard it as displayed over the equivalent total category \widetilde {U_{\bullet }} by change of base.
- Hence we may define the pushforward U_{!}E to be the displayed category (U_{\bullet })_{!}E as defined above.
Properties of fibrations [frct-000E]
- with contributions from Jon Sterling
Locally small fibrations [frct-000F]
There are a number of (equivalent) variations on the definition of a locally small fibration. We attempt to provide some intuition for these definitions.
Warmup: locally small family fibrations [frct-000G]
An ordinary category E is called locally small when for any x,y\in E the collection of morphisms x\to y is a set. This property of E can be rephrased in terms of its family fibration \boldsymbol {\mathcal {F}}_{E} over \mathbf {Set} as follows.
Consider an index set I\in \mathbf {Set} and two families u,v\in C^I. We may define an I-indexed collection {\mathopen {}\left [u,v\right ]\mathclose {}}_{i\in I} consisting (pointwise) of all the morphisms u_{i}\to v_{i} in C:
{\mathopen {}\left [u,v\right ]\mathclose {}}_{i} = {\mathopen {}\left \{ f \mid f: u_{i}\to v_{i} \right \}\mathclose {}}If C is locally small, {\mathopen {}\left [u,v\right ]\mathclose {}}_{i\in I} is in fact a family of sets for any I\in \mathbf {Set} as each {\mathopen {}\left [u,v\right ]\mathclose {}}_{i} is a set. Conversely, if {\mathopen {}\left [u,v\right ]\mathclose {}}_{i\in I} is a family of sets for any I\in \mathbf {Set}, then C is locally small as we may consider in particular the case that I=\mathbf {1}.
A more abstract formulation of locally small family fibrations [frct-000H]
We will reformulate the local smallness property of the family fibration in a way that uses only the language that makes sense for an arbitrary cartesian fibration, though for now we stick with \boldsymbol {\mathcal {F}}_{C}. Given u,v\in \boldsymbol {\mathcal {F}}_{C}[I], we have a “relative hom family” {\mathopen {}\left [u,v\right ]\mathclose {}}\in {\mathbf {Set}}_{/I}. The fact that each {\mathopen {}\left [u,v\right ]\mathclose {}}_{i} is the set of all morphisms u_{i}\to v_{i} can be rephrased more abstractly.
First we consider the restriction of u\in \boldsymbol {\mathcal {F}}_{C}[I] to \boldsymbol {\mathcal {F}}_{C}[{\mathopen {}\left [u,v\right ]\mathclose {}}] as follows:
Explicitly the family {\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u is indexed in a pair of an element i\in I and a morphism u_{i}\to v_{i}. We can think of {\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u as the object of elements of u_{i} indexed in pairs (i,u_{i}\to v_{i}).
There is a canonical map \epsilon _{{\mathopen {}\left [u,v\right ]\mathclose {}}}:{\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u\xrightarrow [p_{{\mathopen {}\left [u,v\right ]\mathclose {}}}]{} v that “evaluates” each indexing morphism u_{i}\to v_{i}.
That each {\mathopen {}\left [u,v\right ]\mathclose {}}_{i} is the set of all morphisms u_{i}\to v_{i} can be rephrased as a universal property: for any family h\in {\mathbf {Set}}_{/I} and morphism \epsilon _{h} : h^{*}u\xrightarrow [h]{} v in \boldsymbol {\mathcal {F}}_{C}, there is a unique cartesian map h^{*}u\to {\mathopen {}\left [u,v\right ]\mathclose {}}^{*}u factoring \epsilon _{h} through \epsilon _{{\mathopen {}\left [u,v\right ]\mathclose {}}} in the sense depicted below:
To convince ourselves of this, we note that the family H \coloneqq {\mathopen {}\left \{u_{i}\to v_{i}\right \}\mathclose {}}_{i\in I} itself satisfies the universal property above. Indeed, fix a candidate h \in {\mathbf {Set}}_{/I} equipped with a map \epsilon _{h} : h^{*}u \xrightarrow [h]{} v. Unfolding the meaning of this map in set theoretical notation, we see that it amounts to a family of maps \epsilon _{h}[i] : \prod _{x\in h_i} {\mathopen {}\left \{u_i\to v_i\right \}\mathclose {}} for each i\in I; such a family immediately induces the desired map h\to H.
The definition of local smallness [frct-000I]
Based on our explorations above, we are now prepared to write down (and understand) the proper definition of local smallness for an arbitrary cartesian fibration E over B, which should be thought of as a (potentially large) category relative to B.
Definition Hom candidates [frct-001C]
For any x\in B and displayed objects u,v\in E_{x}, we define a hom candidate for u,v to be a span u\leftarrow \bar {h} \rightarrow v in E in which the left-hand leg is cartesian:
In the above, h should be thought of as a candidate for the “hom object” of u,v, and \epsilon _{h} should be viewed as the structure of an “evaluation map” for h. This structure can be rephrased in terms of a displayed category \mathbf {H}_{E_{x}}(u,v) over {B}_{/x}:
- Given h\in {B}_{/x}, an object of \mathbf {H}_{E_{x}}(u,v)_{h} is given by a hom candidate whose apex in the base is h itself. We will write \bar {h} metonymically for the entire hom candidate over h.
Given \alpha :l\to h\in {B}_{/x} and hom candidates \bar {l}\in \mathbf {H}_{E_{x}}(u,v)_{l} and \bar {h}\in \mathbf {H}_{E_{x}}(u,v)_{h}, a morphism \bar {h}\xrightarrow [\alpha ]{} \bar {l} is given by a cartesian morphism \bar \alpha :\bar {l}\xrightarrow [\alpha ]{}\bar {h} in E such that the following diagram commutes:
Definition Locally small fibration [frct-001B]
A cartesian fibration E over B is locally small if and only if for each x\in B and u,v\in E_{x}, the total category \widetilde {\mathbf {H}_{E_{x}}(u,v)} of hom candidates has a terminal object. Viewed as a displayed object in E, we shall write \overline {\mathbf {hom}}_{E_{x}}(u,v) lying over \mathbf {hom}_{E_{x}}{\mathopen {}\left (u,v\right )\mathclose {}} for the terminal hom candidate.
Globally small fibrations [frct-000J]
In ordinary category theory, a category C is called small when the objects of C can be arranged into a set, and so can for every x,y\in C the collection of morphisms x\to y. It is useful to separate these two conditions when we generalize them to fibrations. The latter is called local smallness; the former is called global smallness by Jacobs and factors through an important concept: the generic object.
Definition Global smallness [frct-001D]
An ordinary category is called globally small when it has a set of objects.
Generic objects [frct-000K]
- with contributions from Jon Sterling
Up to equivalence of categories, we may detect global smallness of a category C from the perspective of the family fibration \boldsymbol {\mathcal {F}}_{C}. In particular, a category is equivalent to a globally small category when its family fibration has a generic object in the following sense.
Definition Generic object [frct-001E]
Let E be a cartesian fibration over B; a generic object for E is defined to be an object \bar {u}\in \widetilde {E} such that for any \bar {z}\in \widetilde {E} there exists a cartesian map \bar {z}\to \bar {u}.
Warning. Our terminology differs from that of Jacobs; what we refer to as a generic object here is Jacobs’ weak generic object. We prefer the unqualified terminology, as generic objects in the stronger sense are very rare.
Theorem Globally small categories [frct-000L]
An ordinary category C is equivalent to a globally small category if and only if the family fibration \boldsymbol {\mathcal {F}}_{C} has a generic object.
Proof.
To see that this is the case, suppose that C has a set of objects. Then C\in \mathbf {Set} and we define \lfloor {C}\rfloor to be the displayed object {\mathopen {}\left \{x\right \}\mathclose {}}_{x\in C}\in \boldsymbol {\mathcal {F}}_{C}[C]. Fixing I\in \mathbf {Set} and z\in C^I, we consider the cartesian map displayed over z : I \to C:
Conversely assume that \boldsymbol {\mathcal {F}}_{C} has a generic object \bar {u}\in \boldsymbol {\mathcal {F}}_{C}[U] for some U\in \mathbf {Set}; then we may equip U with the structure of a globally small category such that U is equivalent to C, using the canonical cleaving of the family fibration. In particular, given {1}\xrightarrow {{x,y}}{U} we define a morphism from x to y to be given by a vertical map {x^{*}{\bar {u}}}\xrightarrow {{h}}{y^{*}{\bar {u}}} in \boldsymbol {\mathcal {F}}_{C}{\mathopen {}\left [1\right ]\mathclose {}}\simeq C.
Definition Globally small fibration [frct-000P]
A cartesian fibration E over B is called globally small when it has a generic object.
Separators for cartesian fibrations [frct-002E]
Let E be an ordinary category. In general, to compare two morphisms {x}\xrightarrow {{f,g}}{y} in E, it is not enough to see if they agree on global points {1}\xrightarrow {{u}}{x}, because the behavior of f,g may differ only on generalized elements. In some cases, however, there is a family of objects {\mathopen {}\left (s_{i}\right )\mathclose {}}_{i\in I}\in E are together adequate for comparing morphisms of E in the sense of separating families below.
Definition Separating family for a category [frct-002G]
Given an ordinary category E, a set-indexed family {\mathopen {}\left (s_{i}\right )\mathclose {}}_{i\in I} of E-objects is called a small separating family for E when, assuming that for all i\in I and all {s_i}\xrightarrow {{u}}{x} we have u;f=u;g, we then have f=g.
Intuition [frct-003L]
The intuition of separating families is that to compare two morphisms {x}\xrightarrow {{f,g}}{y}\in E, it suffices to check that they behave the same on all s_{i}-shaped figures when {\mathopen {}\left (s_{i}\right )\mathclose {}}_{i\in I} is a separating family for E.
Example Well-pointedness of the category of sets [frct-002F]
In the category of sets, to compare two morphisms it is enough to check that they agree on global points. This means that the unary family {\mathopen {}\left \{\mathbf {1}_{\mathbf {Set}}\right \}\mathclose {}} is a separator for \mathbf {Set}, a property referred to more generally as well-pointedness.
We will now generalize the notion of separating family to the case of a cartesian fibration.
Definition Agreement on a class of figure shapes [frct-002I]
Let \bar {s} be a displayed object in a cartesian fibration E over B. A pair of displayed morphisms {\bar {x}}\xrightarrow {{f,g}}{\bar {y}}\in E are said to agree on \bar {s}-figures when for any \bar {s}-figure {\bar {z}}\xrightarrow {{h}}{\bar {x}}, we have {\bar {z}}\xrightarrow {{h;f = h;g}}{\bar {y}}.
Definition Small separator for a fibration [frct-002H]
Let E be a cartesian fibration over B such that B has binary products. A displayed object \bar {s}\in E_{s} is said to be a small separator for E when any two vertical maps f,g:\bar {u}\xrightarrow [1_{x}]{}\bar {v}\in E_{x} are equal when they are agree on \bar {s}-figures.
Definable classes à la Bénabou [frct-002L]
A class of sets \mathfrak {C} is sometimes said to be formally definable when there is a formula {\mathopen {}\left (x \mid \phi _{\mathfrak {C} {\mathopen {}\left (x\right )\mathclose {}}}\right )\mathclose {}} in the language of set theory such that a set S lies in \mathfrak {C} if and only if \phi _{\mathfrak {C}}{\mathopen {}\left (S\right )\mathclose {}} holds. This concept is a bit sensitive, as it presupposes that we have a notion of “class” whose constituents are not all definable in this sense.
A better behaved notion of definability for sets than the formal one is given model-theoretically, i.e. relative to a model \mathscr {M} of set theory in some ambient set theory. We will refer to an element of \mathscr {M} as a set, and a subcollection of \mathscr {M} as a class.
Definition Representable class of sets [frct-002U]
A class of sets \mathfrak {C}\subseteq \mathscr {M} is called representable when there is a set C\in \mathscr {M} such that U\in C if and only if U\in \mathfrak {C}.
Definition Definable class of sets [frct-002V]
A class of sets \mathfrak {C}\subseteq \mathscr {M} is called definable when for any representable class \mathfrak {S}, the class \mathfrak {C}\cap \mathfrak {S} is representable.
Bénabou then generalizes these definitions to an arbitrary fibration, in such a way that the general fibered notion of definable class is equivalent in the fundamental self-indexing \underline {\mathscr {M}} to that of definable classes.
Set-theoretic intuition for Bénabou’s definability [frct-002Q]
To motivate Bénabou’s general notion of definability, we will first develop an alternative perspective on definability for classes of sets in terms of families of sets.
Construction Closure of a class of sets under base change [frct-002M]
Let \mathfrak {C}\subseteq \mathscr {M} be a class of sets; there exists a class \bar {\mathfrak {C}} of families of sets that contains {\mathopen {}\left (S_{i}\right )\mathclose {}}_{i\in I} exactly when each S_{i} lies in \mathfrak {C}. We will refer to \bar {\mathfrak {C}} as the closure under base change of \mathfrak {C}, a name motivated by the fact that when {\mathopen {}\left (S_{i}\right )\mathclose {}}_{i\in I} lies in \bar {\mathfrak {C}}, then for any u:J\to I, the base change {\mathopen {}\left (S_{uj}\right )\mathclose {}}_{j\in J} also lies in \bar {\mathfrak {C}}.
Construction From classes of families to classes of sets [frct-002N]
Conversely to the closure of a class of sets under change of base, we may take a class of families of sets \mathfrak {F} to the the class of sets \mathfrak {F}_{1}\subseteq {\mathscr {M}} spanned by sets S such that the singleton family {\mathopen {}\left \{S\right \}\mathclose {}} lies in \mathfrak {C}.
Definition Definable class of families of sets [frct-002P]
A class of families of sets \mathfrak {F} is said to be definable when it is stable and moreover, for any family of sets {\mathopen {}\left (S_{i}\right )\mathclose {}}_{i\in I}, there exists a subset J\subseteq I such that the base change {\mathopen {}\left (S_{j}\right )\mathclose {}}_{j\in J} lies in \mathfrak {F}, and moreover, such that u:K\to I factors through J\subseteq I whenever the base change {\mathopen {}\left (S_{uk}\right )\mathclose {}}_{k\in K} lies in \mathfrak {F}.
Intuition [frct-002R]
A stable class of families of sets is definable when any family of sets can be restricted to a “biggest” subfamily that lies in the class.
Lemma Characterization of definable classes of families [frct-002T]
Let \mathfrak {C}\subseteq \mathscr {M} be a class of sets; then \bar {\mathfrak {C}} is a definable class of families of sets if and only if \mathfrak {C} is a definable class of sets.
Proof.
Suppose that \mathfrak {C} is a definable class of sets. To check that \bar {\mathfrak {C}} is a definable class of families of sets, we fix a family {\mathopen {}\left (S_{i}\right )\mathclose {}}_{i\in I} not necessarily lying in \bar {\mathfrak {C}}. Because \mathfrak {C} is definable, the intersection \mathfrak {C}\cap \bigcup _{i\in I}S_{i} is represented by a set U. We therefore take the subset J = {\mathopen {}\left \{i \in I\mid S_i\in U\right \}\mathclose {}}\subseteq I, and verify that the base change {\mathopen {}\left (S_{j}\right )\mathclose {}}_{j\in J} is the largest approximation of {\mathopen {}\left (S_{i}\right )\mathclose {}}_{i\in I} by a family lying in \bar {\mathfrak {C}}.
Conversely suppose that \bar {\mathfrak {C}} is a definable class of families of sets. To see that \mathfrak {C} is definable, we fix a class \mathfrak {U} represented by a set U\in \mathscr {M} to check that \mathfrak {C}\cap \mathfrak {U} is representable. We consider the family of sets {\mathopen {}\left (u\right )\mathclose {}}_{u\in U}; because \bar {\mathfrak {C}} is definable, there is a largest subset V\subseteq U such that the change of base {\mathopen {}\left (v\right )\mathclose {}}_{v\in V} lies in \bar {\mathfrak {C}}, i.e. such that each v\in V lies in \mathfrak {C}. Therefore \mathfrak {C}\cap \mathfrak {U} is represented by the set V.
Bénabou’s notion of definability [frct-002S]
We will now construe set-theoretic definability as the instantiation at the fundamental self-indexing \underline {\mathscr {M}} of a more general notion of definability for classes of objects in a cartesian fibration, defined forthwith. The following definition of definability in a cartesian fibration is due to Bénabou, but is discussed in print by Borceux, Jacobs, and Streicher.
Definition Definable class in a fibration [frct-002W]
Let E be a cartesian fibration over B. A definable class \mathfrak {F} in E is a stable subcollection of the displayed objects of E such that for any \bar {u}\in E_{u}, there exists a cartesian map \bar {v}\to \bar {u} lying over a monomorphism v\rightarrowtail u such that \bar {v}\in \mathfrak {F} and, moreover, any cartesian morphism \bar {w}\to \bar {u} such that \bar {w}\in \mathfrak {F} factors through \bar {v}\to \bar {u}.
Remark [frct-002O]
Let \mathscr {M} be a model of ETCS; and let \mathfrak {C} be a class of families of sets in \mathscr {M}. Then \mathfrak {C} is a class of objects in the fundamental self-indexing \underline {\mathscr {M}} over \mathscr {M}. Furthermore, \mathscr {M} a definable class in \underline {\mathscr {M}} if and only if it is a definable class of families of sets.
Small fibrations and internal categories [frct-000N]
- with contributions from Jon Sterling
The purpose of this section is to develop the relationship between internal categories (categories defined in the internal language of a category B) and cartesian fibrations over B, generalizing the relationship between categories internal to \mathbf {Set} (i.e. small categories) and their family fibrations over \mathbf {Set}.
Definition Small fibration [frct-001Q]
A cartesian fibration is called small when it is both locally small and globally small.
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.
Other kinds of fibrations [frct-0012]
- with contributions from Carlo Angiuli, Jon Sterling
Cocartesian fibrations [frct-0015]
Cocartesian fibrations are a dual notion to cartesian fibrations, in which the variance of indexing is reversed.
Definition Cocartesian morphism [frct-0016]
Let E be displayed over B, and let f:x\to y \in B; a morphism \bar {f}:\bar {x}\xrightarrow [f]{} \bar {y} in E is called cocartesian over f when for any m:y\to u and \bar {h}:\bar {x}\xrightarrow [f;m]{} \bar {u} there exists a unique \bar {m} : \bar {y}\xrightarrow [m]{} \bar {u} with \bar {f};\bar {m} = \bar {h}:
We use a “pushout corner” to indicate \bar {x}\to \bar {y} as a cocartesian morphism, a notation justified by our discussion of the dual self-indexing.
Definition Cocartesian fibration [frct-0017]
A displayed category E over B is a cocartesian fibration when for each f : x \to y\in B and \bar {x}\in E_{x}, there exists a displayed object \bar {y}\in E_{y} and a cocartesian morphism \bar {f} : \bar {x}\xrightarrow [f]{} \bar {y}.
Cocartesian fibrations are also known as opfibrations.
The total opposite of a displayed category [frct-0018]
Construction Total opposite category [frct-001I]
Let E be displayed over B; we define its total opposite E^{\tilde {\mathsf {o}}} displayed over B^{\mathsf {op}} as follows:
- An object of E^{\tilde {\mathsf {o}}}_{x} is given by an object of E_{x}.
- Given f : x \to y\in B^{\mathsf {op}}, a displayed morphism \bar {x}\xrightarrow [f]{} \bar {y} in E^{\tilde {\mathsf {o}}} is given by a displayed morphism \bar {y}\xrightarrow [f]{} \bar {x} in E.
Warning. Do not confuse this construction with the opposite fibered category, which produces a displayed category over B and not B^{\mathsf {op}}.
Exercise [frct-001J]
Let E be displayed over B. Prove that the total category \widetilde {E^{\tilde {\mathsf {o}}}} is {\mathopen {}\left (\widetilde {E}\right )\mathclose {}}^{\mathsf {op}}, and its projection functor is {\mathopen {}\left (p_{E}\right )\mathclose {}}^{\mathsf {op}} : \widetilde {E}^{\mathsf {op}}\to B^{\mathsf {op}}.
Exercise [frct-001K]
Let E be displayed over B, and let f:x\to y\in B. Prove that a morphism \bar {f}:\bar {x}\xrightarrow [f]{}\bar {y} is cartesian over f in E if and only if \bar {f}:\bar {y}\xrightarrow [f]{}\bar {x} is cocartesian over f in E^{\tilde {\mathsf {o}}}.
Exercise [frct-001L]
Prove that a displayed category E is a cartesian fibration over B if and only if E^{\tilde {\mathsf {o}}} is a cocartesian fibration over B^{\mathsf {op}}.
Example Revisiting the fundamental self-indexing [frct-002X]
Recall that the fundamental self-indexing \underline {B} of a category B is a displayed category with \underline {B}_{x} = {B}_{/x}. Recall that \underline {B} is a cartesian fibration over B if and only if B has pullbacks. However, \underline {B} is unconditionally a cocartesian fibration.
Exercise [frct-002Y]
Prove that the fundamental self-indexing \underline {B} is a cocartesian fibration for any category B.
Example The dual self-indexing [frct-0019]
Dually to the fundamental self-indexing, every category B can also be displayed over itself via its coslices B^{\setminus x}.
Construction The dual self-indexing [frct-002Z]
Let B be a category. Define the displayed category \overline {B} over B as follows:
- For x\in B, define \overline {B}_{x} as the collection of pairs (\bar {x}\in B,p_{x}:x\to \bar {x}).
- For f : x\to y\in B, define \overline {B}_{f} to be the collection of commuting squares in the following configuration:
Exercise [frct-001M]
Prove that \overline {B} is a cocartesian fibration if and only if B has pushouts.
Exercise [frct-001N]
Prove that the total category of \overline {B} is the arrow category B^{\to }, and the projection is the domain functor.
Exercise [frct-0030]
Prove that \overline {B} is a cartesian fibration for any category B.
Right fibrations [frct-0013]
Definition Right fibration [frct-001O]
A cartesian fibration E over B is said to be a right fibration when all displayed morphisms in E are cartesian.
Remark [frct-003P]
Recall that for every b\in B, the collection of displayed objects E_{b} and vertical maps E_{1_{b}} forms a category. When E is a right fibration over B, this category is in fact a groupoid.
Theorem Characterization of right fibrations [frct-001P]
A cartesian fibration E over B is a right fibration if and only if all its vertical maps are isomorphisms.
Proof.
Suppose that E is a right fibration over B, and fix b\in B, \bar {b}\in E_{b}, and a vertical map f:\bar {b}\xrightarrow [1_{b}]{} \bar {b}. Using the hypothesis that f is cartesian, it has a unique section g:\bar {b}\xrightarrow [1_{b}]{} \bar {b} as follows:
Likewise, because g is cartesian, f is the unique section of g; thus f is an isomorphism in E_{b}.
Conversely, suppose that E is a cartesian fibration whose vertical maps are isomorphisms. Fix f:x\to y \in B and an arbitrary displayed morphism \bar {g}:\bar {x}\xrightarrow [f]{}\bar {y}. Then \bar {g} is the precomposition of a cartesian lift \bar {f}:\bar {x}'\xrightarrow [f]{}\bar {y} with a vertical map:
Because vertical maps are isomorphisms and \bar {f} is cartesian, we can observe that \bar {g} is cartesian as follows, writing \bar {m} : \bar {u}\xrightarrow [m]{} \bar {x}' for the unique factorization of \bar {h} through \bar {f} over m: