I am looking to prove that $f:E_1 \rightarrow E_2$ is continuous iff $f^{-1}(V)$ is open whenever $V$ is open.
Assuming continuity, I was able to show that the inverse image of any open set in the codomain is open in the domain. It's the other direction I am struggling with. Here is the set up:
Let $V$ be an open set in the metric space $E_2$ such that $f^{-1}(V)=U$ is open in the metric space $E_1$. Also let $p_0\in E_1$ and $\epsilon >0$ be given. We need to specify some value $\delta >0$ that forces $f(p) \in B_{E_2}[f(p_0),\epsilon]$ whenever $p \in B_{E_1}[p_0, \delta]$.
The proof I am looking at continues by suggesting that since $B_{E_2}[f(p_0),\epsilon]$ is open, the inverse image is open by assumption, and then since $p_0 \in f^{-1}(B_{E_2}[f(p_0),\epsilon])$, there is a radius value $r>0$ that forces $B_{E_1}[p_0, r]$ to be a subset of $f^{-1}(B_{E_2}[f(p_0),\epsilon])$ (by the definition of openness). So for any $p \in B_{E_1}[p_0, r]$, we have $f(p) \in B_{E_2}[f(p_0,\epsilon]$ as required and are done.
I am confused as to why we can initially say that $f(p_0)$ is in $V$. What if, for example, the generic $p_0$ is not in $U=f^{-1}(V)$? Any help on this point would be appreciated.