Def: Let $f : X \rightarrow Y$ be a continuous map. $X,Y$ Topological spaces. $f$ is called proper if $f^{-1}(K)$ is compact for every compact $K \subseteq Y$.
I want to prove that :
If $Y$ is a metric space and $f: X \rightarrow Y$ is proper, $f$ is closed
My try:
Let $K \subset X$ be closed. I want to prove that $f(K)\subseteq Y$. Since $Y$ is a metric space I can use that a closed set is one that contains all of its limit points:
Let $s$ be a limit point of $f(K) \subseteq X \iff \exists$ a sequence $ (s_n)\subseteq f(K) $ s.t. $s_n \rightarrow s$ I'd like to prove that $s \in f(K)$. Suppose it doesn't. Then $s \in f(K)^C$. Then there should exist a neighborhood $U $of $s$ that contains all but finitely many elements of the sequence. Now I am not sure if I can take this nbhd to be closed and or included in $f(K)^C$, If I could then $U$ would be compact because a compact set in a Hausdorff space ($Y $is metric, thus Hausdorff) is closed $f^{-1}(U)$ would be compact by properness of $f$ and closed by continuity of $f$. Still I am stuck here. Any help is welcome
Looking around it seems like people think we need more about X like local compactness , Hausdorfness.