I'm trying to prove that $\mathbb{CP}^1$ has a CW complex structure.
The problem is that I'm confused about the formal definition of a CW complex (although Hatcher's intuitive explanations make perfect sense).
I know what the structure is supposed to be: $\mathbb{CP}^1$ is diffeomorphic to $\mathbb{S}^2$, which is the attachment of a $2$-cell to a point, so I should think of attaching $U_1:=\{(z_0:z_1)\in\mathbb{CP}^1\mid z_1\neq 0\}$ (i.e., $\mathbb{S}^2$ minus the north pole) to the point at infinity $(1:0)$ (north pole).
I've constructed the map $\phi:\mathbb{D}^2\to \mathbb{CP}^1$ with $z\mapsto (z:\sqrt{1-|z|^2})$, which maps the interior of $\mathbb{D}^2$ to $U_1$ and the boundary $\partial\mathbb{D}^2$ to $(1:0)$.
This looks exactly like what I need. But is this enough? If not, what else do I need to prove?