A jump in a linear order gives a clopen set

See it in Lean

Axioms
ZFC only
Concerns
Linearly orderable

Statement

Let \(X\) carry the order topology of a linear order \(<\), and let \(c < d\) in \(X\) with no point strictly between them. Then \(\{x : x \le c\}\) is open and closed.

Proof

It is closed, since its complement \(\{x : x > c\}\) is an open ray. It is open, since it equals the open ray \(\{x : x < d\}\): a point \(x < d\) satisfies \(x \le c\), as otherwise \(c < x < d\). \(\blacksquare\)

Its complement \(\{x : x \ge d\}\) is then open and closed as well.

Where it is used

Cited in proofs of other theorems