{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe first show that the order is total, and then argue by contradiction with strong induction.\nLet $S$ be the [[successor function|0832XVR512]], and write $1 = S(0)$.\nThe [[addition|0W5DSDFQ4G]] satisfies $a + 0 = a$ and $a + S(b) = S(a + b)$. So $n + 1 = S(n)$.\nThe relations $\\le$ and $\u003c$ are the [[order on the natural numbers|0Y9H52BT03]].\n\n1. Lemma A: each natural number $c \\neq 0$ equals $S(d)$ for some $d$. We prove \"$c = 0$ or $c = S(d)$ for some $d$\" by [[induction|0ASJVEFA9J]] on $c$. The case $c = 0$ is clear, and $c + 1 = S(c)$.\n2. Lemma B: $S(b) + d = S(b + d)$ for all $b$ and $d$. By the [[commutativity of addition|0DFZNHJ0S2]], $S(b) + d = d + S(b) = S(d + b) = S(b + d)$.\n3. Lemma T: for all natural numbers $a$ and $b$, $a \\le b$ or $b \\le a$. Fix $a$ and use induction on $b$.\n4. For $b = 0$: by commutativity, $0 + a = a + 0 = a$. So $0 \\le a$.\n5. Suppose that $a \\le b$ or $b \\le a$. If $a \\le b$, let $a + c = b$. Then $a + S(c) = S(a + c) = S(b)$, so $a \\le S(b)$.\n6. If $b \\le a$, let $b + c = a$. If $c = 0$, then $a = b$ and $a + 1 = S(b)$, so $a \\le S(b)$.\n7. If $c \\neq 0$, Lemma A gives $c = S(d)$. Then $a = S(b + d) = S(b) + d$ by Lemma B, so $S(b) \\le a$.\n8. By induction, Lemma T holds for all $b$, and $a$ was arbitrary.\n9. Now let $A \\subseteq \\mathbb{N}$ be nonempty. Suppose, for a contradiction, that $A$ has no least element.\n10. For each natural number $n$, let $P(n)$ be the property \"$n \\notin A$\". We check the hypothesis of [[strong induction|0KMVFSHFGZ]].\n11. Let $n$ be a natural number, and suppose that $k \\notin A$ for every $k \u003c n$. Suppose also that $n \\in A$.\n12. Let $x \\in A$. By Lemma T, $n \\le x$ or $x \\le n$.\n13. If $x \\le n$ and $x \\neq n$, then $x \u003c n$, so $x \\notin A$ by step 11. This is false, so $x \\le n$ implies $x = n$.\n14. If $x = n$, then $n \\le x$ because $n + 0 = x$. So in all cases $n \\le x$.\n15. Thus $n$ is a least element of $A$, which contradicts step 9. So $n \\notin A$, and $P(n)$ holds.\n16. By strong induction, $P(n)$ holds for every natural number $n$. So $A$ is empty.\n17. This contradicts the hypothesis $A \\neq \\emptyset$. Therefore $A$ has a least element $a$, with $a \\le x$ for each $x \\in A$.\n\n## Idea\n\nIf a set has no smallest element, then no number can be the first one to enter it.\nStrong induction turns this into \"no number is in the set at all\".\nTotality of the order is what makes \"nothing smaller is in the set\" mean \"this is the smallest\".\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "methods": [
      "0J0XBKG64S"
    ],
    "msc": [
      "03F30"
    ],
    "name": "Proof of the well-ordering principle from strong induction",
    "proves": "01BX15HSRR",
    "sources": [
      {
        "locator": "Relationship to the well-ordering principle",
        "url": "https://en.wikipedia.org/wiki/Mathematical_induction"
      }
    ],
    "tag": "QPX5Z5YFH8",
    "uses": [
      "0KMVFSHFGZ",
      "0Y9H52BT03",
      "0W5DSDFQ4G",
      "0832XVR512",
      "0DFZNHJ0S2",
      "0ASJVEFA9J"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/QPX5Z5YFH8/",
  "links": [
    {
      "field": "proves",
      "target": "01BX15HSRR"
    },
    {
      "field": "uses",
      "target": "0KMVFSHFGZ"
    },
    {
      "field": "uses",
      "target": "0Y9H52BT03"
    },
    {
      "field": "uses",
      "target": "0W5DSDFQ4G"
    },
    {
      "field": "uses",
      "target": "0832XVR512"
    },
    {
      "field": "uses",
      "target": "0DFZNHJ0S2"
    },
    {
      "field": "uses",
      "target": "0ASJVEFA9J"
    },
    {
      "field": "methods",
      "target": "0J0XBKG64S"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/QPX5Z5YFH8.md",
  "msc": [
    "03F30"
  ],
  "name": "Proof of the well-ordering principle from strong induction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/QPX/QPX5Z5YFH8.md",
  "status": null,
  "tag": "QPX5Z5YFH8",
  "uri": "m2://QPX5Z5YFH8",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-well-ordering-principle-from-strong-induction/",
  "writing": {
    "tag": "QPX5Z5YFH8",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
