{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe argue by contradiction.\n\n1. Let $A$ be an [[infinite set|01MKW4R283]], let $B$ be a [[finite set|0BBTH3YSZA]], and let $f : A \\to B$ be a function.\n2. For $b \\in B$, write $A_b = f^{-1}(b) = \\set{a \\in A : f(a) = b}$.\n3. Suppose, for a contradiction, that $A_b$ is finite for every $b \\in B$.\n4. The sets $A_b$ for $b \\in B$ are pairwise disjoint. Indeed, if $a \\in A_b \\cap A_{b'}$, then $b = f(a) = b'$.\n5. Their union is $A$, because each $a \\in A$ lies in $A_{f(a)}$.\n6. Since $B$ is finite, $A$ is the union of finitely many pairwise disjoint finite sets. If $B$ is empty, this union is empty.\n7. By the [[rule of sum|0EE2V3CHFK]], such a union is finite. So $A$ is finite.\n8. This contradicts step 1, since an infinite set is by definition not finite.\n9. Hence some $b \\in B$ has an infinite fibre $f^{-1}(b)$.\n\n## Idea\n\nThe fibres of $f$ cover $A$, and there are only finitely many of them. A finite union of finite sets is finite, so one fibre must be infinite.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "05A05"
    ],
    "name": "Proof of the infinite pigeonhole principle",
    "proves": "0FS3RHF6KE",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Infinite_Pigeonhole_Principle"
      }
    ],
    "tag": "Z117P4ZE5F",
    "uses": [
      "01MKW4R283",
      "0BBTH3YSZA",
      "0EE2V3CHFK"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/Z117P4ZE5F/",
  "links": [
    {
      "field": "proves",
      "target": "0FS3RHF6KE"
    },
    {
      "field": "uses",
      "target": "01MKW4R283"
    },
    {
      "field": "uses",
      "target": "0BBTH3YSZA"
    },
    {
      "field": "uses",
      "target": "0EE2V3CHFK"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/Z117P4ZE5F.md",
  "msc": [
    "05A05"
  ],
  "name": "Proof of the infinite pigeonhole principle",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Z11/Z117P4ZE5F.md",
  "status": null,
  "tag": "Z117P4ZE5F",
  "uri": "m2://Z117P4ZE5F",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-infinite-pigeonhole-principle/",
  "writing": {
    "tag": "Z117P4ZE5F",
    "kind": "proof",
    "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
      }
    ]
  }
}
