Key idea of this section
A derivation is a finite tree of formulas built by introduction and elimination rules. Γ ⊢ φ: there is a derivation of φ all of whose open assumptions lie in Γ. Soundness: Γ ⊢ φ implies Γ ⊨ φ.
Why a proof calculus
Semantic consequence quantifies over all valuations. For propositional logic that is a finite check, but for first-order logic it quantifies over all structures of every cardinality, a genuinely infinitary notion. A proof calculus replaces it by a syntactic notion: finite objects, checkable by a mechanical procedure. The calculus we use is Gentzen's natural deduction (1934), which models the way mathematicians actually argue: we make assumptions, reason from them, and discharge them.
The rules
A derivation is a finite tree whose nodes are labelled with formulas, whose leaves are assumptions, and whose inner nodes are justified by rules. Some rules discharge assumptions, written [φ]; a discharged assumption is no longer an open hypothesis of the derivation. Writing the premises before the slash and the conclusion after it, the rules are:
∧I: φ, ψ / φ ∧ ψ ∧E: φ ∧ ψ / φ and φ ∧ ψ / ψ ∨I: φ / φ ∨ ψ and ψ / φ ∨ ψ ∨E: φ ∨ ψ, [φ]…χ, [ψ]…χ / χ →I: [φ]…ψ / φ → ψ →E: φ, φ → ψ / ψ (modus ponens) ¬I: [φ]…⊥ / ¬φ ¬E: φ, ¬φ / ⊥ ⊥E: ⊥ / φ (ex falso) RAA: [¬φ]…⊥ / φ (reductio ad absurdum)
Here [φ]…ψ means a subderivation of ψ in which φ may be used as an assumption, and the rule discharges φ. We write Γ ⊢ φ if there is a derivation with conclusion φ whose open (undischarged) assumptions all belong to Γ. The biconditional is treated as an abbreviation of (φ → ψ) ∧ (ψ → φ).
Dropping RAA gives intuitionistic logic, in which the law of excluded middle φ ∨ ¬φ and double negation elimination ¬¬φ → φ are not derivable. Dropping ⊥E as well gives minimal logic. Classical logic is our default.
A worked derivation
We derive the excluded middle ⊢ φ ∨ ¬φ. Assume ¬(φ ∨ ¬φ) (assumption 1). Assume φ (assumption 2). By ∨I, φ ∨ ¬φ; with assumption 1 and ¬E, ⊥. By ¬I discharging assumption 2, ¬φ. By ∨I, φ ∨ ¬φ; with assumption 1 and ¬E, ⊥. By RAA discharging assumption 1, φ ∨ ¬φ. All assumptions are discharged, so the conclusion is derivable from the empty set.
Basic properties of ⊢
The following are immediate from the definition: monotonicity (Γ ⊢ φ and Γ ⊆ Δ imply Δ ⊢ φ); finiteness (if Γ ⊢ φ, then Γ₀ ⊢ φ for some finite Γ₀ ⊆ Γ, because a derivation is finite); cut or transitivity (if Γ ⊢ φ and Γ ∪ {φ} ⊢ ψ, then Γ ⊢ ψ, by grafting); and the syntactic deduction theorem (Γ ⊢ φ → ψ if and only if Γ ∪ {φ} ⊢ ψ, by →I and →E). A set Γ is consistent if Γ ⊬ ⊥. By RAA and ¬I, Γ ⊢ φ if and only if Γ ∪ {¬φ} is inconsistent, and Γ ⊬ φ if and only if Γ ∪ {¬φ} is consistent.
Theorem 3.1 (Soundness). If Γ ⊢ φ, then Γ ⊨ φ.
Proof. We prove by induction on derivations D the statement: if D has conclusion φ and its open assumptions form the set Δ, then Δ ⊨ φ. Since Δ ⊆ Γ, this gives Γ ⊨ φ. A one-node derivation is an assumption φ with Δ = {φ}, and {φ} ⊨ φ. For the inductive step we check each rule; we do the three that discharge.
→I: D ends with φ → ψ, obtained from a derivation of ψ with open assumptions Δ′ ⊆ Δ ∪ {φ}. By induction Δ ∪ {φ} ⊨ ψ, and Proposition 1.4 gives Δ ⊨ φ → ψ.
∨E: from derivations of φ ∨ ψ (assumptions in Δ), of χ (in Δ ∪ {φ}) and of χ (in Δ ∪ {ψ}). If v satisfies Δ, then v satisfies φ or ψ; in either case the corresponding induction hypothesis gives v ⊨ χ.
RAA: from a derivation of ⊥ with assumptions in Δ ∪ {¬φ}. By induction Δ ∪ {¬φ} ⊨ ⊥, so Δ ∪ {¬φ} is unsatisfiable, so Δ ⊨ φ by Proposition 1.4.
The non-discharging rules are immediate; for example →E is sound because v ⊨ φ and v ⊨ φ → ψ imply v ⊨ ψ. ∎
Corollary 3.2. Every satisfiable set is consistent. In particular ⊬ ⊥, and the calculus does not derive p ∨ q → p, since that formula is not a tautology.
Hilbert systems and sequent calculus
Natural deduction is one of three standard formats. A Hilbert system has many axiom schemes and a single rule, modus ponens; for instance the schemes φ → (ψ → φ), (φ → (ψ → χ)) → ((φ → ψ) → (φ → χ)) and (¬ψ → ¬φ) → (φ → ψ) suffice for the {¬, →} fragment. Gentzen's sequent calculus manipulates sequents Γ ⇒ Δ and enjoys the cut-elimination theorem (Gentzen's Hauptsatz): every derivable sequent has a derivation in which every formula is a subformula of the end sequent. All three formats derive exactly the same consequences, and the soundness and completeness theorems hold for each.
Exercise
- (a)Give a natural deduction derivation of (φ → ψ) → (¬ψ → ¬φ).
- (b)Derive ¬¬φ ⊢ φ and say which rule makes this inherently classical.
- (c)Explain why soundness implies that the axiom-free calculus cannot derive p.
Show solution
Answers: (a) Assume φ → ψ (1), assume ¬ψ (2), assume φ (3). By →E from (3) and (1), ψ; by ¬E with (2), ⊥. By ¬I discharging (3), ¬φ. By →I discharging (2), ¬ψ → ¬φ. By →I discharging (1), the result. (b) Assume ¬φ (1). With the premise ¬¬φ, ¬E gives ⊥. RAA discharging (1) gives φ. RAA is essential: ¬¬φ → φ is not intuitionistically derivable. (c) If ⊢ p, soundness gives ⊨ p, but the valuation with v(p) = 0 falsifies p.