Theorem 13.2.1 (Colimits of categories). The category \(\Cat\) admits small colimits. More precisely, let \(F\colon I \to \Cat\) be a functor from a small category, with associated cocartesian fibration \(p\colon X \to I\). Then \(\colim_I F\) is the localization of \(X\) at the \(p\)-cocartesian morphisms.

Proof

Since \(p\colon X\to I\) and \(I\to *\) are small cocartesian fibrations, regularity, (Cat1), shows that \(X\) is small. Closure under localizations, (Cat7), then gives a small localization \[ \gamma\colon X\longrightarrow\widetilde X \] at the \(p\)-cocartesian morphisms. For a small category \(B\), directed univalence identifies natural transformations \(F\to B_I\) with cocartesian functors \(X\to I\times B\) over \(I\). Every such functor is of the form \((p,\varphi)\) for a functor \(\varphi\colon X\to B\). It is cocartesian if and only if \(\varphi\) sends the \(p\)-cocartesian morphisms to isomorphisms, since the \(\pr_1\)-cocartesian morphisms in \(I\times B\) are precisely the pairs \((u,v)\) for which \(v\) is invertible. The universal property of \(\gamma\) therefore gives a natural equivalence \[ \Hom_{\Fun(I,\Cat)}(F,B_I) \iso \Hom_{\Cat}(\widetilde X,B). \] For \(B=\widetilde X\), the inverse of this isomorphism sends \(\id_{\widetilde X}\) to the cocone \(\eta_F\colon F\to\widetilde X_I\) classified by the cocartesian functor \((p,\gamma)\colon X\to I\times\widetilde X\). Under the preceding identifications, the inverse is precisely precomposition with \(\eta_F\). Thus \(\eta_F\) is a colimit cocone.

The construction and the preceding calculation are valid in an arbitrary anima context. Hence Proposition 7.2.2 shows that \(\Cat\) admits \(I\)-indexed colimits. Since \(I\) was arbitrary, \(\Cat\) admits all small colimits.

From Section 13.2, Limits and colimits of categories.