In a metric space $(X,d)$, define $d(x,A) = \inf \{d(x,y):y\in A \}$. I am trying to prove that the set $A_{\epsilon} = \{ x \in X : d(x,A) < \epsilon \}$ is an open set for every $\epsilon>0$. I know this is a very simple consequence of the function $f(x) = d(x,A)$ being continuous. However, I am trying to prove this WITHOUT using this fact and going straight to the simple definitions.
I have been trying to use the fact that $\vert d(x,A) - d(y,A) \vert \leq d(x,y)$ as I believe somewhere near that inequality lies the answer, however I am stuck. Has anyone tried to produce such proof?