A convergent countable set with dense complement

See it in Lean

Axioms
ZFC only
Concerns
First countable, Baire, Hausdorff

Statement

Let \(X\) be a first-countable Hausdorff Baire space without isolated points. For every \(p\in X\) there is a countable set \(K\) such that \(p\notin K\), \(p\in\overline K\), \(K\cup\{p\}\) is closed and \(X\setminus K\) is dense.

Proof

Since \(p\) is not isolated, first countability gives a sequence \((x_n)\) in \(X\setminus\{p\}\) converging to \(p\). Put \(K=\{x_n:n\in\mathbb N\}\). The sequence together with its limit is compact, and hence closed in the Hausdorff space \(X\). Also \(p\in\overline K\setminus K\).

Each complement \(X\setminus\{x_n\}\) is open and dense because the space is Hausdorff and has no isolated points. The Baire property makes their intersection \(X\setminus K\) dense. \(\blacksquare\)

Where it is used

Cited on space pages