{
  "aliases": [
    "proof-by-contraposition"
  ],
  "backlinks": null,
  "body": "\n## Summary\n\nA proof by contrapositive proves an [[implication|0ZNX6DQ3EJ]] $p \\to q$ by a [[direct proof|0NTF6DMVAP]] of $\\neg q \\to \\neg p$.\nThe method is correct because $p \\to q$ is logically equivalent to its [[contrapositive|04T1CT7212]].\n\n## Remarks\n\nExample: for an integer $n$, if $n^2$ is even, then $n$ is even. The contrapositive is \"if $n$ is odd, then $n^2$ is odd\", which has a short direct proof.\nA [[proof by contradiction|0J0XBKG64S]] is different: it assumes $p$ and $\\neg q$ together, and it gets any contradiction.\n\n## Explanations\n\n### L1 human\n\nSometimes the negation of the conclusion gives you more to work with.\n\"If $n^2$ is even, then $n$ is even\" is hard to start.\n\"If $n$ is odd, then $n^2$ is odd\" is easy, and it says the same thing.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "proof-by-contraposition"
    ],
    "kind": "concept",
    "msc": [
      "00A35"
    ],
    "name": "Proof by contrapositive",
    "same_as": {
      "wikidata": "Q1077442",
      "wikipedia": "Contraposition"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Contraposition"
      }
    ],
    "tag": "0BB5TPGQ1N",
    "uses": [
      "04T1CT7212",
      "0NTF6DMVAP"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0BB5TPGQ1N/",
  "links": [
    {
      "field": "uses",
      "target": "04T1CT7212"
    },
    {
      "field": "uses",
      "target": "0NTF6DMVAP"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0BB5TPGQ1N.md",
  "msc": [
    "00A35"
  ],
  "name": "Proof by contrapositive",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0BB/0BB5TPGQ1N.md",
  "status": null,
  "tag": "0BB5TPGQ1N",
  "uri": "m2://0BB5TPGQ1N",
  "url": "https://math2.tamnd.com/wiki/proof-by-contrapositive/",
  "writing": {
    "tag": "0BB5TPGQ1N",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
