Points with the same punctured neighbourhoods

See it in Lean

Axioms
ZFC only
Concerns
Semiregular, Hausdorff

Statement

Let \(x\) and \(y\) be points of a space \(X\). Suppose that \(x\) is not isolated and that \(x\) and \(y\) have the same punctured neighbourhoods: for every set \(S \subseteq X\), the set \(S \cup \{x\}\) is a neighbourhood of \(x\) if and only if \(S \cup \{y\}\) is a neighbourhood of \(y\). Then the closure of every neighbourhood of \(x\) is a neighbourhood of \(y\).

Proof

Let \(U\) be a neighbourhood of \(x\). Then \(U \cup \{x\} = U\) is a neighbourhood of \(x\), so by hypothesis \(U \cup \{y\}\) is a neighbourhood of \(y\).

First, \(y \in \overline{U}\). Let \(W\) be a neighbourhood of \(y\). Then \((W \cap U) \cup \{y\}\) is a neighbourhood of \(y\), as the intersection of the neighbourhoods \(W\) and \(U \cup \{y\}\), so by hypothesis \((W \cap U) \cup \{x\}\) is a neighbourhood of \(x\). Since \(x\) is not isolated, this neighbourhood is not \(\{x\}\), so \(W \cap U\) is nonempty.

Hence \(U \cup \{y\} \subseteq \overline{U}\), and \(\overline{U}\) contains a neighbourhood of \(y\). \(\blacksquare\)

Where it is used

Cited on space pages