If $h:X \to Y$ is a homeomorphism of metric spaces, how do I prove that $X$ is compact if and only if $Y$ is compact?
I can't find the complete formal proof for it anywhere.
My idea: I assume I would take an open cover $\mathcal U$ of $f(X)$ by sets open in $Y$? Then since $f$ is continuous, $f^{-1}(U)$ is open in $X$ for all $U \in \mathcal U$? Or is that the wrong place to start?
Step by step help/solutions appreciated!
You may prove that continuous image of compact set is compact. So, given an open cover $\{G_{i}\}$ of $Y$, then $\{f^{-1}(G_{i})\}$ is an open cover of $X$, and then...