Theorem (Soundness of Natural Deduction): If Ξβ’Ο in natural deduction, then Ξβ¨Ο.
We prove by induction on the structure of the natural deduction derivation that every derivable sequent is semantically valid.
Base Cases (Axioms):
- Assumption: If ΟβΞ, then trivially any model satisfying Ξ satisfies Ο.
Inductive Cases (Inference Rules):
We show that each inference rule preserves semantic validity. Assume all premises are semantically valid; we prove the conclusion is semantically valid.
β§-Introduction:
Ξβ’Οβ§ΟΞβ’ΟΞβ’ΟβBy inductive hypothesis, Ξβ¨Ο and Ξβ¨Ο. For any model M with Mβ¨Ξ, we have Mβ¨Ο and Mβ¨Ο, hence Mβ¨Οβ§Ο. Therefore Ξβ¨Οβ§Ο.
β§-Elimination:
Ξβ’ΟΞβ’Οβ§ΟβBy inductive hypothesis, Ξβ¨Οβ§Ο. For any model M with Mβ¨Ξ, we have Mβ¨Οβ§Ο, which implies Mβ¨Ο. Therefore Ξβ¨Ο.
β-Introduction (Conditional Proof):
Ξβ’ΟβΟΞ,Οβ’ΟβBy inductive hypothesis, Ξ,Οβ¨Ο. We must show Ξβ¨ΟβΟ.
Let M be any model with Mβ¨Ξ. We must show Mβ¨ΟβΟ.
Case 1: If Mξ β¨Ο, then Mβ¨ΟβΟ by definition of implication.
Case 2: If Mβ¨Ο, then Mβ¨Ξ,Ο. By the inductive hypothesis Ξ,Οβ¨Ο, we have Mβ¨Ο. Therefore Mβ¨ΟβΟ.
In both cases, Mβ¨ΟβΟ, so Ξβ¨ΟβΟ.
β-Elimination (Modus Ponens):
Ξβ’ΟΞβ’ΟΞβ’ΟβΟβBy inductive hypothesis, Ξβ¨Ο and Ξβ¨ΟβΟ. For any model M with Mβ¨Ξ:
- Mβ¨Ο
- Mβ¨ΟβΟ
By the semantics of implication, Mβ¨Ο. Therefore Ξβ¨Ο.
β-Introduction:
Ξβ’βxΟΞβ’Οβ(providedΒ xΒ notΒ freeΒ inΒ Ξ)By inductive hypothesis, Ξβ¨Ο. We must show Ξβ¨βxΟ.
Let M be any model with Mβ¨Ξ, and let s be any variable assignment. Since x is not free in Ξ, the truth of Ξ in M is independent of the assignment to x.
For any value a in the domain, let sβ² be the assignment that agrees with s except possibly at x, where sβ²(x)=a. We still have Mβ¨Ξ[sβ²] (since x not free in Ξ).
By the inductive hypothesis Ξβ¨Ο, we have Mβ¨Ο[sβ²]. Since this holds for arbitrary a, we have Mβ¨βxΟ[s].
β-Elimination:
Ξβ’Ο[x/t]Ξβ’βxΟβBy inductive hypothesis, Ξβ¨βxΟ. For any model M with Mβ¨Ξ and assignment s:
Mβ¨βxΟ[s] means for all values a, Mβ¨Ο[s[xβ¦a]].
In particular, for a=tM[s] (the interpretation of term t), we have Mβ¨Ο[s[xβ¦tM[s]]], which equals Mβ¨Ο[x/t][s] (by substitution lemma).
Therefore Ξβ¨Ο[x/t].
Cases for β¨, β, Β¬ follow similar patterns.
Conclusion: Every inference rule preserves semantic validity. By induction on derivation structure, if Ξβ’Ο has a derivation, then Ξβ¨Ο. This completes the soundness proof.