I am looking for "classical" - simple yet striking - proofs that set of all real numbers is equivalent to the $(0, 1) \subset \mathbb{R}$ and $(0, 1] \subset \mathbb{R}$?
To my understanding, it is enough to show that two functions $f: (0, 1) \mapsto \mathbb{R}$ and $g: \mathbb{R} \mapsto (0, 1)$ are the inverses of each other. And the same for the $(0, 1]$. I assume there are well-known "classical" $f, g$, what are they?