Proposition 13.2.10 (Limits of categories with limits). Let \(I\) and \(K\) be small categories and let \(C_{\bullet}\colon K\to\Cat\) be a functor. Assume that every \(C_k\) admits \(I\)-indexed limits and that every transition functor \(C_k\to C_{k'}\) preserves them. Then \(E:=\lim_{k:K}C_k\) admits \(I\)-indexed limits, computed componentwise. In particular, the projection functors \(E\to C_k\) preserve these limits, and preservation of them by a functor into \(E\) is detected by the projections. The analogous assertions hold for colimits.
Proof
Let \(X\colon I\to E\) be a diagram, and write \(X_k\colon I\to C_k\) for its projection. By functoriality of functor categories and pullbacks, the categories of cones \((C_k)_{/X_k}\) form a \(K\)-indexed diagram. Since \(\Fun(I,-)\) preserves limits and limits commute with pullbacks, the definition of cone categories gives an equivalence \[ E_{/X}\simeq\lim_{k:K}(C_k)_{/X_k}. \] Each transition functor sends limit cones to limit cones. The full subcategories spanned by these cones therefore form a subdiagram of contractible animae. Its limit is contractible as well, so it supplies a coherent family of limit cones on the \(X_k\). Under the displayed equivalence, this family determines a cone \(\const_Y\to X\) in \(E\).
We claim that this is a limit cone. Mapping animae in \(E\) are computed componentwise: \[ \Hom_E(Z,Y)\simeq\lim_{k:K}\Hom_{C_k}(Z_k,Y_k). \] Indeed, \(\Ar(-)=\Fun([1],-)\) and the groupoid-core functor preserve limits. Taking the fiber of \(\Ar(E)^\simeq\to E^\simeq\times E^\simeq\) over \((Z,Y)\) therefore gives the displayed equivalence. The componentwise limit cones and Lemma 7.3.2 now give \[ \begin{aligned} \Hom_E(Z,Y) &\simeq \lim_{k:K}\Hom_{C_k}(Z_k,Y_k) \\ &\simeq \lim_{k:K}\lim_{i:I}\Hom_{C_k}(Z_k,X_k(i)) \\ &\simeq \lim_{i:I}\Hom_E(Z,X(i)). \end{aligned} \] This equivalence is induced by the constructed cone, proving its universal property. The argument applies in every anima context, so the dual of Proposition 7.2.2 shows that \(E\) admits \(I\)-indexed limits.
By construction, the projections preserve these limits. They jointly detect isomorphisms, and hence also detect whether the canonical map from the image of a limit to the limit of the image is an isomorphism. This proves the assertion about preservation by functors into \(E\). The colimit statement follows by passing to opposite categories.