This particular question :
Show that every bijection $ f:\mathbb{R} \to [0,\infty)$ has infinitely many points of discontinuity.
was asked in a quiz of mine.
Unable to solve it, I searched on MSE. I found this particular solution.
Points of discontinuity of a bijective function $f:\mathbb{R} \to [0,\infty)$
But I have a question in solution. But both the asker and answerer are not seen on the website for a very long time.
So I am asking my doubt as a separate question :
In the third line of answer given in above link how does author deduce that $f(I_m)$ is an open interval? It means that $f$ maps open intervals to open intervals? Why?
Can anyone please give a rigorous answer?