Proposition 6.5.11. Let \(p\colon E\to B\) be a cocartesian fibration. Then \(p\) is also a cartesian fibration if and only if its covariant transport functors \(u_!\colon E_a\to E_b\) admit right adjoints \(u^*\colon E_b\to E_a\), as a family indexed by \(u\in\Map([1],B)\). Dually, a cartesian fibration is cocartesian if and only if its contravariant transport functors admit left adjoints.
Proof
Work in context \(u:\Map([1],B)\), and write \(a\) and \(b\) for the source and target of \(u\). The hypothesis gives an adjunction \(u_!\dashv u^*\) between the contextual categories \(E_a\) and \(E_b\). Suppose first that such right adjoints are given. For \(y\in E_b\), compose the chosen cocartesian lift of \(u\) from \(u^*y\) with the counit: \[ u^*y\longrightarrow u_!u^*y\xrightarrow{\varepsilon_y}y. \] For \(v\colon c\to a\) and \(z\in E_c\), the transport universal properties give \[ E(z,u^*y)_v\simeq E_a(v_!z,u^*y)\simeq E_b(u_!v_!z,y) \simeq E_b((uv)_!z,y)\simeq E(z,y)_{uv}. \] The composite is induced by composition with the displayed lift. These equivalences, tested on fibers over the anima of base morphisms, give its cartesian hom pullback square. Thus we have a family of cartesian lifts. By Proposition 6.5.1, \(p\) is cartesian.
Conversely, suppose that \(p\) is both cartesian and cocartesian. The chosen cartesian lifts define the functor \(u^*\colon E_b\to E_a\) in context \(u:\Map([1],B)\). For \(x\in E_a\) and \(y\in E_b\), their universal properties give \[ E_b(u_!x,y)\simeq E(x,y)_u\simeq E_a(x,u^*y). \] The cartesian lift of \(u\) ending at \(y\) factors through the cocartesian lift starting at \(u^*y\), giving the counit \(u_!u^*y\to y\). The displayed equivalence identifies its universal-arrow map. The factorization is natural in \(y\), since the chosen lifts are functorial, so it gives a natural transformation \(\varepsilon\colon u_!u^*\to\id_{E_b}\). Apply Proposition 6.2.3 in context \(u:\Map([1],B)\) to obtain a right adjoint \(R\) of \(u_!\). The adjoint of \(\varepsilon\) is a natural transformation \(u^*\to R\). For each \(y\), it induces the displayed equivalence on hom animae, followed by the adjunction equivalence, and is therefore an isomorphism by Exercise 2.6.2. The objectwise isomorphism criterion makes \(u^*\to R\) a natural isomorphism. Thus \(u^*\) itself is right adjoint to \(u_!\) with the indicated counit. The dual argument proves the last assertion.
From Section 6.5, Pointwise and fiberwise criteria for fibrations.