Lemma 2.4.8. Groupoids are closed under retracts: if \(X\) is a groupoid and \(Y\) is a retract of \(X\), then \(Y\) is also a groupoid.
Proof
If \(Y\) is a retract of \(X\), then the functor \(Y \to \Ar(Y)\) is a retract of the functor \(X \to \Ar(X)\). In particular, if the latter is an equivalence then so is the former by Lemma 1.3.9.
From Section 2.4, Groupoids.