Let $(P, <)$ be a dense totally ordered set. Then there exists a complete totally ordered set $(C, \prec)$, such that:
- $P \subseteq C$.
- If $p,q \in P$ then $p<q \iff p \prec q$.
- $P$ is dense in $C$.
Also $(C, \prec)$ is unique up to an isomorphism over $P$.
I understand how to prove existence of the completion $(C, \prec)$ via the Dedekind cuts construction, but I don't know how to prove uniqueness up to an isomorphism over $P$.
Let $(C,\prec)$, $(C',\prec')$ be complete totally ordered sets s.t. 1-3 hold. Consider
$$ f \colon C \rightarrow C', \ c \mapsto \sup \{p \in P \mid p \prec c \}, $$ where the $\sup$ is calculated in $(C',\prec')$. (If $c$ is the least element in $(C,\prec)$, let $f(c)$ be the least element in $(C',\prec')$ and similar for maximal elements. Note that the density of $P$ guarantees that this goes through in every possible case.)
$f$ certainly respects the two orderings.
$f$ is injective: Given $c \prec d$ in $C$ fix $p \in P$ s.t. $c \prec p \prec q \prec d$. Then $f(c) \preceq' p \prec' q \preceq' f(d)$.
$f$ is surjective: Let $c' \in C'$. If $c'$ is the least element of $(C', \prec')$, there is nothing to do. Otherwise, as $P$ is dense in $C'$, we may write $c' = \sup X$ for some $X \subseteq P$ (calculated in $(C', \prec')$). Let $c := \sup X$ (calculated in $(C, \prec)$. Then by construction $f(c) = c'$.
This shows, that $f$ is the desired isomorphism.