Countable order-dense sets in a lexicographic sum

See it in Lean

Axioms
ZFC only
Concerns
Linearly orderable

Statement

Let \(A\) and \(B\) be nonempty linear orders, \(A\) without a greatest element, and order \(A \sqcup B\) by putting every element of \(A\) below every element of \(B\). Suppose that for every \(a \in A\) there is a countable \(D \subseteq A\) such that whenever \(a \le x < y\) some element of \(D\) lies strictly between \(x\) and \(y\), and that for every \(b \in B\) there is a countable \(D \subseteq B\) such that whenever \(x < y \le b\) some element of \(D\) lies strictly between \(x\) and \(y\). Then for all \(a, b \in A \sqcup B\) there is a countable \(D \subseteq A \sqcup B\) such that whenever \(a \le x < y \le b\) some element of \(D\) lies strictly between \(x\) and \(y\).

Proof

Choose \(a_0 \in A\) with \(a_0 \le a\) (if \(a \in A\), take \(a_0 = a\); otherwise any element of \(A\)) and \(b_0 \in B\) with \(b \le b_0\) similarly, and countable sets \(D_A \subseteq A\) for \(a_0\) and \(D_B \subseteq B\) for \(b_0\) as in the hypotheses. Let \(D = D_A \cup D_B\), a countable set. Let \(a \le x < y \le b\), so \(a_0 \le x\) and \(y \le b_0\). If \(x, y \in A\), the hypothesis on \(D_A\) gives a point of \(D_A\) between them; if \(x, y \in B\), the hypothesis on \(D_B\) does. If \(x \in A\) and \(y \in B\), choose \(x' \in A\) with \(x < x'\), which exists as \(A\) has no greatest element, and a point \(d \in D_A\) with \(x < d < x'\); then \(x < d < y\). The case \(x \in B\), \(y \in A\) cannot occur. \(\blacksquare\)

Where it is used

Cited on space pages