Corollary 4.5.22. For an anima \(A\), every functor \(p\colon C\to A\) is both a cartesian and a cocartesian fibration.
Proof
Regarding \(p\) as a functor over \(A\), its relative directed evaluation at the source is \[ \ev_0\colon\ulFun_A([1]_A,C)\longrightarrow C. \] The identity-arrow functor is a left adjoint section: the contraction of an arrow to its source used in Lemma 4.4.11 restricts to arrows over identities in \(A\). The contraction and its triangle identifications remain over \(A\). Dually, evaluation at the target has a right adjoint section. Thus \(p\) is both cartesian and cocartesian relative to \(A\), and the result follows from Proposition 4.5.21.