Definition:Distance/Sets/Metric Spaces

Definition
Let $V$ be a metric space with associated metric $d$.

Let $x \in V$, and let $S, T$ be subsets of $V$.

The distance between $x$ and $S$ is defined and annotated $\displaystyle d \left({x, S}\right) = \inf_{y \in S} \left({d \left({x, y}\right)}\right)$.

The distance between $S$ and $T$ is defined and annotated $\displaystyle d \left({S, T}\right) = \inf_{\substack{x \in S \\ y \in T}} \left({d \left({x, y}\right)}\right)$.

Also denoted as
Some sources write $\operatorname{dist}$ instead of $d$.