逐步主鏈
S01 · definition
操作前
\forall x\in U\,P(x),\quad \exists x\in U\,E(x)
操作後
\forall x\,(x\in U\Rightarrow P(x)),\quad \exists x\,(x\in U\land E(x))
條件:無
規則:restricted_quantifier · 依賴:G1, G2, G3, mko_quantifier_def
葉節點依據:mko_quantifier_def + restricted_quantifier
MKO 把論域與述詞都當作陳述本身的一部分,所以先固定 U={−2,−1,0,1,2,3} 與三個述詞 P(x):x²<10、Q(x):x²>x、E(x):x²=2,採古典真值語義。受限量詞展開為:∀x∈U P(x) 指「對每個 x,若 x∈U 則 P(x)」;∃x∈U E(x) 指「有某個 x 同時滿足 x∈U 與 E(x)」。之後每一步都在這個明示論域上判定。
S02 · equivalent
操作前
(-2)^2,\ (-1)^2,\ 0^2,\ 1^2,\ 2^2,\ 3^2
操作後
4,\ 1,\ 0,\ 1,\ 4,\ 9
條件:無
規則:numeric_evaluation · 依賴:G1
葉節點依據:numeric_evaluation + neg_mul
對 U 的六個元素逐一精確計算平方:(−2)²=4、(−1)²=1、0²=0、1²=1、2²=4、3²=9。負數的平方用 (−u)(−u)=u·u。這張表之後由 P、Q、E 三個述詞共用。
S03 · implies
操作前
x^2\in\{4,1,0,1,4,9\}\ \text{for the six}\ x\in U操作後
P(-2)\land P(-1)\land P(0)\land P(1)\land P(2)\land P(3)
條件:無
規則:numeric_evaluation · 依賴:S02, G2
葉節點依據:numeric_evaluation + order_basics + and_intro_elim
P(x) 是 x²<10。由 S02,六個平方值 4、1、0、1、4、9 都小於 10(最大的是 9<10),所以 P 在 U 的每一個列出元素上都成立;再用合取把六個事實合在一起。
S04 · equivalent
操作前
P(-2)\land P(-1)\land P(0)\land P(1)\land P(2)\land P(3)
操作後
\forall x\in U\,P(x)
條件:U=\{-2,-1,0,1,2,3\}\ \text{listed completely}
規則:L_finite_forall · 依賴:S03, G1, L_finite_forall
葉節點依據:forall_elim + forall_intro + case_analysis + roster_membership
U 以列舉給出:a₁=−2、a₂=−1、a₃=0、a₄=1、a₅=2、a₆=3。依引理 L_finite_forall(n=6),∀x∈U P(x) 等價於六個 P(a_i) 的合取,而 S03 已證得這個合取,所以 φ₁ 為真。這是完整枚舉:結論成立正是因為 U 的每個元素都被檢查過。
S05 · implies
操作前
\forall x\in U\,P(x)\ \text{is true}操作後
\neg\forall x\in\mathbb{Z}\,P(x)條件:4\in\mathbb{Z}; 4\notin U
規則:contradiction · 依賴:S04, forall_elim, contradiction
葉節點依據:forall_elim + contradiction + numeric_evaluation + order_basics
φ₁ 為真不能外推到 ℤ。若 ∀x∈ℤ P(x) 成立,代入 4∈ℤ 得 4²<10,即 16<10,與 16≥10 矛盾,所以 ∀x∈ℤ, x²<10 為假。MKO 強調完整枚舉只判定指定有限論域上的陳述:4 不在 U 中,所以它不影響 φ₁,但它推翻了把論域換成 ℤ 之後的另一個陳述。
S06 · implies
操作前
Q(0):\ 0^2>0
操作後
0\in U\land\neg Q(0)
條件:無
規則:numeric_evaluation · 依賴:S02, G2
葉節點依據:numeric_evaluation + order_basics + roster_membership
Q(x) 是 x²>x。取 x=0:0²=0,而 0>0 不成立(序的三分律:0=0 時 0>0 與 0<0 都不成立)。0 是 U 的列出元素,所以 0∈U 且 ¬Q(0)。x=1 也有 1>1 不成立,但一個見證已足夠。
S07 · implies
操作前
0\in U\land\neg Q(0)
操作後
\exists x\in U\,\neg Q(x)
條件:無
規則:exists_intro · 依賴:S06, exists_intro
葉節點依據:exists_intro
依 ∃引入,U 中的 0 使 ¬Q(0) 成立,所以 ∃x∈U ¬Q(x) 為真。存在陳述只需一個允許的見證。
S08 · equivalent
操作前
\exists x\in U\,\neg Q(x)
操作後
\neg\forall x\in U\,Q(x)
條件:無
規則:L_restricted_negation · 依賴:S07, L_restricted_negation
葉節點依據:quantifier_negation + classical_implication + restricted_quantifier
依引理 L_restricted_negation 第 (i) 部分,∃x∈U ¬Q(x) 與 ¬∀x∈U Q(x) 等價。所以 φ₂ 的否定為真,φ₂ 為假。否定全稱時要同時把 ∀ 換成 ∃ 並否定述詞,論域 U 保持不變。
S09 · implies
操作前
\forall x\in U\,\neg Q(x)
操作後
\neg\forall x\in U\,\neg Q(x)\quad(\text{since } 2\in U,\ 2^2>2)條件:2\in U
規則:contradiction · 依賴:S02, G2, forall_elim, contradiction
葉節點依據:forall_elim + contradiction + numeric_evaluation + order_basics
常見錯誤是把 ¬∀x∈U Q(x) 寫成 ∀x∈U ¬Q(x)(「所有元素都不滿足」)。核對後者:若它成立,代入 2∈U 得 ¬Q(2),即 4>2 不成立;但 2²=4>2 成立,矛盾。所以 ∀x∈U ¬Q(x) 為假,而 S07、S08 證得正確的否定 ∃x∈U ¬Q(x) 為真。兩者真假不同,因此不等價。
S10 · implies
操作前
x^2\in\{4,1,0,1,4,9\}\ \text{for the six}\ x\in U操作後
\neg E(-2)\land\neg E(-1)\land\neg E(0)\land\neg E(1)\land\neg E(2)\land\neg E(3)
條件:無
規則:numeric_evaluation · 依賴:S02, G2
葉節點依據:numeric_evaluation + and_intro_elim
E(x) 是 x²=2。由 S02,六個平方值 4、1、0、1、4、9 都不等於 2,這些都是精確的整數比較。所以 E 在每個列出元素上都失敗。
S11 · equivalent
操作前
\neg E(-2)\land\neg E(-1)\land\neg E(0)\land\neg E(1)\land\neg E(2)\land\neg E(3)
操作後
\forall x\in U\,\neg E(x)
條件:U\ \text{listed completely}
規則:L_finite_forall · 依賴:S10, L_finite_forall
葉節點依據:forall_elim + forall_intro + case_analysis + roster_membership
把引理 L_finite_forall 用在述詞 ¬E 上(引理對任何述詞 R 成立):六個 ¬E(a_i) 的合取等價於 ∀x∈U ¬E(x)。
S12 · equivalent
操作前
\forall x\in U\,\neg E(x)
操作後
\neg\exists x\in U\,E(x)
條件:無
規則:L_restricted_negation · 依賴:S11, L_restricted_negation
葉節點依據:quantifier_negation + de_morgan_logic + classical_implication + restricted_quantifier
依引理第 (ii) 部分,∀x∈U ¬E(x) 等價於 ¬∃x∈U E(x)。所以 φ₃ 為假,它的否定 ∀x∈U, x²≠2 為真。要證存在陳述為假,必須檢查全部允許元素;只找到一個失敗值不夠。
S13 · implies
操作前
\neg\exists x\in U\,E(x)
操作後
\exists x\in\mathbb{R}\,E(x)條件:2\ge 0
規則:exists_intro · 依賴:G2, sqrt_def, exists_intro
葉節點依據:sqrt_def + exists_intro
把同一個述詞 E 放到論域 ℝ:2≥0,所以 √2 存在,√2∈ℝ 且 (√2)²=2;依 ∃引入,∃x∈ℝ, x²=2 為真。φ₃ 在 U 上為假、在 ℝ 上為真,說明論域是陳述本身的一部分,不能省略或任意替換。
S14 · implies
操作前
\forall x\in\varnothing\,R(x)
操作後
\forall x\,(x\in\varnothing\Rightarrow R(x))\ \text{holds}條件:無
規則:forall_intro · 依賴:restricted_quantifier, empty_set_def, classical_implication, forall_intro
葉節點依據:restricted_quantifier + empty_set_def + classical_implication + forall_intro
把論域換成空集合。展開為 ∀x(x∈∅⇒R(x))。任取 x:x∈∅ 為假,前件為假的蘊涵在古典語義下為真;x 是任意的,依 ∀引入,全稱為真。沒有任何元素能成為反例,所以不論 R 是什麼,∀x∈∅ R(x) 都為真。
S15 · implies
操作前
\exists x\in\varnothing\,R(x)
操作後
\neg\exists x\,(x\in\varnothing\land R(x))
條件:無
規則:quantifier_negation · 依賴:restricted_quantifier, empty_set_def, and_intro_elim, quantifier_negation
葉節點依據:restricted_quantifier + empty_set_def + and_intro_elim + forall_intro + quantifier_negation
∃x∈∅ R(x) 展開為 ∃x(x∈∅∧R(x))。對每個 x,合取的第一項 x∈∅ 為假,所以合取為假,即 ∀x ¬(x∈∅∧R(x));依量詞否定律,這就是 ¬∃x(x∈∅∧R(x))。空論域沒有可用的見證,存在陳述為假。
S16 · implies
操作前
\text{S04, S08, S12, S14, S15}操作後
\varphi_1\ \text{true},\ \varphi_2\ \text{false},\ \varphi_3\ \text{false};\ \forall x\in\varnothing\ \text{true},\ \exists x\in\varnothing\ \text{false}條件:無
規則:and_intro_elim · 依賴:S04, S08, S09, S12, S14, S15
葉節點依據:and_intro_elim
彙整:φ₁ 為真(S04,完整枚舉);φ₂ 為假,其否定是 ∃x∈U, x²≤x,見證 x=0(S08),而不是 ∀x∈U, x²≤x(S09 證其為假);φ₃ 為假,其否定是 ∀x∈U, x²≠2(S12);空論域上全稱為真、存在為假(S14、S15)。
局部子步與引理
S04.1 · implies
操作前
\forall x\in U\,R(x)
操作後
\bigwedge_{i=1}^{n}R(a_i)條件:U=\{a_i\mid 1\le i\le n\}
規則:forall_elim · 依賴:roster_membership, forall_elim
葉節點依據:forall_elim + roster_membership + and_intro_elim
設 U={a_i ∣ 1≤i≤n},R 為任意述詞。對每個 i,由列舉成員關係得 a_i∈U;對全稱 ∀x∈U R(x) 用 ∀消去代入 x=a_i,得 R(a_i)。把 n 個結果用合取合在一起。這是引理的「⇒」方向。
S04.2 · implies
操作前
\bigwedge_{i=1}^{n}R(a_i)操作後
\forall x\in U\,R(x)
條件:U=\{a_i\mid 1\le i\le n\}
規則:forall_intro · 依賴:roster_membership, case_analysis, eq_replace, forall_intro
葉節點依據:forall_intro + case_analysis + roster_membership + eq_replace
假設合取成立。任取 x∈U,對 x 不加其他假設。由列舉成員關係,x=a_i 對某個 i 成立,共有 n 種情況。在情況 x=a_i 中,合取給出 R(a_i),以相等的 x 代換 a_i 得 R(x)。n 種情況涵蓋 U 的全部元素,所以 R(x) 成立;x 是任意的,依 ∀引入得 ∀x∈U R(x)。S04.1 與 S04.2 合起來證得引理 L_finite_forall。
S08.1 · equivalent
操作前
\neg\forall x\in U\,R(x)
操作後
\exists x\,\neg(x\in U\Rightarrow R(x))
條件:無
規則:quantifier_negation · 依賴:restricted_quantifier, quantifier_negation
葉節點依據:restricted_quantifier + quantifier_negation
對任意述詞 R:先把受限全稱展開成 ∀x(x∈U⇒R(x)),再用無限制的量詞否定律 ¬∀x ψ(x) ⇔ ∃x ¬ψ(x),其中 ψ(x) 是 x∈U⇒R(x)。
S08.2 · equivalent
操作前
\exists x\,\neg(x\in U\Rightarrow R(x))
操作後
\exists x\,(x\in U\land\neg R(x))=\exists x\in U\,\neg R(x)
條件:無
規則:classical_implication · 依賴:S08.1, classical_implication
葉節點依據:classical_implication + de_morgan_logic + restricted_quantifier
古典語義下 ¬(A⇒B) ⇔ A∧¬B(因 A⇒B 等價於 ¬A∨B,再用德摩根律與雙重否定)。對每個 x 取 A 為 x∈U、B 為 R(x),得 ∃x(x∈U∧¬R(x)),也就是 ∃x∈U ¬R(x)。S08.1 與 S08.2 證得引理第 (i) 部分。
S08.3 · equivalent
操作前
\neg\exists x\in U\,R(x)
操作後
\forall x\in U\,\neg R(x)
條件:無
規則:de_morgan_logic · 依賴:restricted_quantifier, quantifier_negation, de_morgan_logic, classical_implication
葉節點依據:quantifier_negation + de_morgan_logic + classical_implication + restricted_quantifier + logic_chain
第 (ii) 部分:¬∃x(x∈U∧R(x)) ⇔ ∀x ¬(x∈U∧R(x))(量詞否定律)⇔ ∀x(x∉U ∨ ¬R(x))(德摩根律)⇔ ∀x(x∈U⇒¬R(x))(古典蘊涵 ¬A∨B ⇔ A⇒B),也就是 ∀x∈U ¬R(x)。S08.3 證得引理第 (ii) 部分。