If a product is discrete and its second factor is nonempty, its first factor is discrete

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

See it in Lean

Axioms
ZFC only
Construction
Binary product

Statement

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

Proof

Since \(Y\) is nonempty, we may choose \(y_0 \in Y\). The map \(x \mapsto (x, y_0)\) is an embedding of \(X\) into \(X \times Y\), so \(X\) is homeomorphic to a subspace of \(X \times Y\). A subspace of a discrete space is discrete: every subset \(A\) of the subspace \(S\) equals \(A \cap S\), with \(A\) open in the space. \(\blacksquare\)

The hypothesis that \(Y\) is nonempty is needed: \(X \times \emptyset\) is empty, and so discrete, whatever \(X\) is.

Where it is used

Examples it describes

Used to work out the properties of the example for 26 of the combinations that occur in Connectedness and disconnectedness:

The 26 examples

Properties of spaces it gives