{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $(A, \u003c)$ and $(B, \u003c)$ be [[strict total orders|C9GDH7264N]] with these properties.\n\n1. $A$ and $B$ are nonempty and [[countable|0ZG61TFBES]].\n2. Both orders are [[dense|JB9HJ9CPEN]].\n3. Neither $A$ nor $B$ has a least element or a greatest element.\n\nThen there is an [[order isomorphism|0Y74KN99A5]] from $A$ onto $B$.\nIn particular, each such order is order isomorphic to $(\\Q, \u003c)$.\n\n## Remarks\n\nA standard proof is the back-and-forth method.\nList $A = \\set{a_0, a_1, \\dots}$ and $B = \\set{b_0, b_1, \\dots}$, and build finite order-preserving partial maps step by step.\nAt even steps, the first element of $A$ not yet in the domain gets an image.\nAt odd steps, the first element of $B$ not yet in the range gets a preimage.\nDensity and the lack of endpoints guarantee that a suitable partner exists at each step.\nThe union of the finite maps is the isomorphism.\nFor example, the dyadic rationals $\\set{m / 2^k : m \\in \\Z, k \\in \\N}$ and the rationals in the open interval $(0, 1)$ are both order isomorphic to $\\Q$.\nCountability is needed: $\\R$ satisfies the other hypotheses but is not order isomorphic to $\\Q$, because $\\R$ is uncountable.\nThe condition on endpoints is needed: $\\Q \\cap [0, 1]$ has a least element and $\\Q$ has none.\nDensity is needed: $\\Z$ is countable without endpoints but not dense.\nIn model theory, the theorem says that the theory of dense linear orders without endpoints is $\\aleph_0$-categorical.\n\n## Explanations\n\n### L1 human\n\nThe rationals have a very particular shape: countably many points, no ends, and always something between two points.\nThe theorem says this shape is unique.\nAny other countable line with no ends and no gaps of the \"next element\" kind can be matched point by point with the rationals, keeping the order.\nSo the rationals between $0$ and $1$ and all the rationals have the same order, even though one sits inside the other.\n\n### L2 human\n\nThe theorem is the basic example of the back-and-forth method, which is used widely in model theory.\nIt shows that the [[order type|28PE4GRFD7]] $\\eta$ of $\\Q$ is the unique countable dense order type without endpoints.\nEvery countable total order embeds into $\\Q$; the proof is the \"forth\" half of the same argument.\nThe analogous question for uncountable orders is much harder; [[Suslin's problem|D1T39KHPDN]] is a famous case.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "K4D3S1MBZH",
      "0FRXBVVR03"
    ],
    "kind": "statement",
    "msc": [
      "06A05",
      "03C15"
    ],
    "name": "Cantor's isomorphism theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q3527028",
      "wikipedia": "Cantor's isomorphism theorem"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Cantor%27s_isomorphism_theorem"
      }
    ],
    "tag": "ABN5PTXEHY",
    "uses": [
      "C9GDH7264N",
      "JB9HJ9CPEN",
      "0ZG61TFBES",
      "0Y74KN99A5"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/ABN5PTXEHY/",
  "links": [
    {
      "field": "about",
      "target": "K4D3S1MBZH"
    },
    {
      "field": "about",
      "target": "0FRXBVVR03"
    },
    {
      "field": "uses",
      "target": "C9GDH7264N"
    },
    {
      "field": "uses",
      "target": "JB9HJ9CPEN"
    },
    {
      "field": "uses",
      "target": "0ZG61TFBES"
    },
    {
      "field": "uses",
      "target": "0Y74KN99A5"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/ABN5PTXEHY.md",
  "msc": [
    "06A05",
    "03C15"
  ],
  "name": "Cantor's isomorphism theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ABN/ABN5PTXEHY.md",
  "status": null,
  "tag": "ABN5PTXEHY",
  "uri": "m2://ABN5PTXEHY",
  "url": "https://tamnd.github.io/math2/wiki/cantors-isomorphism-theorem/",
  "writing": {
    "tag": "ABN5PTXEHY",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
