Proposition 4.7.14. Let \(p\colon C \to S\) and \(q\colon D \to S\) be cocartesian fibrations and let \(f\colon C \to D\) be a functor over \(S\). If \(f\) is a cocartesian functor over \(S\), then for every functor \(T \to S\) the induced functor \(f\times_S T \colon C \times_S T \to D \times_S T\) is a cocartesian functor over \(T\).
Proof
Let us abbreviate \(C_T := C \times_S T\), \(D_T := D \times_S T\), and \(f_T := f \times_S T\). By Proposition 4.5.15, the functors \(p_T\colon C_T \to T\) and \(q_T\colon D_T \to T\) are cocartesian fibrations. A morphism in \(C_T\) is \(p_T\)-cocartesian if and only if its image in \(C\) is \(p\)-cocartesian, by Observation 4.8.6 and Lemma 4.8.10. Since \(f\) preserves cocartesian morphisms, \(f_T\) sends every \(p_T\)-cocartesian morphism to a \(q_T\)-cocartesian morphism. The claim now follows from Lemma 4.7.3.