# 演绎定理

演绎定理是演绎逻辑的一条元定理，它断言：如果公式 ψ 可由前提集 Γ 连同附加假设 φ 推导出来，那么条件式 φ → ψ 可仅由 Γ 推导出来。用符号表示，若 \( (\Gamma \cup \{\varphi\}) \vdash \psi \)，则 \( \Gamma \vdash (\varphi \to \psi) \)。<sup>[1](https://math.umd.edu/~dwk/Logic2.pdf)</sup> 对于希尔伯特式公理系统中的语句（命题）逻辑，它无条件成立；对于一阶谓词逻辑，则在限制概括规则使用的前提下成立。<sup>[1](https://math.umd.edu/~dwk/Logic2.pdf)</sup><sup> • </sup><sup>[2](https://www.maths.tcd.ie/~odunlain/u11602/online_notes/pdf_d-theorem.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述 | 若 \( (\Gamma \cup \{\varphi\}) \vdash \psi \)，则 \( \Gamma \vdash (\varphi \to \psi) \)<sup>[1](https://math.umd.edu/~dwk/Logic2.pdf)</sup> |
| 证明方法 | 对推导的定义作归纳<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> |
| 一阶限制 | 被假设公式中的自由变量必须保持固定：∀-引入和∃-消去规则不得作用于它们（有明确例外）<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> |
| 无限制形式在一阶逻辑中失败 | 存在一阶理论，其中 \( A \vdash_T B \)，但 \( A \to B \) 在某个解释中为假，因而并非 \( T \) 的定理<sup>[2](https://www.maths.tcd.ie/~odunlain/u11602/online_notes/pdf_d-theorem.pdf)</sup> |
| 自然演绎对应物 | 该定理大致表达了条件引入规则（→I）<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> |
| 实际用途 | 它把证明 \( \Gamma \vdash (\varphi \to \psi) \) 归约为证明 \( (\Gamma \cup \{\varphi\}) \vdash \psi \) 这一更简单的问题<sup>[1](https://math.umd.edu/~dwk/Logic2.pdf)</sup> |

## 陈述与目的

在希尔伯特式系统中，从前提出发的推导是一个有限公式序列，其中每个公式要么是逻辑公理，要么是前提集的成员，要么根据推理规则（如肯定前件式）从先前的公式推出。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> 演绎定理把两个这样的可推导性断言联系起来。它向我们保证：如果从前提可以给出结论的证明，那么也可以给出相应蕴涵的证明；这一保证是关于证明的元定理，本身并不是任何证明内部的一步。<sup>[4](https://logical.stanford.edu/intrologic/chapters/chapter_05.html)</sup>

它的实际价值在于作为一条导出规则。要表明 \( \Gamma \vdash (\varphi \to \psi) \)，人们转而假设 φ 并推出 ψ，然后援引该定理，把这一推导转换为仅由 Γ 出发对该条件式的证明。<sup>[1](https://math.umd.edu/~dwk/Logic2.pdf)</sup> 这一点之所以重要，是因为希尔伯特系统依赖公理而不是基于假设的规则，因而连平凡的条件式也显得繁琐。例如，定理模式 \( A \to A \) 需要一个五行的公理证明；但由于 A 可由假设 A 经一个显而易见的步骤推出，演绎定理便保证 \( A \to A \) 的证明存在，而这个五行证明实际上就是该定理自身构造性证明的一部分。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup>

## 证明

证明通过对从 \( \Gamma \cup \{\varphi\} \) 推出 ψ 的推导长度作归纳来进行。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> 给定推导的每一步都被变换：公理和 Γ 的成员被保留下来，并借助公理模式 \( A \to (B \to A) \) 与 \( (A \to (B \to C)) \to ((A \to B) \to (A \to C)) \) 与 φ →（该公式）相连接；假设 φ 本身由公理 \( \varphi \to (\varphi \to \varphi) \) 消去；每一次肯定前件式的应用，都在条件式层面由一个小推导镜像地反映出来。由于这种变换是一致的，结果就是从 Γ 出发对 \( \varphi \to \psi \) 的一个真正的希尔伯特证明。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup>

## 一阶逻辑：概括限制

在一阶理论中，概括规则允许从 A 推出 \( \forall x A \)，但相应的条件式 \( A \to \forall x A \) 未必逻辑有效，因此该定理的无限制命题形式会失败。<sup>[2](https://www.maths.tcd.ie/~odunlain/u11602/online_notes/pdf_d-theorem.pdf)</sup> 人们可以构造例子，其中 \( A \vdash_T B \) 成立，而 \( A \to B \) 在理论 T 的至少一个解释中为假，因而 \( A \to B \) 不是 T 的定理。<sup>[2](https://www.maths.tcd.ie/~odunlain/u11602/online_notes/pdf_d-theorem.pdf)</sup>

修正后的陈述带有一个附加条件。按照该定理的通常表述，假设 B 由 A 连同或许还有的附加前提 F 推出，其中 A 中每个自由变量在整个推导过程中都保持固定——也就是说，量词规则绝不作用于 A 的自由变量 x，除非截至该推理点，假设 A 尚未在推导中出现。由此便可推出，A → B 可以仅由 F 推导出来。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> 教科书等价地表述这一限制：被概括的变量不得自由出现在属于 Γ 的任何公式中，也不得自由出现在所假设前件的任何出现中。<sup>[5](https://cs.stanford.edu/~epacuit/classes/symblogic-fall2012/fol-notes.pdf)</sup><sup> • </sup><sup>[6](https://math.stackexchange.com/questions/4858732/proof-of-the-deduction-theorem-in-first-order-logic)</sup>

原因在于，在从假设出发的推导的定义中，假设公式被当作其所有自由变量都已全称量化来处理，因此 \( \forall x\, A(x) \) 可由假设 \( A(x) \) 推导出来。变量 x 因此在推导中是可变的，而演绎定理不能被用来错误地断定 \( A(x) \to \forall x\, A(x) \) 可证。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup> 一个正确的用法是直觉主义可证的蕴涵 \( \exists x\, A(x) \to \neg \forall x \neg A(x) \)：从假设 \( A(x) \) 出发，在所有自由变量保持固定的情况下推出 \( \neg \forall x \neg A(x) \)，应用定理得到 \( A(x) \to \neg \forall x \neg A(x) \)，然后应用存在引入。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup>

一阶版本的证明遵循命题版本的证明，只是多出一个归纳情形来处理由概括规则证明为正当的步骤；附加条件正是在这里发挥作用。<sup>[6](https://math.stackexchange.com/questions/4858732/proof-of-the-deduction-theorem-in-first-order-logic)</sup>

## 与自然演绎的关系

自然演绎系统由格哈德·根岑（Gerhard Gentzen）于 1934 年为直觉主义逻辑和经典逻辑引入，它通过条件证明和子证明，把基于假设的推理内建到对象层规则中。<sup>[7](https://plato.stanford.edu/entries/natural-deduction/)</sup><sup> • </sup><sup>[4](https://logical.stanford.edu/intrologic/chapters/chapter_05.html)</sup> 在这样的系统中，要证明蕴涵 \( P \Rightarrow Q \)，就先假设 P，并在该假设下进行推理以推出 Q；条件引入规则直接消去该假设。<sup>[8](https://www.cs.cornell.edu/courses/cs3110/2011sp/Lectures/lec13-logic/logic.htm)</sup> 演绎定理是这条规则在希尔伯特系统中的对应物：它大致表达了（→I），并且与对应于（→E）的肯定前件式一起，成为证明同一逻辑的希尔伯特系统 H 与自然演绎系统 I 等价的关键之一。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup>

## 失败与推广

**模态逻辑。** 人们常说演绎定理在正规模态逻辑中失败。《应用逻辑杂志》2015 年的一项研究认为，许多这类说法源于对定理所要表明之事的混淆：经典演绎定理表明，所有所谓的可导出规则都可以用实质条件式编码进对象语言；按照这种解读，该定理在据称失败的地方并不失败。<sup>[9](https://www.sciencedirect.com/science/article/pii/S1570868315000403)</sup>

**一个限制性结果。** 同一项研究通过追问是否所有类型的规则（而不只是可导出规则）都能编码进对象语言，来推广该定理；作者把这一性质称为规则在对象语言中的反映。那里所证明的限制性定理是：某些反映某类规则的逻辑必定是平凡的；因此，这一演绎定理的推广确实在经典定理不失败的地方失败了。<sup>[9](https://www.sciencedirect.com/science/article/pii/S1570868315000403)</sup>

**经典定理的适用范围。** 该定理是关于特定演算的元定理，而不是每个证明系统都具有的性质。像自然演绎和序贯演算这样内建假设消去的系统，不需要把它当作一个单独的结果；而希尔伯特系统则严重依赖它，把它作为确立可推导性的导出规则。<sup>[3](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)</sup><sup> • </sup><sup>[10](https://www.planetmath.org/deductivesystem)</sup>

## References

1. [Chapter 2, First Order Logic, University of Maryland lecture notes (D. W. Kueker)](https://math.umd.edu/~dwk/Logic2.pdf)
2. [Deduction Theorem for first-order logic, Trinity College Dublin mathematical logic notes](https://www.maths.tcd.ie/~odunlain/u11602/online_notes/pdf_d-theorem.pdf)
3. [Intuitionistic Logic, Stanford Encyclopedia of Philosophy (Fall 2005 archive)](https://plato.stanford.edu/archives/fall2005/entries/logic-intuitionistic/)
4. [Introduction to Logic, Chapter 5: Natural Deduction, Stanford](https://logical.stanford.edu/intrologic/chapters/chapter_05.html)
5. [Deductions in First Order Logic, Stanford CS course notes (E. Pacuit)](https://cs.stanford.edu/~epacuit/classes/symblogic-fall2012/fol-notes.pdf)
6. [Proof of the deduction theorem in first-order logic, Mathematics Stack Exchange](https://math.stackexchange.com/questions/4858732/proof-of-the-deduction-theorem-in-first-order-logic)
7. [Natural Deduction Systems in Logic, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/natural-deduction/)
8. [Propositional Logic and Natural Deduction, Cornell CS 3110 lecture notes](https://www.cs.cornell.edu/courses/cs3110/2011sp/Lectures/lec13-logic/logic.htm)
9. [Reflecting rules: A note on generalizing the deduction theorem, Journal of Applied Logic 13(3): 188–196 (2015)](https://www.sciencedirect.com/science/article/pii/S1570868315000403)
10. [Deductive system, PlanetMath](https://www.planetmath.org/deductivesystem)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Logical calculi and logical syntax › Predicate logic › First-order proof systems

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/deduction-theorem

English original: https://www.edgepedia.org/deduction-theorem
