ProofComplete

Formal Proof Systems - Key Proof

Proof

Theorem (Soundness of Natural Deduction): If Ξ“βŠ’Ο•\Gamma \vdash \phi in natural deduction, then Ξ“βŠ¨Ο•\Gamma \models \phi.

We prove by induction on the structure of the natural deduction derivation that every derivable sequent is semantically valid.

Base Cases (Axioms):

  1. Assumption: If Ο•βˆˆΞ“\phi \in \Gamma, then trivially any model satisfying Ξ“\Gamma satisfies Ο•\phi.

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.

∧\land-Introduction:

Ξ“βŠ’Ο•Ξ“βŠ’ΟˆΞ“βŠ’Ο•βˆ§Οˆ\frac{\Gamma \vdash \phi \quad \Gamma \vdash \psi}{\Gamma \vdash \phi \land \psi}

By inductive hypothesis, Ξ“βŠ¨Ο•\Gamma \models \phi and Ξ“βŠ¨Οˆ\Gamma \models \psi. For any model M\mathcal{M} with MβŠ¨Ξ“\mathcal{M} \models \Gamma, we have MβŠ¨Ο•\mathcal{M} \models \phi and M⊨ψ\mathcal{M} \models \psi, hence MβŠ¨Ο•βˆ§Οˆ\mathcal{M} \models \phi \land \psi. Therefore Ξ“βŠ¨Ο•βˆ§Οˆ\Gamma \models \phi \land \psi.

∧\land-Elimination:

Ξ“βŠ’Ο•βˆ§ΟˆΞ“βŠ’Ο•\frac{\Gamma \vdash \phi \land \psi}{\Gamma \vdash \phi}

By inductive hypothesis, Ξ“βŠ¨Ο•βˆ§Οˆ\Gamma \models \phi \land \psi. For any model M\mathcal{M} with MβŠ¨Ξ“\mathcal{M} \models \Gamma, we have MβŠ¨Ο•βˆ§Οˆ\mathcal{M} \models \phi \land \psi, which implies MβŠ¨Ο•\mathcal{M} \models \phi. Therefore Ξ“βŠ¨Ο•\Gamma \models \phi.

β†’\to-Introduction (Conditional Proof):

Ξ“,Ο•βŠ’ΟˆΞ“βŠ’Ο•β†’Οˆ\frac{\Gamma, \phi \vdash \psi}{\Gamma \vdash \phi \to \psi}

By inductive hypothesis, Ξ“,Ο•βŠ¨Οˆ\Gamma, \phi \models \psi. We must show Ξ“βŠ¨Ο•β†’Οˆ\Gamma \models \phi \to \psi.

Let M\mathcal{M} be any model with MβŠ¨Ξ“\mathcal{M} \models \Gamma. We must show MβŠ¨Ο•β†’Οˆ\mathcal{M} \models \phi \to \psi.

Case 1: If MβŠ¨ΜΈΟ•\mathcal{M} \not\models \phi, then MβŠ¨Ο•β†’Οˆ\mathcal{M} \models \phi \to \psi by definition of implication.

Case 2: If MβŠ¨Ο•\mathcal{M} \models \phi, then MβŠ¨Ξ“,Ο•\mathcal{M} \models \Gamma, \phi. By the inductive hypothesis Ξ“,Ο•βŠ¨Οˆ\Gamma, \phi \models \psi, we have M⊨ψ\mathcal{M} \models \psi. Therefore MβŠ¨Ο•β†’Οˆ\mathcal{M} \models \phi \to \psi.

In both cases, MβŠ¨Ο•β†’Οˆ\mathcal{M} \models \phi \to \psi, so Ξ“βŠ¨Ο•β†’Οˆ\Gamma \models \phi \to \psi.

β†’\to-Elimination (Modus Ponens):

Ξ“βŠ’Ο•Ξ“βŠ’Ο•β†’ΟˆΞ“βŠ’Οˆ\frac{\Gamma \vdash \phi \quad \Gamma \vdash \phi \to \psi}{\Gamma \vdash \psi}

By inductive hypothesis, Ξ“βŠ¨Ο•\Gamma \models \phi and Ξ“βŠ¨Ο•β†’Οˆ\Gamma \models \phi \to \psi. For any model M\mathcal{M} with MβŠ¨Ξ“\mathcal{M} \models \Gamma:

  • MβŠ¨Ο•\mathcal{M} \models \phi
  • MβŠ¨Ο•β†’Οˆ\mathcal{M} \models \phi \to \psi

By the semantics of implication, M⊨ψ\mathcal{M} \models \psi. Therefore Ξ“βŠ¨Οˆ\Gamma \models \psi.

βˆ€\forall-Introduction:

Ξ“βŠ’Ο•Ξ“βŠ’βˆ€x ϕ(providedΒ xΒ notΒ freeΒ inΒ Ξ“)\frac{\Gamma \vdash \phi}{\Gamma \vdash \forall x \, \phi} \quad \text{(provided $x$ not free in $\Gamma$)}

By inductive hypothesis, Ξ“βŠ¨Ο•\Gamma \models \phi. We must show Ξ“βŠ¨βˆ€x ϕ\Gamma \models \forall x \, \phi.

Let M\mathcal{M} be any model with MβŠ¨Ξ“\mathcal{M} \models \Gamma, and let ss be any variable assignment. Since xx is not free in Ξ“\Gamma, the truth of Ξ“\Gamma in M\mathcal{M} is independent of the assignment to xx.

For any value aa in the domain, let sβ€²s' be the assignment that agrees with ss except possibly at xx, where sβ€²(x)=as'(x) = a. We still have MβŠ¨Ξ“[sβ€²]\mathcal{M} \models \Gamma[s'] (since xx not free in Ξ“\Gamma).

By the inductive hypothesis Ξ“βŠ¨Ο•\Gamma \models \phi, we have MβŠ¨Ο•[sβ€²]\mathcal{M} \models \phi[s']. Since this holds for arbitrary aa, we have MβŠ¨βˆ€x ϕ[s]\mathcal{M} \models \forall x \, \phi[s].

βˆ€\forall-Elimination:

Ξ“βŠ’βˆ€xβ€‰Ο•Ξ“βŠ’Ο•[x/t]\frac{\Gamma \vdash \forall x \, \phi}{\Gamma \vdash \phi[x/t]}

By inductive hypothesis, Ξ“βŠ¨βˆ€x ϕ\Gamma \models \forall x \, \phi. For any model M\mathcal{M} with MβŠ¨Ξ“\mathcal{M} \models \Gamma and assignment ss:

MβŠ¨βˆ€x ϕ[s]\mathcal{M} \models \forall x \, \phi[s] means for all values aa, MβŠ¨Ο•[s[x↦a]]\mathcal{M} \models \phi[s[x \mapsto a]].

In particular, for a=tM[s]a = t^\mathcal{M}[s] (the interpretation of term tt), we have MβŠ¨Ο•[s[x↦tM[s]]]\mathcal{M} \models \phi[s[x \mapsto t^\mathcal{M}[s]]], which equals MβŠ¨Ο•[x/t][s]\mathcal{M} \models \phi[x/t][s] (by substitution lemma).

Therefore Ξ“βŠ¨Ο•[x/t]\Gamma \models \phi[x/t].

Cases for ∨\lor, βˆƒ\exists, Β¬\neg follow similar patterns.

Conclusion: Every inference rule preserves semantic validity. By induction on derivation structure, if Ξ“βŠ’Ο•\Gamma \vdash \phi has a derivation, then Ξ“βŠ¨Ο•\Gamma \models \phi. This completes the soundness proof.

β– 
Remark

Soundness is relatively straightforward to prove: we simply verify that each rule preserves truth. Completeness (the converse) is much harder, requiring the construction of canonical models from consistent theories (Henkin construction) or semantic tableaux methods. The soundness proof demonstrates that formal proof systems correctly capture semantic reasoningβ€”they don't prove false statements.