Let
$E ⊂ (0, 1)$
be the set of all real numbers with decimal representation using
only the digits $1$ and $0$:
$E := \{ x ∈ (0, 1) : ∀j ∈ N, ∃d_{−j} ∈ \{1, 0\} \text{ such that } x = 0.d_{−1}d{−2} . . .\}$.
$f : E → ℘(N) \text{ s.t if }
x ∈ E, x = 0.d_{−1}d_{−2} . . .,
f(x) = \{j ∈ N : d_{−j} = 1\}$.
I am trying to prove that f is injective. This is my reasoning. Set $f(x)$ tells us about the position of $1$ and $N-f(x)$ tells about position of $0$. From this it implies that if $f(x)=f(y)$ then $x=y$.