{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nConsider formulas of [[propositional logic|09K9MWD2QQ]] built from variables with [[negation|029JBBF693]] $\\neg$ and [[implication|0NMG7W7Q11]] $\\to$.\nThe standard *Hilbert system* for this language has the following axioms, for all formulas $\\varphi$, $\\psi$, $\\chi$:\n\n1. $\\varphi \\to (\\psi \\to \\varphi)$;\n2. $(\\varphi \\to (\\psi \\to \\chi)) \\to ((\\varphi \\to \\psi) \\to (\\varphi \\to \\chi))$;\n3. $(\\neg \\varphi \\to \\neg \\psi) \\to (\\psi \\to \\varphi)$.\n\nIts only rule of inference is modus ponens: from $\\varphi$ and $\\varphi \\to \\psi$, infer $\\psi$.\nLet $\\Gamma$ be a set of formulas.\nA *derivation* of $\\varphi$ from $\\Gamma$ is a finite sequence of formulas that ends with $\\varphi$.\nEach formula in it is an axiom, a member of $\\Gamma$, or follows from two earlier formulas by modus ponens.\nOne writes $\\Gamma \\vdash \\varphi$ when such a derivation exists.\n\n## Remarks\n\nHere is a derivation of $\\varphi \\to \\varphi$ from no hypotheses.\n\n1. $(\\varphi \\to ((\\varphi \\to \\varphi) \\to \\varphi)) \\to ((\\varphi \\to (\\varphi \\to \\varphi)) \\to (\\varphi \\to \\varphi))$, axiom 2.\n2. $\\varphi \\to ((\\varphi \\to \\varphi) \\to \\varphi)$, axiom 1.\n3. $(\\varphi \\to (\\varphi \\to \\varphi)) \\to (\\varphi \\to \\varphi)$, modus ponens from lines 2 and 1.\n4. $\\varphi \\to (\\varphi \\to \\varphi)$, axiom 1.\n5. $\\varphi \\to \\varphi$, modus ponens from lines 4 and 3.\n\nThe sequence $\\varphi, \\; \\varphi \\to \\psi$ is not a derivation of $\\varphi \\to \\psi$ from no hypotheses: its first line is neither an axiom nor obtained by a rule.\nMore generally, a *Hilbert system* is any proof system of this shape: axiom schemas, few rules, and proofs as lists.\nFor [[predicate logic|086QKPF0A6]] one adds axioms for the quantifiers and the rule of generalization.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "1MGMQX43B8",
    "kind": "definition",
    "msc": [
      "03B05",
      "03F03"
    ],
    "name": "Hilbert system",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hilbert_system"
      }
    ],
    "tag": "ET1HPME8VV",
    "uses": [
      "09K9MWD2QQ",
      "0NMG7W7Q11",
      "029JBBF693"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/ET1HPME8VV/",
  "links": [
    {
      "field": "defines",
      "target": "1MGMQX43B8"
    },
    {
      "field": "uses",
      "target": "09K9MWD2QQ"
    },
    {
      "field": "uses",
      "target": "0NMG7W7Q11"
    },
    {
      "field": "uses",
      "target": "029JBBF693"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/ET1HPME8VV.md",
  "msc": [
    "03B05",
    "03F03"
  ],
  "name": "Hilbert system",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ET1/ET1HPME8VV.md",
  "status": null,
  "tag": "ET1HPME8VV",
  "uri": "m2://ET1HPME8VV",
  "url": "https://math2.tamnd.com/wiki/hilbert-system-definition/",
  "writing": {
    "tag": "ET1HPME8VV",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
