If every neighbourhood of a point is dense and one is not the whole space, the space is not semiregular

See it in Lean

Axioms
ZFC only
Concerns
Semiregular

Statement

Let \(X\) be a space with a point \(x\) every neighbourhood of which is dense in \(X\), and suppose that some neighbourhood \(N\) of \(x\) is not the whole of \(X\). Then \(X\) is not semiregular.

Proof

A set is regular open if it is the interior of its closure. Let \(W\) be a regular open set containing \(x\). Then \(W\) is a neighbourhood of \(x\), so it is dense, and \(W = \operatorname{int} \overline{W} = \operatorname{int} X = X\). So the only regular open set containing \(x\) is \(X\) itself, and none lies in \(N\). Hence the regular open sets do not form a base of \(X\), and \(X\) is not semiregular. \(\blacksquare\)

Where it is used

Cited on space pages