It suffices to show that the CW complex
\(K\) constructed in the proof of
Theorem 13.10 is homotopy equivalent to every CW complex
\(K'\) of type
\(K(G, n)\text{.}\) In particular,
\(K_{n+1} = X = \bigvee_\alpha S^n_\alpha \cup \bigcup_\beta e^{n+1}_\beta\text{.}\) By
Lemma 13.12, the chosen isomorphism
\(\pi_n(X) \cong \pi_n(K) \cong \pi_n(K')\) is realized by a map
\(f \colon X \to K'\) inducing this isomorphism on
\(\pi_n\text{.}\)
We extend
\(f\) over the higher cells of
\(K\) inductively. For each
\((n+2)\)-cell of
\(K\text{,}\) the composite of its attaching map with
\(f\) lies in
\(\pi_{n+1}(K') = 0\text{,}\) so it is null-homotopic and
\(f\) extends over the cell. The same argument applies to every higher-dimensional cell, since
\(\pi_i(K') = 0\) for all
\(i > n\text{.}\) The resulting map
\(f \colon K \to K'\) induces an isomorphism on
\(\pi_n\) (by construction) and on every other homotopy group (both sides being zero), so
\(f\) is a weak homotopy equivalence and hence, by Whitehead’s Theorem (
Theorem 8.11), a homotopy equivalence.