Let $(X,\leq)$ be a well-ordered set, Let $\mathscr T$ be the order topology on $X$.
How do I prove that every interval of the form $(a,b]$ is open in $X$?
Proof is given in the textbook:
Case 1:
If $(X,\leq)$ has the largest member and $b$ is that member, then $(a,b]$ is the basic open set.
Case 2:
If $b$ is not a largest member of $(X,\leq),$ Let $A=\{x\in X:x>a\}$. Since $(X,\leq)$ be a well-ordered set, $A$ has a least element $c$. Thus $(a,b]=(a,c)$ and Hence $(a,b]$ is open.
Definition of order topology on $X$ given in the text as follows.
Definition Let $(X,\leq)$ be a linearly ordered set, and let $\mathscr S$ be the collection of all subsets of the form $\{x\in X:x<a\}$ and $\{x\in X:x>a\}$, where $a\in X$. Then the topology that has $\mathscr S$ subbasis is called the order topology on $X$.
Doubts:
If $b$ is the largest member of $(X,\leq)$, how does $(a,b]$ become basic open set?
Case 2: $(a,b]$ is open. since $(a,b]=(a,c)=\{x\in X:x>a\}\cap \{x\in X:x<c\}.$ $\{x\in X:x>a\}\in \mathscr S\subseteq \mathscr T$ and $\{x\in X:x<c\}\in \mathscr S\subseteq \mathscr T\implies \{x\in X:x>a\}\cap \{x\in X:x<c\}\in \mathscr T $. Am I correct?