{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nThe deduction theorem is also valid in [[first-order logic|086QKPF0A6]] in the following form:\n\n- If *T* is a theory and *F*, *G* are formulas with *F* closed, and $T \\cup \\{ F \\} \\vdash G$, then $T \\vdash F \\rightarrow G$.\n\nHere, the symbol $\\vdash$ means \"is a syntactical consequence of.\" We indicate below how the proof of this deduction theorem differs from that of the deduction theorem in propositional calculus.\n\nIn the most common versions of the notion of formal proof, there are, in addition to the axiom schemes of propositional calculus (or the understanding that all tautologies of propositional calculus are to be taken as axiom schemes in their own right), [[quantifier axioms|086QKPF0A6]], and in addition to [[modus ponens|0Y0MQYST0M]], one additional rule of inference, known as the rule of *generalization*: \"From *K*, infer ∀*vK*.\"\n\nIn order to convert a proof of *G* from *T*∪{*F*} to one of *F*→*G* from *T*, one deals with steps of the proof of *G* that are axioms or result from application of modus ponens in the same way as for proofs in propositional logic. Steps that result from application of the rule of generalization are dealt with via the following quantifier axiom (valid whenever the variable *v* is not free in formula *H*):\n\n- (∀*v*(*H*→*K*))→(*H*→∀*vK*).\n\nSince in our case *F* is assumed to be closed, we can take *H* to be *F*. This axiom allows one to deduce *F*→∀*vK* from *F*→*K* and generalization, which is just what is needed whenever the rule of generalization is applied to some *K* in the proof of *G*.\n\nIn first-order logic, the restriction of that F be a closed formula can be relaxed given that the free variables in F have not been varied in the deduction of G from $T \\cup \\{ F \\}$. In the case that a free variable v in F has been varied in the deduction, we write $T \\cup \\{ F \\} \\vdash^v G$ (the superscript in the turnstile indicating that v has been varied) and the corresponding form of the deduction theorem is $T \\vdash (\\forall vF) \\rightarrow G$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "inventory": [
      "TGSPJ68GEB"
    ],
    "kind": "statement",
    "name": "The deduction theorem in predicate logic",
    "role": "theorem",
    "sources": [
      {
        "locator": "Deduction theorem, section The deduction theorem in predicate logic",
        "mention": "wikipedia://en/480010#Y3DL",
        "note": "adopted",
        "sections": [
          "Statement"
        ],
        "wikipedia": "en:480010@r1320842012"
      }
    ],
    "tag": "8M9ZFDR4DH"
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/8M9ZFDR4DH/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/8M9ZFDR4DH.md",
  "msc": null,
  "name": "The deduction theorem in predicate logic",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/8M9/8M9ZFDR4DH.md",
  "status": null,
  "tag": "8M9ZFDR4DH",
  "uri": "m2://8M9ZFDR4DH",
  "url": "https://math2.tamnd.com/wiki/the-deduction-theorem-in-predicate-logic/",
  "writing": {
    "tag": "8M9ZFDR4DH",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "edge uses out",
        "note": "each definition that the statement needs",
        "have": 0,
        "want": 1
      }
    ]
  }
}
