Corollary 9.5.7. A functor \(u\colon C \to D\) is initial if and only if, for every object \(d\) of \(D\), the relative slice \(C_{/d}\) is weakly contractible. Dually, \(u\) is terminal if and only if every relative coslice \(C_{d/}\) is weakly contractible.
Proof
The functor \(u\) is initial if and only if the diagram
is a covariant equivalence. The statement now follows as the relative slice of the identity functor \(\id_D\) at any
object of \(D\) has a terminal object and is thus weakly contractible.
From Section 9.5, Weak homotopy equivalences and Quillen’s theorem A.