Let $f:(X,\tau_X) \to (Y,\tau_Y)$ be a function between two topological spaces. Then $f$ is continuous $\iff$ $\forall Z \subset X: f(\overline Z) \subset \overline{f(Z)}$.
I want to prove this in terms of nets. $(\Rightarrow)$ is easy. Now for $(\Leftarrow)$ assume $x \in X$ and $x_\iota \to x$ where $\{x_\iota\}_{\iota \in (I,\leq)}$ is a net. I want to show that $f(x_\iota) \to f(x)$. I already know that $x \in \overline {\{x_\iota: \iota \in I \}}$. By assumption we thus have $f(x) \in \overline { \{f(x_\iota): \iota \in I\}}$. But now I only know that there is some $I' \subset I$ s.t. $\{f(x_\iota)\}_{\iota \in I'}$ converges to $f(x)$. Is this sufficient to show that the original net $\{f(x_\iota)\}_{\iota \in I}$ converges to $f(x)$ ?
I assume that we know that the closure of a set $Y$ is exactly the set of points which are limits of nets in $Y$.