Lemma (projection map is continuous)

Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.

The projection maps $$ \begin{align*} \pi_X: X\times Y&\to X &\pi_Y: X\times Y&\to Y \\ (x,y) &\mapsto x & (x,y) &\mapsto y \end{align*} $$ are continuous relative to the product topology.

Proof