How can we construct a $1-1$ correspondence between $(0,1$) and $\mathbb{R}$ that transform irrationals into irrationals and rationals into rationals?
Is there a bijection between $(0,1)$ and $\mathbb{R}$ that preserves rationality?