Let $(S,+,*, \leq)$ be a totally ordered field.
For any set $X$ let $\mathcal B \subseteq \mathcal {P}(X)$ be called a basis on $X$ iff:
- $X \subseteq \bigcup\mathcal B$
- $\forall a,b \in \mathcal B:\exists \mathcal A \subseteq \mathcal B:a \, \cap\,b=\bigcup \mathcal A $
Let any subsets of $S$ of the form ${\{x:x<a}\}$, ${\{x:b<x}\}$ or ${\{x:c<x<d}\}$, where $a,b,c,d$ are some constants in $S$ be called open intervals. Let the set of these intervals be called $I$.
How to prove that the $I$ is a basis on $S$?
As to 1: let $p \in X$.
We must assume $X$ has at least two elements so we have some $q \neq p$, or all the open intervals are empty, and we have no base. 3 cases:
So $X \subseteq \bigcup \mathcal{B}$.
For 2, you have to distinguish all the cases of two different intervals intersecting each other, where you can assume WLOG that the intersection is non-empty, or we take $\mathcal{A} = \emptyset$. It's a bit tedious case checking again.