A preconnected set meeting a clopen set lies in it

See it in Lean

Axioms
ZFC only

Statement

Let \(X\) be a space, \(U \subseteq X\) open and closed, and \(C \subseteq X\) a set that is not the union of two disjoint nonempty sets open in \(C\). If \(C\) meets \(U\), then \(C \subseteq U\).

Proof

The sets \(C \cap U\) and \(C \setminus U\) are disjoint and open in \(C\), since \(U\) and \(X \setminus U\) are open in \(X\), and their union is \(C\). The first is nonempty since \(C\) meets \(U\), so the second is empty, that is, \(C \subseteq U\). \(\blacksquare\)

So two points separated by a clopen set, one in it and one outside it, lie in no common connected set.

Where it is used

Cited on space pages

Cited in proofs of other theorems