Lemma 13.3.1 (Fiberwise colimits over cocartesian fibrations). Let \(p\colon E \to I\) be a cocartesian fibration between small categories and let \(\Phi\colon E \to C\) be a functor. Assume that the restriction \(\Phi\vert_{E_i}\colon E_i \to C\) admits a colimit for every object \(i\) of \(I\). Then the left Kan extension \(p_!\Phi\colon I \to C\) exists and is given pointwise by \[ (p_!\Phi)(i) \simeq \colim_{E_i} \Phi\vert_{E_i}. \] Moreover, \(\Phi\) admits a colimit if and only if \(p_!\Phi\) admits a colimit. In that case, there is a canonical isomorphism \[ \colim_E \Phi \simeq \colim_I p_!\Phi. \] Dually, fiberwise limits over a cartesian fibration assemble into a right Kan extension and may be computed by first taking the fiberwise limits and then the limit over the base.

Proof

For an object \(i\) of \(I\), let \(E_{/i} := E\times_I I_{/i}\) be the relative slice. There is a pullback square Commutative diagram; see the PDF for its LaTeX source The functor \(p_{/i}\) is a cocartesian fibration. The lower horizontal functor selects the terminal object of \(I_{/i}\) and is therefore a right adjoint. It follows from Proposition 6.2.4 that \(\iota_i\) is a right adjoint, and hence terminal by Proposition 9.1.12. Consequently, Corollary 13.1.6 gives a canonical isomorphism \[ \colim_{E_{/i}} \Phi\vert_{E_{/i}} \simeq \colim_{E_i} \Phi\vert_{E_i}. \] In particular, all the colimits required by the pointwise formula for left Kan extensions exist. By Theorem 13.1.9, the left Kan extension \(p_!\Phi\) exists, and the preceding isomorphism identifies its value at \(i\) with the asserted fiberwise colimit.

For any object \(x\) of \(C\), the universal property of the left Kan extension gives natural equivalences \begin{align*} \Hom_{\Fun(I,C)}(p_!\Phi,x_I) &\simeq \Hom_{\Fun(E,C)}(\Phi,p^*x_I) \\ &= \Hom_{\Fun(E,C)}(\Phi,x_E). \end{align*} Thus \(p_!\Phi\) and \(\Phi\) have naturally equivalent cocone functors. One admits a colimit if and only if the other does, and their colimits are then canonically isomorphic. The statement about limits follows by passing to opposite categories.

From Section 13.3, Colimits indexed by colimits.