Lemma 22.3.4. Let \(x\) be an object in an \(\infty \)-category \(C\).
- (1)
-
The object \(x\) is terminal in \(C\) if and only if the forgetful functor \(s\colon C_{/x} \to C\) is an equivalence;
- (2)
-
The object \(x\) is initial in \(C\) if and only if the forgetful functor \(t\colon C_{x/} \to C\) is an equivalence.
Proof. We prove (1); the proof of (2) is dual. If \(s\colon C_{/x}\to C\) is an equivalence, then \(x\) is terminal in \(C\) by Corollary 22.3.3, since equivalences preserve terminal objects. Conversely, suppose that \(x\) is terminal. Every object \(y\) of \(C\) admits a morphism \(y\to x\), so \(s\) is essentially surjective. By Lemma 22.3.2, the map \[ \Hom _{C_{/x}}((y,f),(y',f'))\longrightarrow \Hom _C(y,y') \] is a pullback of \(\{f\}\to \Hom _C(y,x)\). Since \(x\) is terminal, this last map is an isomorphism, and so \(s\) is fully faithful. We deduce \(s\) is an equivalence by Axiom J. □