If $E$ and $F$ are disjoint closed subsets of a metric space $(X,d)$, then is $dist~(E,F) >0?$
My attempt:
Suppose $dist~(E,F)=0.$
Then $\exists~e \in E,f \in F$ such that $~\forall ~r>0,~d(e,f)<r.$
$\implies f$ is an accumulation for the set $E$ and $e$ is an accumulation point for $F$.
But, since, closed sets retain their accumulation points $\implies f \in E \bigcap F$ . But given that $E \bigcap F = \{\emptyset\}$ leading to a contradiction.
Hence, $dist~(E,F)>0.$
Could someone please have a look at my proof and point out flaws , if any.
Thank you very much for your help!