I would like to know why the following are true. I believe it is some sort of relationship between the two spaces- an isomorphism of sorts?
There is a proof to show that the real numbers is uncountable. The proof uses $[0,1]$ instead of $\mathbb{R}$. Why can we work with $[0,1]$ instead of $\mathbb{R}$?
Another instance of this:
There is a proof of the Weierstrass Approximation Theorem, which can be proved by proving Bernstein's Theorem first. In the proof for Bernstein's Theorem, although we want to show that $B_n(f)$ converges to $f$ uniformly for all $f\in C[a,b]$, we merely suppose $f\in C[0,1]$ instead, where $(B_n(f))(x)=\sum_{k=0}^nf\left(\frac{k}{n}\right)\cdot {n\choose k}x^k(1-x)^{n-k}$, for $x\in[0,1]$, and where $C[a,b]$ is the set of all continuous functions on the interval $[a,b]$.