There are exactly $\mathfrak c$ open sets in $\mathbb R$
In the proof of the above theorem, there is one line stating that
let $\mathcal I$ be the sets of all open intervals in $\mathbb R$, then $|\mathcal I|=\mathfrak c$.
The proof I am reading does not provide the details for the above statement. I am trying to prove it. Is my argument below right?
Since all the open intervals are in one of the following form: $$(-\infty,a),(a,\infty),or\ (a,b)$$ So the total number of such intervals correspondes to $2$ times the number of ways to choose one number from $\mathbb R$ plus the number of ways to choose two number from $\mathbb R$ Therefore, $$|\mathcal I|=2{\mathfrak c \choose 1}+{\mathfrak c \choose 2}=2\mathfrak c+ \frac {\mathfrak c(\mathfrak c -1)}2 = \mathfrak c$$ This looks very native, is it correct anyway? Could you provide a rigorous way to prove this?
It's clear that there are at least $\mathfrak{c}$ open sets (the intervals $(x,\infty)$, for instance). The set of all open intervals has cardinality $\mathfrak{c}$ as well: the cardinality is $\le\mathfrak{c}+\mathfrak{c}^2+\mathfrak{c}=\mathfrak{c}$.
To finish the proof, note that the rationals are dense in the reals, so every open set is a countable union of open bounded intervals with rational extremes. If $\mathscr{X}$ is the set of all countable families of such open intervals, the map $\mathscr{X}\to\mathscr{U}$ (the topology on $\mathbb{R}$) sending a family to its union is surjective. Therefore $|\mathscr{U}|\le\aleph_0^{\aleph_0}=\mathfrak{c}$.