可靠性与完备性
Soundness and completeness
元逻辑研究形式系统的性质,而不只是在系统内部做推导。
概念与边界
可靠性说:若前提可按系统规则推得结论,则语义上前提蕴涵结论。完备性说:若语义上蕴涵,系统能够推导。两者方向相反,且必须指定语言、证明系统和语义。
经典一阶逻辑的语义完备性,不等于每个包含算术的公理理论都能决定每个句子。后者涉及理论的完备性,正是不完备性定理讨论的另一问题。
The concept and its limits
Soundness says derivability implies semantic consequence. Completeness says semantic consequence implies derivability. They run in opposite directions and require a specified language, proof system, and semantics.
Semantic completeness of first-order logic does not mean that every axiomatic theory containing arithmetic decides every sentence. That concerns completeness of a theory, a different issue addressed by incompleteness results.
把概念用起来
把语义后承记为 ⊨,可推导记为 ⊢。可靠性连接 ⊢ 到 ⊨;完备性连接 ⊨ 到 ⊢。不能只凭两个中文词意思相近就交换方向。
Working through an example
Write semantic consequence as ⊨ and derivability as ⊢. Soundness connects ⊢ to ⊨; completeness connects ⊨ to ⊢. Keep the directions distinct.
系统里面与系统外面
在系统中写出 P、P→Q,继而推出 Q,是对象层面的推导。说明“这套规则的每次合法应用都保持真值”,则是在元语言中研究系统。元逻辑仍然需要论证;站在系统外面不意味着可以不受任何标准约束。
证明可靠性的一种常见思路是检查基本规则保持语义性质,再按推导长度或结构归纳,说明整个推导保持该性质。这里说的是关于证明的数学归纳,与从观察样本作经验预测不同。完备性的证明则需要另一方向的工作,不能靠重复可靠性论证获得。
本节依据:forall x 第 22 章:可靠性与完备性的两个方向 ↗ · forall x 第 48 章:可靠性证明的归纳思路 ↗ · SEP《Gödel’s Incompleteness Theorems》§§1、2.5–2.6、3 ↗
Inside a system and about a system
Deriving Q from P and P→Q is an object-level derivation. Showing that every legitimate application of the rules preserves truth studies the system in a metalanguage. Metatheory still requires arguments; working outside the object system does not remove standards.
A common soundness strategy checks preservation for basic rules and then uses induction on proof length or structure. This is mathematical induction about proofs, not empirical projection from observations. Completeness requires a different argument in the reverse direction.
Section sources: forall x, chapter 22: the two directions of soundness and completeness ↗ · forall x, chapter 48: the inductive structure of a soundness proof ↗ · SEP, Gödel’s Incompleteness Theorems, §§1, 2.5–2.6, 3 ↗
两个箭头各排除什么
若一个系统能从 P→Q 和 Q 推出 P,它相对于经典语义就不可靠:令 P 假、Q 真即可给出反模型。完备性则关心有没有语义上成立却无法推导的后承。一个只允许重述前提的极弱系统不会引入假结论,但无法从 P∧Q 推出 P;它可以可靠而不完备。
因此,没有发现错误证明不等于系统已完备;能够证明很多定理也不等于可靠。必须分别评价规则允许什么,以及语义要求覆盖什么。
What each direction rules out
A system deriving P from P→Q and Q is unsound for classical semantics: P false and Q true gives a countermodel. Completeness instead asks whether every semantic consequence is derivable. A weak system allowing only premise repetition introduces no false consequence but cannot derive P from P∧Q. It can be sound without being complete.
Finding no bad proofs does not establish completeness, and proving many theorems does not establish soundness. Assess what the rules permit separately from what the semantics requires them to cover.
逻辑完备与理论完备
一阶逻辑的完备性说:一个句子若在某组前提的所有模型中成立,就有从这些前提出发的证明。理论完备性则要求理论对每个句子 A 都能证明 A 或证明 ¬A。若某理论有的模型满足 A,有的不满足,就不能用逻辑完备性逼出其中一边。
“在标准自然数中为真”也不同于“在某算术理论的所有模型中为真”。不完备性与非标准模型之间的联系正好说明,真理所针对的结构必须明确。这里给出概念区分;完整的模型构造需要后续模型论。
Logical completeness and theory completeness
First-order completeness says that a sentence true in every model of some premises has a proof from those premises. A complete theory instead proves A or ¬A for every sentence A. If some models of a theory satisfy A and others do not, logical completeness does not force either verdict.
Truth in the standard natural numbers also differs from truth in every model of an arithmetic theory. Connections between incompleteness and nonstandard models make the intended structure important. This is a conceptual distinction; full model construction belongs to further model theory.
辨认元逻辑命题的方向
不要靠“好系统”“完整系统”这样的日常说法判断。
独立练习 1
一套经典命题演算新增规则“从 P∨Q 可直接推出 P”。它首先违反了哪项性质?
查看答案与推理过程
可靠性。令 P 假、Q 真,前提真而结论假。新增规则可能增加可证明的句子,但数量增加不会抵消这个反模型。这里不需要先研究系统是否完备。
独立练习 2
某人搜索一小时未找到证明,就说语义有效的公式证明了系统不完备。缺少哪一步?
查看答案与推理过程
缺少“系统中不存在证明”的论证。一小时未找到只描述搜索结果,可能是搜索策略或时间不足。只有确立语义有效且不可推导,才能用该公式证明不完备。
Identify the metatheoretic direction
Use the precise properties rather than everyday labels such as good or complete.
Independent exercise 1
A classical propositional calculus adds a rule deriving P directly from P∨Q. Which property does it violate?
Show answer and reasoning
Soundness: P false and Q true makes the premise true and conclusion false. More derivable sentences do not remove the countermodel. Completeness need not be settled before diagnosing this defect.
Independent exercise 2
After an hour of unsuccessful proof search for a semantically valid formula, someone declares the system incomplete. What is missing?
Show answer and reasoning
The claim that no proof exists in the system is missing. An hour of failure may reflect search strategy or time. The formula witnesses incompleteness only if both semantic validity and underivability are established.
检查你的理解
问:一阶逻辑完备与算术不完备矛盾吗?答:不矛盾;前者说逻辑后承可证明,后者说特定有效公理理论不能决定全部算术句子。
Check your understanding
Question: Do first-order completeness and arithmetic incompleteness conflict? Answer: No. The former concerns logical consequence; the latter concerns what certain effectively axiomatized theories decide.
参考文献
- forall x: Calgary ↗P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · 相关章节版本、许可与查阅范围
- Gödel’s Incompleteness Theorems ↗Stanford Encyclopedia of Philosophy · 相关章节§§1–3: hypotheses and theorem statements版本、许可与查阅范围