Let
- $C=C([0,1])$ be the space of continuous functions from $[0,1]$ to $\mathbb{R}$ (or $\mathbb{C}$)
- $B=B([0,1])$ be the space of bounded funciton from $[0,1]$ to $\mathbb{R}$ (or $\mathbb{C}$)
- $l_\infty$ the space of bounded sequences of real (or complex numbers)
- $\{q_n\}_{n\in\mathbb{N}}$ an enumeration of the rational numbers $\mathbb{Q}\cap[0,1]$
The function $$\begin{align} \varphi:B & \longrightarrow l_\infty\\ f & \longmapsto \varphi(f)=(f(q_1),f(q_2),\dots,f(q_n),\dots) \end{align}$$ is onto but clearly not one-to-one. However, $\varphi$ restricted to $C$ is one-to-one because $\{q_n\}_{n\in\mathbb{N}}$ is dense in $[0,1]$ and the functions are continuous. But when restricted to $C$, $\varphi$ is not onto because something like $(0,0,0,1,1,1,1,1,1,1,1,\dots)$ is not the image of any continuous function.
So is there any intermediate space $C\le X\le B$ such that the restriction $\varphi\vert_{X}$ is bijective?
I have thought vaguely of some things that may work, like making the function of $(x_n)_{n\in\mathbb{N}}$ with some limit process but now i don´t have time to check a lot of those ideas. There should be some difficulties with the fact that $\{q_n\}_{n\in\mathbb{N}}$ has zero measure in $[0,1]$ so maybe instead of $B$ we should be using $L^\infty([0,1])$. Does someone have an idea or a complete solution? Also $\varphi$ is (i strongly think but cant check now) continuous and even norm preserving on $C$ but obviously not on $B$. Maybe we shouldn't be thinking of a subspace of $B$ but rather of $l_\infty$?
Also, how does the enumeration change $\varphi$?
Thanks!
edit: maybe we are looking for bounded functions continuous only on the irrational numbers?