How to show that this sequence split?
I'm trying to construct a map $\phi: \mathbb{R}/\mathbb{Q} \to \mathbb{R}$ by $\overline{r} + \mathbb{Q} \mapsto r$. Let the quotient map be $\pi$ and $\pi \circ \phi(\overline{r}) = \pi(r) = \overline{r}$ is the identity on $\mathbb{R}/\mathbb{Q}$. Is this correct?
Is there a theoretical way of showing this? I want to use some projective module or divisible or injective module theory but it is not clear what ring we are considering.
You can consider the sequence in the category of modules over $\mathbb{Q}$, or over $\mathbb{Z}$.
In both cases the sequence is split, because $\mathbb{Q}$ is injective in both cases. However, writing explicitly the retraction is not possible, because it requires the axiom of choice, at least a weak form of it.
Since $\mathbb{R}/\mathbb{Q}$ is torsion free as an abelian group, it’s actually immaterial what ring you consider among $\mathbb{Z}$ or $\mathbb{Q}$. Defining the retraction needs a basis of $\mathbb{R}$ over $\mathbb{Q}$.