Totally separated spaces are functionally Hausdorff

If \(X\) is totally separated, then it is functionally Hausdorff.

See it in Lean

Axioms
ZFC only

Statement

Every totally separated space is functionally Hausdorff.

Proof

Let \(X\) be totally separated and \(x \ne y\). By the equivalent form of total separatedness by open and closed sets, there is an open and closed set \(U\) containing \(x\) but not \(y\). Let \(f : X \to [0, 1]\) be \(0\) on \(U\) and \(1\) on \(X \setminus U\). The preimage under \(f\) of any set is one of \(\emptyset\), \(U\), \(X \setminus U\) and \(X\), all of which are open, so \(f\) is continuous, and \(f(x) = 0\), \(f(y) = 1\). \(\blacksquare\)

Where it is used

Properties of spaces it gives

Cited on space pages

References