At the page 166 of the text "Analysis on Manifolds" by James Munkres is stated if $U$ and $V$ are S set of $\Bbb R^n$ and $S$ is a compact set of $\Bbb R^n$ then it is true what following shown
To prove what above is stated I proceed as follow.
First of all we observe that the restriction $\phi$ of the projection $\pi_{\Bbb R^{n-1}}$ of $\Bbb{R}^{n-1}\times\Bbb R$ to the subspace $\Bbb R^{n-1}\times\{t\}$ is a homeomorphism of $\Bbb R^{n-1}\times\{t\}$ in $\Bbb R^{n-1}$ (to see this it is sufficient to observe that $\phi$ is bjective and then open and continuous too since the projection $\pi_{\Bbb R^{n-1}}$ is open and continuous) and then $\phi$ aree with the projection $\tilde\pi_{\Bbb R^{n-1}}$ of $\Bbb R^{n-1}\times\{t\}$ to $\Bbb R^{n-1}$ and so if $U_t:=\phi\big[U\cap(\Bbb R^{n-1}\times\{t\})\big]$ then $U\cap(\Bbb R^{n-1}\times\{t\})=\phi^{-1}[U_t]=\big(\tilde\pi_{\Bbb R^{n-1}}\big)^{-1}[U_t]=U_t\times\{t\}$. Similarly whit the same argument $V\cap(\Bbb R^{n-1}\times\{t\})=V_t\times\{t\}$. Then if $\pi_{_\Bbb R}$ is the projection on $\Bbb R$ of $\Bbb R^{n-1}\times\Bbb R$ then $\big(\pi_{_\Bbb R}\big)^{-1}\big[\{t\}\big]=\Bbb R^{n-1}\times\{t\}$ is closed and so the set $S\cap(\Bbb R^{n-1}\times\{t\})$ is compact so that $S_t:=\phi\big[S\cap(\Bbb R^{n-1}\times\{t\})\big]$ is compact in $\Bbb R^{n-1}$ and so as above $S\cap(\Bbb R^{n-1}\times\{t\})=\phi^{-1}[S_t]=\big(\tilde\pi_{\Bbb R^{n-1}}\big)[S_t]=S_t\times\{t\}$.
Is is my argument correct? If not how to prove what Munkres state? Then if $U$ is open is true that $U\cap(\Bbb R^{i-1}\times\{t\}\times\Bbb R^{n-i})=U'_t\times\{t\}\times U''_t$ where $U'_t$ and $U''_t$ are respectively open in $\Bbb R^{i-1}$ and in $\Bbb R^{n-i}$ and similarly if $S$ is compact then $S\cap(\Bbb R^{i-1}\times\{t\}\times\Bbb R^{n-i})=S'_t\times\{t\}\times S''_t$ where $S'_t$ and $S''_t$ are respectively compact in $\Bbb R^{i-1}$ and in $\Bbb R^{n-i}$? So could someone help me, please?
