Compact discrete spaces are finite

If \(X\) is discrete and compact, then it is finite.

See it in Lean

Axioms
ZFC only

Statement

Every compact discrete space is finite.

Proof

Let \(X\) be compact and discrete. The singletons \(\{x\}\), \(x \in X\), are open and cover \(X\), so finitely many of them cover \(X\). No singleton can be omitted from a subcover, since \(\{x\}\) is the only member of the cover containing \(x\). So \(X\) has finitely many points. \(\blacksquare\)

Where it is used

Properties of spaces it gives

Cited on space pages