Lemma 4.8.10. Let \(p\colon C \to S\) be a cocartesian fibration. A morphism in \(C\) is locally \(p\)-cocartesian if and only if it is \(p\)-cocartesian.

Proof

Every \(p\)-cocartesian morphism is locally \(p\)-cocartesian. Conversely, let \(f\colon x\to y\) be a locally \(p\)-cocartesian morphism, and let \(g\colon x\to y'\) be the chosen \(p\)-cocartesian lift of \(p(f)\). Since both \(f\) and \(g\) are locally \(p\)-cocartesian lifts of \(p(f)\) with the same source, there is a unique isomorphism \(u\colon y'\to y\) in the fiber over \(p(y)\) such that \(f=ug\). Thus \(f\) is \(p\)-cocartesian.

From Section 4.8, Locally cocartesian fibrations.