Prove Converse continuity using the Preimages I would like to prove that if pre images $f^{-1}(U) \subset D $ of open subsets $U\subset  \mathbb{C}$ are open in $D$ implies a function $f:D \to \mathbb{C}, D\subset  \mathbb{C}$ is continuous.
EDIT: I need help with the converse. I thought I had shown the converse when I had really shown the direction written above. Any help is appreciated!
Also: Is it true that the image $f(U)$ of an open subset $U \subset D$ under a continuous function is open in $ \mathbb{C}$?
Thanks!
 A: HINT: Given $\varepsilon$, consider $f^{-1}(B_\varepsilon(f(x)))$, this is an open set including $x$, so it contains some $B_\delta(x)$.
A: Let $a \in D$, and let $\epsilon > 0$ be arbitrary. Then $f^{-1}(B_{\epsilon}(f(a))$ is open and contains $a$; thus by hypothesis there is some $\delta > 0$ such that $B_{\delta}(a) \subseteq f^{-1}(B_{\epsilon}(f(a))$. But then we see that $f(B_{\delta}(a)) \subseteq B_{\epsilon}(f(a)$. To put this differently, given arbitrary $\epsilon > 0$ we have found $\delta > 0$ such that 
$$ |a-z|< \delta \Rightarrow |f(z) - f(a)|< \epsilon.$$
So $f$ is continuous as $a$. Since $a \in D$ was arbitrary we can conclude that $f$ is continuous.
Proof of converse Now let's suppose that $f:D \rightarrow \mathbb{C}$ is continuous, and let $U \subseteq \mathbb{C}$ be an open set. We need to show that $f^{-1}(U)$ is open in $D$. Let $z \in f^{-1}(U)$. Then $f(z) \in U$, and by openness of $U \ \ \exists \epsilon>0$ such that $B_{\epsilon}(f(z)) \subseteq U$. By continuity of $f \ \ \exists \delta > 0$ such that $f(B_{\delta}^D(z)) \subseteq B_{\epsilon}(f(z))$. But then 
$$ B_{\delta}^D(z) \subseteq f^{-1}( B_{\epsilon}(f(z))) \subseteq f^{-1}(U). $$
This suffices to show that $f^{-1}(U)$ is open in $D$. 
