{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "01N3AYAA6N"
    }
  ],
  "body": "\n## Statement\n\nLet $n$ be a positive integer, and let $a$, $b$, $c$ and $d$ be integers.\nIf $a \\equiv b \\pmod n$ and $c \\equiv d \\pmod n$, then $a + c \\equiv b + d \\pmod n$.\n\n## Remarks\n\nThe proof: $(a + c) - (b + d) = (a - b) + (c - d)$, and $n$ divides both terms.\nThe same holds for subtraction: $a - c \\equiv b - d \\pmod n$.\nTogether with [[compatibility with multiplication|072D5G4SK6]], this result shows that the addition of [[integers modulo n|01N3AYAA6N]] is well defined.\n\n## Explanations\n\n### L1 human\n\nTo find the remainder of a sum, you can add the remainders and reduce again.\nFor example, $17 \\equiv 2 \\pmod 5$ and $24 \\equiv 4 \\pmod 5$, so $17 + 24 = 41 \\equiv 2 + 4 = 6 \\equiv 1 \\pmod 5$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "11A07"
    ],
    "name": "Congruence is compatible with addition",
    "role": "proposition",
    "sources": [
      {
        "locator": "Basic properties",
        "url": "https://en.wikipedia.org/wiki/Modular_arithmetic"
      }
    ],
    "tag": "00FWBN7F0Y",
    "uses": [
      "0TPW25CBN6"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/00FWBN7F0Y/",
  "links": [
    {
      "field": "uses",
      "target": "0TPW25CBN6"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/00FWBN7F0Y.md",
  "msc": [
    "11A07"
  ],
  "name": "Congruence is compatible with addition",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/00F/00FWBN7F0Y.md",
  "status": null,
  "tag": "00FWBN7F0Y",
  "uri": "m2://00FWBN7F0Y",
  "url": "https://math2.tamnd.com/wiki/congruence-is-compatible-with-addition/",
  "writing": {
    "tag": "00FWBN7F0Y",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
