Proposition 4.5.14. The classes of cartesian and cocartesian fibrations are stable under composition.
Proof
We will only prove the claim about cocartesian fibrations, leaving the dual claim for cartesian fibrations to the reader. If \(f\colon A \to B\) and \(g\colon B \to C\) are two cocartesian fibrations, we have by Lemma 4.1.7 a commutative diagram
where the bottom square is a pullback square. As \(f\) and \(g\) are cocartesian fibrations, the maps \(\vec{\ev}^g_0\) and \(\vec{\ev}^f_0\) admit left adjoint sections, and it then follows from Proposition 4.4.13 and Proposition 4.4.15 that also \(\vec{\ev}^{gf}_0\) admits a left adjoint section.