{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "09YMV8H4X5"
    }
  ],
  "body": "\n## Statement\n\nLet $U$ be a set and let $A$ and $B$ be [[subsets|0FE8Q5S42Y]] of $U$. Write $X^c = U \\setminus X$ for the [[complement|0B1FSS1VZW]] of a subset $X$ in $U$.\nThen\n$$(A \\cup B)^{c} = A^{c} \\cap B^{c},$$\n$$(A \\cap B)^{c} = A^{c} \\cup B^{c}.$$\n\n## Remarks\n\nThe laws come from [[De Morgan's laws|09PKJKA6J0]] of logic, applied to $x \\in A$ and $x \\in B$.\nThey hold also for arbitrary families: the complement of $\\bigcup_i A_i$ is $\\bigcap_i A_i^c$, and the complement of $\\bigcap_i A_i$ is $\\bigcup_i A_i^c$.\nWith set differences, $C \\setminus (A \\cup B) = (C \\setminus A) \\cap (C \\setminus B)$ for each set $C$.\n\n## Explanations\n\n### L1 human\n\nAn element is outside $A \\cup B$ exactly when it is outside $A$ and outside $B$.\nAn element is outside $A \\cap B$ exactly when it is outside $A$ or outside $B$.\nA [[Venn diagram|0KCT6DPXJK]] with two circles shows both laws.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "03E20"
    ],
    "name": "De Morgan's laws for sets",
    "role": "theorem",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/De_Morgan's_laws"
      }
    ],
    "tag": "0VK0W4D5Y5",
    "uses": [
      "0B1FSS1VZW",
      "07KVB4JSC7",
      "0HBRW4E6G1",
      "09PKJKA6J0"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VK0W4D5Y5/",
  "links": [
    {
      "field": "uses",
      "target": "0B1FSS1VZW"
    },
    {
      "field": "uses",
      "target": "07KVB4JSC7"
    },
    {
      "field": "uses",
      "target": "0HBRW4E6G1"
    },
    {
      "field": "uses",
      "target": "09PKJKA6J0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VK0W4D5Y5.md",
  "msc": [
    "03E20"
  ],
  "name": "De Morgan's laws for sets",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VK/0VK0W4D5Y5.md",
  "status": null,
  "tag": "0VK0W4D5Y5",
  "uri": "m2://0VK0W4D5Y5",
  "url": "https://math2.tamnd.com/wiki/de-morgans-laws-for-sets/",
  "writing": {
    "tag": "0VK0W4D5Y5",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
