Let $f$ be a Borel measurable function from a separable metric space $X$ onto a metric space $S$ with metric $e$. Show that $(S, e)$ is separable. Hints: As in Problem 8, $X$ has at most $c$ Borel sets. If $S$ is not separable, then show that for some $\varepsilon>0$ there is an uncountable subset $T$ of $S$ with $d(y, z)>\varepsilon$ for all $y = z \in T$ . Use Problem 9 to get a measurable function $g$ from $X$ onto $T$ . All $g^{−1}(A)$, $A \subset T$ , are Borel sets in $X$.
Assuming I have done all that, I just cannot find the contradiction to finish the proof. As I understand we have
An injection $I_1:\mathcal B(X)\to \mathbb R$.
An injection $I_2:\mathcal P (T)\to \mathcal B(X)$.
But how to finish? Do we need the continuum hypothesis?
EDIT: The continuum hypothesis seems sufficient, but is there a way to avoid it?