Corollary 6.5.18. Consider a commutative square of categories over \(S\), i.e. a commutative diagram Commutative diagram; see the PDF for its LaTeX source Assume that all four functors \(p,p',q, q'\) are cocartesian fibrations and that the functors \(f,g,h,k\) are cocartesian functors over \(S\). Further assume that for every object \(s\) of \(S\) the induced square Commutative diagram; see the PDF for its LaTeX source is a pullback square. Then also the top square of the original diagram is a pullback square.

Proof

Define the category \(E\) as the pullback \(C \times_D D'\). By Proposition 6.5.12, the resulting functor \(C \times_D D' \to S\) is a cocartesian fibration and the induced functor \(C' \to E\) is a cocartesian functor. Our task is to show that it is an equivalence. By Theorem 6.5.17 it will suffice to show that the induced map \(C'_s \to E_s\) on fibers is an equivalence for every object \(s\) of \(S\). But since taking the fiber commutes with pullbacks, this map is the canonical comparison map \(C'_s \to C_s \times_{D_s} D'_s\) coming from the induced square on fibers. Since this square was assumed to be a pullback square, this map is indeed an equivalence, finishing the proof.

From Section 6.5, Pointwise and fiberwise criteria for fibrations.