Lemma 6.1.10. Let \(x\) be an object of a category \(C\). Then \(x\) is initial if and only if for every other object \(y\) of \(C\) the hom anima \(C(x,y)\) is contractible. Dually, \(x\) is terminal if and only if \(C(y,x)\) is contractible for every object \(y\) of \(C\).
Proof
By Lemma 4.4.19, the object \(x\) is initial if and only if the forgetful functor \(C_{x/} \to C\) is an equivalence. Since this functor is a left fibration by Theorem 4.3.3, it follows from Proposition 6.1.7 that it is an equivalence if and only if all of its fibers \(C(x,y)\) are contractible.