Lemma 15.4.5. Let us consider two morphisms of Segal animae \(f\colon C\to D\) and \(g\colon D\to E\). If two out of the three morphisms \(f\), \(g\) or \(g\circ f\) are Dwyer–Kan equivalences, so is the third.
Proof
Since one can compose pullback squares as well as covers, it is clear that Dwyer–Kan equivalences are stable under composition.
Let us assume that \(f\) and \(g\circ f\) are Dwyer–Kan equivalences.
Since covers are stable under pullbacks and compositions,
it follows from Corollary 11.2.7 that \(g\) is essentially
surjective. We have to prove that the map
\[
D_1\to (D_0\times D_0)\times_{(E_0\times E_0)}E_1
\]
induced by \(g_1\) is an equivalence over \(D_0\times D_0\).
Let \(X=C_0\times_{D_0}\Iso(D)\) and \(q\colon X\to D_0\) be the map picking the codomain of isomorphisms.
Since \(q\times q\) is a cover, it suffices to prove that \(g_1\) is an equivalence after pulling back
along \(q\times q\) by Proposition 11.2.6.
But after such a pullback, \(q\times q\) has a section.
Furthermore, given \(u\colon a\iso b\) in a Segal anima \(C\),
we get equivalences of the form
\[
u^*\colon C(b,t)\to C(a,t)\quad\text{and}\quad u_*\colon C(t,a)\to C(t,b)
\]
for any \(t : C_0\) by
Lemma 15.2.6.
Therefore, it suffices to prove that \(g\) induces an equivalence
\[
D(f(x),f(y))\iso E(g(f(x)),g(f(y)))
\]
for any terms \(x,y : C_0\). This follows from the commutative triangles
Finally, assume that \(g\) and \(g\circ f\) are Dwyer–Kan equivalences. The pasting lemma for pullback squares (Lemma 1.6.11) shows that \(f\) is fully faithful. Consider the cover \[ q\colon P:=C_0\times_{g f,E_0,s}\Iso(E)\longrightarrow E_0, \qquad (x,u)\longmapsto t(u), \] which expresses the essential surjectivity of \(g\circ f\). Pulling it back along \(g_0\colon D_0\to E_0\) gives a cover \(P_D\to D_0\). A term of \(P_D\) over \(y : D_0\) consists of an object \(x : C_0\) and an isomorphism \(u\colon g(f(x))\iso g(y)\). Full faithfulness of \(g\), together with Lemma 15.2.11, identifies \(P_D\) with \[ C_0\times_{f,D_0,s}\Iso(D), \] by lifting \(u\) uniquely to an isomorphism \(\widetilde u\colon f(x)\iso y\). Consequently, the target map from the latter anima to \(D_0\) is a cover. This is precisely the essential surjectivity of \(f\), so \(f\) is a Dwyer–Kan equivalence.