As part of proofs on continuity, I should show that
(i) $\forall x \in \mathbb{R}^n,$ if $x_k \rightarrow x \implies f(x_k) \rightarrow f(x)$
implies
(ii) $f^{-1}(C)$ is closed for any closed set $C \in \mathbb{R}^n$
As usual, my approach is to write down clearly what this actually means.
For (i), that is:
$$ (1)\ \forall \epsilon' > 0\ \exists n_0' \in \mathbb{N}\ s.t. ||x - x_n|| < \epsilon' \ \forall n > n_0'$$ $$ \implies $$ $$ (2)\ \forall \epsilon'' > 0\ \exists n_0'' \in \mathbb{N}\ s.t. ||f(x) - f(x_n)|| < \epsilon'' \ \forall n > n_0''$$
For (ii):
$$ f^{-1}(C) = \{ x \in X: f(x) \in C\}\ closed\Leftrightarrow X \setminus \{ x \in X: f(x) \in C\}\ open = \{ x \in X: f(x) \in C^c\} = S$$
Now, for similar proofs in the past I went for a proof by contradiction, which I feel looks also promising here.
So I start by supposing that $S$ is not open, i.e. $ \exists y \in S$ s.t. $\forall r > 0 , B(y,r) \notin S$, i.e. $\exists a \in B(y,r)$ s.t. $a \notin S$.
Then I understand that I should continue that this somehow contradicts with $(1) \implies (2)$, but I can't quite imagine how to establish that.
Thus, I would be very grateful for any hints about how to continue from there.
Thanks in advance!