{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe compare the [[truth tables|05RSK4Q657]] of $\\neg \\neg p$ and $p$.\n\n1. Let $p$ be a [[proposition|0ZGC7ZESYN]]. In classical logic, $p$ is either true or false.\n2. Suppose $p$ is true. By the definition of [[negation|0XR7A7RSXB]], $\\neg p$ is false. Applying the definition again, $\\neg \\neg p$ is true.\n3. Suppose $p$ is false. By the definition of negation, $\\neg p$ is true. Applying the definition again, $\\neg \\neg p$ is false.\n4. The truth table is this.\n\n| $p$ | $\\neg p$ | $\\neg \\neg p$ |\n|---|---|---|\n| T | F | T |\n| F | T | F |\n\n5. By steps 1, 2 and 3, $\\neg \\neg p$ and $p$ have the same truth value for each truth value of $p$.\n6. So $\\neg \\neg p$ and $p$ are [[logically equivalent|06GYGS41JK]], that is, $\\neg \\neg p \\equiv p$.\n\n## Idea\n\nNegation swaps true and false. Swapping twice gives back the original truth value, so $\\neg \\neg p$ always agrees with $p$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "03B05"
    ],
    "name": "Proof of the double negation law by a truth table",
    "proves": "0NFAGWH84K",
    "sources": [
      {
        "url": "https://richardhammack.github.io/BookOfProof/"
      }
    ],
    "tag": "A35WJBK3PW",
    "uses": [
      "0ZGC7ZESYN",
      "0XR7A7RSXB",
      "06GYGS41JK",
      "05RSK4Q657"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/A35WJBK3PW/",
  "links": [
    {
      "field": "proves",
      "target": "0NFAGWH84K"
    },
    {
      "field": "uses",
      "target": "0ZGC7ZESYN"
    },
    {
      "field": "uses",
      "target": "0XR7A7RSXB"
    },
    {
      "field": "uses",
      "target": "06GYGS41JK"
    },
    {
      "field": "uses",
      "target": "05RSK4Q657"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/A35WJBK3PW.md",
  "msc": [
    "03B05"
  ],
  "name": "Proof of the double negation law by a truth table",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A35/A35WJBK3PW.md",
  "status": null,
  "tag": "A35WJBK3PW",
  "uri": "m2://A35WJBK3PW",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-double-negation-law-by-a-truth-table/",
  "writing": {
    "tag": "A35WJBK3PW",
    "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
      }
    ]
  }
}
