I am having difficulty understand a proof in my Real Analysis textbook.
Statement: If $A \subset \Bbb R^n$ is compact and $x_o \in \Bbb R^m$, then $A \times \{x_o\}$ is compact.
Proof: Let $U^*$ be an open cover of $A \times \{x_o\}$, and $V^* = \{V | V=\{ y|(y, x_o) \in U \}, U \in U^* \}$ (I realize the notation for this set is awkward but this is what is written in my textbook). It then states without proof that $V^*$ is an open cover of $A$. I am not sure why this is true. Any hints as to why appreciated.
Consider the canonical projection $p:\mathbb{R}^n\times\mathbb{R}^m\rightarrow \mathbb{R}^n$ defined by $p(x,y)=x$. Let $U$ be an open subset of $A$, there exists an open subset $U'$ of $\mathbb{R}^n$ such that $U=U'\cap A$. Since $p$ is continuous, $p^{-1}(U')=V'$ is an open subset of $\mathbb{R}^n\times\mathbb{R}^m$, $V=V'\cap A\times\{x_0\}$. We deducce that $V$ is an open subset of $A\times\{x_0\}$.