Corollary 9.5.8 (Quillen’s theorem A). Let \(f\colon C \to D\) be a functor such that the relative slice \(C_{/d}\) is weakly contractible for any object \(d\) of \(D\). Then \(f\) is a weak homotopy equivalence.
Proof
The preceding corollary shows that \(f\) is initial, and every initial functor is a weak homotopy equivalence by Example 9.5.4.
From Section 9.5, Weak homotopy equivalences and Quillen’s theorem A.