I'd like to validate my proof of: the closure of $S$ in a metric space $X$ is the set of the limits of all convergent sequences in $S$. The definition of $\bar{S}$ that I am adopting is that it is the intersection of all the closed sets containing $S$. Let $L$ be the set of the limits of all convergent sequences in $S$.
We'd like to prove:
- $L \subseteq \bar{S}$, i.e., $x \in L \Rightarrow x \in \bar{S}$
- $\bar{S} \subseteq L$, i.e., $x \in \bar{S} \Rightarrow x \in L$
We prove both sides using contrapositives.
To prove $L \subseteq \bar{S}$, suppose $x \notin \bar{S}$. Then there exists an open ball $B(x,r)$ which is not in $\bar{S}$. Since $\bar{S}$ contains $S$, there is no $x_n \in S$ such that $x_n \in B(x,r)$. Thus, the $r$-neighbourhood of $x$ does not contain any $x_n \in S$, and is thus not a limit point of $S$. Thus, $x \notin L$, thus proving the contrapositive.
To prove that $\bar{S} \subseteq L$, suppose that $x \notin L$. Thus, $x$ is not a limit point of $S$, implying that there exists an open ball $B(x,r_0)$ such that it contains no $x_n \in S$. Thus $B'(x,r)$ (the complement of the open ball $B(x,r)$) contains $S$. Since $B(x,r_0)$ is open, $B'(x,r_0)$ is closed. Denote $B'(x,r)=P_r$. Similarly, all balls $B(x,r):r<r_0$ do not contain $x_n \in S$. Thus all $B'(x,r)=P_r$ are closed and contain $S$. It follows that $x \in P_r'$.
Thus, we write: $x \in \displaystyle\bigcup_{i \in (0,r)} P_i' \\ \Rightarrow x \in \left(\displaystyle\bigcap_{i \in (0,r)} P_i\right)' \\ \Rightarrow x \in (\bar{S})' \\ \Rightarrow x \notin \bar{S} \\ $
thus proving the contrapositive.
I'd like feedback on the correctness of this proof, please.