A product of two discrete spaces is discrete

If both \(X\) and \(Y\) are discrete, then \(X \times Y\) is discrete.

See it in Lean

Axioms
ZFC only
Construction
Binary product

Statement

If \(X\) and \(Y\) are discrete, then so is \(X \times Y\).

Proof

Every singleton \(\{(x, y)\} = \{x\} \times \{y\}\) is an open box. So every subset of \(X \times Y\), a union of singletons, is open. \(\blacksquare\)

Where it is used

Not used yet.