I want to prove that the interval $[a,b)\subset \mathbb{R}$ is not closed using the definition that a set $A$ in a topological space $X$ is closed iff its complement $X-A$ is open.
Here, the topology on $R$ is the standard order topology.
Munkres in his book "Topology" mentions the claim in passing right after he defines what it means for a set to be closed.
My attempts was:
Assume to the contrary that $[a,b)$ is closed. Then, by definition, its complement $(-\infty,a)\cup[b,+\infty)$ is open. I know that $(-\infty,a)$ is open while $[b,+\infty)$ is closed, but it does not give me a contradiction since the union of an open and a closed need not be not open.
How should I proceed?
I want a topological proof that does not involve epsilon balls and even sequences since the book has not discussed sequences yet.
The essence of the proofs is the same regardless to what way you choose to define the standard topology on $\Bbb R$.
Recall that an open set is the union of open intervals and open rays. So it suffices to show that $(-\infty,a)\cup[b,+\infty)$ is not the union of open intervals and open rays.
Specifically one point can be exploited here, $b$ itself. Given any open interval $(x,y)$, if $b\in (x,y)$ then $x<b$. If $(-\infty,a)\cup[b,+\infty)$ was open there was an open interval $(x,y)$, or ray when $y$ is $+\infty$, such that $b\in(x,y)$ and $(x,y)\subseteq(-\infty,a)\cup[b,+\infty)$.
But now $x<b$, therefore there is some $z\in(x,b)\cap(a,b)$, but $z\notin(-\infty,a)\cup[b,+\infty)$ which is a contradiction.