This SE question invites proofs of the fact that any open subset of $\mathbb R$ is a countable union of open intervals. The highest-voted answer there is of Brian M. Scott where they give the following argument:
Let $U$ be a non-empty open subset of $\Bbb R$. For $x,y\in U$ define $x\sim y$ iff $\big[\min\{x,y\},\max\{x,y\}\big]\subseteq U$. It’s easily checked that $\sim$ is an equivalence relation on $U$ whose equivalence classes are pairwise disjoint open intervals in $\Bbb R$. (The term interval here includes unbounded intervals, i.e., rays.) Let $\mathscr{I}$ be the set of $\sim$-classes. Clearly $U=\bigcup_{I \in \mathscr{I}} I$. For each $I\in\mathscr{I}$ choose a rational $q_I\in I$; the map $\mathscr{I}\to\Bbb Q:I\mapsto q_I$ is injective, so $\mathscr{I}$ is countable.
They then say that the
arguments generalize to any LOTS (= Linearly Ordered Topological Space)...
However, I don't agree that the argument indeed generalizes to arbitrary LOTS. For instance, consider $\mathbb Q$ under the topology due to the usual order. Now, take $U = (-\infty, \pi)_{\mathbb R}\cap\mathbb Q$. It is clear that there is only one equivalence class, namely $U$ itself. But $U$ is not an interval of the form $(-\infty, q)_{\mathbb Q}$ for some $q\in\mathbb Q$! (This problem does not arise in the case of $\mathbb R$ since $\mathbb R$ is order-complete so that all the convex sets are indeed intervals of the form $(a, b)$, $(-\infty, a]$, etc.)
Question: Is my concern valid, making the proof erroneous, and non-extensible to all the LOTS?