证明策略与反证
Proof strategies and reductio
选择证明方法,要看目标公式的结构与可用规则。
概念与边界
证明合取可分别证明两项;证明条件句可开子证明;使用析取前提通常需要分情况。策略是寻找证明的办法,不是省略证明步骤的许可。
经典反证法假设目标的否定并推出矛盾,再得出目标。某些非经典系统限制这一步,因此不能把一种系统中的反证规则自动搬到所有系统。
The concept and its limits
To prove a conjunction, establish both conjuncts. For a conditional, open a subproof. A disjunctive premise often calls for cases. A strategy guides the search but does not excuse omitted steps.
Classical reductio assumes the negation of the goal and derives a contradiction. Some nonclassical systems restrict this move, so it should not be transferred indiscriminately.
把概念用起来
已知 P ∨ Q、P → R、Q → R,分别假设 P 和 Q 都可得 R,再由析取消去得 R。无需先猜哪一项实际为真。
Working through an example
Given P ∨ Q, P → R, and Q → R, derive R under each case and then use disjunction elimination. You need not guess which disjunct is actually true.
先看结论的主联结词
目标是 A ∧ B 时,可以分别证明 A 和 B;目标是 A → B 时,可以尝试暂设 A 后证明 B;目标是 ¬A 时,可以考察假设 A 是否导致矛盾。这些是搜索办法,不能取代每一步的规则依据。
同时向前看前提。一个合取通常可以拆开;一个条件句需要找到它的前件;一个析取适合考虑分情况证明。如果盲目拆所有公式,可能得到很多与目标无关的行。
Work backward from the goal
For a goal A ∧ B, prove each conjunct. For A → B, try assuming A and deriving B. For ¬A, investigate whether assuming A yields a contradiction. These are search strategies, not substitutes for rule justifications.
Also work forward from the premises. A conjunction can usually be decomposed; a conditional needs its antecedent; a disjunction suggests a case split. Unfocused decomposition can produce many irrelevant lines.
Section sources: forall x, chapter 18: working from goals and premises ↗
分情况证明必须合到同一结论
设 A 表示使用入口甲,B 表示使用入口乙,C 表示经过登记。已知 A ∨ B、A → C、B → C。即使不知道使用哪个入口,也能通过两个分支得到 C。
这里不能由 A ∨ B 直接挑出 A。分支中的 A 和 B 是分别考察的假设,不是同时断言发生的事实。只有两个分支都推出 C,才能解除这些假设。
| 行 | 命题与假设范围 | 依据 |
|---|---|---|
| 1 | 前提 | |
| 2 | 前提 | |
| 3 | 前提 | |
| 4 | 第一分支假设 | |
| 5 | 条件消去,2、4 | |
| 6 | 第二分支假设;第一分支已关闭 | |
| 7 | 条件消去,3、6 | |
| 8 | 析取消去,1、4–5、6–7 |
A case split must reach a common conclusion
Let A and B mean use of two entrances, and C mean registration. Given A ∨ B, A → C, and B → C, both branches establish C even if the entrance used is unknown.
A cannot simply be selected from A ∨ B. The branch assumptions A and B are considered separately, not asserted as simultaneous facts. Both branches must yield C before they can be discharged.
| Line | Formula and scope | Justification |
|---|---|---|
| 1 | Premise | |
| 2 | Premise | |
| 3 | Premise | |
| 4 | First branch assumption | |
| 5 | Conditional elimination, 2, 4 | |
| 6 | Second branch; first branch closed | |
| 7 | Conditional elimination, 3, 6 | |
| 8 | Disjunction elimination, 1, 4–5, 6–7 |
Section sources: forall x, chapter 17: section 17.7: disjunction ↗
反证与否定引入的区别
从假设 A 导出矛盾后得到 ¬A,是否定引入。若从假设 ¬A 导出矛盾,首先得到的是 ¬¬A;经典逻辑允许进一步得到 A,直觉主义逻辑一般不允许直接采取这一步。不同系统可能把经典反证作为原始规则,也可能通过双重否定消去实现。
“假设带来不受欢迎的后果”不等于“推出逻辑矛盾”。成本增加、结论反直觉、与个人偏好冲突,都不是形如 B 与 ¬B 的矛盾。
Reductio and negation introduction
Deriving a contradiction from A and concluding ¬A is negation introduction. A contradiction from ¬A first supports ¬¬A. Classical logic permits proceeding to A; intuitionistic logic does not generally permit that step. Systems may take classical reductio as primitive or implement it through double-negation elimination.
An unwelcome consequence is not a logical contradiction. Higher costs, counterintuitive results, or disagreement with a preference need not have the form B together with ¬B.
Section sources: forall x, chapter 17: section 17.8: contradiction and negation ↗
练习选择证明路线
尝试先给出搜索路线,再写具体行。找不到证明时,也应尝试反模型;“我暂时不会证”不能判定无效。
独立练习 1
前提 A → B 与 ¬B,目标 ¬A。给出假设和矛盾所在。
查看答案与推理过程
暂设 A;条件消去得到 B;与前提 ¬B 形成矛盾;解除 A 得 ¬A。临时假设是 A,不是目标 ¬A。
独立练习 2
由 A ∨ B、A → C 能否直接推出 C?
查看答案与推理过程
不能。B 分支没有保证 C。取 A 假、B 真、C 假,两个前提都真而结论假;这也说明缺少 B → C 不是仅仅证明技巧不足。
Choose a proof strategy
Describe a route before filling in lines. If a proof eludes you, also try a countermodel; personal difficulty is not evidence of invalidity.
Independent exercise 1
From A → B and ¬B, aim for ¬A. Identify the assumption and contradiction.
Show answer and reasoning
Assume A, derive B by conditional elimination, and combine it with ¬B for a contradiction. Discharge A to infer ¬A. The temporary assumption is A, not the goal ¬A.
Independent exercise 2
Does C follow from A ∨ B and A → C?
Show answer and reasoning
No: the B branch does not guarantee C. A false, B true, and C false make both premises true and the conclusion false. The missing support is substantive, not just a matter of proof technique.
检查你的理解
问:分情况时只处理较可能的一项够吗?答:演绎证明需要覆盖前提允许的全部情况。
Check your understanding
Question: Is handling only the more likely case enough? Answer: A deduction must cover every case allowed by the premises.
参考文献
- forall x: Calgary ↗P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · 相关章节版本、许可与查阅范围