Suppose $f:X\longrightarrow{Y}$ is closed and continuous with X locally compact,then if $f^{-1}(\{y\})$ is compact in $X$ for all $y\in{Y}$,then $Y$ is locally compact.
Let us see why:
Let $y\in{Y}$ and $U$ be a neighborhood of $y$ in $Y$, since $f^{-1}(U)$ is a neighborhood of each element of $f^{-1}(\{y\})$, then for each $a\in{f^{-1}(\{y\})}$ there is a compact neighborhood $K_a$ of $a$ with $K_a\subseteq{f^{-1}(U)}$, it follows that $f^{-1}(\{y\})\subseteq\bigcup_{a\in{f^{-1}(\{y\})}}K_a^{o}$, but since $f^{-1}(\{y\})$ is compact, there exist $a_1,...,a_n\in{f^{-1}(\{y\})}$ such that $f^{-1}(\{y\})\subseteq\bigcup_{i=1}^nK_{a_i}^{o}$. Since each $K_{a_i}$ is compact in $X$, $\bigcup_{i=1}^nK_{a_i}$ is compact in $X$, then $f(\bigcup_{i=1}^nK_{a_i})$ is compact. But $f^{-1}(\{y\})\subseteq\bigcup_{i=1}^nK_{a_i}^{o}$, in consequence $y\notin{f(X-\bigcup_{i=1}^nK_{a_i}^{o}})$, but $f(X-\bigcup_{i=1}^nK_{a_i}^{o})$ is closed , thus $Y-f(X-\bigcup_{i=1}^nK_{a_i}^{o})$ is an open set containing $y$, but since $f$ is onto we have $Y-f(X-\bigcup_{i=1}^nK_{a_i}^{o})\subseteq{f(\bigcup_{i=1}^nK_{a_i}^o)}\subseteq{f(\bigcup_{i=1}^nK_{a_i})}$, thus $f(\bigcup_{i=1}^nK_{a_i})$ is a compact neighborhood of $y$ with $f(\bigcup_{i=1}^nK_{a_i})\subseteq{U}$, again since $f$ is onto. This proves $Y$ is locally compact.
However the converse to this property is not true; a counterexample is gotten identifying $[1,\infty)$ in $\mathbb{R}$.
I just want to know if my reasoning is correct.
Thanks