Nonempty bounded closed subsets carry the Hausdorff metric

See it in Lean

Axioms
ZFC only

Statement

For a metric space \((X,d)\), let \(\mathcal H(X)\) consist of all nonempty bounded closed subsets of \(X\). For \(A,B\in\mathcal H(X)\), put \[g(A,B)=\sup_{a\in A}\inf_{b\in B}d(a,b).\] Then \[d_H(A,B)=\max\{g(A,B),g(B,A)\}\] is a metric on \(\mathcal H(X)\). If \(X\) is empty, so is \(\mathcal H(X)\).

Proof

The Hausdorff extended distance between closed subsets is an extended metric. For nonempty bounded sets it is finite: fix \(a_0\in A\) and \(b_0\in B\). Boundedness of \(A\) gives a uniform finite bound on \(d(a,b_0)\) for \(a\in A\), and boundedness of \(B\) similarly bounds \(d(b,a_0)\) for \(b\in B\). Restricting the extended metric to these sets therefore gives a real-valued metric.

To identify its formula, write \(h\) for this Hausdorff distance. Every point-to-set distance from \(A\) to \(B\) is at most \(h\), and likewise in the opposite direction. Hence both directed suprema are at most \(h\). Conversely, every point-to-set distance is bounded by its directed supremum, so the Hausdorff distance is at most their maximum. This proves the displayed formula. Here point-to-set distance equals the infimum of ordinary distances to points of the nonempty target set.

Closedness ensures that distance zero identifies the two sets, since any point at distance zero from a closed set lies in that set. No compactness assumption is needed. For empty \(X\), there are no nonempty subsets, giving an empty hyperspace. \(\blacksquare\)

References

  • Steen and Seebach, Counterexamples in Topology, 2nd ed. (1978), Example 138, pp. 154–155