This question is related to this post
Let $(E,d)$ be a metric space and consider the subsets $A,B$ where $A$ is compact and $B$ is closed. Suppose $dist(A,B):=inf_{x\in A, y\in B} d(x,y)=0$. Then I found that there are sequence $\{a_n\}\subseteq A$ and $\{b_n\}\subseteq B$ such that $0\leq \mid a_n - b_n \mid <1/n, \forall n\in \mathbb{N}$. This inequality consider the metric $\mid \cdot \mid$ which is the usual metric in $\mathbb{R}$ ($d:E\times E \rightarrow \mathbb{R}_+ $ in my definitions and, as far as I understand, these $\{a_n\}, \{b_n\}$ are real sequences).
Well, since $A$ is compact, it is sequentially compact, and there is a subsequence such that $a_{n_k} \rightarrow a\in A$. I want to show that $d(a,b_{n_k})\leq d(a,a_{n_k})+d(a_{n_k},b_{n_k}) \rightarrow 0$ as $k\rightarrow 0$. It is clear to me that $d(a,a_{n_k}) \rightarrow 0$. But what about $d(a_{n_k},b_{n_k})$?
My aim here is to show $\exists a\in A: dist(\{a\},B)=0 $ given $dist(A,B)=0$ without using the continuity of $inf$ function.
I dont't know how to proceed since $d$ is not necessarily the usual metric. So I have a sequence of real numbers in $A$ which converges to zero under the usual metric, but I want to show that they converge under the metric $d$ in $(E,d)$.