从读懂一句话,到独立写出证明From understanding a sentence to writing a proof
这份讲义不要求你先懂今年的逻辑课。每课先提出一个你能理解的问题,再把日常说法翻译成符号,用精选的完整课程题逐步示范。题干、所需定义、表格或模型图、推理理由和练习答案都在本页。This guide assumes no prior knowledge of this year’s logic course. Each lesson starts with a familiar question, translates ordinary reasoning into symbols, then walks through selected complete course problems. Statements, definitions, tables or models, reasons and practice solutions are all on this page.
怎么一起学How to work through a lesson
先读中文理解,再对照英文认识考试用语。跟着一题把表填完或把证明写完,然后合上解答自己重做。卡住时回看那一步的理由,不要只背最终公式。下方的练习答案可以展开;完整示范不会被藏在别处。Read the Chinese explanation for intuition, then compare the English examination vocabulary. Complete a table or proof alongside the worked problem, then hide the answer and redo it. When stuck, return to the reason for that step rather than memorising a final formula. Practice answers expand in place; worked explanations are not hidden elsewhere.
整条学习路线The complete learning route
语言与论证 → 自然演绎 → 真值表与可靠性/完全性 → 可能世界和可达关系 → 模态证明与二维语义 → 量词语言 → 量词证明与模型 → 一阶逻辑的元理论。Language and arguments → natural deduction → truth tables and soundness/completeness → possible worlds and accessibility → modal proofs and two-dimensional semantics → quantified language → quantified proofs and models → first-order metatheory.
不要用“看完多少页”判断学会了没有:你能解释这一步为何合法、指出错解错在哪里、换一个例子还能做出来,才算掌握。学习标记和个人笔记只保存在当前浏览器;网页与桌面副本不会自动同步。Do not measure learning by pages read. You understand a method when you can justify its steps, locate the error in a wrong solution, and solve a new example. Progress and personal notes stay in this browser; the hosted and desktop copies do not synchronise automatically.
课程内容Course contents
一句话怎样变成可以检查的结构?How does a sentence become a checkable structure?
为什么“所有足球运动员都用两条腿走路;苏格拉底用两条腿走路;所以他是足球运动员”不对?因为前提只把足球运动员放进两足者里,没有说两足者全是足球运动员。逻辑先检查“假如前提都真,结论还能假吗”,不是先检查这个人实际上踢不踢球。Why is “All footballers are bipeds; Socrates is a biped; therefore he is a footballer” bad? Footballers are included among bipeds, not conversely. Logic first asks whether all premises could be true while the conclusion is false, not whether this particular person actually plays football.
从日常话到论证From ordinary speech to an argument
前提是用来支持别的陈述的句子,结论是被支持的句子。“所以”通常引出结论,“因为”通常引出前提,但位置不是定义。有效指没有前提全真而结论假的情况;健全的论证还要求实际前提真。有效论证可以有假前提,也可以有真结论却无效。后面“证明系统的可靠性”是另一个层次,不要与论证健全性混淆。Premises support another statement; a conclusion is the supported statement. “Therefore” often introduces a conclusion and “because” a premise, but position does not define their roles. Validity excludes true-premise/false-conclusion cases. A sound argument is valid with actually true premises. Validity can coexist with false premises; a true conclusion does not establish validity. Soundness of a proof system, studied later, is a different level of claim.
先学一种能拆开的语言A language whose structure can be inspected
原子 p、q、r 表示整句可真可假的陈述,不表示人或词。“关门!”这样的命令不直接作真假前提。⊥ 是恒假的特殊原子;¬ 是否定;∧ 是两者都成立;∨ 是至少一个成立,允许都成立;A→B 是“若 A 则 B”。A、B 是任意公式的占位字母,不必是原子。Atoms p, q, r represent whole truth-evaluable statements, not people or words. Commands such as “Close the door!” are not directly truth-valued premises. ⊥ is a special always-false atom; ¬ is negation, ∧ requires both, ∨ at least one, allowing both, and A→B reads “if A then B”. A and B range over arbitrary formulas, not just atoms.
这条递归规则不是说所有 A 都相同,而是说可以拿任意两个已造好的公式作二元联结。外层括号可以省,内层不可随便省。A↔B 定义为 (A→B)∧(B→A),不是另加一套基本规则。This recursive grammar allows any two previously constructed formulas at a binary connective; the repeated A does not require identical operands. Outermost parentheses may be omitted; internal ones cannot be dropped arbitrarily. A↔B abbreviates (A→B)∧(B→A), rather than adding basic proof rules.
官方完整题:哪些字符串是公式?Complete official problem: which strings are formulas?
逐个判断下列字符串是不是课程 Form 中的公式;不是的,判断能否仅加括号得到不同公式,并列出所有括号化:p∨q;p∨q→r;¬¬p;q¬p;p∧(q∨r)→⊥;(p→q)→((p→(q→r))→(p→r));p∧q∧r。For each string decide whether it belongs to the course language Form. If not, determine whether adding only parentheses yields different formulas, and list every parenthesisation: p∨q; p∨q→r; ¬¬p; q¬p; p∧(q∨r)→⊥; (p→q)→((p→(q→r))→(p→r)); p∧q∧r.
字符串String | 判定和完整修复Decision and full repair |
|---|---|
| p∨q | 是,顶层是 ∨。Yes: ∨ is the main connective. |
| p∨q→r | 不是;p∨(q→r) 或 (p∨q)→r。No: p∨(q→r) or (p∨q)→r. |
| ¬¬p | 是,先构造 ¬p 再否定。Yes: form ¬p, then negate it. |
| q¬p | 不是;仅加括号无解,缺二元联结词。No; parentheses alone cannot supply the missing binary connective. |
| p∧(q∨r)→⊥ | 不是;p∧((q∨r)→⊥) 或 (p∧(q∨r))→⊥。No: p∧((q∨r)→⊥) or (p∧(q∨r))→⊥. |
| (p→q)→((p→(q→r))→(p→r)) | 是,顶层是第一个括号后的 →。Yes: the → after the first parenthesis is main. |
| p∧q∧r | 不是;p∧(q∧r) 或 (p∧q)∧r。语义等价不等于语法相同。No: p∧(q∧r) or (p∧q)∧r. Semantic equivalence is not syntactic identity. |
做这题时从最后一次构造反推:哪个联结词能把整个字符串分成两个合法部分?嵌套括号里的词不可能是顶层。例子 p∧(q∨r) 先造 q∨r 再与 p 合取;子公式包括原子、q∨r 和整个公式本身,不只是原子。Work backwards from the last construction: which connective splits the whole string into legal parts? A connective inside nested parentheses cannot be main. In p∧(q∨r), first form q∨r and then conjoin p. Subformulas include the atoms, q∨r, and the whole formula, not just atoms.
推理树不是语法树A proof tree is not a syntax tree
语法树拆一句话;推理树连接多句话的依赖。课程把 x<y 读为“x 依赖 y”,所以结论在下、前提在上。严格序传递且无自环;≤ 加上相等后自反、反对称、传递。树还有根,且从某叶子向下的依赖路径不能分叉后重合;用这个方向表述是:若 y≤x 且 z≤x,则 y≤z 或 z≤y。A syntax tree decomposes one formula; a proof tree connects dependencies among formulas. The course reads x<y as “x depends on y”, putting conclusions below premises. A strict order is transitive and irreflexive; its reflexive closure ≤ is reflexive, antisymmetric and transitive. A tree has a root, and the nodes below any given node form a chain: if y≤x and z≤x, then y≤z or z≤y.
有限偏序不必是树:菱形中根 r<a、r<b、a<t、b<t,a 与 b 不可比,却都在 t 下方。它符合偏序而违反树条件。别把“每张有箭头的图”叫树。A finite partial order need not be a tree. In a diamond r<a, r<b, a<t, b<t, incomparable a and b both lie below t. It is a partial order but violates the tree condition. Not every arrow diagram is a tree.
轮到你:迁移练习Your turn: transfer exercise
原创:把“如果读书并且做题,就会进步”形式化,并指出主联结词。Original: formalise “If you read and practise, you improve” and identify its main connective.
先看提示Show a hint
先圈出整句的“如果……就……”。First locate the whole sentence’s “if … then …”.
展开完整解答Reveal the complete solution
设 r=读书、p=做题、i=进步,得到 (r∧p)→i;主联结词是 →,不是 ∧。r∧(p→i) 会额外断言已经读书。Let r mean reading, p practice, and i improvement. The formula is (r∧p)→i, main connective →, not ∧. The alternative r∧(p→i) additionally asserts that reading occurs.
原件与范围:1463435:slides 14–36; 1463437:p1 Q1; 1463441:pp1–2 Q1Original sources and scope: 1463435:slides 14–36; 1463437:p1 Q1; 1463441:pp1–2 Q1
怎样写证明并归还临时假设?How do we prove while discharging assumptions?
证明不是把想到的式子写在一起,而是每一行说明“这一步只靠哪些尚未撤销的假设”。像借钥匙进门:临时借到的钥匙可以帮助你说明“如果给钥匙就能进门”,但不能借完不还便声称自己本来就有钥匙。A proof is not a list of plausible formulas: each step tracks exactly which undischarged assumptions support it. Borrowing a key may establish “if given a key, I can enter”, but it does not establish that you possessed a key unconditionally.
规则Rule | 操作Operation |
|---|---|
| ∧I | 由 A、B 合成 A∧B,依赖取并集。Combine A and B into A∧B; unite their dependencies. |
| ∧E | 由 A∧B 取出 A 或 B,继承依赖。Extract A or B from A∧B; inherit dependencies. |
| →E | 由 A→B 与 A 得 B;不能由 B 倒推 A。From A→B and A obtain B; B does not license inferring A. |
| →I | 临时假设 A 推到 B,撤销该组 A 得 A→B;其他依赖不消失。Derive B assuming A, discharge those A occurrences to obtain A→B; retain other dependencies. |
官方完整题:从条件句搬运一条链Complete official problem: transport a conditional chain
唯一给定前提 p→q。构造 (r→p)→(r→q) 的证明,并列每行依赖。以下是依据官方解答重新排成行号的证明。The sole given premise is p→q. Prove (r→p)→(r→q), recording every dependency. The released solution is reformatted below as a numbered proof.
结论是条件句,所以先假设 r→p。它的后件仍是条件句 r→q,再假设 r。现在有 r→p 和 r 可得 p,再与原前提得到 q,按与开启相反的顺序关闭假设。The goal is conditional, so assume r→p. Its consequent r→q is also conditional, so assume r. Use r→p with r to get p, then the original premise to get q. Close assumptions in reverse order.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p→q | 前提Premise | 1 |
| 2 | r→p | 临时假设 αAssumption α | 2 |
| 3 | r | 临时假设 βAssumption β | 3 |
| 4 | p | →E,2、3→E, 2,3 | 2,3 |
| 5 | q | →E,1、4→E, 1,4 | 1,2,3 |
| 6 | r→q | →I,3–5,撤销 β→I, 3–5, discharge β | 1,2 |
| 7 | (r→p)→(r→q) | →I,2–6,撤销 α→I, 2–6, discharge α | 1 |
官方依赖题:完整给定与重建Official dependency problem: full statement and reconstruction
给定 p→q,题目中的证明临时使用两次同一组假设 p∧r,从而证明 (p∧r)→(q∧r)。请逐步列依赖。两次同组假设都在最终 →I 撤销,不是只撤销其中一片叶子。Given p→q, the supplied tree uses two occurrences of the same temporary assumption group p∧r to prove (p∧r)→(q∧r). List dependencies at every step. The final →I discharges both occurrences of that group, not just one leaf.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p→q | 前提Premise | 1 |
| 2 | p∧r | 同组临时假设 αTemporary assumption group α | 2 |
| 3 | p | ∧E,2∧E, 2 | 2 |
| 4 | q | →E,1、3→E, 1,3 | 1,2 |
| 5 | r | ∧E,2(树中另一个叶子)∧E, 2 (another tree leaf) | 2 |
| 6 | q∧r | ∧I,4、5∧I, 4,5 | 1,2 |
| 7 | (p∧r)→(q∧r) | →I,撤销全部 α→I, discharge all α occurrences | 1 |
“规则可导出”要展示一个任意实例A derived rule needs an arbitrary instance
官方第4题要求证明三个规则:A→B、A→C 推 A→(B∧C);A→(B→C) 推 (A∧B)→C(Import);(A∧B)→C 推 A→(B→C)(Export)。字母是任意公式;只展示 p 真 q 真不是规则证明。Official Q4 asks for three derived rules: from A→B and A→C infer A→(B∧C); from A→(B→C) infer (A∧B)→C (Import); and from (A∧B)→C infer A→(B→C) (Export). The letters range over arbitrary formulas. Checking one truth assignment does not prove a derivation rule.
所求规则Target rule | 可直接照写的推导序列Explicit derivation sequence |
|---|---|
| A→(B∧C) | 假设 A〔α〕;两次 →E 得 B、C;∧I 得 B∧C;→I 撤 α。依赖只剩两个给定条件句。Assume A [α]; two →E steps yield B and C; ∧I gives B∧C; →I discharges α. Only the two given conditionals remain open. |
| Import | 假设 A∧B〔α〕;∧E 各得 A、B;由前提及 A 得 B→C;与 B 得 C;→I 撤 α。Assume A∧B [α]; extract A and B; the premise with A gives B→C; use B to obtain C; discharge α by →I. |
| Export | 先假设 A〔α〕再 B〔β〕;∧I 得 A∧B;前提 →E 得 C;先撤 β 得 B→C,再撤 α。Assume A [α], then B [β]; ∧I gives A∧B; →E with the premise gives C; discharge β to get B→C, then discharge α. |
消去绕路,不是删掉你不喜欢的行Removing a detour is not arbitrary deletion
由 A、B 先 ∧I 得 A∧B,再 ∧E 得 A,是一次绕路;直接保留 A 的原证明即可。由假设 A 的证明 Π 得 B,→I 得 A→B,又拿 A 的证明 Δ 作 →E:把 Π 中被撤销的 A 叶子换成 Δ,得到同样的 B。Δ 可能需要复制,所以正规化不保证行数逐次减少。Introducing A∧B from A and B, then eliminating it to obtain A, is a detour: retain the original proof of A. If Π derives B assuming A, →I creates A→B and →E applies a proof Δ of A, replace the discharged A leaves in Π with Δ. Δ may be duplicated, so normalisation need not reduce line count at every step.
轮到你:迁移练习Your turn: transfer exercise
官方另一小题,作为跟练:从 p∧(q→r) 证明 q→(p∧r)。Another official subproblem for guided practice: from p∧(q→r), prove q→(p∧r).
先看提示Show a hint
不要忘记在条件句后件中保留 p。Remember that p must remain in the consequent.
展开完整解答Reveal the complete solution
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p∧(q→r) | 前提Premise | 1 |
| 2 | p | ∧E,1∧E, 1 | 1 |
| 3 | q→r | ∧E,1∧E, 1 | 1 |
| 4 | q | 临时假设 αAssumption α | 4 |
| 5 | r | →E,3、4→E, 3,4 | 1,4 |
| 6 | p∧r | ∧I,2、5∧I, 2,5 | 1,4 |
| 7 | q→(p∧r) | →I,撤 α→I, discharge α | 1 |
原件与范围:1463435:slides 39–73; 1463437:p1 Q2–4; 1463441:pp2–4Original sources and scope: 1463435:slides 39–73; 1463437:p1 Q2–4; 1463441:pp2–4
官方跟练补全:p 如何给出 q→(p∧q)?Remaining official guided task: from p to q→(p∧q)
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p | 前提Premise | 1 |
| 2 | q | 临时假设 αTemporary assumption α | 2 |
| 3 | p∧q | ∧I,1、2∧I, 1,2 | 1,2 |
| 4 | q→(p∧q) | →I,撤 α→I, discharge α | 1 |
分情况、反证与证明的元理论Cases, negation and the metatheory of proofs
“p 或 q”没有告诉你哪一个成立。安全的推理方法是两种情况分别推到同一目标。否定则把“假设它成立会产生矛盾”记录成一个公式。这两种结构是写长证明的骨架。“p or q” does not identify the true disjunct. Reason safely by deriving the same target in each case. Negation records that assuming something leads to contradiction. These two structures form the backbone of longer proofs.
规则Rule | 完整用法与限制Use and restriction |
|---|---|
| ∨I | 由 A 得 A∨B,或由 B 得 A∨B;不需证明另一项。From A infer A∨B, or from B infer A∨B; the other disjunct need not be proved. |
| ∨E | 有 A∨B;在 A〔α〕下得 C,在 B〔β〕下也得 C;撤 α、β 得 C。保留大前提和两支其他依赖。Given A∨B, derive C assuming A [α] and C assuming B [β]. Discharge α,β; retain the major premise and other branch dependencies. |
| ¬E | A 与 ¬A 得 ⊥。不要求两行相邻。A and ¬A yield ⊥; the lines need not be adjacent. |
| ¬I | 从 A〔α〕推出 ⊥,撤 α 得 ¬A。Derive ⊥ from A [α], discharge α, conclude ¬A. |
| ⊥E | 由 ⊥ 得任意公式;不是没有前提就得任意公式。From ⊥ infer any formula; this does not license arbitrary conclusions with no premise. |
| DNE | ¬¬A 得 A;仅经典系统允许,直觉主义系统不含此规则。Infer A from ¬¬A only in the classical system, not the intuitionistic one. |
官方完整大题:把分情况证明写全Complete official problem: write the full case proof
给定 p→r 和 q→s,在直觉主义规则中证明 (p∨q)→(r∨s)。不使用 DNE。Given p→r and q→s, prove (p∨q)→(r∨s) using intuitionistic rules, without DNE.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p→r | 前提Premise | 1 |
| 2 | q→s | 前提Premise | 2 |
| 3 | p∨q | 假设 α,准备 →IAssumption α for →I | 3 |
| 4 | p | 左支假设 βLeft-case assumption β | 4 |
| 5 | r | →E,1、4→E, 1,4 | 1,4 |
| 6 | r∨s | ∨I,5∨I, 5 | 1,4 |
| 7 | q | 右支假设 γ(独立于左支)Right-case assumption γ, separate from left | 7 |
| 8 | s | →E,2、7→E, 2,7 | 2,7 |
| 9 | r∨s | ∨I,8∨I, 8 | 2,7 |
| 10 | r∨s | ∨E,3、4–6、7–9;撤 β、γ∨E, 3,4–6,7–9; discharge β,γ | 1,2,3 |
| 11 | (p∨q)→(r∨s) | →I,撤 α→I, discharge α | 1,2 |
第7行不是在第4行假设仍有效的“同一条路”继续:它开启另一支。若右支借用了 p,就不能按上面的依赖关闭;这正是列依赖而不只写答案的理由。Line 7 starts a different branch, not a continuation retaining line 4’s assumption. If that branch borrowed p, the displayed discharge would fail. This is why dependencies matter, not merely the final formula.
官方否定练习:p 推 ¬¬pOfficial negation exercise: p entails ¬¬p
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p | 前提Premise | 1 |
| 2 | ¬p | 临时假设 αAssumption α | 2 |
| 3 | ⊥ | ¬E,1、2¬E, 1,2 | 1,2 |
| 4 | ¬¬p | ¬I,撤 α¬I, discharge α | 1 |
一致性与一处原题笔误Consistency and an exercise-sheet typo
官方题要求检查两组前提:(i) p,q,¬(p∧q);(ii) p∨q,¬p∨¬q。原文一处写“对一致的集合证明 ⊥”,与定义冲突;这里应理解为“对不一致的集合证明 ⊥”。(i) 由 p、q 用 ∧I 得 p∧q,再与 ¬(p∧q) 用 ¬E 得 ⊥。(ii) 取 p=1,q=0,两前提都真;所有直觉主义规则保持布尔真值,因此不可能有从这两前提到 ⊥ 的证明。The official problem tests (i) p,q,¬(p∧q), and (ii) p∨q,¬p∨¬q. One sentence asks to prove ⊥ for the “consistent” sets, contrary to the definition; read this as “inconsistent”. For (i), ∧I on p,q gives p∧q, then ¬E yields ⊥. For (ii), p=1,q=0 makes both premises true. Since intuitionistic rules preserve Boolean truth, they cannot derive ⊥ from these premises.
从证明一条公式到证明关于证明的定理From a proof to a theorem about proofs
记 X⊢ᵢA 表示存在直觉主义证明;X 可以包含未使用的前提。反身性 A⊢ᵢA 是一片假设叶子;弱化允许加未使用的 B;组合把 X⊢ᵢA 的证明粘到 A,Y⊢ᵢB 的 A 叶子上,得到 X,Y⊢ᵢB。这里说的是任意 X、A、B,不是一次真假计算。Write X⊢ᵢA for the existence of an intuitionistic proof, allowing unused premises in X. Reflexivity A⊢ᵢA is a single assumption leaf. Weakening adds an unused B. Composition inserts a proof of X⊢ᵢA into the A leaves of a proof of A,Y⊢ᵢB, yielding X,Y⊢ᵢB. These claims concern arbitrary X,A,B, not one truth calculation.
官方元证明完整题Complete official metaproof
证明 X⊢ᵢ¬A 当且仅当 X,A⊢ᵢ⊥。这包含两个方向,不能只画一条 ¬I。Prove X⊢ᵢ¬A iff X,A⊢ᵢ⊥. Both directions are required, not merely one ¬I application.
正向:取从 X 到 ¬A 的已有证明,另开假设 A;用 ¬E 得 ⊥,开放前提至多是 X∪{A}。反向:取从 X,A 到 ⊥ 的证明,把作为额外前提的 A 发生项标成同一组;用 ¬I 撤销该组,得到只依赖 X 的 ¬A。若原证明没有用 A,允许空撤销。Forward: take the given proof of ¬A from X, add assumption A, and apply ¬E. Its open premises are contained in X∪{A}. Reverse: take a proof of ⊥ from X,A, label the extra A occurrences as one group, and discharge that group by ¬I to obtain ¬A from X. Vacuous discharge is allowed if A was unused.
官方绕路题与正规化Official reduction problem and normalisation
完整题:从 P=(p→r)∧(q→r) 出发,原证明先取 p→r,用 ∨I 得 (p→r)∨(q→r),再分两支,分别结合临时 p∧q 得 r,最终得 (p∧q)→r。要求删除这段先引入再消去的析取绕路。Full problem: from P=(p→r)∧(q→r), the supplied proof extracts p→r, introduces (p→r)∨(q→r), then uses cases, each with temporary p∧q, to derive r and finally (p∧q)→r. Remove the disjunction introduction/elimination detour.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | (p→r)∧(q→r) | 给定前提 PGiven P | 1 |
| 2 | p→r | ∧E,1;保留原先被注入的左项∧E, 1; retain the originally injected left disjunct | 1 |
| 3 | p∧q | 临时假设 αAssumption α | 3 |
| 4 | p | ∧E,3∧E, 3 | 3 |
| 5 | r | →E,2、4→E, 2,4 | 1,3 |
| 6 | (p∧q)→r | →I,撤 α→I, discharge α | 1 |
正规化说每个直觉主义证明可化为无绕路的正规证明;正规证明只用前提或结论的子公式(否定另允许 ⊥)。∨E 可能把引入与消去隔开,要先把后续消去上移到两支;⊥E 后立刻消去刚造的复合式,可改为直接由 ⊥ 推最终所求。子公式性质不是“任意未经化简的证明也不能出现额外公式”。Normalisation gives a detour-free normal form for intuitionistic proofs. A normal proof uses subformulas of its premises or conclusion, with ⊥ allowed as a liberal subformula of negation. ∨E can separate an introduction from its elimination: move the elimination into both branches first. If ⊥E creates a compound only to eliminate it, infer the final target directly from ⊥. The subformula property does not forbid extraneous formulas in an unreduced proof.
无前提的直觉主义析取定理:若 ⊢ᵢA∨B,则 ⊢ᵢA 或 ⊢ᵢB。正规证明的最后有效构造必须供给一项。原子 p 与 ¬p 都不是无前提定理,所以 p∨¬p 不是直觉主义定理;这不是说 ¬(p∨¬p) 是定理。加入 DNE 得经典系统 ⊢꜀。The intuitionistic disjunction property says that if ⊢ᵢA∨B, then ⊢ᵢA or ⊢ᵢB. A closed normal proof must supply a disjunct. Neither p nor ¬p is a theorem, so p∨¬p is not intuitionistically provable. This does not make ¬(p∨¬p) a theorem. Adding DNE gives classical provability ⊢꜀.
轮到你:迁移练习Your turn: transfer exercise
官方经典题:从 ¬(p→q) 证明 p,指出 DNE 在哪里。Official classical problem: prove p from ¬(p→q), locating DNE.
先看提示Show a hint
先假设 ¬p,尝试造出与前提冲突的条件句。Assume ¬p and construct the conditional forbidden by the premise.
展开完整解答Reveal the complete solution
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | ¬(p→q) | 前提Premise | 1 |
| 2 | ¬p | 假设 αAssumption α | 2 |
| 3 | p | 假设 βAssumption β | 3 |
| 4 | ⊥ | ¬E,2、3¬E, 2,3 | 2,3 |
| 5 | q | ⊥E,4⊥E, 4 | 2,3 |
| 6 | p→q | →I,撤 β→I, discharge β | 2 |
| 7 | ⊥ | ¬E,1、6¬E, 1,6 | 1,2 |
| 8 | ¬¬p | ¬I,撤 α¬I, discharge α | 1 |
| 9 | p | DNE,8;仅此步非直觉主义DNE, 8; this is the non-intuitionistic step | 1 |
原件与范围:1463446:slides 2–56; 1463449:pp1–2 Q1–6; 1463451:released solution sheetOriginal sources and scope: 1463446:slides 2–56; 1463449:pp1–2 Q1–6; 1463451:released solution sheet
官方依赖树题的完整重建Full reconstruction of the official dependency tree
给定唯一永久前提 P=(p→¬r)∧(q→¬r),原树在临时 p∨q 下分情况取得 ¬r,再与临时 r 冲突,最终得到 r→¬(p∨q)。下表展示完整依赖,不能把临时 r 提前漏掉。With sole permanent premise P=(p→¬r)∧(q→¬r), the supplied tree assumes p∨q and obtains ¬r by cases, contradicts temporary r, and finally derives r→¬(p∨q). The table tracks every dependency; temporary r must not disappear prematurely.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | (p→¬r)∧(q→¬r) | 永久前提 PPermanent premise P | 1 |
| 2 | r | 临时假设 αAssumption α | 2 |
| 3 | p∨q | 临时假设 βAssumption β | 3 |
| 4 | p | 左支假设 γLeft-case assumption γ | 4 |
| 5 | p→¬r | ∧E,1∧E, 1 | 1 |
| 6 | ¬r | →E,4、5→E, 4,5 | 1,4 |
| 7 | q | 右支假设 δRight-case assumption δ | 7 |
| 8 | q→¬r | ∧E,1∧E, 1 | 1 |
| 9 | ¬r | →E,7、8→E, 7,8 | 1,7 |
| 10 | ¬r | ∨E,3、4–6、7–9;撤 γ、δ∨E, 3,4–6,7–9; discharge γ,δ | 1,3 |
| 11 | ⊥ | ¬E,2、10¬E, 2,10 | 1,2,3 |
| 12 | ¬(p∨q) | ¬I,撤 β¬I, discharge β | 1,2 |
| 13 | r→¬(p∨q) | →I,撤 α→I, discharge α | 1 |
真值表如何连接证明、反例和完全性?How do truth tables connect proofs, counterexamples and completeness?
没写出证明不等于没有证明。反模型是另一种证据:只需找到一种安排,让所有前提真而结论假。真值表把有限个原子的所有安排列尽;可靠性和完全性则解释这种检验与证明为什么相连。Failure to find a proof is not proof of its absence. A countermodel is different evidence: one arrangement making every premise true and the conclusion false suffices. A truth table exhausts the arrangements of finitely many atoms. Soundness and completeness explain the link with formal proofs.
布尔赋值 v 把原子送到0或1,再按下表递归算复合式。条件句仅当前件1、后件0时假;它不声称因果关系。重言式每行1,矛盾式每行0,偶真式有1有0。⊨꜀ʟ 是对所有布尔赋值的语义后承;⊢ 是存在某个规则证明。A Boolean valuation v assigns atoms 0 or 1 and recursively evaluates compounds using the table. A conditional is false only with true antecedent and false consequent; it does not assert causation. A tautology has only 1s, a contradiction only 0s, and a contingency both. ⊨꜀ʟ is semantic consequence over all Boolean valuations; ⊢ asserts that a rule-governed proof exists.
| A | B | ¬A | A∧B | A∨B | A→B | ⊥ |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 | 0 |
官方完整大题:不合取不等于两项都不成立Complete official problem: not-both is not neither
判断 ¬(p∧q) ⊨꜀ʟ ¬p∧¬q 是否有效;若无效给反赋值并逐式检查。下表直接列出全部给定与所求。Is ¬(p∧q) ⊨꜀ʟ ¬p∧¬q valid? If not, give and verify a countervaluation. The table includes every given and requested formula.
| p | q | p∧q | ¬(p∧q) | ¬p | ¬q | ¬p∧¬q | ¬p∨¬q |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
第二行 p=0,q=1:前提1,结论0,所以无效。第三行也是反例。最后一列与前提列相同,故 ¬(p∧q) ⊨꜀ʟ ¬p∨¬q 有效。只检查 p=q=0 会错过全部反例;不要跳过前提假的行的计算,但判反例时必须要求前提都真。On the second row p=0,q=1, the premise is 1 and conclusion 0, so the argument is invalid; the third row is another counterexample. The final column equals the premise column, establishing ¬(p∧q) ⊨꜀ʟ ¬p∨¬q. Checking only p=q=0 misses every counterexample. Evaluate all rows, but count a counterexample only when every premise is true.
同一习题其余论证的方法Methods for the remaining official arguments
完整论证Full argument | 结论与理由Verdict and reason |
|---|---|
| p→q,q→r ⊨ p→r | 有效:若 p=1,两前提依次迫使 q=r=1;若 p=0,结论自动真。Valid: p=1 forces q=r=1 via the premises; p=0 makes the conclusion true. |
| p→q,q→r ⊨ ¬p→¬r | 无效:p=0,q=0,r=1,前提都1,结论0。Invalid: p=0,q=0,r=1 makes both premises 1 and conclusion 0. |
| ¬(p→q) ⊨ p | 有效:前提真恰要求 p=1,q=0。Valid: a true premise requires p=1,q=0. |
| ⊨ ((p→q)→p)→p | 有效:p=1 时末尾后件真;p=0 时 p→q=1,故 (p→q)→p=0,外层条件句真。Valid: p=1 makes the final consequent true. For p=0, p→q=1 and (p→q)→p=0, making the outer conditional true. |
官方语义元题:已知 A,B⊨C∧D 能推出什么?Official semantic metaproblem: what follows from A,B⊨C∧D?
任取布尔赋值 v。判断:(a) 若 A、B 均真,C∧D 能假;(b) 若 C 假,A 必假;(c) 若 C 假,A 或 B 至少一个假;(d) 若 C∧D 假且 A 真,则 B 假;(e) A 真 B 假时 C∧D 必假;(f) C∧D 真则 A 真;(g) A、B 真则 ¬(C∧D) 假。For arbitrary v assess: (a) both A,B true permits false C∧D; (b) false C forces false A; (c) false C forces A or B false; (d) false C∧D with true A forces false B; (e) true A and false B forces false C∧D; (f) true C∧D forces true A; (g) true A,B forces false ¬(C∧D).
(a) 假、(c)(d)(g) 真;(b)(e)(f) 信息不足。给定条件只禁止 A=B=1 且 C∧D=0。对 (b),A=p,B=q,C=D=q 且 p=1,q=0 就否定其必然性;p=q=0 又使该条件句成立。对 (e),A=C=D=p,B=q,p=1,q=0 时结论反而真;A=C=p,B=D=q 同赋值则结论假。(f) 用 A=p,B=C=D=q,p=0,q=1 得后件 A 假,而 A=B=C=D=p,p=1 时它成立。(a) is false; (c),(d),(g) are true; (b),(e),(f) are underdetermined. The assumption forbids only A=B=1 with C∧D=0. For (b), use A=p,B=q,C=D=q with p=1,q=0 to refute necessity, and p=q=0 to make it hold. For (e), A=C=D=p,B=q at p=1,q=0 gives a true conclusion; A=C=p,B=D=q at that valuation gives a false one. For (f), A=p,B=C=D=q at p=0,q=1 refutes it, while A=B=C=D=p at p=1 satisfies it.
官方可靠性题:∧E 的归纳步骤Official soundness problem: the ∧E induction step
题目已给 Π 是从 X 到 A₁∧A₂ 的保真证明;要求证明追加 ∧E 得 Aᵢ 仍保真(i=1 或2)。取任意使 X 全真的 v。归纳假设给 v(A₁∧A₂)=1;合取定义给 v(A₁)=v(A₂)=1,所以 v(Aᵢ)=1。任意 v 都成立,故 X⊨Aᵢ。不是“∧E 合法,因为可靠性定理说它合法”的循环。Given that Π is a truth-preserving proof of A₁∧A₂ from X, show that appending ∧E to infer Aᵢ preserves truth, for i=1 or 2. Take arbitrary v satisfying X. The induction hypothesis gives v(A₁∧A₂)=1, hence v(A₁)=v(A₂)=1 by conjunction’s semantics. Thus v(Aᵢ)=1. Since v was arbitrary, X⊨Aᵢ. Invoking the soundness theorem itself here would be circular.
可靠性以证明构造归纳:假设叶子保真;逐规则证明“较小证明保真⇒追加一步也保真”。→I 要取任意使 X 真的赋值:若 A 假条件句真,若 A 真则归纳假设给 B 真。∨E 要由真析取选至少一条真分支。DNE 在布尔语义中保真,但这并不使它成为直觉主义规则。Soundness uses induction on proof construction: assumption leaves preserve truth, and each rule preserves the property of its immediate subproofs. For →I take a valuation satisfying X: if A is false the conditional is true; if A is true the induction hypothesis gives B. For ∨E a true disjunction supplies at least one true branch. DNE preserves Boolean truth without thereby becoming an intuitionistic rule.
完全性:没有证明时怎样造反例?Completeness: how do we build a counterexample when no proof exists?
经典系统的逆否证明从 X⊬꜀A 开始。枚举所有公式 B₀,B₁,…,只在加入 Bₙ 后仍不能证明 A 时才加入;取并集 X*。每个证明有限,所以若并集证明 A,有限所需前提早已同处某一步,矛盾。每个漏掉的 B 都是因为加入会导出 A,所以 X* 极大避免 A。The classical contrapositive begins with X⊬꜀A. Enumerate formulas B₀,B₁,…, adding Bₙ only if A remains unprovable, then take the union X*. Any proof uses finitely many premises, so a proof of A from the union would already occur at one stage, a contradiction. Every omitted B would yield A if added, making X* maximal A-avoiding.
极大集对可证结论封闭,并满足 B∧C∈X* 当且仅当 B,C∈X*,否定与条件句也符合布尔规则(部分方向需要 DNE)。令 v(p)=1 当且仅当 p∈X*,再对公式结构归纳得 v(B)=1 当且仅当 B∈X*。因此全部 X 真而 A 假。直觉主义证明对布尔语义可靠却不完全:p∨¬p 是布尔重言式但没有直觉主义证明。The maximal set is closed under provability, with B∧C∈X* iff B,C∈X*, and Boolean-style clauses for negation and implication, some directions using DNE. Put v(p)=1 iff p∈X*, then induct on formula structure to get v(B)=1 iff B∈X*. Every X is true and A false. Intuitionistic provability is Boolean-sound but incomplete: p∨¬p is Boolean-valid but not intuitionistically provable.
三值 Heyting 表:中间值不是随意的“半真”A three-valued Heyting algebra: the middle value is not arbitrary half-truth
使用有序集合 0<n<1,∧ 取较小、∨ 取较大,A→B 在 A≤B 时为1,否则等于 B;¬A=A→0。以下是完整条件句表,行是前件,列是后件。Assignment 1 也使用这张表;这里只用它教方法,不代提交作业。Use the chain 0<n<1, with ∧ as minimum, ∨ as maximum, A→B=1 if A≤B and B otherwise, and ¬A=A→0. The full implication table has antecedents as rows and consequents as columns. Assignment 1 also uses this table; it is used here to teach the method, not to submit an assignment.
| → | 0 | n | 1 |
|---|---|---|---|
| 0 | 1 | 1 | 1 |
| n | 0 | 1 | 1 |
| 1 | 0 | n | 1 |
| p | ¬p | ¬¬p | p∨¬p | ¬¬p→p |
|---|---|---|---|---|
| 0 | 1 | 0 | 1 | 1 |
| n | 0 | 1 | n | n |
| 1 | 0 | 1 | 1 | 1 |
当 p=n 时,¬p=0、¬¬p=1,但 ¬¬p→p=n 不是1,所以 DNE 不保这个语义。对带前提论证,保真要求前提值的最小值 ≤ 结论值,而不只是检查“前提恰等于1”的行。表中两原子有9行、三原子有27行。表值是代数约束,不是对相信程度的概率测量。For p=n, ¬p=0 and ¬¬p=1, but ¬¬p→p=n, not 1, so DNE is not sound here. With premises, preservation requires the minimum premise value to be no greater than the conclusion, not merely testing rows with all premises equal to 1. Two atoms need nine rows, three twenty-seven. The values are algebraic constraints, not probabilities measuring belief.
哲学上,表和模型强调表征情形,规则强调推理的使用;它们分别激发 representationalism 与 inferentialism。可靠性/完全性连接两种工具,不单独证明哪一种意义理论正确。Philosophically, models emphasise represented situations and rules emphasise inferential use, motivating representationalism and inferentialism respectively. Soundness and completeness connect tools; they do not by themselves settle the correct theory of meaning.
轮到你:迁移练习Your turn: transfer exercise
原创:用一个赋值反驳 p→q ⊨ q→p,再说明为什么 p→q,¬q ⊨ ¬p 不受反驳。Original: refute p→q ⊨ q→p with one valuation, then explain why p→q,¬q ⊨ ¬p survives.
先看提示Show a hint
反例必须针对每个具体论证的全部前提。A counterexample must satisfy all premises of the particular argument.
展开完整解答Reveal the complete solution
取 p=0,q=1,前提真而倒置条件句假。第二题中 ¬q 真要求 q=0;若 p=1 则 p→q 假,所以当前提都真必有 p=0,¬p 真。有效。Take p=0,q=1: the premise is true and its converse false. In the second argument ¬q requires q=0; p=1 would falsify p→q. Thus true premises force p=0, making ¬p true. It is valid.
原件与范围:1463457:slides 2–42; 1463459:pp1–2 Q1–3; 1463460:released solutions; 1463492:pp2–4 H3 table and soundness taskOriginal sources and scope: 1463457:slides 2–42; 1463459:pp1–2 Q1–3; 1463460:released solutions; 1463492:pp2–4 H3 table and soundness task
可能世界:用模型图把大题算完Possible worlds: solve whole problems with models
真值表每一行只问“这一个情形里真假如何”。现在你会遇到“本来可能怎样”“无论怎样都如此”。这时要比较多个可能情形。可能世界不是已经发现的平行宇宙,而是把相关事实安排成一种可能情形的模型点。A truth-table row evaluates one situation. Claims about what could have happened or what must happen compare situations. A possible world here is a point representing a possible arrangement of relevant facts, not a discovered parallel universe.
先学会读两个符号Read the two new symbols
□A 读作“必然 A”,◇A 读作“可能 A”。先用 S5 的简单模型:W 是非空世界集合,每个世界都检查 W 中的所有世界。V(p,w) 是原子 p 在 w 的真假。复合句在同一个世界按布尔规则算;遇到 □ 或 ◇ 才跨世界。Read □A as necessarily A and ◇A as possibly A. In simple S5 models W is nonempty, and every world checks all of W. V(p,w) is the truth value of p at w. Boolean connectives stay at the current world; □ and ◇ move evaluation across worlds.
日常直觉:班里“有人会游泳”和“有人会弹琴”,可能说的是不同人,不能合成“有人两样都会”。把“人”换成“世界”,就是第一道大题。类比只帮助理解“存在”,不是把世界真的当人。Someone in a class swims and someone plays piano need not be the same person. Replacing people with worlds yields our first problem. The analogy explains existential force; worlds are not literally people.
官方精选大题 A:可能的见证能否合并?Selected official problem A: can possible witnesses be combined?
判断 S5 有效性;无效时给完整反模型,有效时解释为什么没有反例:① ◇p, ◇q ⊨ ◇(p∧q)?② ◇p, □q ⊨ ◇(p∧q)?③ □(p→q) ⊨ (◇p→◇q)?Determine S5 validity. Give a complete countermodel if invalid and explain why no counterexample exists if valid: (1) ◇p, ◇q ⊨ ◇(p∧q)? (2) ◇p, □q ⊨ ◇(p∧q)? (3) □(p→q) ⊨ (◇p→◇q)?
已知是 ⊨ 左边前提,所求是右边结论。开始时要求结论假、全部前提真。这不是猜答案,而是在列出“反例必须满足的条件”。The premises are left of ⊨ and the conclusion right. Start by requiring a false conclusion and all true premises. This specifies exactly what a counterexample must satisfy.
① 把两个见证分开,再逐格验真1. Separate the witnesses, then check every cell
◇p 要求一个 p 世界;◇q 要求一个 q 世界;要让 ◇(p∧q) 假,任何世界都不能同时有 p、q。取 W={u,v},u 中 p 真 q 假,v 中 p 假 q 真。简单 S5 无需另写 R,所有世界相互可见。◇p needs a p-world, ◇q a q-world, and falsifying ◇(p∧q) forbids both at any world. Let W={u,v}, with p true and q false at u, reversed at v. Simple S5 needs no separate R: all worlds see all worlds.
检查点World | p | q | p∧q | ◇p | ◇q | ◇(p∧q) |
|---|---|---|---|---|---|---|
| u | 1 | 0 | 0 | 1 | 1 | 0 |
| v | 0 | 1 | 0 | 1 | 1 | 0 |
p∧q 列逐行检查“两格都为1吗”,结果全0。因此最右列全0;◇p 看到 u 的1,◇q 看到 v 的1,所以两列全1。在 u 前提全真、结论假,反例完成。一个世界做不到:若两个存在要求都由它满足,它就同时有 p、q。For p∧q ask on each row whether both cells are 1: both results are 0. Hence the last column is 0. ◇p sees the 1 at u and ◇q the 1 at v, so both columns are 1. At u the premises are true and conclusion false. A one-world model cannot work: both existential requirements would force p and q together.
② 把一个 ◇ 换成 □,答案为什么改变?2. Why does replacing one ◇ by □ change the result?
步骤Step | 做什么Action | 为何成立Reason |
|---|---|---|
| 1 | 任取使 ◇p、□q 真的检查点 w。Take any w satisfying ◇p and □q. | 有效性必须覆盖任意模型。Validity concerns every model. |
| 2 | 选一个 p 真的见证 u。Choose a p-witness u. | ◇ 的定义。Definition of ◇. |
| 3 | 同一个 u 里 q 也真。q is true at the same u. | □q 覆盖全部世界,包括 u。□q covers every world, including u. |
| 4 | u 有 p∧q,故 w 有 ◇(p∧q)。p∧q holds at u, so ◇(p∧q) at w. | 合取与可能性的定义。Conjunction and possibility. |
关键不是“□ 比 ◇ 厉害”,而是普遍条件覆盖了同一个见证。第三题也如此:若 ◇p 假,条件句真;否则选 p 见证 u,□(p→q) 保证 u 中 p→q 真,于是 q 真,故 ◇q 真。第三题有效。The key is not a slogan about □ being stronger: the universal condition covers the same witness. In the third problem, if ◇p is false its conditional is true. Otherwise select a p-witness u. □(p→q) gives p→q there, hence q, so ◇q. The third argument is valid.
官方精选大题 B:命题就是“哪些世界为真”Selected official problem B: propositions as truth sets
W={w,x,y};p 在 w,x 真,q 在 w,y 真,r 只在 w 真。画模型,列出全部八个世界子集,为每个子集找一个恰在其中为真的公式。W={w,x,y}; p is true at w,x, q at w,y, and r only at w. Draw the model, list all eight subsets, and give a formula true at exactly each subset.
目标集合Target set | 公式Formula | 计算理由Calculation |
|---|---|---|
| ∅ | p∧¬p | 无世界同时p且非p。No world has p and not-p. |
| {w} | r | r只在w真。r holds only at w. |
| {x} | p∧¬q | {w,x}∩{x}={x}。{w,x}∩{x}={x}. |
| {y} | ¬p | W去掉{w,x}。Remove {w,x} from W. |
| {w,x} | p | 直接读原子赋值。Read the atomic valuation. |
| {w,y} | q | 直接读原子赋值。Read the atomic valuation. |
| {x,y} | ¬r | W去掉{w}。Remove {w} from W. |
| W | p∨¬p | 每个点p非真即假。At each point p is true or false. |
3 个世界有 2³=8 个子集。这里的原子足以区别各世界,所以全部子集可定义;不要推广为“任意语言在任意模型都能定义每个子集”。Three worlds have 2³=8 subsets. Here the atoms distinguish the worlds sufficiently to define every subset. Do not generalise this to every language and model.
作用域:□ 到底管到哪里?Scope: how far does □ reach?
□(p→q) 禁止任何世界出现 p 真 q 假;p→□q 只有在当前世界 p 真时才要求 q 遍及全部世界。取 u 中 p 假,v 中 p 真 q 假:u 中 p→□q 真,但 □(p→q) 假。课程严格条件句是 □(p→q) 的缩写,不是新的布尔运算。□(p→q) forbids p true and q false anywhere. p→□q demands universal q only when p is true here. Let p be false at u and p true, q false at v: at u the second formula is true but the first false. The course’s strict conditional abbreviates □(p→q); it is not another Boolean operation.
“如果放手,球必然落下”须分清 d→□f 与 □(d→f):前者必然性管结果,后者管联系。另一个常错是 □(p∨q)⇒□p∨□q;上面的两世界反例每处至少一个真,却没有一个原子处处真。“If released, the ball must fall” distinguishes d→□f from □(d→f): necessity governs the result or the connection. Another trap is □(p∨q)⇒□p∨□q. Our two-world model has at least one true at every point, but neither atom true everywhere.
轮到你:迁移练习Your turn: transfer exercise
原创变式:◇p,◇q ⊨ □(p∨q) 吗?构造最少世界反例并验算。Original variant: does ◇p,◇q entail □(p∨q)? Construct and verify a smallest countermodel.
先看提示Show a hint
两个 ◇ 不要求两个不同见证。Two ◇ claims do not require distinct witnesses.
展开完整解答Reveal the complete solution
无效。u 中 p=q=1,v 中 p=q=0。两个 ◇ 都由 u 见证;v 使 p∨q 假,故 □(p∨q) 假。一个世界若满足两前提必使 p=q=1,也使结论真,所以两世界最少。Invalid. Set p=q=1 at u and p=q=0 at v. Both possibilities have witness u, but v falsifies p∨q and thus □(p∨q). One world satisfying the premises must have p=q=1 and makes the conclusion true, so two worlds are minimal.
来源:第4周课件逻辑页2–21;习题1、2(i)(ii)(v)、3。官方题及其解答已核对;解释和图为重新编写。Sources: Week 4 slides 2–21; exercises 1, 2(i)(ii)(v), 3. Official questions and released solutions checked; explanations and diagrams redrawn.
箭头改变了什么:S4、S5 与知识What arrows change: S4, S5 and knowledge
前一课让每个世界都能看到全部世界,但“从现在还可能发生什么”和“某个人的资料排除了什么”通常只看一部分。把可见范围画成箭头,就能解释为什么有的 S5 推理在 S4 失效。The previous lesson let every world see every world. What can still happen from now, or what an agent’s information excludes, generally ranges over only some worlds. Accessibility arrows explain why certain S5 inferences fail in S4.
可达关系 R 是世界间的有序对集合,wRv 表示从 w 检查 v。S4 要求自反(wRw)和传递(wRv 且 vRu 则 wRu);S5 的关系版本还要求对称,因而是等价关系。简单 S5 是全可达特例;一个等价类内部与简单 S5 计算一致。An accessibility relation R is a set of ordered pairs of worlds, with wRv meaning that w checks v. S4 requires reflexivity (wRw) and transitivity (wRv and vRu imply wRu). Relational S5 also requires symmetry, hence an equivalence relation. Universal simple S5 is a special case; evaluation within an equivalence class agrees with simple S5.
官方完整题:S4 中两个“可能”能否缩成一个?Complete official problem: can two possibilities collapse in S4?
证明 ◇◇A ⊨S4 ◇A。需要对任意模型证明有效,不能只验一个图。Prove ◇◇A ⊨S4 ◇A. Validity requires an arbitrary model, not checking a single diagram.
任取使 ◇◇A 真的世界 w。按外层 ◇,存在 u 满足 wRu 且 u 中 ◇A 真;按内层 ◇,存在 v 满足 uRv 且 v 中 A 真。传递性给 wRv,因此同一个 v 见证 w 中 ◇A。这里用到传递,不能用“◇ 就是可能,所以两个一样”的口号。Take arbitrary w satisfying ◇◇A. The outer ◇ gives u with wRu and ◇A at u. The inner ◇ gives v with uRv and A at v. Transitivity gives wRv, so v witnesses ◇A at w. The argument uses transitivity, not a slogan that repeated possibility is redundant.
官方完整题:可能必然不一定已经必然Complete official problem: possibly necessary need not be necessary
分别检查 ◇□p ⊨S5 □p 与 ◇□p ⊨S4 □p。有效者解释;无效者给全部 W、R、V 和指定检查点。Assess ◇□p ⊨S5 □p and ◇□p ⊨S4 □p. Explain validity or specify all of W,R,V and the evaluation world for a counterexample.
S5 有效:若某可达 u 中 □p 真,p 在整个等价类真;从 w 可达的世界与 u 的等价类相同,所以 w 中 □p 真。S4 无效:W={w,x};R={(w,w),(w,x),(x,x)};p 在 w 假、x 真。从 x 只能见 x,故 □p 在 x 真;w 看到 x,故 ◇□p 在 w 真;但 w 看到 p 假的自身,故 □p 在 w 假。S5 is valid: □p at an accessible u makes p true throughout the equivalence class, which is also w’s accessible class. In S4 let W={w,x}, R={(w,w),(w,x),(x,x)}, with p false at w and true at x. x sees only itself, making □p true there. w sees x, making ◇□p true at w, but sees its own false p, making □p false at w.
世界World | p | □p | ◇□p | ◇p | □◇p |
|---|---|---|---|---|---|
| w | 0 | 0 | 1 | 1 | 1 |
| x | 1 | 1 | 1 | 1 | 1 |
同一习题还有 ◇□A ⊨ □◇A:在 S5 有效,因为见证世界从每个同类点都可达。在 S4 用三世界分叉反驳:W={w,x,y},R 仅全部自环及 wRx,wRy;p 只在 x 真。w 的 ◇□p 真;y 只见 p 假的自身,所以 w 的 □◇p 假。两世界链上刚才的表不能反驳这个不同结论。The sheet also tests ◇□A ⊨ □◇A. It is S5-valid because every class member sees the witness. In S4 use a fork: W={w,x,y}, R consists of all self-loops plus wRx,wRy, and p holds only at x. At w, ◇□p is true, but y sees only its false p, so □◇p at w is false. The previous two-world table does not refute this different conclusion.
另一个官方 S5 有效式是 □(□A→B)∨□(□B→A)。若两项都假,则有 x 中 □A 真 B 假,以及 y 中 □B 真 A 假。S5 下 x 中 □A 强制 y 中 A 真,立即冲突。S4 则用分叉 w→x,w→y 与全部自环:x 中 A真B假,y 中 A假B真,w 中两原子任意;两个分支分别令一个方框假,所以整个析取在 w 假。Another official S5 validity is □(□A→B)∨□(□B→A). If both disjuncts were false, some x would have □A and ¬B, and some y would have □B and ¬A. In S5, □A at x forces A at y, a contradiction. In S4 use a reflexive fork w→x,w→y: x has A true,B false and y A false,B true, with arbitrary atoms at w. Each branch falsifies a different boxed disjunct, so the whole disjunction is false at w.
知识模型:每个人有自己的可达关系Epistemic models: each agent has a relation
KₐA 表示按 a 的资料 A 必真。Rₐ 连接 a 不能区分的世界,课程用等价关系;b 可有不同 Rᵦ。原创例:世界 u=(p,q),v=(p,¬q),z=(¬p,¬q)。a 的类是 {u,v}、{z},b 的类是 {u}、{v,z}。在 v,Kₐp 真但 Kᵦp 假;Kᵦ¬q 真但 Kₐ¬q 假。这不是事实矛盾,而是资料不同。KₐA means A must be true given a’s information. Rₐ relates worlds a cannot distinguish and is an equivalence relation in this course; b may have a different relation. Original example: u=(p,q), v=(p,¬q), z=(¬p,¬q). a’s classes are {u,v},{z}; b’s are {u},{v,z}. At v, Kₐp is true but Kᵦp false, while Kᵦ¬q is true but Kₐ¬q false. Different information, not inconsistent facts, explains this.
同一个 K 有正、负内省,但不同人的 K 不能随意交换。模型还假设逻辑全知:有效式人人知道,知道 A 且 A 蕴涵 B 就知道 B。实际人会算错、不会算;这个理想化不是经验心理学。Each K has positive and negative introspection, but operators for different agents cannot be exchanged freely. The model also idealises logical omniscience: agents know validities and know consequences of what they know. Real people may fail to compute a consequence; the model is not empirical psychology.
轮到你:迁移练习Your turn: transfer exercise
原创:给一个 S4 反模型使 p→□◇p 假,并说明加回哪条边会破坏反例。Original: give an S4 countermodel to p→□◇p, and state which added edge destroys it.
先看提示Show a hint
□◇p 假需要一个可达点在那里连 p 都不可能。Falsifying □◇p requires an accessible point where p is not even possible.
展开完整解答Reveal the complete solution
W={w,x},R 有 wRw,wRx,xRx;p 只在 w 真。x 没有可达 p 世界,所以 x 中 ◇p 假,w 中 □◇p 假,且 w 中 p 真。补 xRw 后,x 也见 p 世界,于是反例消失,关系成为全可达。Use W={w,x}, R={wRw,wRx,xRx}, with p true only at w. x has no accessible p-world, so ◇p is false at x, making □◇p false at w while p is true. Adding xRw lets x see a p-world, destroys the counterexample and makes the relation universal.
来源:1463464 第22–30逻辑页;1463466 第4题;1463468 已发布解答。官方题的本页计算采用明确列出的更小反模型,解释为作者重写。Sources: 1463464 slides 22–30; 1463466 Q4; 1463468 released solutions. Where smaller countermodels are given, the computations and explanation are authored here.
实际、必然与二维坐标Actuality, necessity and two coordinates
“实际是真的”不等于“必然是真的”。再进一步,“无论哪种情形被当成实际都如此”,又不同于“保持实际世界不动,在别的世界评估”。二维模型给两个问题各一条坐标轴。“Actually true” does not mean “necessarily true”. Moreover, varying which world is considered actual differs from holding actuality fixed while evaluating other worlds. A two-dimensional model gives these questions separate coordinates.
先固定实际点,再放开第二坐标First fix actuality, then vary the second coordinate
实际性模型 ⟨W,g,V⟩ 中 g 是指定实际世界,@A 在任意 w 的真值就是 A 在 g 的真值。因此 @A→□@A 有效,但 p→□p 无效。本页用 @ 表示 actuality(原课件写 A),避免和任意公式字母 A 混淆。In an actuality model ⟨W,g,V⟩, g is the designated actual world. @A at any w takes A’s value at g. Thus @A→□@A is valid, whereas p→□p is not. This page writes @ for actuality (A in the original slides), distinguishing it from the metavariable A.
官方完整大题:两个近似结论只有一个有效Complete official problem: only one of two similar conclusions follows
判断 S5A 中 (i) ◇(p∧@q) ⊨ @p∧◇q;(ii) ◇(p∧@q) ⊨ ◇p∧@q。无效给模型,有效给理由。In S5A assess (i) ◇(p∧@q) ⊨ @p∧◇q; (ii) ◇(p∧@q) ⊨ ◇p∧@q. Supply a countermodel or a validity argument.
(i) 无效:W={g,u},实际点 g 中 p=0,q=1,u 中 p=1,q=0;全可达。因为 g 中 q 真,两个点的 @q 都真,u 使 p∧@q 真,所以前提真;@p 却在所有点假,结论假。(ii) 有效:前提给一个 u 满足 p 且 @q;u 的 p 见证原检查点的 ◇p;u 的 @q 说明实际点 q 真,所以原检查点的 @q 也真。(i) Invalid: W={g,u}, actual g has p=0,q=1, and u has p=1,q=0; accessibility is universal. @q is true at both points because q holds at g. Thus u witnesses p∧@q and the premise is true. But @p is false everywhere, falsifying the conclusion. (ii) Valid: the premise supplies u with p and @q. Its p witnesses ◇p at the original point; its @q means q is true actually, so @q also holds at the original point.
二维定义:先写坐标,再移动Two-dimensional definitions: write the coordinates before moving
V(A,w,v) 中 w 是正在评估的世界,v 是当作实际的世界。原子只看 w。□ 改第一坐标、固定第二;@ 把两坐标都移到原第二坐标;F 改第二、固定第一;† 把两坐标都移到原第一坐标。In V(A,w,v), w is the evaluation world and v the world considered actual. Atoms depend only on w. □ varies the first coordinate while holding the second fixed; @ sends both coordinates to the old second; F varies the second holding the first fixed; † sends both to the old first.
官方完整二维题:填满九个检查点Complete official two-dimensional problem: evaluate all nine points
W={w,x,y};p 在 w,x 真、y 假;q 在 w 假、x,y 真。画模型并在各检查点计算 @p、Fq、†p、†(p∨q)。下表完整给出九对坐标,不把“在各世界”误当只有三个对角点。W={w,x,y}; p is true at w,x and false at y; q is false at w and true at x,y. Draw the model and evaluate @p,Fq,†p,†(p∨q) at every point. The table lists all nine coordinate pairs, rather than confusing “each world” with only the three diagonal points.
评估点Evaluation | 实际点Actuality | @p | Fq | †p | †(p∨q) |
|---|---|---|---|---|---|
| w | w | 1 | 0 | 1 | 1 |
| x | w | 1 | 1 | 1 | 1 |
| y | w | 1 | 1 | 0 | 1 |
| w | x | 1 | 0 | 1 | 1 |
| x | x | 1 | 1 | 1 | 1 |
| y | x | 1 | 1 | 0 | 1 |
| w | y | 0 | 0 | 1 | 1 |
| x | y | 0 | 1 | 1 | 1 |
| y | y | 0 | 1 | 0 | 1 |
以 (y,w) 为例:@p 跳到 (w,w),p 真,值1;Fq 把第二坐标分别设 w,x,y,但原子 q 始终只看第一坐标 y,值全1;†p 跳到 (y,y),p 假,值0;†(p∨q) 在 (y,y) 因 q 真而为1。其他八行同样按定义计算。At (y,w), @p jumps to (w,w), where p is true, yielding 1. Fq ranges the second coordinate over w,x,y, but atomic q depends only on first-coordinate y, so all values are 1. †p jumps to (y,y), where p is false, yielding 0. †(p∨q) is 1 at (y,y) because q is true. The other eight rows follow the same definitions.
固定实际性 F@A 要求 A 在全部对角点真,等价于 □†A;它不是 □A。一般有效 ⊨DI 检查全部 (w,v),现实世界有效 ⊨RW 只检查 (w,w)。p→@p 在对角恒真但非一般有效;□(p→@p) 甚至不现实世界有效:实际 p 假、别处 p 真即可。必然性、先验可知性与分析性可借这些变化方式区分,但不能不加哲学解释就说某个算子等于现实中的知识能力。Fixed actuality F@A requires A on every diagonal point and is equivalent to □†A, not □A. General validity ⊨DI checks all pairs (w,v); real-world validity ⊨RW checks only (w,w). p→@p is true on the diagonal but not generally valid. □(p→@p) is not even real-world valid: let actual p be false but p true elsewhere. Necessity, a priori knowability and analyticity can be distinguished using these variations, without simply identifying a formal operator with a real epistemic ability.
轮到你:迁移练习Your turn: transfer exercise
原创:在上述九点模型中,F@p 与 □p 是否为真?@p 与 Fp 是否相同?Original: in the nine-point model, evaluate F@p and □p. Are @p and Fp the same?
先看提示Show a hint
原子没有实际性算子时不依赖第二坐标。Atoms without actuality operators do not depend on the second coordinate.
展开完整解答Reveal the complete solution
F@p=0,因为 y 对角的 p 假;□p=0,因为第一坐标 y 中 p 假。两者在此模型同值不构成普遍等价。@p 看第二坐标,Fp 看第一坐标;在 (y,w) 前者1、后者0,所以不同。F@p=0 because p is false on the y diagonal; □p=0 because p is false at first-coordinate y. Agreement here does not prove general equivalence. @p reads the second coordinate, Fp the first: at (y,w) their values are 1 and 0, respectively.
来源:1571499 第2–17逻辑页;1463471 第1–2题;1463473 第1–2页。九点表按课程双坐标定义重新计算。Sources: 1571499 slides 2–17; 1463471 Q1–2; 1463473 pp1–2. The nine-point table is recomputed from the course’s double-index definitions.
模态证明:每个方框都有边条件Modal proofs: every box has a side condition
如果能由眼前 p 直接推出 □p,任何偶然事实都会变成必然。模态证明的困难不在多写一个方框,而在限制哪些尚开放的假设允许跨世界搬运。If present p directly licensed □p, every contingent fact would become necessary. Modal proof is not merely adding a box: it restricts which open assumptions can be transported across worlds.
规则Rule | 课程中的用法Course formulation |
|---|---|
| □E | 由 □A 得 A,利用自反性。From □A infer A, using reflexivity. |
| ◇I | 由 A 得 ◇A,同样利用自反性。From A infer ◇A, likewise using reflexivity. |
| □I (S4) | 从 A 得 □A,前提 A 的所有尚开放依赖只能是 □B 或 ¬◇B。From A infer □A only when every open dependency of A has form □B or ¬◇B. |
| ◇E (S4) | 由 ◇A 与在临时 A 下得 ⊥ 的子证明得 ⊥,撤销该 A;子证明的其他开放依赖只能是 □B 或 ¬◇B。From ◇A and a subproof of ⊥ under temporary A infer ⊥, discharging that A; all other open dependencies of the subproof must be □B or ¬◇B. |
S5 的修改S5 modification | 把以上边条件放宽为 □B、◇B、¬◇B、¬□B;其他规则不变。Permit □B,◇B,¬◇B,¬□B in those side conditions; retain the other rules. |
“necessitive”指 □B、¬◇B;S5 的“modal formula”还包括 ◇B、¬□B。这些是课程指定的句法形状,不是“公式里任何位置出现模态符号就算”。◇E 的矛盾结论版本已足够;不要误读成随意从 ◇A 得 A。The course calls □B and ¬◇B necessitives; its S5 modal formulas additionally include ◇B and ¬□B. These are specified syntactic forms, not any formula containing a modal symbol somewhere. The contradiction-conclusion version of ◇E suffices. It does not license inferring A directly from ◇A.
官方完整证明题:把两个必要条件合并Complete official proof problem: combine necessities
在 S4 从 □p、□q 证明 □(p∧q)。最后一步要列出依赖并检查边条件。In S4 prove □(p∧q) from □p,□q. Record dependencies and check the final side condition.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | □p | 前提Premise | 1 |
| 2 | □q | 前提Premise | 2 |
| 3 | p | □E,1□E, 1 | 1 |
| 4 | q | □E,2□E, 2 | 2 |
| 5 | p∧q | ∧I,3、4∧I, 3,4 | 1,2 |
| 6 | □(p∧q) | □I,5;依赖1、2都是 necessitives□I, 5; dependencies 1,2 are necessitives | 1,2 |
第5行本身不是方框句,仍可用 □I,因为限制看的是支持第5行的开放假设1、2,不是要求第5行有哪种形状。反之,若把第1行换 p,最后一行就非法;S4 模型 w→x、p 在 w 真 x 假、q 处处真,会使 p、□q 真而 □(p∧q) 假。Line 5 need not itself be boxed: □I restricts its open supporting assumptions 1,2. Conversely, replacing premise □p by p invalidates the last inference. An S4 model w→x with p true at w and false at x and q everywhere true satisfies p,□q at w but falsifies □(p∧q).
官方另两题:◇◇p、¬◇p 推矛盾,再推出 ◇pTwo further official tasks: contradiction from ◇◇p,¬◇p, then derive ◇p
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | ◇◇p | 给定前提Given premise | 1 |
| 2 | ¬◇p | 给定前提;是 necessitiveGiven premise; a necessitive | 2 |
| 3 | ◇p | 临时见证假设 αTemporary witness assumption α | 3 |
| 4 | ⊥ | ¬E,2、3¬E, 2,3 | 2,3 |
| 5 | ⊥ | ◇E,1、3–4;撤 α;其他依赖仅2◇E, 1,3–4; discharge α; other dependency only 2 | 1,2 |
这先完成题(ii)。题(iii) 只给 ◇◇p:把上面第2行改为临时假设 β,得到第5行 ⊥ 后用 ¬I 撤 β 得 ¬¬◇p,再 DNE 得 ◇p。◇E 时 ¬◇p 虽然临时开放,仍是允许形状,所以合法。不是直接把两个菱形当文字重复删掉。This completes (ii). For (iii), with sole premise ◇◇p, make line 2 a temporary assumption β. After line 5 discharge β by ¬I to obtain ¬¬◇p, then use DNE to get ◇p. Although ¬◇p is temporarily open at ◇E, its permitted shape makes the inference legal. This is not deletion of repeated diamond symbols.
等值替换为什么有时失败?Why can replacement of equivalents fail?
上下文 C(p) 是一个含指定公式位置的句式,如 □p。外延上下文只看当前位置真假;内涵上下文可能看其他世界。A↔B 在此处真不保证 □A↔□B 在此处真。原创模型:w 中 p=q=1,x 中 p=1,q=0;全可达。w 中 p↔q 真,但 □p 真、□q 假。A context C(p) is a sentence pattern with a designated formula position, such as □p. Extensional contexts depend only on truth here; intensional contexts may inspect other worlds. A↔B being true here does not force □A↔□B true here. Original countermodel: w has p=q=1, x has p=1,q=0, with universal accessibility. At w, p↔q is true, but □p true and □q false.
同余性说的是若 ⊢ A↔B(无开放前提的定理),则 ⊢ □A↔□B;不是有局部前提 A↔B 就能替换。若给 □(A↔B),可在每个可达世界取出等值,推出 □A↔□B。S5 模态串还可用对偶 ¬□A↔◇¬A、¬◇A↔□¬A 和 □□A↔□A、◇□A↔□A、□◇A↔◇A、◇◇A↔◇A 化简;这些缩减不能原封不动移去 S4。Congruentiality says that if ⊢A↔B is a theorem without open premises, then ⊢□A↔□B. It is not replacement using a merely local A↔B premise. Given □(A↔B), equivalence holds at every accessible world, allowing □A↔□B. S5 modal strings simplify using dualities ¬□A↔◇¬A, ¬◇A↔□¬A and □□A↔□A, ◇□A↔□A, □◇A↔◇A, ◇◇A↔◇A. Not all these collapses transfer to S4.
模态元理论的桥梁The modal metatheory bridge
可靠性仍以证明归纳,新增步骤必须使用 R 的自反、传递及相应边条件。完全性把极大避免集当世界,定义 YRZ 当且仅当 Y 中每个 □B 都有 B∈Z,原子在 Y 真当且仅当属于 Y;证明真值引理后得反模型。S4 的 R 自反传递,S5 再对称。S5 关系模型的反例可限制在检查点的等价类,转成全可达模型。课程这些结果解释为什么语义反例与合法证明互斥且穷尽,但“没找到证明”仍不等于已经构造了反例。Soundness again uses induction on proofs, with new steps justified by reflexivity, transitivity and the relevant side conditions. Completeness treats maximal avoiding sets as worlds: YRZ iff every □B in Y has B∈Z, and an atom is true at Y iff it belongs to Y. A truth lemma then gives a countermodel. R is reflexive and transitive for S4, additionally symmetric for S5. Restricting an S5 relational countermodel to the evaluation point’s equivalence class yields a universal model. These results make countermodels and legitimate proofs mutually exclusive and exhaustive, without equating failure to find a proof with actually having a countermodel.
轮到你:迁移练习Your turn: transfer exercise
原创:由唯一前提 ◇p 用 □I 得 □◇p,在 S4 和 S5 哪个合法?Original: from sole premise ◇p, is □I to □◇p legal in S4 or S5?
先看提示Show a hint
先查全部开放依赖,再选系统的边条件表。First inspect all open dependencies, then the system’s side-condition list.
展开完整解答Reveal the complete solution
S5 合法,◇p 是允许的 modal formula;S4 非法,它不是 necessitive。S4 反例:w 有 p、x 无 p,R 有全部自环与 wRx。w 的 ◇p 真,但 x 的 ◇p 假,故 w 的 □◇p 假。Legal in S5, since ◇p is a permitted modal formula. Illegal in S4, where it is not a necessitive. Countermodel: p only at w, with self-loops and wRx. ◇p is true at w and false at x, so □◇p is false at w.
来源:1571499 第18–50逻辑页(特别第24、29页边条件,已视觉核对);1463471 第3题;1463473 第2页。行号证明与说明按原规则重写。Sources: 1571499 slides 18–50, especially side conditions on slides 24 and 29 checked visually; 1463471 Q3; 1463473 p2. Numbered proofs and explanations are rewritten using those rules.
每个人、某个人与不会捕获的代入Everyone, someone and capture-free substitution
命题 p 把“每个人都爱某个人”整句压成一个原子,无法解释“每个”“某个”顺序的差别。谓词逻辑把句子拆成人、性质、关系和量词,使“人人各有一个”与“大家共用一个”能够被区分。Propositional p treats “Everyone loves someone” as an indivisible atom. Predicate logic separates objects, properties, relations and quantifiers, distinguishing a potentially different object for each person from one shared object for everyone.
从名字到变量,再到量词From names to variables to quantifiers
名字 a、b、c 指定对象;变量 x、y、z 的值由赋值选择;二者合称项。一元谓词 F 表性质,二元谓词 L 表有方向的关系,arity 是它需要几个项。Fx、Lxy 是原子公式;零元谓词扮演命题原子 p。∀xA 意为每个对象代入 x 都使 A 真,∃xA 意为至少一个对象使 A 真;课程论域非空。Names a,b,c designate objects; variables x,y,z get values from an assignment. Both are terms. A unary predicate F represents a property; a binary L a directed relation; arity is the number of terms required. Fx and Lxy are atomic formulas, while a zero-place predicate plays the role of propositional p. ∀xA requires A for every object assigned to x; ∃xA requires at least one. The course uses nonempty domains.
自然语言Ordinary language | 形式化及理由Formalisation and reason |
|---|---|
所有足球运动员都是两足者。All footballers are bipeds. | ∀x(Fx→Bx);不是 ∀x(Fx∧Bx),后者说人人都是球员。∀x(Fx→Bx), not ∀x(Fx∧Bx), which says everyone is a footballer. |
有足球运动员是两足者。Some footballer is a biped. | ∃x(Fx∧Bx);不能用 ∃x(Fx→Bx),非球员也会使条件句真。∃x(Fx∧Bx), not ∃x(Fx→Bx), since a non-footballer makes that conditional true. |
人人爱某个人。Everyone loves someone. | ∀x∃yLxy;见证 y 可以依赖 x。∀x∃yLxy; the witness y can depend on x. |
有个人被所有人爱。Someone is loved by everyone. | ∃y∀xLxy;同一个 y 必须适合所有 x。∃y∀xLxy; the same y must work for every x. |
量词只约束其作用域中的自由出现项。∀xFx→Gx 的主联结词是 →,右侧 x 自由;∀x(Fx→Gx) 则整个闭合。自由变量集合 fv 在二元联结处取并集,在 ∀x/∃x 处删去 x;fv 为空称闭公式(句子),否则开放公式。一个变量可在同一公式中既有绑定出现,也有自由出现。A quantifier binds free occurrences only inside its scope. ∀xFx→Gx has main connective → and free x on the right; ∀x(Fx→Gx) is closed. Free-variable sets take unions at binary connectives and remove x at ∀x/∃x. An empty fv gives a closed formula or sentence; otherwise the formula is open. One variable can have both bound and free occurrences in one formula.
代入不是搜索替换Substitution is not search-and-replace
A[x/t] 表示只把 A 中自由的 x 换成项 t。遇到 ∀x 或 ∃x 就停在该作用域外;绑定 x 不换。若 t 是变量 y,还须保证它不会落入 ∀y 或 ∃y 的捕获范围,这叫 t 对 x 在 A 中自由可代入。名字总可代入。A[x/t] replaces only free occurrences of x in A by term t. At ∀x or ∃x, do not replace the bound occurrences within that scope. If t is variable y, it must not become captured by ∀y or ∃y; this is the “free for x in A” condition. Names are always free for substitution.
官方完整代入题Complete official substitution problem
计算 (iv) (∃xFx∧Gx)[x/y];(v) ((Fx→∃y(Lxy∧(Gz∨∀xHx)))[x/z])[z/a]。并解释 (∀x(Fx→Lxy))[y/x] 有什么问题。方括号记号始终是“把斜线前变量换成斜线后项”。Compute (iv) (∃xFx∧Gx)[x/y]; (v) ((Fx→∃y(Lxy∧(Gz∨∀xHx)))[x/z])[z/a]. Explain the problem with (∀x(Fx→Lxy))[y/x]. The notation replaces the variable before the slash by the term after it.
(iv) 左支 ∃xFx 的 x 被绑定,不换;右支 Gx 的 x 自由,换成 y。结果 (∃xFx)∧Gy。注意不是 ∃yFy∧Gy:改绑定变量名称是另一种有条件的操作。(iv) x is bound in ∃xFx, so leave that branch alone; x in Gx is free, giving (∃xFx)∧Gy. This is not ∃yFy∧Gy: renaming a bound variable is a different, conditional operation.
(v) 第一轮只换自由 x:Fx 与 Lxy 改变,∀xHx 不变;原有自由 z 也先不变。第二轮把所有自由 z(包括第一轮新引入的 z)换 a,所以 Fz、Lzy、Gz 分别变 Fa、Lay、Ga。顺序很重要,不能把两个步骤当成对原式的同时替换。(v) First replace free x in Fx and Lxy, leaving ∀xHx and the existing free z untouched. Then replace every free z, including those introduced in the first round, by a: Fz,Lzy,Gz become Fa,Lay,Ga. Order matters; this is not simultaneous substitution in the original formula.
最后一式不能直接代入:自由 y 在 ∀x 的范围内,换成 x 会成为绑定 x;结果 ∀x(Fx→Lxx) 改变含义。若确实需要相应实例,先把绑定 x 合法改名为新 z,得 ∀z(Fz→Lzy),再 [y/x] 得 ∀z(Fz→Lzx)。先改名的过程不等于声称原先被禁止的代入合法。The final substitution is not directly permitted: free y is inside ∀x, so replacing it by x captures it. ∀x(Fx→Lxx) changes the meaning. To form the intended instance, first rename bound x to fresh z, obtaining ∀z(Fz→Lzy), then substitute [y/x] to obtain ∀z(Fz→Lzx). This repair does not make the originally forbidden substitution legal.
轮到你:迁移练习Your turn: transfer exercise
原创:求 fv((∀xRxy)∧Fx),再计算 [x/a]。Original: find fv((∀xRxy)∧Fx), then perform [x/a].
先看提示Show a hint
把每一个出现项单独判断,不只看变量字母。Classify occurrences individually, not just variable letters.
展开完整解答Reveal the complete solution
自由变量为 {x,y};左支只有 y 自由,右支有 x 自由。代入得 (∀xRxy)∧Fa;左支绑定的 x 完全保留。The free-variable set is {x,y}: only y is free on the left, x on the right. Substitution yields (∀xRxy)∧Fa, preserving bound x throughout the left branch.
来源与边界:1463476:slides 2–18; 1463475:p1 Q1。第7–9周没有取得官方解答,以下解题为作者推导,不标作官方答案。Sources and boundaries: 1463476:slides 2–18; 1463475:p1 Q1. Official solutions for Weeks 7–9 were not obtained. The solutions below are author-derived, not an official key.
量词证明:任意对象不能偷偷变成指定对象Quantifier proofs: arbitrary objects are not chosen individuals
看到一个叫 a 的人有 F,不能就说所有人都有 F;知道有人有 F,也不能就断定你指定的 a 有 F。量词证明用“任意对象”和“临时见证”分别处理这两件事,边条件阻止偷换。One named object a having F does not establish that everything has F. Knowing that something has F does not establish it of your chosen a. Quantifier proofs distinguish an arbitrary object from a temporary witness; eigenvariable conditions prevent switching between them.
规则Rule | 操作与边条件Operation and side condition |
|---|---|
| ∀E | ∀xA(x) 得 A(t),t 必须自由可代入。From ∀xA(x) infer A(t), with t free for x. |
| ∃I | A(t) 得 ∃xA(x),同样须合法代入。From A(t) infer ∃xA(x), with a legitimate instance. |
| ∀I | A(a) 得 ∀xA(x):a 不得出现于结论或该行仍依赖的任何开放假设。From A(a) infer ∀xA(x): a occurs neither in the conclusion nor in any open assumption supporting A(a). |
| ∃E | 有 ∃xA(x);在新 a 的临时假设 A(a) 下得 B;撤 A(a) 得 B。a 不得出现在 B 或子证明的任何其他开放假设。Given ∃xA(x), derive B under temporary A(a) with fresh a; discharge A(a) to conclude B. a occurs neither in B nor any other open assumption of that subproof. |
这些条件针对实际依赖,不是整个纸面上出现过的所有名字。课程可用适合的变量作特征项;本页统一用全新的名字 a、b,便于逐行检查。CQ 表示加入量词规则的经典自然演绎,允许 DNE。The conditions concern actual dependencies, not every name ever written on the page. The course permits suitable terms as eigenvariables; this guide consistently uses fresh names a,b for clarity. CQ is classical natural deduction with quantifier rules and DNE.
官方完整大题:把存在见证搬进合取Complete official problem: move an existential witness into a conjunction
从唯一前提 p∧∃xFx,证明 ∃x(p∧Fx)。p 是零元命题,不能含临时见证名字。From the sole premise p∧∃xFx, prove ∃x(p∧Fx). p is a zero-place proposition, so it contains no temporary witness name.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | p∧∃xFx | 前提Premise | 1 |
| 2 | p | ∧E,1∧E, 1 | 1 |
| 3 | ∃xFx | ∧E,1∧E, 1 | 1 |
| 4 | Fa | 新名字 a;临时见证假设 αFresh a; temporary witness assumption α | 4 |
| 5 | p∧Fa | ∧I,2、4∧I, 2,4 | 1,4 |
| 6 | ∃x(p∧Fx) | ∃I,5∃I, 5 | 1,4 |
| 7 | ∃x(p∧Fx) | ∃E,3、4–6,撤 α∃E, 3,4–6; discharge α | 1 |
第6行把 a 藏回量词,才使第7行合法:最终结论不含 a,其他开放前提1也不含 a。若在第4行直接写“由 ∃xFx 得 Fa”而把 Fa 当永久前提,就没有归还见证,后续证明不成立。Line 6 removes a from the final claim by quantifying. Line 7 is legal because neither its conclusion nor the other open premise 1 contains a. Treating Fa as a permanent consequence of ∃xFx at line 4 would fail to discharge the temporary witness.
官方长题:传递且无自环推出非对称Official long problem: transitivity and no self-loops imply asymmetry
给定 T=∀x∀y∀z((Rxy∧Ryz)→Rxz) 与 N=¬∃xRxx,证明 ∀x∀y(Rxy→¬Ryx)。每一个实例化都写出,不省成一句“由传递性”。Given T=∀x∀y∀z((Rxy∧Ryz)→Rxz) and N=¬∃xRxx, prove ∀x∀y(Rxy→¬Ryx). Show each instantiation rather than merely saying “by transitivity”.
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | ∀x∀y∀z((Rxy∧Ryz)→Rxz) | 前提 TPremise T | 1 |
| 2 | ¬∃xRxx | 前提 NPremise N | 2 |
| 3 | Rab | 任意新 a,b;假设 αArbitrary fresh a,b; assumption α | 3 |
| 4 | Rba | 假设 βAssumption β | 4 |
| 5 | ∀y∀z((Ray∧Ryz)→Raz) | ∀E,1,x/a∀E, 1, x/a | 1 |
| 6 | ∀z((Rab∧Rbz)→Raz) | ∀E,5,y/b∀E, 5, y/b | 1 |
| 7 | (Rab∧Rba)→Raa | ∀E,6,z/a∀E, 6, z/a | 1 |
| 8 | Rab∧Rba | ∧I,3、4∧I, 3,4 | 3,4 |
| 9 | Raa | →E,7、8→E, 7,8 | 1,3,4 |
| 10 | ∃xRxx | ∃I,9∃I, 9 | 1,3,4 |
| 11 | ⊥ | ¬E,2、10¬E, 2,10 | 1,2,3,4 |
| 12 | ¬Rba | ¬I,撤 β¬I, discharge β | 1,2,3 |
| 13 | Rab→¬Rba | →I,撤 α→I, discharge α | 1,2 |
| 14 | ∀y(Ray→¬Rya) | ∀I,b 不在开放 T、N 中∀I; b absent from open T,N | 1,2 |
| 15 | ∀x∀y(Rxy→¬Ryx) | ∀I,a 不在开放 T、N 中∀I; a absent from open T,N | 1,2 |
先假设两个相反方向的边,是因为目标中先有 → 再有 ¬。传递性把 a→b→a 压成自环 Raa,与 N 冲突。必须在第13行撤销带 a,b 的假设后才可全称概括;若在第9行直接从 Raa 得 ∀xRxx,名字 a 仍在 Rab、Rba 依赖中,非法。Assume opposite edges because the target has an outer → and inner ¬. Transitivity collapses a→b→a to a self-loop Raa, contradicting N. Universal generalisation must wait until the assumptions containing a,b are discharged at line 13. Generalising Raa at line 9 would be illegal because a remains in dependencies Rab,Rba.
官方“这棵树是证明吗”三题的完整结构Full structure of the three official proof-checking tasks
树1:由 P=∀x(Fx∧∃y¬Fy) 用 ∀E 得 Fa∧∃y¬Fy,取 ∃y¬Fy;另在见证假设 ¬Fa 下,由同一 P 取 Fa,得 ⊥,最后 ∃E 撤 ¬Fa 得 ⊥。这是合法证明:子证明除 ¬Fa 外只有 P 开放,P 和结论 ⊥ 都无 a。它也确实表明 P 不可满足。Tree 1: from P=∀x(Fx∧∃y¬Fy), instantiate to Fa∧∃y¬Fy and extract ∃y¬Fy. Under witness assumption ¬Fa, instantiate P again to get Fa, derive ⊥, then use ∃E to discharge ¬Fa and conclude ⊥. It is legal: the subproof’s only other open premise is P, and neither P nor ⊥ contains a. It establishes that P is unsatisfiable.
树2:由 ∀x(Fx∨Gx) 得 Fa∨Ga;在 Fa 支直接 ∀I 得 ∀xFx,再 ∨I;在 Ga 支直接 ∀I 得 ∀xGx,再 ∨I;∨E 得 ∀xFx∨∀xGx。两个 ∀I 都非法:a 仍出现在该支假设 Fa 或 Ga 中。反例 D={0,1},F={0},G={1},前提真结论假。Tree 2: instantiate ∀x(Fx∨Gx) to Fa∨Ga. In the Fa branch generalise to ∀xFx, then introduce the disjunction; similarly infer ∀xGx in the Ga branch, then use ∨E for ∀xFx∨∀xGx. Both ∀I steps are illegal because a occurs in the branch assumption Fa or Ga. Countermodel: D={0,1}, F={0}, G={1}; premise true and conclusion false.
树3:前提 P=∀x(Fx∨Gx)、N=¬∃x(Gx∧¬Hx)。取 Fa∨Ga;Fa 支直接得 Fa∨Ha;Ga 支假设 ¬Ha,构造 Ga∧¬Ha,再 ∃I 与 N 冲突;撤 ¬Ha 得 ¬¬Ha,DNE 得 Ha,再得 Fa∨Ha;∨E 撤 Fa、Ga,最后 ∀I 得 ∀x(Fx∨Hx)。合法:最后的开放依赖仅 P、N,两者无 a;中途 Ga 支不允许单独 ∀I,但此树没这么做。Tree 3 has P=∀x(Fx∨Gx), N=¬∃x(Gx∧¬Hx). Instantiate Fa∨Ga. The Fa branch gives Fa∨Ha. In the Ga branch assume ¬Ha, build Ga∧¬Ha, use ∃I to contradict N, discharge ¬Ha for ¬¬Ha, apply DNE for Ha, and introduce Fa∨Ha. Use ∨E to discharge Fa,Ga, then ∀I for ∀x(Fx∨Hx). It is legal: only P,N remain open at ∀I, neither containing a. Generalising inside the Ga branch would fail, but this tree does not do that.
需要 DNE 的量词证明怎么开头?How do we start quantifier proofs requiring DNE?
官方题包括 ∀x(p∨Fx) 推 p∨∀xFx。先用经典排中 p∨¬p 分情况:p 支直接 ∨I;¬p 支任取新 a,由全称前提得 p∨Fa,p 分支与 ¬p 冲突后 ⊥E 得 Fa,Fa 分支原样得 Fa;∨E 后 Fa 仅依赖 ∀x(p∨Fx)、¬p,均无 a,于是 ∀I 得 ∀xFx,再 ∨I。最终撤 p、¬p 两支。排中是可用 DNE 推出的经典定理,不要在要求直觉主义的题中偷用。The official sheet includes ∀x(p∨Fx) ⊢ p∨∀xFx. Use classical excluded middle p∨¬p. The p case follows by ∨I. In the ¬p case take fresh a and instantiate p∨Fa. Its p branch contradicts ¬p and yields Fa by ⊥E; its Fa branch yields Fa directly. After ∨E, Fa depends only on ∀x(p∨Fx),¬p, neither containing a, so generalise to ∀xFx and introduce the target disjunction. Finally discharge the p,¬p cases. Excluded middle is derivable using DNE, but cannot be smuggled into an intuitionistic problem.
轮到你:迁移练习Your turn: transfer exercise
官方困难题(作者推导):无前提证明 ∃x(Fx→∀yFy),假定非空论域、经典规则。Official difficult problem, author-derived: prove ∃x(Fx→∀yFy) without premises, using a nonempty domain and classical rules.
先看提示Show a hint
区分“全部有 F”和“至少有一个没有 F”两种经典情况。Split classically into everything being F or some object not being F.
展开完整解答Reveal the complete solution
令 U=∀yFy,用排中 U∨¬U。U 支取新 a,在临时 Fa 下重用 U,撤 Fa 得 Fa→U,∃I 得目标。¬U 支用经典量词对偶 ¬∀yFy⇒∃y¬Fy,取临时见证 ¬Fb;在 Fb 下得 ⊥,⊥E 得 U,撤 Fb 得 Fb→U,再 ∃I 得目标;∃E 撤 ¬Fb。最终 ∨E 撤两支。每次 ∃E 的结论都是无 b 的目标,不是 Fb→U。Let U=∀yFy and use excluded middle U∨¬U. In the U case choose fresh a, assume Fa, reuse U, discharge Fa to infer Fa→U, and apply ∃I. In the ¬U case use classical quantifier duality ¬∀yFy⇒∃y¬Fy. Assume temporary witness ¬Fb; under Fb derive ⊥ and hence U, discharge Fb to get Fb→U, then apply ∃I. Discharge ¬Fb by ∃E, and finally the two cases by ∨E. Each ∃E conclusion is the b-free target, not Fb→U.
对偶的可展开推导:在 ¬∀yFy 下假设 ¬∃y¬Fy。任取新 c;若 ¬Fc,则 ∃y¬Fy 与新假设冲突,故 ¬¬Fc,DNE 得 Fc;∀I 得 ∀yFy,与外层 ¬∀yFy 冲突。撤 ¬∃y¬Fy 得 ¬¬∃y¬Fy,再 DNE。Expanded duality derivation: under ¬∀yFy assume ¬∃y¬Fy. Take fresh c. Assuming ¬Fc gives ∃y¬Fy, a contradiction; infer ¬¬Fc and by DNE Fc. Generalise to ∀yFy, contradicting the outer premise. Discharge ¬∃y¬Fy to get ¬¬∃y¬Fy, then use DNE.
来源与边界:1463476:slides 19–30; 1463475:pp1–2 Q2–4。第7–9周没有取得官方解答,以下解题为作者推导,不标作官方答案。Sources and boundaries: 1463476:slides 19–30; 1463475:pp1–2 Q2–4. Official solutions for Weeks 7–9 were not obtained. The solutions below are author-derived, not an official key.
官方剩余挑战题:排除两种断裂,接上性质链Remaining official challenge: link properties by excluding both failures
完整题:从 P=¬∃x(Fx∧¬Gx)、Q=¬∃x(Gx∧¬Hx) 证明 ∀x(¬Fx∨Hx)。这是作者推导。任取新 a,用排中 Fa∨¬Fa;¬Fa 支直接 ∨I。Fa 支先假设 ¬Ga,构造 Fa∧¬Ga,用 ∃I 与 P 矛盾,撤假设得 ¬¬Ga,DNE 得 Ga;再假设 ¬Ha,构造 Ga∧¬Ha,用 ∃I 与 Q 矛盾,撤得 ¬¬Ha,DNE 得 Ha,再 ∨I 得 ¬Fa∨Ha。∨E 撤 Fa、¬Fa 两支后,开放依赖仅 P、Q,均无 a,所以 ∀I 得目标。Full task: from P=¬∃x(Fx∧¬Gx), Q=¬∃x(Gx∧¬Hx), prove ∀x(¬Fx∨Hx). Author-derived solution: take fresh a and split on Fa∨¬Fa. The ¬Fa case gives the target disjunction by ∨I. In the Fa case, assume ¬Ga, form Fa∧¬Ga, introduce ∃ and contradict P; discharge to get ¬¬Ga and use DNE for Ga. Next assume ¬Ha, form Ga∧¬Ha, introduce ∃ and contradict Q; discharge for ¬¬Ha, use DNE for Ha, and introduce ¬Fa∨Ha. After ∨E discharges the Fa,¬Fa cases, only P,Q remain open, neither containing a. Apply ∀I to finish.
把量词放进模型:见证、关系表与无限论域Quantifiers in models: witnesses, relation tables and infinite domains
量词模型把“有什么”和“哪些性质/关系成立”分开。列出论域还不够:要给每个名字的指称、每个谓词的解释,若公式有自由变量,还要给变量赋值。A predicate model separates what exists from which properties and relations hold. Listing a domain alone is insufficient: interpret every name and predicate, and assign values to free variables.
M=⟨D,I⟩,D 非空;I(a)∈D;n 元谓词 F 的解释是 Dⁿ 中哪些有序元组为真(等价地,一个到0、1的函数)。赋值 v:Var→D 给变量对象。v[x↦d] 只改 x,别的变量保留。名字用 I,变量用 v,不能把变量永久当名字。In M=⟨D,I⟩, D is nonempty, I(a)∈D, and an n-place predicate interprets which ordered tuples in Dⁿ are true, equivalently a function into {0,1}. An assignment v:Var→D supplies variable values; v[x↦d] changes only x. Names use I and variables use v; a variable is not a permanently fixed name.
官方完整题:两个存在前提能否共用一个见证?Complete official problem: can existential premises share a witness?
分别判断 (i) ∃xFx,∃xGx ⊨ ∃x(Fx∧Gx);(ii) ∃xFx,∀xGx ⊨ ∃x(Fx∧Gx)。各给模型或任意模型论证。Assess (i) ∃xFx,∃xGx ⊨ ∃x(Fx∧Gx); (ii) ∃xFx,∀xGx ⊨ ∃x(Fx∧Gx), providing a countermodel or arbitrary-model argument.
对象Object | F | G | F∧G |
|---|---|---|---|
| 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 0 |
(i) 上表就是完整反模型 D={0,1}、F={0}、G={1};涉及的公式无名字、无自由变量,名字可任意解释,赋值不影响结果。F、G 分别有见证,但没有共同见证。(ii) 有效:任取模型,先从 ∃xFx 选 d;∀xGx 保证同一 d 也有 G;因此 d 满足 F∧G,结论真。与模态 ◇p、□q 的见证结构完全相同,但这里量化的是对象而非世界。(i) The table specifies D={0,1}, F={0}, G={1}. The formulas have no names or free variables, so names can be interpreted arbitrarily and assignments do not affect them. Each property has a witness but no common witness. (ii) Valid: in any model choose d witnessing ∃xFx. ∀xGx also gives G of that same d, so d satisfies F∧G. This matches the witness pattern of modal ◇p,□q, but quantifies over objects rather than worlds.
官方量词顺序题:每人有对象,不代表每个对象被涉及Official quantifier-order problem: having an outgoing relation is not having an incoming one
题目是 ∀x∃yRxy ⊨ ∀y∃xRxy 吗?注意结论不是 ∃y∀xRxy;两题都容易混。取 D={0,1},R={(0,0),(1,0)}。关系表中每行至少一个1,所以前提真;列1全0,y=1 没有任何 x 与它成 R,故结论假。The sheet asks whether ∀x∃yRxy entails ∀y∃xRxy. The conclusion is not ∃y∀xRxy; these are easily confused. Use D={0,1}, R={(0,0),(1,0)}. Every row contains 1, so the premise is true. Column 1 is entirely 0, so y=1 has no incoming R and the conclusion is false.
R:行 x,列 yR: row x, column y | 0 | 1 |
|---|---|---|
| 0 | 1 | 0 |
| 1 | 1 | 0 |
课件中的另一题 ∀x∃yRxy ⊨ ∃y∀xRxy 则用 R={(0,0),(1,1)} 反驳:每行有1,但没有哪一列全1。这两个反例不能混用:刚才“全都指向0”的关系恰好满足存在共同目标。For the different slide example ∀x∃yRxy ⊨ ∃y∀xRxy use R={(0,0),(1,1)}: each row has 1 but no column consists entirely of 1s. Do not conflate the countermodels: the previous “all point to 0” relation actually has a shared target.
官方完整自然数模型大题Complete official natural-number model problem
论域 D={0,1,2,…}。O 表“是奇数”;Sxy 表 x<y;名字 aₙ 指数字 n。评估以下全部公式,并给真假理由。注意自然数包括0,严格小于不含等于。Domain D={0,1,2,…}. O means odd, Sxy means x<y, and name aₙ denotes n. Evaluate all the following formulas, giving reasons. Naturals include 0 and strict inequality excludes equality.
题目公式Formula | 真值Value | 见证或反例Witness or refutation |
|---|---|---|
| Oa₁; Oa₂; Sa₁a₁; Sa₁a₂; Sa₂a₁ | 1; 0; 0; 1; 0 | 1奇、2偶;1不小于1、1小于2、2不小于1。1 is odd and 2 even; 1≮1, 1<2, 2≮1. |
| ∀ySa₀y | 0 | 取 y=0,0<0 假。Take y=0: 0<0 is false. |
| ∃x∀ySxy | 0 | 任意候选 x,取 y=x 就失败。Every candidate x fails at y=x. |
| ∃xSxa₁ | 1 | x=0 是见证。x=0 witnesses it. |
| ∃ySa₁₀₀₀₀y | 1 | y=10001 是见证,没有最大自然数。y=10001 witnesses it; there is no greatest natural. |
| ∀x∃ySxy | 1 | 给任何 x,选 y=x+1。For every x choose y=x+1. |
| ∀x(Ox→∃ySyx) | 1 | 每个奇数 x≥1,取 y=0;偶数前件假。Every odd x≥1 has y=0 below it; even x has false antecedent. |
| ∃y∀x(Ox→Syx) | 1 | 共同见证 y=0,比每个奇数小。Common witness y=0 lies below every odd number. |
| ∀x∀y(Sxy→∃z(Sxz∧Szy)) | 0 | 取 x=0,y=1,两者之间没有自然数。Take x=0,y=1: no natural lies strictly between them. |
最后一行是“稠密性”而不是“没有最大元素”。自然数没有最大值仍不稠密;有理数的严格小于则既无最大值又稠密。证明 ∀x∃y 的真只需给统一选择方法,不是列出无限张表;反驳 ∀x∀y 只需一个指定数对。The last row asserts density, not absence of a greatest element. Naturals have no greatest member but are not dense; strict order on rationals has both properties. To establish ∀x∃y, give a choice method rather than an infinite table; one specified pair refutes ∀x∀y.
官方三前提是否矛盾?用无限模型结束寻找Are the official three premises inconsistent? An infinite model settles it
完整论证:∀x∀y(Rxy→∃z(Rxz∧Rzy)),∀x∃yRxy,∀x¬Rxx ⊨ ⊥?无效。取 D=有理数、R 为严格小于。给 x
身份:有两个变量不一定有两个对象Identity: two variables need not name two objects
∃x∃y(Fx∧Fy) 只说至少有一个 F,因为可让 x=y。至少两个要写 ∃x∃y(x≠y∧Fx∧Fy)。身份的语义固定为对象真正相同;=E 允许从 s=t 与 A(s) 得 A(t),前提是替换位置合法。课程还给 =I:新谓词 F 下从 Fs 推 Ft、从 Ft 推 Fs,若 F 不出现在其他开放假设中,可撤这两假设得 s=t。这里不是“同意所有已检查性质”就等于同一。∃x∃y(Fx∧Fy) requires only one F, since x and y may be identical. At least two requires ∃x∃y(x≠y∧Fx∧Fy). Identity means actual equality of domain objects. =E permits A(t) from s=t and A(s), with legitimate replacement. The course’s =I uses a fresh predicate F: derive Ft from Fs and Fs from Ft, discharge these assumptions, and conclude s=t provided F occurs in no other open assumption. Agreement on merely checked properties does not establish identity.
轮到你:迁移练习Your turn: transfer exercise
课件例题(作者推导):证明 (Ga∧¬Gb)→a≠b。Slide problem, author-derived: prove (Ga∧¬Gb)→a≠b.
先看提示Show a hint
把 a≠b 展开成 ¬(a=b),用否定引入。Expand a≠b as ¬(a=b) and use negation introduction.
展开完整解答Reveal the complete solution
行Line | 公式Formula | 为什么合法Justification | 仍依赖Open assumptions |
|---|---|---|---|
| 1 | Ga∧¬Gb | 假设 αAssumption α | 1 |
| 2 | Ga | ∧E,1∧E, 1 | 1 |
| 3 | ¬Gb | ∧E,1∧E, 1 | 1 |
| 4 | a=b | 假设 βAssumption β | 4 |
| 5 | Gb | =E,4、2=E, 4,2 | 1,4 |
| 6 | ⊥ | ¬E,3、5¬E, 3,5 | 1,4 |
| 7 | a≠b | ¬I,撤 β;≠ 缩写 ¬(=)¬I, discharge β; ≠ abbreviates negated identity | 1 |
| 8 | (Ga∧¬Gb)→a≠b | →I,撤 α→I, discharge α | ∅ |
来源与边界:1463480:slides 3–23; 1463479:pp1–2 Q1–2。第7–9周没有取得官方解答,以下解题为作者推导,不标作官方答案。Sources and boundaries: 1463480:slides 3–23; 1463479:pp1–2 Q1–2. Official solutions for Weeks 7–9 were not obtained. The solutions below are author-derived, not an official key.
一阶可靠性与完全性:为什么模型需要新名字?First-order soundness and completeness: why fresh names matter
为什么每个合法量词证明都不会把真前提变成假结论?为什么每个没有证明的论证都能找到模型反例?第一问是可靠性,第二问是完全性的逆否形式。第一问归纳证明,第二问要造出一个论域,不能只沿用命题逻辑的0、1表。Why can a legitimate quantified proof never lead from true premises to a false conclusion? Why does every unprovable argument have a model counterexample? The first is soundness; the second is completeness in contrapositive form. One inducts on proofs; the other must construct a domain rather than merely reuse a propositional truth table.
官方完整题1:用自己的话解释可靠性证明Complete official Q1: explain the soundness proof
写一段话解释如何证明一阶谓词逻辑的可靠性。以下先给完整段落,再展开量词关键步骤,以免只背“归纳”两个字。Write a paragraph explaining how first-order soundness is proved. A complete paragraph is followed by the key quantifier cases, so “induction” is not merely a memorised slogan.
对 CQ 证明的构造做归纳。假设叶子在任何使其开放前提真的模型与赋值中都真。命题联结词规则与布尔情形一样保真。∀E 和 ∃I 用语义代入引理连接 A(t) 与把 x 赋为 t 指称的 A;∀I 使用特征名不出现于开放前提或结论的条件,任意改变其指称而不改变前提真假,推出论域每个对象都满足 A;∃E 从存在前提选择一个真实见证,以其解释新名字,在见证子证明中应用归纳假设,再利用最终结论不含此名字返回原解释。于是每一步都保真,所有 CQ 证明都没有反例。Induct on the construction of a CQ proof. An assumption leaf is true in any model and assignment satisfying its open premises. Propositional rules preserve truth as in the Boolean case. ∀E and ∃I use the semantic substitution lemma to connect A(t) with A under an assignment sending x to t’s denotation. For ∀I, the eigenname’s absence from open premises and the conclusion allows its denotation to vary arbitrarily without affecting the premises, showing A of every domain object. For ∃E choose a real witness for the existential premise, interpret the fresh name by it, apply the induction hypothesis to the witness subproof, then return to the original interpretation because the conclusion lacks that name. Every step therefore preserves truth, so no CQ proof has a counterexample.
语义代入引理与 ∀ESemantic substitution and ∀E
若 M,v 满足 X,由归纳假设满足 ∀xA;特别取对象 I(t,v),得右边 A 为真,代入引理给 A(t) 真。引理对公式结构归纳;量词情形须检查改赋值的次序与自由可代入条件,不能说“量词对代入完全没影响”。被捕获的替换恰是这个引理会失败的地方。If M,v satisfies X, the induction hypothesis gives ∀xA. Choose the particular object I(t,v), obtaining A under the modified assignment; the lemma yields A(t). The lemma itself uses induction on formula structure. Quantifier cases require checking assignment changes and freedom from capture, not claiming that quantifiers do not affect substitution. Capture is precisely where the lemma can fail.
∀I:把 a 的解释换成任意 d∀I: reinterpret a as arbitrary d
已有 X⊨A(a),且 a 不出现在 X 或 ∀xA(x)。取任意满足 X 的 M,v,以及任意 d∈D。把名字 a 的解释改成 d,得到 M′;X 无 a,因此仍真。已有后承给 M′,v 中 A(a) 真;代入引理给 A 在 x=d 时真。A(x) 本身无 a,所以可从 M′ 返回 M。d 任意,故 M,v 满足 ∀xA。若 a 在 X 中,第一步“X 仍真”便失效,这就是边条件的语义理由。Suppose X⊨A(a), with a absent from X and ∀xA(x). Take any M,v satisfying X and any d∈D. Reinterpret a as d to obtain M′. Since X lacks a it remains true. The assumed consequence gives A(a) in M′,v; substitution gives A with x=d. A(x) itself lacks a, so return to M. Since d was arbitrary, M,v satisfies ∀xA. If a occurred in X, the claim that X remains true could fail: this explains the side condition.
∃E:取一个真实见证再归还名字∃E: choose a genuine witness and return the name
设大前提 ∃xA(x) 与子证明 A(b),Y⊢B,b 不出现在 Y、B。任取使大前提与 Y 真的模型,选使 A 真的对象 d,把新 b 指向 d。子证明归纳假设给 B 真;因 B 无 b,改回 b 的旧解释 B 也真。若结论写成 Fb,归还名字便改变结论,不能用此规则。∃I 则简单地以 t 的指称作见证;非空域保证每个名字确有对象。Let the major premise be ∃xA(x) and the subproof A(b),Y⊢B, with b absent from Y,B. In any model satisfying the major premise and Y, choose an object d satisfying A and interpret fresh b by d. The induction hypothesis gives B; since B lacks b, restoring the old interpretation preserves B. A conclusion Fb would not survive this return and is not allowed. ∃I simply uses t’s denotation as a witness; nonempty domains ensure names denote objects.
官方完整题2:用自己的话解释完全性证明Complete official Q2: explain the completeness proof
写一段话解释如何证明一阶谓词逻辑的完全性。以下采用课件的见证化极大避免集路线,不把“完备”误说成“每个公式都能证明”。Write a paragraph explaining first-order completeness. The answer follows the slides’ witnessed maximal-avoiding-set construction. “Complete” does not mean every formula is provable.
从 X⊬CQ A 出发,扩充语言,加入无限多个未使用的新名字,并枚举扩充语言的公式。逐步加入那些不会导致 A 可证的公式;每当加入一个存在句 ∃xB(x),就同时给它一个全新名字 c 的见证 B(c),保持 A 仍不可证。取所有阶段的并集 X*,有限证明性保证它仍避免 A,枚举保证极大性,见证步骤保证每个存在句都有名字见证。以名字(开放公式版本可用项)作论域,名字解释为自身,谓词真当且仅当对应原子式属于 X*。对公式结构归纳证明真值引理:在相应赋值下,公式真当且仅当它属于 X*。于是 X 全真、A 假,构成反模型,得到完全性。Start from X⊬CQ A, expand the language with infinitely many fresh names, and enumerate its formulas. Add each formula that preserves unprovability of A. When an existential ∃xB(x) is added, also add a witness B(c) with a fresh name c, preserving unprovability. The union X* still avoids A because proofs are finite, is maximal by enumeration, and is witnessed by construction. Use names as the domain, or terms for the open-formula presentation; names denote themselves and predicates hold exactly of tuples whose atomic formulas belong to X*. Prove a truth lemma by induction on formulas: truth under the corresponding assignment is equivalent to membership in X*. Every member of X is then true and A false, giving a countermodel and hence completeness.
为什么只取极大集还不够?Why is a maximal set alone insufficient?
即使对原语言所有项 t 都有 Ft,也不语义蕴涵 ∀xFx:论域可能还有未被这些项指到的对象。若域只取原语言项,反而会不小心让全称句真。新增见证名字解决此问题:若 ∀xFx 不在极大集中,则 ¬∀xFx 在其中,经典对偶给 ∃x¬Fx,见证化强迫某个 ¬Fc 在其中,于是全称确实在构造的模型中假。Even Ft for every original-language term t need not entail ∀xFx: a domain may contain objects denoted by none of those terms. Restricting the domain to original terms would accidentally make the universal true. Fresh witnesses repair this. If ∀xFx is absent from the maximal set, ¬∀xFx belongs; classical duality gives ∃x¬Fx, and witnessing adds some ¬Fc. The constructed model then really falsifies the universal.
加入存在见证不会突然证明目标:若 Γ,∃xB(x),B(c) 能证明 A,且 c 全新,则用 ∃E 可从 Γ,∃xB(x) 已经证明 A,违反加入前的检查。注意 c 也须不出现在目标 A 中。无限并集仍不证明 A,是因为任何声称存在的证明只用有限个前提,而它们早已全部出现在某个有限阶段。Adding a witness does not suddenly prove the target. If Γ,∃xB(x),B(c) proved A with fresh c, ∃E would already prove A from Γ,∃xB(x), contrary to the admission check. c must also be absent from target A. The infinite union remains A-avoiding because every proof uses finitely many premises, all of which would already occur at one finite stage.
对开放公式,项域版本令名字解释为自身、赋值 v(x)=x,再用代入的真值引理处理自由变量;不能把“只对闭句证明过”偷换成“所有开放式都处理过”。带真正身份的模型还需把可证相等的项取等价类,谓词解释要验证与代表元无关;课件明确说完全性扩展需额外工作,本页不把无身份的项模型直接称为身份逻辑的完全证明。For open formulas, the term-domain presentation interprets names as themselves and sets v(x)=x, using a substitution-based truth lemma for free variables. A closed-sentence proof alone must not be relabelled as covering every open formula. With genuine identity, quotient terms by provable equality and verify that predicates are independent of representatives. The slides explicitly note that this extension needs additional work; an unquotiented term model is not a complete proof for identity logic.
紧致性、独立性与几何模型Compactness, independence and geometrical models
可靠性、完全性和有限证明性给紧致性:若 X 的每个有限子集都可满足,而 X 不可满足,则 X⊨⊥,完全性给有限长度矛盾证明,其有限前提子集就不可满足,冲突。用模型证明某公理 A 不从理论 T 推出,只需造 T 全真 A 假的模型;可靠性排除 T⊢A。几何中可以改变“直线”等术语的解释,Beltrami–Klein 模型以圆盘内弦作直线;这证明相对于所满足公理的独立性,不是证明现实空间一定弯曲。Soundness, completeness and finiteness of proofs yield compactness. If every finite subset of X is satisfiable but X is not, then X⊨⊥ and completeness gives a finite contradiction proof, whose finite premise set would be unsatisfiable. To show A is not derivable from theory T, construct a model of T falsifying A; soundness rules out T⊢A. Geometry can reinterpret terms such as line: the Beltrami–Klein model uses chords within a disk. This establishes independence relative to the satisfied axioms, not that physical space must be curved.
轮到你:迁移练习Your turn: transfer exercise
原创:一阶逻辑完全,是否表示对每个句子 A 都有 ⊢A 或 ⊢¬A?Original: does first-order completeness mean every sentence A has a proof of A or of ¬A?
先看提示Show a hint
回到量词:完全性中的“每个模型”不可删。Retain “every model” in the definition of completeness.
展开完整解答Reveal the complete solution
不是。完全性把“在所有模型中真”与“可证明”连接。偶然句 Fa 可在一些模型真、一些模型假,因此 Fa 与 ¬Fa 都不必是定理。一个具体理论 T 能否对每个句子作决定,是理论的另一种完全性,不是此处语义完全性。No. Semantic completeness connects truth in every model with provability. A contingent sentence Fa is true in some models and false in others, so neither Fa nor ¬Fa need be a theorem. Whether a particular theory T decides every sentence is a different notion of completeness.
来源与边界:1463484:slides 2–35; 1463483:p1 Q1–2。第7–9周没有取得官方解答,以下解题为作者推导,不标作官方答案。Sources and boundaries: 1463484:slides 2–35; 1463483:p1 Q1–2. Official solutions for Weeks 7–9 were not obtained. The solutions below are author-derived, not an official key.
把量词移到前面:等价、限制与前束形式Moving quantifiers outward: equivalence, restrictions and prenex form
写长量词式时,最难读的常是量词藏在联结词内部。前束形式把量词搬到前面,但不能机械拖动:自由变量不能被捕获,量词次序也不能随意交换。Long quantified formulas become difficult when quantifiers sit inside connectives. Prenex form moves them to the front, but not by mechanical dragging: free variables must not become captured and quantifier order must be preserved.
前束形式是 Q₁x₁…QₙxₙB,其中每个 Q 是 ∀ 或 ∃,矩阵 B 无量词。逻辑等价指两个方向都语义蕴涵,而不只是碰巧在一个模型同值。以下源题要求选两个等价式证明,再解释为什么任何一阶公式都有等价的前束形式。Prenex form is Q₁x₁…QₙxₙB, each Q either ∀ or ∃ and matrix B quantifier-free. Logical equivalence means semantic consequence in both directions, not agreement in one model. The official task asks for two equivalence proofs, then an explanation that every first-order formula has an equivalent prenex form.
官方完整题 A:条件句前件中的量词会翻转Complete official problem A: a quantifier changes across an antecedent
证明 ∀x(A→B) 与 (∃xA)→B 在 FO 等价,前提 x 不自由出现在 B。A、B 可以是复杂式;x 可在 A 中自由。Prove ∀x(A→B) equivalent in FO to (∃xA)→B, provided x is not free in B. A,B may be compound and x may occur free in A.
固定任意 M,v。正向:若全称式真且 ∃xA 真,取使 A 真的 d;全称给该 d 的 A→B 真,故 B 真。B 无自由 x,所以从 x=d 返回原赋值不改变 B。若 ∃xA 假,目标条件句自动真。反向:若 (∃xA)→B 真,任取 d;若 x=d 时 A 假则 A→B 真;若 A 真则 ∃xA 真,原条件句给 B 真,且 B 的真值不依赖 x=d,故 A→B 仍真。d 任意,得全称。Fix arbitrary M,v. Forward: if the universal is true and ∃xA true, choose d satisfying A. The universal gives A→B at d, hence B. Since B has no free x, returning to the original assignment preserves B. If ∃xA is false, the target conditional is automatically true. Reverse: assume (∃xA)→B and choose any d. If A is false at x=d, A→B is true. If A is true, ∃xA holds, giving B through the original conditional; B does not depend on x=d. Thus A→B holds for every d, proving the universal.
官方完整题 B:存在量词移过合取Complete official problem B: move existence past conjunction
证明 ∃x(A∧B) 与 (∃xA)∧B 等价,前提 x 不自由出现在 B。Prove ∃x(A∧B) equivalent to (∃xA)∧B, provided x is not free in B.
正向:选见证 d,使 A、B 同时真;d 证明 ∃xA,且 B 无自由 x,回到原赋值仍真,于是右式真。反向:∃xA 给见证 d,B 在原赋值真且不依赖 x,所以在 x=d 仍真;d 同时使 A、B 真,见证左式。每个方向都指出同一个见证如何使用,而不是只说“分配律”。Forward: choose d satisfying A and B. It witnesses ∃xA, while B remains true at the original assignment because x is not free there, giving the right side. Reverse: choose d witnessing ∃xA. B is true at the original assignment and independent of x, hence true at x=d. Thus d witnesses A∧B. Each direction tracks the same witness rather than appealing vaguely to distributivity.
官方等价清单与必要的限制The official equivalence list and its conditions
左式Left | 右式Right | 限制Restriction |
|---|---|---|
| ∀x(A→B) | (∃xA)→B | x∉fv(B)x∉fv(B) |
| ∀x(A→B) | A→∀xB | x∉fv(A)x∉fv(A) |
| ∀x(A∨B) | (∀xA)∨B | x∉fv(B)x∉fv(B) |
| ∃x(A∧B) | (∃xA)∧B | x∉fv(B)x∉fv(B) |
| ∃x(A→B) | A→∃xB | x∉fv(A),非空论域x∉fv(A), nonempty domain |
| ∀x(A∧B) | ∀xA∧∀xB | 无自由变量限制No free-variable restriction |
| ∃x(A∨B) | ∃xA∨∃xB | 无自由变量限制No free-variable restriction |
| ∀x¬A | ¬∃xA | 经典模型语义Classical model semantics |
| ∃x¬A | ¬∀xA | 经典模型语义Classical model semantics |
不能把列表补成不存在的分配律:∀x(A∨B) 一般不等价于 ∀xA∨∀xB,∃x(A∧B) 一般不等价于 ∃xA∧∃xB。两对象交错性质的反模型已在前课完整给出。限制 x∉fv(B) 也不能删:取 A=Fx、B=Gx,D={0,1},F={0}、G={1},原式 ∃x(Fx∧Gx) 假,但 (∃xFx)∧Gx 在 v(x)=1 时真。Do not invent further distributivities: ∀x(A∨B) is not generally equivalent to ∀xA∨∀xB, nor ∃x(A∧B) to ∃xA∧∃xB. The preceding two-object countermodel shows why. The side condition x∉fv(B) also matters: with A=Fx,B=Gx, D={0,1}, F={0}, G={1}, ∃x(Fx∧Gx) is false but (∃xFx)∧Gx true at assignment v(x)=1.
完整原创前束化例题:每一步都说明许可Complete original prenex example: justify every move
把 (∀x(Fx→∃yRxy))→∃xGx 化成等价前束形式。不要把左右两个绑定 x 当作同一个量词。先把右侧绑定 x 改成全新 z。Convert (∀x(Fx→∃yRxy))→∃xGx into equivalent prenex form. The two bound x variables are not one quantifier. First rename the right-hand bound x to fresh z.
第1步消条件句;第2步 ¬∀ 变 ∃¬;第3步德摩根与 ¬∃ 变 ∀¬,再消双重否定;最后先在左支把 ∀y 提出(y 不在 Fx 自由出现),把 ∃x 移过右支(x 不在 ∃zGz 自由出现),把 ∀y 移过 Gz(y 不在 Gz 自由出现),再把 ∃z 移出(z 不在左支自由出现)。矩阵无量词,所以完成;此处次序是经规则所得,不是任意重排 ∀、∃。First eliminate implication; then turn ¬∀ into ∃¬; use De Morgan and ¬∃ as ∀¬, and remove double negation. Finally move ∀y out of the left conjunction because y is not free in Fx; move ∃x past the right disjunct because x is not free there; move ∀y past Gz because y is not free there; then move ∃z outward because z is absent from the left side. The matrix is quantifier-free. This prefix order is licensed by the transformations, not arbitrary permutation of ∀ and ∃.
一般构造证明对公式结构归纳:原子已前束;先把不同分支的绑定变量改成互不冲突的新变量;消去 → 与 ↔;将否定用对偶推进原子前;用上表及其对称位置版本逐层把量词前移,保留每支原有顺序。每个动作保持等价,公式有限所以过程终止。若开放公式有自由 x,绑定改名不能把它一起改掉。The general existence proof is structural induction. Atoms are already prenex. Rename bound variables across branches to avoid clashes; eliminate → and ↔; push negation inward using dualities; then move quantifiers outward using the listed equivalences and their symmetric-position versions, preserving each branch’s internal order. Every step preserves equivalence, and finiteness makes the process terminate. In open formulas, renaming bound x must not alter free x occurrences.
轮到你:迁移练习Your turn: transfer exercise
原创:化简前束式 ¬∃x(Fx∧∀yRxy),写出矩阵。Original: prenex ¬∃x(Fx∧∀yRxy) and identify its matrix.
先看提示Show a hint
否定跨量词时 ∀ 与 ∃ 互换。Negating a quantifier swaps ∀ and ∃.
展开完整解答Reveal the complete solution
¬∃x 先变 ∀x¬;德摩根得 ∀x(¬Fx∨¬∀yRxy);量词对偶得 ∀x(¬Fx∨∃y¬Rxy);y 不在 Fx 中,提出来得 ∀x∃y(¬Fx∨¬Rxy)。矩阵是 ¬Fx∨¬Rxy。Replace ¬∃x by ∀x¬, then De Morgan gives ∀x(¬Fx∨¬∀yRxy). Duality gives ∀x(¬Fx∨∃y¬Rxy). Since y is absent from Fx, move it outward to obtain ∀x∃y(¬Fx∨¬Rxy). The matrix is ¬Fx∨¬Rxy.
来源与边界:1463483:p1 Q3 all nine equivalences and final construction; 1463484:slides 5–8 substitution background。第7–9周没有取得官方解答,以下解题为作者推导,不标作官方答案。Sources and boundaries: 1463483:p1 Q3 all nine equivalences and final construction; 1463484:slides 5–8 substitution background. Official solutions for Weeks 7–9 were not obtained. The solutions below are author-derived, not an official key.
先独立判断,再看解释Decide for yourself before checking
这组短题检查常见失误,不能替代前面的完整大题。未作答的题保持“未答”,不会被判错。These short questions diagnose common errors; they do not replace the full worked problems. Unanswered questions remain unanswered rather than being marked wrong.
来源与阅读边界Sources and coverage boundaries
正文按已取得的第1–5、7–9周材料组织;每章末尾可展开查看题源,但学习不需要打开原件。本页区分课程精选题、自编变式,以及已发布官方解答与本讲义的解释。The lessons follow the available materials for Weeks 1–5 and 7–9. Sources expand at each chapter’s end but are not required to study. Selected course questions, original variants, released official solutions and explanations written for this guide are distinguished.
当前材料范围为8份课件、8份每周习题、5份已发布解答及Assignment 1。未取得的后续材料、7–9周官方解答和Assignment 2题目不冒充已覆盖;录播与整本教材未通读。没有官方解答的题,其推导为本讲义所写,不称官方答案。The available source set comprises eight slide decks, eight weekly exercise sheets, five released solution sheets and Assignment 1. Unobtained later materials, official Week 7–9 solutions and Assignment 2 questions are not claimed as covered. Recordings and the entire textbook were not studied in full. Solutions without a released key are authored here, not labelled official.
课程原件和账号资料不会随本页上传。公式与图表重新排版;相同名称在不同逻辑系统中可能有不同限制,应连同本课的模型条件和证明规则一起读。Original course files and account information are not uploaded with this page. Formulas and diagrams are redrawn. Similar terminology can have different restrictions in different logics: read each claim with its model conditions and proof rules.
一句话怎样变成可以检查的结构?How does a sentence become a checkable structure?
对应材料:1463435 slides 14–36;1463437 p1 Q1;1463441 pp1–2 Q1Source map: 1463435 slides 14–36; 1463437 p1 Q1; 1463441 pp1–2 Q1
怎样写证明并归还临时假设?How do we prove while discharging assumptions?
对应材料:1463435 slides 39–73;1463437 p1 Q2–4;1463441 pp2–4Source map: 1463435 slides 39–73; 1463437 p1 Q2–4; 1463441 pp2–4
分情况、反证与证明的元理论Cases, negation and the metatheory of proofs
对应材料:1463446 slides 2–56;1463449 pp1–2 Q1–6;1463451 released solution sheetSource map: 1463446 slides 2–56; 1463449 pp1–2 Q1–6; 1463451 released solution sheet
真值表如何连接证明、反例和完全性?How do truth tables connect proofs, counterexamples and completeness?
对应材料:1463457 slides 2–42;1463459 pp1–2 Q1–3;1463460 released solutions;1463492 pp2–4 H3 table and soundness taskSource map: 1463457 slides 2–42; 1463459 pp1–2 Q1–3; 1463460 released solutions; 1463492 pp2–4 H3 table and soundness task
可能世界:用模型图把大题算完Possible worlds: solve whole problems with models
对应材料:1463464 slides 2–21;1463466 Q1,2(i,ii,v),3;1463468 official solutionsSource map: 1463464 slides 2–21; 1463466 Q1,2(i,ii,v),3; 1463468 official solutions
箭头改变了什么:S4、S5 与知识What arrows change: S4, S5 and knowledge
对应材料:1463464 slides 22–30;1463466 Q4(i–vii);1463468 pp6–7Source map: 1463464 slides 22–30; 1463466 Q4(i–vii); 1463468 pp6–7
实际、必然与二维坐标Actuality, necessity and two coordinates
对应材料:1571499 slides 2–17;1463471 Q1–2;1463473 pp1–2Source map: 1571499 slides 2–17; 1463471 Q1–2; 1463473 pp1–2
模态证明:每个方框都有边条件Modal proofs: every box has a side condition
对应材料:1571499 slides 18–50;1463471 Q3(i–iii);1463473 p2Source map: 1571499 slides 18–50; 1463471 Q3(i–iii); 1463473 p2
每个人、某个人与不会捕获的代入Everyone, someone and capture-free substitution
对应材料:1463476 slides 2–18;1463475 p1 Q1Source map: 1463476 slides 2–18; 1463475 p1 Q1
量词证明:任意对象不能偷偷变成指定对象Quantifier proofs: arbitrary objects are not chosen individuals
对应材料:1463476 slides 19–30;1463475 pp1–2 Q2–4Source map: 1463476 slides 19–30; 1463475 pp1–2 Q2–4
把量词放进模型:见证、关系表与无限论域Quantifiers in models: witnesses, relation tables and infinite domains
对应材料:1463480 slides 3–23;1463479 pp1–2 Q1–2Source map: 1463480 slides 3–23; 1463479 pp1–2 Q1–2
一阶可靠性与完全性:为什么模型需要新名字?First-order soundness and completeness: why fresh names matter
对应材料:1463484 slides 2–35;1463483 p1 Q1–2Source map: 1463484 slides 2–35; 1463483 p1 Q1–2
把量词移到前面:等价、限制与前束形式Moving quantifiers outward: equivalence, restrictions and prenex form
对应材料:1463483 p1 Q3 all nine equivalences and final construction;1463484 slides 5–8 substitution backgroundSource map: 1463483 p1 Q3 all nine equivalences and final construction; 1463484 slides 5–8 substitution background