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

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

See it in Lean

Axioms
ZFC only
Construction
Binary product

Statement

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

Proof

Let \(D\) be a countable dense subset of \(X \times Y\) and let \(\pi : X \times Y \to Y\) be the projection. The set \(\pi(D)\) is countable. We show that it is dense. Let \(V\) be a nonempty open subset of \(Y\). Since \(X\) is nonempty, \(X \times V\) is a nonempty open subset of \(X \times Y\), so it contains a point \(d\) of \(D\), and then \(\pi(d) \in V \cap \pi(D)\). \(\blacksquare\)

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

Where it is used

Examples it describes

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

The 11 examples

Properties of spaces it gives

Cited on space pages