Showing any countable, dense, linear ordering is isomorphic to a subset of $mathbbQ$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
15
down vote

favorite
7












I'm trying to knock out a few of the later exercises from Enderton's Elements of Set Theory. This problem is #17, found on page 227.




A partial ordering $R$ is said to be dense iff whenever $xRz$, then $xRy$ and $yRz$ for some $y$. Assume $(A,R)$ is a linearly ordered structure with $A$ countable and $R$ dense. Show that $(A,R)$ is isomorphic to $(B,<_Q)$ for some subset $B$ of $mathbbQ$.




I had an idea, but I'm not sure how to communicate it formally, so I'm hoping to get some help on this. First, since $A$ is countable, I can list it as a sequence, $A=a_0,a_1,a_2,ldots$, even if this isn't the actual linear ordering dictated by $R$. The text suggests that I define some order isomorphism $f$ by defining $f(a_i)$ by recursion on $i$.



I began by letting $f(a_0)=q_0$ for some arbitrary rational. I then look at $a_1$, if $a_0Ra_1$, I would then let $q_0<f(a_1)$, and if $a_1Ra_0$, I instead choose $f(a_1)<q_0$. This continues, so for example, if $a_2Ra_1land a_0Ra_2$, I would then want to choose $f(a_2)$ such that $q_0<f(a_2)<q_1$ and so on.



Since $mathbbQ$ is dense, I just want to choose some rational to preserve the order as I go along sequentially in $A$, and figure out the order as I go. Is this right? If so, what's the rigorous way to state this idea? I'm particularly concerned about how $f$ can respond to where the next element $a_i+1$ might be in relation to the previous $a_0,ldots, a_i$, and how to decide which element to pick out. Thank you.










share|cite|improve this question























  • I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
    – Asaf Karagila♦
    May 5 '11 at 9:09











  • I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
    – Asaf Karagila♦
    May 5 '11 at 9:20






  • 2




    This came up here math.stackexchange.com/questions/13793/…
    – Mike F
    May 5 '11 at 9:31










  • @Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
    – yunone
    May 5 '11 at 9:52










  • I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
    – Asaf Karagila♦
    May 5 '11 at 9:54














up vote
15
down vote

favorite
7












I'm trying to knock out a few of the later exercises from Enderton's Elements of Set Theory. This problem is #17, found on page 227.




A partial ordering $R$ is said to be dense iff whenever $xRz$, then $xRy$ and $yRz$ for some $y$. Assume $(A,R)$ is a linearly ordered structure with $A$ countable and $R$ dense. Show that $(A,R)$ is isomorphic to $(B,<_Q)$ for some subset $B$ of $mathbbQ$.




I had an idea, but I'm not sure how to communicate it formally, so I'm hoping to get some help on this. First, since $A$ is countable, I can list it as a sequence, $A=a_0,a_1,a_2,ldots$, even if this isn't the actual linear ordering dictated by $R$. The text suggests that I define some order isomorphism $f$ by defining $f(a_i)$ by recursion on $i$.



I began by letting $f(a_0)=q_0$ for some arbitrary rational. I then look at $a_1$, if $a_0Ra_1$, I would then let $q_0<f(a_1)$, and if $a_1Ra_0$, I instead choose $f(a_1)<q_0$. This continues, so for example, if $a_2Ra_1land a_0Ra_2$, I would then want to choose $f(a_2)$ such that $q_0<f(a_2)<q_1$ and so on.



Since $mathbbQ$ is dense, I just want to choose some rational to preserve the order as I go along sequentially in $A$, and figure out the order as I go. Is this right? If so, what's the rigorous way to state this idea? I'm particularly concerned about how $f$ can respond to where the next element $a_i+1$ might be in relation to the previous $a_0,ldots, a_i$, and how to decide which element to pick out. Thank you.










share|cite|improve this question























  • I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
    – Asaf Karagila♦
    May 5 '11 at 9:09











  • I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
    – Asaf Karagila♦
    May 5 '11 at 9:20






  • 2




    This came up here math.stackexchange.com/questions/13793/…
    – Mike F
    May 5 '11 at 9:31










  • @Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
    – yunone
    May 5 '11 at 9:52










  • I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
    – Asaf Karagila♦
    May 5 '11 at 9:54












up vote
15
down vote

favorite
7









up vote
15
down vote

favorite
7






7





I'm trying to knock out a few of the later exercises from Enderton's Elements of Set Theory. This problem is #17, found on page 227.




A partial ordering $R$ is said to be dense iff whenever $xRz$, then $xRy$ and $yRz$ for some $y$. Assume $(A,R)$ is a linearly ordered structure with $A$ countable and $R$ dense. Show that $(A,R)$ is isomorphic to $(B,<_Q)$ for some subset $B$ of $mathbbQ$.




I had an idea, but I'm not sure how to communicate it formally, so I'm hoping to get some help on this. First, since $A$ is countable, I can list it as a sequence, $A=a_0,a_1,a_2,ldots$, even if this isn't the actual linear ordering dictated by $R$. The text suggests that I define some order isomorphism $f$ by defining $f(a_i)$ by recursion on $i$.



I began by letting $f(a_0)=q_0$ for some arbitrary rational. I then look at $a_1$, if $a_0Ra_1$, I would then let $q_0<f(a_1)$, and if $a_1Ra_0$, I instead choose $f(a_1)<q_0$. This continues, so for example, if $a_2Ra_1land a_0Ra_2$, I would then want to choose $f(a_2)$ such that $q_0<f(a_2)<q_1$ and so on.



Since $mathbbQ$ is dense, I just want to choose some rational to preserve the order as I go along sequentially in $A$, and figure out the order as I go. Is this right? If so, what's the rigorous way to state this idea? I'm particularly concerned about how $f$ can respond to where the next element $a_i+1$ might be in relation to the previous $a_0,ldots, a_i$, and how to decide which element to pick out. Thank you.










share|cite|improve this question















I'm trying to knock out a few of the later exercises from Enderton's Elements of Set Theory. This problem is #17, found on page 227.




A partial ordering $R$ is said to be dense iff whenever $xRz$, then $xRy$ and $yRz$ for some $y$. Assume $(A,R)$ is a linearly ordered structure with $A$ countable and $R$ dense. Show that $(A,R)$ is isomorphic to $(B,<_Q)$ for some subset $B$ of $mathbbQ$.




I had an idea, but I'm not sure how to communicate it formally, so I'm hoping to get some help on this. First, since $A$ is countable, I can list it as a sequence, $A=a_0,a_1,a_2,ldots$, even if this isn't the actual linear ordering dictated by $R$. The text suggests that I define some order isomorphism $f$ by defining $f(a_i)$ by recursion on $i$.



I began by letting $f(a_0)=q_0$ for some arbitrary rational. I then look at $a_1$, if $a_0Ra_1$, I would then let $q_0<f(a_1)$, and if $a_1Ra_0$, I instead choose $f(a_1)<q_0$. This continues, so for example, if $a_2Ra_1land a_0Ra_2$, I would then want to choose $f(a_2)$ such that $q_0<f(a_2)<q_1$ and so on.



Since $mathbbQ$ is dense, I just want to choose some rational to preserve the order as I go along sequentially in $A$, and figure out the order as I go. Is this right? If so, what's the rigorous way to state this idea? I'm particularly concerned about how $f$ can respond to where the next element $a_i+1$ might be in relation to the previous $a_0,ldots, a_i$, and how to decide which element to pick out. Thank you.







elementary-set-theory order-theory model-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 5 '11 at 9:08









Asaf Karagila♦

294k31410737




294k31410737










asked May 5 '11 at 9:07









yunone

14.4k651130




14.4k651130











  • I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
    – Asaf Karagila♦
    May 5 '11 at 9:09











  • I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
    – Asaf Karagila♦
    May 5 '11 at 9:20






  • 2




    This came up here math.stackexchange.com/questions/13793/…
    – Mike F
    May 5 '11 at 9:31










  • @Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
    – yunone
    May 5 '11 at 9:52










  • I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
    – Asaf Karagila♦
    May 5 '11 at 9:54
















  • I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
    – Asaf Karagila♦
    May 5 '11 at 9:09











  • I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
    – Asaf Karagila♦
    May 5 '11 at 9:20






  • 2




    This came up here math.stackexchange.com/questions/13793/…
    – Mike F
    May 5 '11 at 9:31










  • @Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
    – yunone
    May 5 '11 at 9:52










  • I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
    – Asaf Karagila♦
    May 5 '11 at 9:54















I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
– Asaf Karagila♦
May 5 '11 at 9:09





I have added model-theory to it, as this is really an aspect of models of the theory of Dense Linear Orders.
– Asaf Karagila♦
May 5 '11 at 9:09













I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
– Asaf Karagila♦
May 5 '11 at 9:20




I started writing a proof, but I'm starting to get it complicated. I can give you a general hint about how to do it though (which is different than what I did): You need to go back-forth that is define the image of a number, then the preimage of a rational, and so on.
– Asaf Karagila♦
May 5 '11 at 9:20




2




2




This came up here math.stackexchange.com/questions/13793/…
– Mike F
May 5 '11 at 9:31




This came up here math.stackexchange.com/questions/13793/…
– Mike F
May 5 '11 at 9:31












@Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
– yunone
May 5 '11 at 9:52




@Asaf, thanks, I'll attempt to get to that in the morning. I'd also be happy to see the proof you were writing, but only if it's not too much hassle to write down. I had some experience with DLOs from Hinman's text on logic, but that was a while ago. Otherwise, no worries.
– yunone
May 5 '11 at 9:52












I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
– Asaf Karagila♦
May 5 '11 at 9:54




I have to go teach some classes, after that I will sit to see if I can finish this proof of mine, I might post it barebones and leave the fleshing of the details to the reader... (read: you :-))
– Asaf Karagila♦
May 5 '11 at 9:54










4 Answers
4






active

oldest

votes

















up vote
11
down vote



accepted










what you are doing by building $f$ step-by-step is called building a partial map. Having already picked $b_i$ ($=f(a_i)$) for $i<m$, you pick $b_m$ so that it preserves the relations that $a_m$ has with the $a_i$ for $i<m$. This is possible because $mathbbQ$ is dense and has no endpoints. So, at every state you can enlarge the partial isomorphism. After $omega$-many steps, the domain of the map will be all of $A$, and the $f$ you will have built will be an order preserving injection of $(A,R)$ into $mathbbQ$.



To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time. So your $a_i$ will atmost be between some two previous elements, or larger than all of them or greater than all of them. But since $mathbbQ$ is dense and has no endpoints, in each case we can pick a corresponding $b_i$.



Also, notice that I made no assumptions here about $(A,R)$ here, except that it is a countable linear order. In case $(A,R)$ is countable, dense and has no endpoints, you can do even better, ie you can in a similar way build an isomorphism between $(A,R)$ and $(mathbbQ,<)$. The way to do this is similar to the above one, except you enumerate $A$ and $mathbbQ$ and then build a isomorphism element by element such that it respects the orderings and has range $mathbbQ$ and domain $A$. One way to do this is to first map an element of $A$ to an element of $mathbbQ$ and then map the least unmapped element of $mathbbQ$ in the enumeration to an element of $A$.



Keywords for what you are looking for are:
Back-and-forth method, Ehrenfeucht-Fraïssé game.
Any model theory text book (Hodges, Marker, Poizat etc) should have a detailed account of this method.






share|cite|improve this answer






















  • Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
    – yunone
    May 5 '11 at 20:57

















up vote
17
down vote













In fact, there is no need to assume that $R$ is dense. The fact is that every countable linear order embeds into the rational line. Another way to say this is that the rational line (or any countable dense linear order) is universal for countable linear orders.



The proof is just as you describe. Given a countable order $langle A,Rrangle$, enumerate $A=a_0,a_1,ldots$ and build the full isomorphism of $A$ into $mathbbQ$ by successively defining $f(a_n)$. At any stage of the construction, we have a partial isomorphism defining the images of $a_i$ for $ilt n$, and we want to define $f(a_n)$. The images $f(a_i)$ form a finite subset of $mathbbQ$, which divides $mathbbQ$ into finitely many intervals. So we look at how $a_n$ sits with respect to the $a_i$ for $ilt n$, that is, at which interval in $A$ it sits in among those finitely many endpoints, and then choose any point in $mathbbQ$ that fits in the corresponding interval in the image, and let that point be $f(a_n)$. Thus, we have made an order-preserving map at each stage, and so the full map is an order-isomorphism of $A$ with a subset of $mathbbQ$ as desired.



Cantor proved also that in the case $R$ is dense and the order $langle A,Rrangle$ has no endpoints, then in fact $langle A,Rrangle$ is isomorphic to $mathbbQ$, and one can prove this by using the back-and-forth technique, using the same idea, but now one must also ensure not only that the $n$-th point of the domain gets added to the isomorphism, but also that the $n$-th point of the range is added. To prove the property you requested, however, you only need the "forth" part of the back-and-forth construction.






share|cite|improve this answer




















  • Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
    – yunone
    May 5 '11 at 20:57

















up vote
2
down vote













Your scheme is a simply an inductive (or recursive) definition of a function. To define a function $f : mathbb N to X$ (or any countable set as domain) according to this scheme you need i) supply the base case $f(1)$, and ii) for each $n > 1$ supply a rule how to compute $f(n)$ from its predecessors $f(n-1), ldots, f(1)$.



In your example, let $A = a_1, a_2, a_3,ldots $ be a countable infinite lineary ordered set, define $f(a_1) in A$ arbitrary (for example $f(a_1) := 0$). For the induction step, suppose $f(a_1), ldots, f(a_n-1)$ have been defined ($n > 1$), then define $f(a_n)$ according to the following cases:



i) $a_n > a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = n$.



ii) $a_n < a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = -n$.



iii) $a_1 < ldots < a_i < a_n < a_j < ldots < a_n$, then set
$$
f(a_n) = fracphi(a_i) + phi(a_j)2
$$
(or some other rational number between them).



This yield an order preserving injection into $mathbb Q$ (and therefore an order preserving bijection to a subset $B subseteq mathbb Q$), note that the existence of the dense set $R$ was no used here. Also note that the injection isn't a surjection in general, and sometimes it is not possible to give one, for example it is not possible to find an order preserving bijection from $mathbb Z$ to $mathbb Q$.



So what is this dense set $R$ useful for? You need this if you want to find a surjection onto $mathbb Q$, but as this is not clearly stated I think this exercise is not well-phrased. Anyway, I will state a result that might interest you, cause there something like your set $R$ is actually needed:



Theorem: Let $(A, precsim)$ be a lineary ordered set, then the following two conditions are equivalent:



(i) There is a finite or countable order-dense subset of $A$,



(ii) There is an injection of $(A, precsim)$ into $(mathbb R, le)$.



A proof of this could be found in:



Foundations of Measurement, Volume I, by D.H. Krantz, R.D. Luce, P. Suppes, A. Tversky.






share|cite|improve this answer



























    up vote
    0
    down vote













    Here is a sketch of another approach. First, sort the rationals into a binary search tree where each rational appears exactly once (see https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree). Then, sort $(A,R)$ into a binary search tree. Then the order isomorphism can be read off the trees-- the roots map to each other and Right Right Left maps to Right Right Left etc. Surjectivity follows from the no-extrema and denseness properties of $(A,R)$.



    I think this makes sense, but I'm not totally sure. Criticism of this answer is welcome. Source for this idea: https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf






    share|cite|improve this answer




















      Your Answer




      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "69"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f37151%2fshowing-any-countable-dense-linear-ordering-is-isomorphic-to-a-subset-of-mat%23new-answer', 'question_page');

      );

      Post as a guest






























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      11
      down vote



      accepted










      what you are doing by building $f$ step-by-step is called building a partial map. Having already picked $b_i$ ($=f(a_i)$) for $i<m$, you pick $b_m$ so that it preserves the relations that $a_m$ has with the $a_i$ for $i<m$. This is possible because $mathbbQ$ is dense and has no endpoints. So, at every state you can enlarge the partial isomorphism. After $omega$-many steps, the domain of the map will be all of $A$, and the $f$ you will have built will be an order preserving injection of $(A,R)$ into $mathbbQ$.



      To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time. So your $a_i$ will atmost be between some two previous elements, or larger than all of them or greater than all of them. But since $mathbbQ$ is dense and has no endpoints, in each case we can pick a corresponding $b_i$.



      Also, notice that I made no assumptions here about $(A,R)$ here, except that it is a countable linear order. In case $(A,R)$ is countable, dense and has no endpoints, you can do even better, ie you can in a similar way build an isomorphism between $(A,R)$ and $(mathbbQ,<)$. The way to do this is similar to the above one, except you enumerate $A$ and $mathbbQ$ and then build a isomorphism element by element such that it respects the orderings and has range $mathbbQ$ and domain $A$. One way to do this is to first map an element of $A$ to an element of $mathbbQ$ and then map the least unmapped element of $mathbbQ$ in the enumeration to an element of $A$.



      Keywords for what you are looking for are:
      Back-and-forth method, Ehrenfeucht-Fraïssé game.
      Any model theory text book (Hodges, Marker, Poizat etc) should have a detailed account of this method.






      share|cite|improve this answer






















      • Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
        – yunone
        May 5 '11 at 20:57














      up vote
      11
      down vote



      accepted










      what you are doing by building $f$ step-by-step is called building a partial map. Having already picked $b_i$ ($=f(a_i)$) for $i<m$, you pick $b_m$ so that it preserves the relations that $a_m$ has with the $a_i$ for $i<m$. This is possible because $mathbbQ$ is dense and has no endpoints. So, at every state you can enlarge the partial isomorphism. After $omega$-many steps, the domain of the map will be all of $A$, and the $f$ you will have built will be an order preserving injection of $(A,R)$ into $mathbbQ$.



      To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time. So your $a_i$ will atmost be between some two previous elements, or larger than all of them or greater than all of them. But since $mathbbQ$ is dense and has no endpoints, in each case we can pick a corresponding $b_i$.



      Also, notice that I made no assumptions here about $(A,R)$ here, except that it is a countable linear order. In case $(A,R)$ is countable, dense and has no endpoints, you can do even better, ie you can in a similar way build an isomorphism between $(A,R)$ and $(mathbbQ,<)$. The way to do this is similar to the above one, except you enumerate $A$ and $mathbbQ$ and then build a isomorphism element by element such that it respects the orderings and has range $mathbbQ$ and domain $A$. One way to do this is to first map an element of $A$ to an element of $mathbbQ$ and then map the least unmapped element of $mathbbQ$ in the enumeration to an element of $A$.



      Keywords for what you are looking for are:
      Back-and-forth method, Ehrenfeucht-Fraïssé game.
      Any model theory text book (Hodges, Marker, Poizat etc) should have a detailed account of this method.






      share|cite|improve this answer






















      • Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
        – yunone
        May 5 '11 at 20:57












      up vote
      11
      down vote



      accepted







      up vote
      11
      down vote



      accepted






      what you are doing by building $f$ step-by-step is called building a partial map. Having already picked $b_i$ ($=f(a_i)$) for $i<m$, you pick $b_m$ so that it preserves the relations that $a_m$ has with the $a_i$ for $i<m$. This is possible because $mathbbQ$ is dense and has no endpoints. So, at every state you can enlarge the partial isomorphism. After $omega$-many steps, the domain of the map will be all of $A$, and the $f$ you will have built will be an order preserving injection of $(A,R)$ into $mathbbQ$.



      To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time. So your $a_i$ will atmost be between some two previous elements, or larger than all of them or greater than all of them. But since $mathbbQ$ is dense and has no endpoints, in each case we can pick a corresponding $b_i$.



      Also, notice that I made no assumptions here about $(A,R)$ here, except that it is a countable linear order. In case $(A,R)$ is countable, dense and has no endpoints, you can do even better, ie you can in a similar way build an isomorphism between $(A,R)$ and $(mathbbQ,<)$. The way to do this is similar to the above one, except you enumerate $A$ and $mathbbQ$ and then build a isomorphism element by element such that it respects the orderings and has range $mathbbQ$ and domain $A$. One way to do this is to first map an element of $A$ to an element of $mathbbQ$ and then map the least unmapped element of $mathbbQ$ in the enumeration to an element of $A$.



      Keywords for what you are looking for are:
      Back-and-forth method, Ehrenfeucht-Fraïssé game.
      Any model theory text book (Hodges, Marker, Poizat etc) should have a detailed account of this method.






      share|cite|improve this answer














      what you are doing by building $f$ step-by-step is called building a partial map. Having already picked $b_i$ ($=f(a_i)$) for $i<m$, you pick $b_m$ so that it preserves the relations that $a_m$ has with the $a_i$ for $i<m$. This is possible because $mathbbQ$ is dense and has no endpoints. So, at every state you can enlarge the partial isomorphism. After $omega$-many steps, the domain of the map will be all of $A$, and the $f$ you will have built will be an order preserving injection of $(A,R)$ into $mathbbQ$.



      To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time. So your $a_i$ will atmost be between some two previous elements, or larger than all of them or greater than all of them. But since $mathbbQ$ is dense and has no endpoints, in each case we can pick a corresponding $b_i$.



      Also, notice that I made no assumptions here about $(A,R)$ here, except that it is a countable linear order. In case $(A,R)$ is countable, dense and has no endpoints, you can do even better, ie you can in a similar way build an isomorphism between $(A,R)$ and $(mathbbQ,<)$. The way to do this is similar to the above one, except you enumerate $A$ and $mathbbQ$ and then build a isomorphism element by element such that it respects the orderings and has range $mathbbQ$ and domain $A$. One way to do this is to first map an element of $A$ to an element of $mathbbQ$ and then map the least unmapped element of $mathbbQ$ in the enumeration to an element of $A$.



      Keywords for what you are looking for are:
      Back-and-forth method, Ehrenfeucht-Fraïssé game.
      Any model theory text book (Hodges, Marker, Poizat etc) should have a detailed account of this method.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited May 5 '11 at 10:25









      Chris Eagle

      28.6k26693




      28.6k26693










      answered May 5 '11 at 10:14









      tci

      750614




      750614











      • Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
        – yunone
        May 5 '11 at 20:57
















      • Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
        – yunone
        May 5 '11 at 20:57















      Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
      – yunone
      May 5 '11 at 20:57




      Thanks tci, the sentence "To see that you can always extend the partial map, note that you only have to meet finitely many conditions each time" addresses what I suppose I was most concerned about.
      – yunone
      May 5 '11 at 20:57










      up vote
      17
      down vote













      In fact, there is no need to assume that $R$ is dense. The fact is that every countable linear order embeds into the rational line. Another way to say this is that the rational line (or any countable dense linear order) is universal for countable linear orders.



      The proof is just as you describe. Given a countable order $langle A,Rrangle$, enumerate $A=a_0,a_1,ldots$ and build the full isomorphism of $A$ into $mathbbQ$ by successively defining $f(a_n)$. At any stage of the construction, we have a partial isomorphism defining the images of $a_i$ for $ilt n$, and we want to define $f(a_n)$. The images $f(a_i)$ form a finite subset of $mathbbQ$, which divides $mathbbQ$ into finitely many intervals. So we look at how $a_n$ sits with respect to the $a_i$ for $ilt n$, that is, at which interval in $A$ it sits in among those finitely many endpoints, and then choose any point in $mathbbQ$ that fits in the corresponding interval in the image, and let that point be $f(a_n)$. Thus, we have made an order-preserving map at each stage, and so the full map is an order-isomorphism of $A$ with a subset of $mathbbQ$ as desired.



      Cantor proved also that in the case $R$ is dense and the order $langle A,Rrangle$ has no endpoints, then in fact $langle A,Rrangle$ is isomorphic to $mathbbQ$, and one can prove this by using the back-and-forth technique, using the same idea, but now one must also ensure not only that the $n$-th point of the domain gets added to the isomorphism, but also that the $n$-th point of the range is added. To prove the property you requested, however, you only need the "forth" part of the back-and-forth construction.






      share|cite|improve this answer




















      • Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
        – yunone
        May 5 '11 at 20:57














      up vote
      17
      down vote













      In fact, there is no need to assume that $R$ is dense. The fact is that every countable linear order embeds into the rational line. Another way to say this is that the rational line (or any countable dense linear order) is universal for countable linear orders.



      The proof is just as you describe. Given a countable order $langle A,Rrangle$, enumerate $A=a_0,a_1,ldots$ and build the full isomorphism of $A$ into $mathbbQ$ by successively defining $f(a_n)$. At any stage of the construction, we have a partial isomorphism defining the images of $a_i$ for $ilt n$, and we want to define $f(a_n)$. The images $f(a_i)$ form a finite subset of $mathbbQ$, which divides $mathbbQ$ into finitely many intervals. So we look at how $a_n$ sits with respect to the $a_i$ for $ilt n$, that is, at which interval in $A$ it sits in among those finitely many endpoints, and then choose any point in $mathbbQ$ that fits in the corresponding interval in the image, and let that point be $f(a_n)$. Thus, we have made an order-preserving map at each stage, and so the full map is an order-isomorphism of $A$ with a subset of $mathbbQ$ as desired.



      Cantor proved also that in the case $R$ is dense and the order $langle A,Rrangle$ has no endpoints, then in fact $langle A,Rrangle$ is isomorphic to $mathbbQ$, and one can prove this by using the back-and-forth technique, using the same idea, but now one must also ensure not only that the $n$-th point of the domain gets added to the isomorphism, but also that the $n$-th point of the range is added. To prove the property you requested, however, you only need the "forth" part of the back-and-forth construction.






      share|cite|improve this answer




















      • Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
        – yunone
        May 5 '11 at 20:57












      up vote
      17
      down vote










      up vote
      17
      down vote









      In fact, there is no need to assume that $R$ is dense. The fact is that every countable linear order embeds into the rational line. Another way to say this is that the rational line (or any countable dense linear order) is universal for countable linear orders.



      The proof is just as you describe. Given a countable order $langle A,Rrangle$, enumerate $A=a_0,a_1,ldots$ and build the full isomorphism of $A$ into $mathbbQ$ by successively defining $f(a_n)$. At any stage of the construction, we have a partial isomorphism defining the images of $a_i$ for $ilt n$, and we want to define $f(a_n)$. The images $f(a_i)$ form a finite subset of $mathbbQ$, which divides $mathbbQ$ into finitely many intervals. So we look at how $a_n$ sits with respect to the $a_i$ for $ilt n$, that is, at which interval in $A$ it sits in among those finitely many endpoints, and then choose any point in $mathbbQ$ that fits in the corresponding interval in the image, and let that point be $f(a_n)$. Thus, we have made an order-preserving map at each stage, and so the full map is an order-isomorphism of $A$ with a subset of $mathbbQ$ as desired.



      Cantor proved also that in the case $R$ is dense and the order $langle A,Rrangle$ has no endpoints, then in fact $langle A,Rrangle$ is isomorphic to $mathbbQ$, and one can prove this by using the back-and-forth technique, using the same idea, but now one must also ensure not only that the $n$-th point of the domain gets added to the isomorphism, but also that the $n$-th point of the range is added. To prove the property you requested, however, you only need the "forth" part of the back-and-forth construction.






      share|cite|improve this answer












      In fact, there is no need to assume that $R$ is dense. The fact is that every countable linear order embeds into the rational line. Another way to say this is that the rational line (or any countable dense linear order) is universal for countable linear orders.



      The proof is just as you describe. Given a countable order $langle A,Rrangle$, enumerate $A=a_0,a_1,ldots$ and build the full isomorphism of $A$ into $mathbbQ$ by successively defining $f(a_n)$. At any stage of the construction, we have a partial isomorphism defining the images of $a_i$ for $ilt n$, and we want to define $f(a_n)$. The images $f(a_i)$ form a finite subset of $mathbbQ$, which divides $mathbbQ$ into finitely many intervals. So we look at how $a_n$ sits with respect to the $a_i$ for $ilt n$, that is, at which interval in $A$ it sits in among those finitely many endpoints, and then choose any point in $mathbbQ$ that fits in the corresponding interval in the image, and let that point be $f(a_n)$. Thus, we have made an order-preserving map at each stage, and so the full map is an order-isomorphism of $A$ with a subset of $mathbbQ$ as desired.



      Cantor proved also that in the case $R$ is dense and the order $langle A,Rrangle$ has no endpoints, then in fact $langle A,Rrangle$ is isomorphic to $mathbbQ$, and one can prove this by using the back-and-forth technique, using the same idea, but now one must also ensure not only that the $n$-th point of the domain gets added to the isomorphism, but also that the $n$-th point of the range is added. To prove the property you requested, however, you only need the "forth" part of the back-and-forth construction.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered May 5 '11 at 10:19









      JDH

      31.7k679140




      31.7k679140











      • Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
        – yunone
        May 5 '11 at 20:57
















      • Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
        – yunone
        May 5 '11 at 20:57















      Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
      – yunone
      May 5 '11 at 20:57




      Thanks JDH, I'll have to look further into this back-and-forth technique everyone is mentioning.
      – yunone
      May 5 '11 at 20:57










      up vote
      2
      down vote













      Your scheme is a simply an inductive (or recursive) definition of a function. To define a function $f : mathbb N to X$ (or any countable set as domain) according to this scheme you need i) supply the base case $f(1)$, and ii) for each $n > 1$ supply a rule how to compute $f(n)$ from its predecessors $f(n-1), ldots, f(1)$.



      In your example, let $A = a_1, a_2, a_3,ldots $ be a countable infinite lineary ordered set, define $f(a_1) in A$ arbitrary (for example $f(a_1) := 0$). For the induction step, suppose $f(a_1), ldots, f(a_n-1)$ have been defined ($n > 1$), then define $f(a_n)$ according to the following cases:



      i) $a_n > a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = n$.



      ii) $a_n < a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = -n$.



      iii) $a_1 < ldots < a_i < a_n < a_j < ldots < a_n$, then set
      $$
      f(a_n) = fracphi(a_i) + phi(a_j)2
      $$
      (or some other rational number between them).



      This yield an order preserving injection into $mathbb Q$ (and therefore an order preserving bijection to a subset $B subseteq mathbb Q$), note that the existence of the dense set $R$ was no used here. Also note that the injection isn't a surjection in general, and sometimes it is not possible to give one, for example it is not possible to find an order preserving bijection from $mathbb Z$ to $mathbb Q$.



      So what is this dense set $R$ useful for? You need this if you want to find a surjection onto $mathbb Q$, but as this is not clearly stated I think this exercise is not well-phrased. Anyway, I will state a result that might interest you, cause there something like your set $R$ is actually needed:



      Theorem: Let $(A, precsim)$ be a lineary ordered set, then the following two conditions are equivalent:



      (i) There is a finite or countable order-dense subset of $A$,



      (ii) There is an injection of $(A, precsim)$ into $(mathbb R, le)$.



      A proof of this could be found in:



      Foundations of Measurement, Volume I, by D.H. Krantz, R.D. Luce, P. Suppes, A. Tversky.






      share|cite|improve this answer
























        up vote
        2
        down vote













        Your scheme is a simply an inductive (or recursive) definition of a function. To define a function $f : mathbb N to X$ (or any countable set as domain) according to this scheme you need i) supply the base case $f(1)$, and ii) for each $n > 1$ supply a rule how to compute $f(n)$ from its predecessors $f(n-1), ldots, f(1)$.



        In your example, let $A = a_1, a_2, a_3,ldots $ be a countable infinite lineary ordered set, define $f(a_1) in A$ arbitrary (for example $f(a_1) := 0$). For the induction step, suppose $f(a_1), ldots, f(a_n-1)$ have been defined ($n > 1$), then define $f(a_n)$ according to the following cases:



        i) $a_n > a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = n$.



        ii) $a_n < a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = -n$.



        iii) $a_1 < ldots < a_i < a_n < a_j < ldots < a_n$, then set
        $$
        f(a_n) = fracphi(a_i) + phi(a_j)2
        $$
        (or some other rational number between them).



        This yield an order preserving injection into $mathbb Q$ (and therefore an order preserving bijection to a subset $B subseteq mathbb Q$), note that the existence of the dense set $R$ was no used here. Also note that the injection isn't a surjection in general, and sometimes it is not possible to give one, for example it is not possible to find an order preserving bijection from $mathbb Z$ to $mathbb Q$.



        So what is this dense set $R$ useful for? You need this if you want to find a surjection onto $mathbb Q$, but as this is not clearly stated I think this exercise is not well-phrased. Anyway, I will state a result that might interest you, cause there something like your set $R$ is actually needed:



        Theorem: Let $(A, precsim)$ be a lineary ordered set, then the following two conditions are equivalent:



        (i) There is a finite or countable order-dense subset of $A$,



        (ii) There is an injection of $(A, precsim)$ into $(mathbb R, le)$.



        A proof of this could be found in:



        Foundations of Measurement, Volume I, by D.H. Krantz, R.D. Luce, P. Suppes, A. Tversky.






        share|cite|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          Your scheme is a simply an inductive (or recursive) definition of a function. To define a function $f : mathbb N to X$ (or any countable set as domain) according to this scheme you need i) supply the base case $f(1)$, and ii) for each $n > 1$ supply a rule how to compute $f(n)$ from its predecessors $f(n-1), ldots, f(1)$.



          In your example, let $A = a_1, a_2, a_3,ldots $ be a countable infinite lineary ordered set, define $f(a_1) in A$ arbitrary (for example $f(a_1) := 0$). For the induction step, suppose $f(a_1), ldots, f(a_n-1)$ have been defined ($n > 1$), then define $f(a_n)$ according to the following cases:



          i) $a_n > a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = n$.



          ii) $a_n < a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = -n$.



          iii) $a_1 < ldots < a_i < a_n < a_j < ldots < a_n$, then set
          $$
          f(a_n) = fracphi(a_i) + phi(a_j)2
          $$
          (or some other rational number between them).



          This yield an order preserving injection into $mathbb Q$ (and therefore an order preserving bijection to a subset $B subseteq mathbb Q$), note that the existence of the dense set $R$ was no used here. Also note that the injection isn't a surjection in general, and sometimes it is not possible to give one, for example it is not possible to find an order preserving bijection from $mathbb Z$ to $mathbb Q$.



          So what is this dense set $R$ useful for? You need this if you want to find a surjection onto $mathbb Q$, but as this is not clearly stated I think this exercise is not well-phrased. Anyway, I will state a result that might interest you, cause there something like your set $R$ is actually needed:



          Theorem: Let $(A, precsim)$ be a lineary ordered set, then the following two conditions are equivalent:



          (i) There is a finite or countable order-dense subset of $A$,



          (ii) There is an injection of $(A, precsim)$ into $(mathbb R, le)$.



          A proof of this could be found in:



          Foundations of Measurement, Volume I, by D.H. Krantz, R.D. Luce, P. Suppes, A. Tversky.






          share|cite|improve this answer












          Your scheme is a simply an inductive (or recursive) definition of a function. To define a function $f : mathbb N to X$ (or any countable set as domain) according to this scheme you need i) supply the base case $f(1)$, and ii) for each $n > 1$ supply a rule how to compute $f(n)$ from its predecessors $f(n-1), ldots, f(1)$.



          In your example, let $A = a_1, a_2, a_3,ldots $ be a countable infinite lineary ordered set, define $f(a_1) in A$ arbitrary (for example $f(a_1) := 0$). For the induction step, suppose $f(a_1), ldots, f(a_n-1)$ have been defined ($n > 1$), then define $f(a_n)$ according to the following cases:



          i) $a_n > a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = n$.



          ii) $a_n < a_k$ for all $k = 1,ldots, n-1$, then set $f(a_n) = -n$.



          iii) $a_1 < ldots < a_i < a_n < a_j < ldots < a_n$, then set
          $$
          f(a_n) = fracphi(a_i) + phi(a_j)2
          $$
          (or some other rational number between them).



          This yield an order preserving injection into $mathbb Q$ (and therefore an order preserving bijection to a subset $B subseteq mathbb Q$), note that the existence of the dense set $R$ was no used here. Also note that the injection isn't a surjection in general, and sometimes it is not possible to give one, for example it is not possible to find an order preserving bijection from $mathbb Z$ to $mathbb Q$.



          So what is this dense set $R$ useful for? You need this if you want to find a surjection onto $mathbb Q$, but as this is not clearly stated I think this exercise is not well-phrased. Anyway, I will state a result that might interest you, cause there something like your set $R$ is actually needed:



          Theorem: Let $(A, precsim)$ be a lineary ordered set, then the following two conditions are equivalent:



          (i) There is a finite or countable order-dense subset of $A$,



          (ii) There is an injection of $(A, precsim)$ into $(mathbb R, le)$.



          A proof of this could be found in:



          Foundations of Measurement, Volume I, by D.H. Krantz, R.D. Luce, P. Suppes, A. Tversky.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Feb 11 '15 at 16:09









          StefanH

          7,90841959




          7,90841959




















              up vote
              0
              down vote













              Here is a sketch of another approach. First, sort the rationals into a binary search tree where each rational appears exactly once (see https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree). Then, sort $(A,R)$ into a binary search tree. Then the order isomorphism can be read off the trees-- the roots map to each other and Right Right Left maps to Right Right Left etc. Surjectivity follows from the no-extrema and denseness properties of $(A,R)$.



              I think this makes sense, but I'm not totally sure. Criticism of this answer is welcome. Source for this idea: https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf






              share|cite|improve this answer
























                up vote
                0
                down vote













                Here is a sketch of another approach. First, sort the rationals into a binary search tree where each rational appears exactly once (see https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree). Then, sort $(A,R)$ into a binary search tree. Then the order isomorphism can be read off the trees-- the roots map to each other and Right Right Left maps to Right Right Left etc. Surjectivity follows from the no-extrema and denseness properties of $(A,R)$.



                I think this makes sense, but I'm not totally sure. Criticism of this answer is welcome. Source for this idea: https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf






                share|cite|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Here is a sketch of another approach. First, sort the rationals into a binary search tree where each rational appears exactly once (see https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree). Then, sort $(A,R)$ into a binary search tree. Then the order isomorphism can be read off the trees-- the roots map to each other and Right Right Left maps to Right Right Left etc. Surjectivity follows from the no-extrema and denseness properties of $(A,R)$.



                  I think this makes sense, but I'm not totally sure. Criticism of this answer is welcome. Source for this idea: https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf






                  share|cite|improve this answer












                  Here is a sketch of another approach. First, sort the rationals into a binary search tree where each rational appears exactly once (see https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree). Then, sort $(A,R)$ into a binary search tree. Then the order isomorphism can be read off the trees-- the roots map to each other and Right Right Left maps to Right Right Left etc. Surjectivity follows from the no-extrema and denseness properties of $(A,R)$.



                  I think this makes sense, but I'm not totally sure. Criticism of this answer is welcome. Source for this idea: https://www.uio.no/studier/emner/matnat/ifi/nedlagte-emner/INF5170/v14/undervisningsmateriale/countable-densely-ordered-sets.pdf







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 30 at 5:41









                  Smithey

                  318213




                  318213



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f37151%2fshowing-any-countable-dense-linear-ordering-is-isomorphic-to-a-subset-of-mat%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Mutual Information Always Non-negative

                      Why am i infinitely getting the same tweet with the Twitter Search API?