{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "084HH1NDCB"
    }
  ],
  "body": "\n## Statement\n\nLet $p$ be a [[prime number|0SN0MAEKYX]], and let $a$ and $b$ be integers.\nIf $p \\mid a b$, then $p \\mid a$ or $p \\mid b$.\n\n## Remarks\n\nThe hypothesis that $p$ is prime is necessary. For example, $6 \\mid 4 \\cdot 9$, but $6 \\nmid 4$ and $6 \\nmid 9$.\nA short proof uses [[Bézout's identity|0DQVHMYAGA]]. If $p \\nmid a$, then $\\gcd(p, a) = 1$, so $p x + a y = 1$ for some integers $x$ and $y$. Multiply by $b$ to see that $p \\mid b$.\nThe [[generalized Euclid's lemma|03BAREW1Z5]] replaces the prime $p$ by an integer that is coprime to $a$.\nThe lemma is the main step in the proof of the uniqueness part of the [[fundamental theorem of arithmetic|084HH1NDCB]].\n\n## History\n\nThe lemma is Proposition 30 of Book VII of the Elements of Euclid.\n\n## Explanations\n\n### L1 human\n\nA prime cannot be split into smaller factors, so it cannot share itself between $a$ and $b$.\nIf $7$ divides a product $a b$, then $7$ already divides $a$ or $b$.\nFor example, $7 \\mid 14 \\cdot 3$ and $7 \\mid 14$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A05"
    ],
    "name": "Euclid's lemma",
    "role": "lemma",
    "same_as": {
      "wikidata": "Q206793",
      "wikipedia": "Euclid's lemma"
    },
    "sources": [
      {
        "locator": "Formulations",
        "url": "https://en.wikipedia.org/wiki/Euclid%27s_lemma"
      }
    ],
    "tag": "051VYKA1EX",
    "uses": [
      "0SN0MAEKYX",
      "096PW7Q014"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/051VYKA1EX/",
  "links": [
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    },
    {
      "field": "uses",
      "target": "096PW7Q014"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/051VYKA1EX.md",
  "msc": [
    "11A05"
  ],
  "name": "Euclid's lemma",
  "prov": null,
  "role": "lemma",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/051/051VYKA1EX.md",
  "status": null,
  "tag": "051VYKA1EX",
  "uri": "m2://051VYKA1EX",
  "url": "https://math2.tamnd.com/wiki/euclids-lemma/",
  "writing": {
    "tag": "051VYKA1EX",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
