Lemma 9.1.6. Consider a commutative triangle
where \(p\) and \(q\) are left (resp. right) fibrations. Then the following three conditions are equivalent:
(1) The functor \(f\) is an equivalence.
(2) The functor \(f\) is initial (resp. terminal).
(3) The functor \(f\) is a covariant (resp. contravariant) equivalence over \(S\).
Proof
The implications (1) \(\implies\) (2) and (2) \(\implies\) (3) are immediate. Suppose (3) holds. Under straightening, \(p\), \(q\), and \(f\) correspond to functors \(P,Q\colon S\to\An\) and a natural transformation \(P\to Q\). For every left fibration \(X\to S\) classified by \(H\colon S\to\An\), the defining equivalence for \(f\) identifies with \[ \Hom_{\Fun(S,\An)}(Q,H) \to \Hom_{\Fun(S,\An)}(P,H). \] This is an equivalence for every \(H\), so Exercise 2.6.2 shows that \(P\to Q\) is an isomorphism in \(\Fun(S,\An)\). Under straightening, it follows from Corollary 8.3.16 that \(f\) is an equivalence. The right-fibration case is dual.