I'm reading the proof of uniqueness of real-closure of an ordered field $F$, that is an algebraic extension $R$ of $F$ such that $R$ is real-closed and the unique order on $R$ extends that of $F$. I understand the proof of existence of such field.
This is theorem 1.3.2 from Real-algebraic geometry by Bochnak, Coste and Roy.
In the proof we have a real-closed field $R'$ and $L\subseteq R$ where $R$ is real-closure of $F$, and $L$ extends $F$ (with order induced by $R$). We have $a\in R\setminus L$ and its minimal polynomial $f$. There is an $F$-homomorphism $\Phi:L\to R'$. We know that $f$ has roots $a_1 < ... < a_n$ in $R$ and $\Phi(f) = g$ has roots $b_1 < ... < b_n$ in $R'$ (those are all roots of those polynomials in those fields). If $a = a_j$, we extend $\Phi$ to an $F$-homomorphism such that $\Phi(a) = b_j$. This is just a standard theorem from field theory that such extension exists so I have no problem with this.
Could someone explain to me why is $\Phi$ order-preserving then?
Edit: I've been looking in Jacobson, and I've been trying to apply his argument here. Take polynomial $h\in L[x]$ that has all of $a_1, ..., a_n$ and $\sqrt{a_{i+1}-a_i}$ for $i = 1, ..., n-1$ as its roots. Then take the extension of $L$ generated by the roots of $h$ in $R$, and primitive element $\theta$ of it. Then extend $\Phi$ to $L(\theta)$ so that $\Phi(\theta) = \theta'$. We can then write $\Phi(\sqrt{a_{i+1}-a_i})^2 = \Phi(a_{i+1})-\Phi(a_i) > 0$. Since $\Phi(a_i)$ must be all roots of $g$ in $R'$, we must have $\Phi(a_i) = b_i$ for $i = 1, ..., n$.
I'm not familiar with primitive elements yet (I'm new to field theory), so it would be nice if someone could double check this argument!
Edit 2: I'm afraid above argument still tells me nothing about being order-preserving, see answer I posted below for a replacement of the argument in the book.
Edit 3: I realize now that in the book by Bochnak, Coste and Roy they do sketch a similar argument to the one in Jacobson's book but they state the needed lemma and proposition inside the proof of the theorem which is why I missed it. Sorry for this goofy mistake, I was genuinely convinced there is an error in the book.