{
  "aliases": [
    "de-morgan-laws"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0VK0W4D5Y5"
    }
  ],
  "body": "\n## Statement\n\nFor all [[propositions|0ZGC7ZESYN]] $p$ and $q$, these two [[logical equivalences|06GYGS41JK]] hold.\n$$\\neg (p \\lor q) \\equiv \\neg p \\land \\neg q$$\n$$\\neg (p \\land q) \\equiv \\neg p \\lor \\neg q$$\n\n## Remarks\n\nThe first law is also valid in intuitionistic logic. In the second law, only the direction from $\\neg p \\lor \\neg q$ to $\\neg (p \\land q)$ is.\nThe laws for sets have the same form. See [[De Morgan's laws for sets|0VK0W4D5Y5]].\nThe [[negation of a universal statement|0P3A06QNDP]] is the analogue for quantifiers.\n\n## Explanations\n\n### L1 human\n\nTo negate \"and\", change it to \"or\" and negate each part.\n\"$n$ is not both even and prime\" means \"$n$ is not even, or $n$ is not prime\".\nA [[truth table|05RSK4Q657]] with four rows proves each law.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "de-morgan-laws"
    ],
    "kind": "statement",
    "msc": [
      "03B05"
    ],
    "name": "De Morgan's laws",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q173300",
      "wikipedia": "De Morgan's laws"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/De_Morgan's_laws"
      }
    ],
    "tag": "09PKJKA6J0",
    "uses": [
      "0XR7A7RSXB",
      "0M28ASWG8T",
      "0H5GKDTB01",
      "06GYGS41JK"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/09PKJKA6J0/",
  "links": [
    {
      "field": "uses",
      "target": "0XR7A7RSXB"
    },
    {
      "field": "uses",
      "target": "0M28ASWG8T"
    },
    {
      "field": "uses",
      "target": "0H5GKDTB01"
    },
    {
      "field": "uses",
      "target": "06GYGS41JK"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/09PKJKA6J0.md",
  "msc": [
    "03B05"
  ],
  "name": "De Morgan's laws",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/09P/09PKJKA6J0.md",
  "status": null,
  "tag": "09PKJKA6J0",
  "uri": "m2://09PKJKA6J0",
  "url": "https://math2.tamnd.com/wiki/de-morgans-laws/",
  "writing": {
    "tag": "09PKJKA6J0",
    "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
      }
    ]
  }
}
