Key idea of this section
Completeness: Γ ⊨ φ implies Γ ⊢ φ. Every consistent set extends to a maximal consistent set, which defines a valuation. Compactness: Γ is satisfiable iff every finite subset of Γ is satisfiable.
Statement and strategy
Theorem 4.1 (Completeness; for Γ = ∅ due to Post, 1921). If Γ ⊨ φ, then Γ ⊢ φ.
By the remarks in Lesson 3, Γ ⊬ φ implies that Γ ∪ {¬φ} is consistent, and Γ ⊭ φ is equivalent to Γ ∪ {¬φ} being satisfiable. So completeness is equivalent to the model existence lemma: every consistent set of formulas is satisfiable. The proof extends the consistent set to a set so large that it decides every formula, and then reads a valuation off it. This is the propositional skeleton of Henkin's proof of Gödel's theorem in Lesson 8.
Maximal consistent sets
A set Γ is maximal consistent if it is consistent and no proper superset is consistent.
Lemma 4.2. Let Γ be maximal consistent. Then (i) Γ is deductively closed: Γ ⊢ φ implies φ ∈ Γ; (ii) for every φ, exactly one of φ and ¬φ is in Γ; (iii) φ ∧ ψ ∈ Γ iff φ ∈ Γ and ψ ∈ Γ; φ ∨ ψ ∈ Γ iff φ ∈ Γ or ψ ∈ Γ; φ → ψ ∈ Γ iff φ ∉ Γ or ψ ∈ Γ.
Proof. (i) If Γ ⊢ φ, then Γ ∪ {φ} is consistent (a derivation of ⊥ from it could be combined with the derivation of φ by cut), so by maximality φ ∈ Γ. (ii) Not both, since φ, ¬φ ⊢ ⊥. If φ ∉ Γ, then Γ ∪ {φ} is inconsistent, so Γ ⊢ ¬φ by ¬I, and ¬φ ∈ Γ by (i). (iii) We do ∨. If φ ∈ Γ then Γ ⊢ φ ∨ ψ by ∨I, so φ ∨ ψ ∈ Γ. Conversely, if φ ∨ ψ ∈ Γ but φ, ψ ∉ Γ, then ¬φ, ¬ψ ∈ Γ by (ii), and from φ ∨ ψ, ¬φ, ¬ψ one derives ⊥ by ∨E, contradicting consistency. The other cases are similar. ∎
Lemma 4.3 (Lindenbaum). Every consistent set Γ is contained in a maximal consistent set.
Proof. If At is countable, Form is countable; enumerate it as φ₀, φ₁, φ₂, …. Put Γ₀ = Γ and let Γₙ₊₁ = Γₙ ∪ {φₙ} if this is consistent and Γₙ₊₁ = Γₙ ∪ {¬φₙ} otherwise. Each Γₙ is consistent: if both Γₙ ∪ {φₙ} and Γₙ ∪ {¬φₙ} were inconsistent, then Γₙ ⊢ ¬φₙ and Γₙ ⊢ ¬¬φₙ, so Γₙ would be inconsistent. Let Γ* = ⋃ₙ Γₙ. A derivation of ⊥ from Γ* uses finitely many assumptions, all lying in some Γₙ, so Γ* is consistent; and Γ* contains φ or ¬φ for every φ, so it is maximal. For uncountable At apply Zorn's lemma to the family of consistent supersets of Γ ordered by inclusion: the union of a chain is consistent by the same finiteness argument. ∎
Proof of Theorem 4.1. Let Γ be consistent and extend it to a maximal consistent Γ*. Define v(p) = 1 iff p ∈ Γ*. By induction on formulas, using Lemma 4.2, v̄(φ) = 1 iff φ ∈ Γ*. The atomic case is the definition; for example, v̄(φ ∨ ψ) = 1 iff v̄(φ) = 1 or v̄(ψ) = 1 iff φ ∈ Γ* or ψ ∈ Γ* iff φ ∨ ψ ∈ Γ*. Hence v satisfies Γ* ⊇ Γ. ∎
Compactness
Theorem 4.4 (Compactness). A set Γ of propositional formulas is satisfiable if and only if every finite subset is satisfiable. Equivalently, if Γ ⊨ φ then Γ₀ ⊨ φ for some finite Γ₀ ⊆ Γ.
Proof. If every finite subset of Γ is satisfiable, then by soundness every finite subset is consistent. Since derivations are finite, Γ is consistent, and by completeness Γ is satisfiable. ∎
There is also a purely semantic proof: the space {0, 1}At of valuations is a compact Hausdorff space by Tychonoff's theorem, each set Mod(φ) of valuations satisfying φ is closed (indeed clopen, since φ involves finitely many atoms), and the finite intersection property gives a point in the intersection of the sets Mod(φ) for φ ∈ Γ. This explains the name.
Applications
Compactness turns finite combinatorics into infinite combinatorics. Three classical examples:
- 1.De Bruijn–Erdős (1951). An infinite graph G is k-colourable iff every finite subgraph is. Take atoms c(v, i) (vertex v gets colour i) for v ∈ V(G) and 1 ≤ i ≤ k, with formulas saying that each vertex gets at least one colour, at most one colour, and adjacent vertices get different colours. A finite subset mentions finitely many vertices and is satisfied by a colouring of the induced finite subgraph.
- 2.König's lemma. Every finitely branching infinite tree has an infinite branch.
- 3.Every partial order extends to a linear order. Take atoms r(a, b) for "a precedes b" and the axioms of linear order together with r(a, b) whenever a < b; every finite subset is satisfiable by the finite case (topological sorting).
In each case the finite version is an elementary combinatorial fact and compactness delivers the infinite version, at the cost of a weak choice principle: for uncountable At, the compactness theorem is equivalent over ZF to the Boolean prime ideal theorem, which is strictly weaker than the axiom of choice.
Exercise
- (a)Show that a maximal consistent set Γ satisfies: φ ↔ ψ ∈ Γ iff (φ ∈ Γ ⇔ ψ ∈ Γ).
- (b)Let Γ = {p₀} ∪ {pₙ → pₙ₊₁ : n ∈ ℕ} ∪ {¬p₁₀₀}. Find a finite unsatisfiable subset of Γ of minimum size.
- (c)Use compactness to show that if an infinite set Γ of formulas has the property that every valuation satisfies at least one member of Γ, then some finite disjunction of members of Γ is a tautology.
Show solution
Answers: (a) φ ↔ ψ abbreviates (φ → ψ) ∧ (ψ → φ). By Lemma 4.2(iii) this is in Γ iff (φ ∉ Γ or ψ ∈ Γ) and (ψ ∉ Γ or φ ∈ Γ), which says exactly that φ and ψ are both in or both out. (b) {p₀, p₀ → p₁, …, p₉₉ → p₁₀₀, ¬p₁₀₀}, with 1 + 100 + 1 = 102 formulas. Removing any one of them leaves a satisfiable set (if pₖ → pₖ₊₁ is removed, make p₀, …, pₖ true and the rest false), so no smaller subset works. (c) The set {¬γ : γ ∈ Γ} is unsatisfiable, so by compactness some finite subset {¬γ₁, …, ¬γₙ} is unsatisfiable, which means γ₁ ∨ … ∨ γₙ is a tautology.