In this proof:
https://proofwiki.org/wiki/Distance_from_Subset_to_Supremum
I don't understand why the two observations imply result.
Intuitively I get it, the distance is positive or zero and I can make it as near to zero as desired. But how to proper justify this?
Thanks.
Maybe this can help you.
Prove: If $a<b+\epsilon$ for all $\epsilon>0$ then $a\leq b$.
Proof: Assume that $a<b+\epsilon$ for all $\epsilon>0$ and suppose $a>b$. We know that $a-b>0$, so that using our assumption, we get $a<b+(a-b)$. This means that $a<a$, which is not possible (because of the Trichotomy Law). So, we are forced to conclude that $a\leq b$ otherwise we will get a contradiction. QED
Applying this to the question, it has been shown that $$d(\sup S, S)<0+\epsilon$$ for all $\epsilon>0$. So, according to preceding result, we conclude that $$d(\sup S, S)\leq 0.\qquad (1)$$ But we know that by definition of the distance, $$d(\sup S, S)\geq 0.\qquad (2)$$ Combining $(1)$ and $(2)$, we get $$d(\sup S, S)= 0.$$