Compact metric sets contain no infinite uniformly separated sequence

See it in Lean

Axioms
ZFC only

Statement

Let \(K\) be a compact subset of a metric space and \(\varepsilon>0\). There is no sequence \((x_n)_{n\in\mathbb N}\) in \(K\) with \(d(x_n,x_m)\geq\varepsilon\) whenever \(n\ne m\).

Proof

Compactness gives a convergent subsequence indexed by a strictly increasing map. The distances between successive terms of that subsequence tend to zero. Each is at least \(\varepsilon\), a contradiction. \(\blacksquare\)

Where it is used

Cited on space pages