Let $f:X\to Y$ be a continuous map between metric spaces satisfying the Heine-Borel theorem. Show that $f$ is proper if the following condition holds:
For every sequence $x_n\in X$ such that $f(x_n)$ is bounded, $x_n$ is also bounded.
My definition of properness is that $f^{-1}(K)$ is compact for all compact set $K\subseteq Y$.
Try: Let $K\subseteq Y$ be compact. Then $f^{-1}(K)$ is compact if every sequence in $f^{-1}(K)$ has a convergent subsequence. Let $x_n\in f^{-1}(K)$. Then, $f(x_n)\in K$ which is compact, so there is a convergence subsequence of $f(x_n)$, i.e. $f(x_{n_k})$ converges for some $n_k$. Then, is $x_{n_k}$ bounded?