I need to prove the following.
If $D$ is an UFD and if
$$\mathbb{R}\cong \operatorname{Frac}(D)$$
Then $\mathbb{R}\cong D$.
I have no idea how to prove it. I tried using the fact that the fraction field is a localisation and that localisation is flat.
Hint: Suppose $p\in D$ is a prime element. Then, as an element of $\mathbb{R}\cong\operatorname{Frac}(D)$, $p$ has a cube root. What does this tell you?
Details of how to finish the argument are hidden below.