If $X$ is uncountable, then the set of bounded injective functions: $f: X \rightarrow \mathbb{R}$ has empty interior.
Attempt:
In order to prove that the interior is empty, we must show that for any $f$ in the set and for any ball centered on $f$: $B(f;\epsilon)$, one can find a function $g\in B(f;\epsilon)$ such that $g$ is not injective.
Take any $f$ in the set and any $\epsilon>0$. We note that the image of $f$, $f(X)$, is an uncountable subset of $\mathbb{R}$. Therefore, it contains at leats one of its accumulation points, say $f(x_0$), where $x_0\in X$. Hence it follows that $B(f(x_0);\epsilon/2)\cap f(X) \neq \emptyset$. We take $f(y_0)\in B(f(x_0);\epsilon/2)\cap f(X)$ such that $f(x_0)<f(y_0)$, where $y_0\in X.$
Define the following function:
$g:X\rightarrow \mathbb{R}$ by letting: $g(y_0) = f(x_0)$ and $g(x)=f(x)$ elsewhere. Clearly $g$ is not injective and:
$$\mbox{sup}_{x\in X}|f(x)-g(x)| = |f(y_0)-g(y_0)|=|f(y_0)-f(x_0)|<\epsilon,$$
since we chose $f(y_0)\in B(f(x_0);\epsilon/2)$. This shows that $g\in B(f;\epsilon)$, $g$ being not injective.
Is this fine? Any different idea?
Also this is the space of bounded real functions.
– user2345678 Sep 09 '17 at 22:48