Definition 7.1.
A CW complex (or cell complex) is a space \(X\) equipped with a filtration
\begin{equation*}
\varnothing =: X_{-1} \subseteq X_0 \subseteq \cdots \subseteq X_n \subseteq \cdots
\subseteq X = \bigcup_{n=0}^{\infty} X_n,
\end{equation*}
together with, for each \(n \geq 0\text{,}\) a set \(I_n\) and a collection of attaching maps \(f_\alpha \colon S^{n-1} \to X_{n-1}\) (\(\alpha \in I_n\)), such that the squares
are pushouts. The maps \(e_\alpha \colon D^n \to X_n\) are called the characteristic maps, \(X_n\) is the \(n\)th skeleton, and \(X\) carries the weak topology: \(U \subseteq X\) is open if and only if \(U \cap X_n\) is open in \(X_n\) for all \(n\text{.}\)
