I need to verify something with my proof. Let $A$ be a subset of some metric space $(X,d)$. Take $x\in X$. Consider the following propositions.
(1) $d(x,A)=0 \implies x\in A$
(2) If $\{x_n \}\subset A$ and $x_n \rightarrow x$ then $x\in A$
The claim is that they are equivalent. I started by proving that $(1) \implies (2)$.
Proof: "$\implies$"
Suppose that $(1)$ holds. Now, let $\{x_n\}\subset A$ and $x_n \rightarrow x$. Since $x_n \rightarrow x$, we know that $d(x,x_n) \rightarrow 0$.
(3) thus $\inf\{d(x,x_n):x_n \in A\}=0$.
(4) So we have that $0=\mathrm{dist}(x,A)$. Which means that $x\in A$ by $(1)$
Is it understandable how I obtained $(3)$?
I just realised that (4) might not follow from (3), as A might contain points which are not in $\{x_n\}$ or does that not matter since the infimum in this case can never be less than 0 (the metric always returns non-negative values)?
Can someone please provide hint on how to continue if I'm correct till I get to (4). Note, I don't want a complete solution but rather commentary on my proof and perhaps a hint (on how to continue).