A space with a point whose closure is the whole space is a Baire space

See it in Lean

Axioms
ZFC only
Concerns
Baire

Statement

Let \(X\) be a space with a point \(p\) whose closure \(\overline{\{p\}}\) is \(X\). Then \(X\) is a Baire space.

Proof

Since every point lies in the closure of \(\{p\}\), every nonempty open set contains \(p\). Let \(G\) be the intersection of a countable family of dense open sets. Each member is nonempty, as \(X\) is nonempty, so each contains \(p\), and so does \(G\) (if the family is empty, \(G = X\)). Then \(\overline{G} \supseteq \overline{\{p\}} = X\), so \(G\) is dense. \(\blacksquare\)

Where it is used

Cited on space pages