MathLabs
TheoremProved

Compactness Theorem

Statement

Let Σ\Sigma be a set of L\mathcal{L}-sentences. If every finite Σ0⊆Σ\Sigma_0 \subseteq \Sigma has a model, then Σ\Sigma itself has a model.

Why is it true?

This is startling: Σ\Sigma can be infinite, even encoding infinitely many constraints, yet consistency need only be checked finitely many constraints at a time. It is the bridge from finitary proof (a formal derivation is always a finite object) to infinitary semantics (a model can be infinite), and it is the single theorem responsible for the existence of infinite and nonstandard models throughout model theory.

Proof sketch

We prove the contrapositive: if Σ\Sigma has no model, then some finite Σ0⊆Σ\Sigma_0 \subseteq \Sigma has no model.

Suppose Σ\Sigma is unsatisfiable. By Gödel's Completeness Theorem for first-order logic (semantic entailment coincides with syntactic derivability: Σ⊨⊥\Sigma \models \bot iff Σ⊢⊥\Sigma \vdash \bot), Σ\Sigma being unsatisfiable is equivalent to Σ\Sigma being syntactically inconsistent, i.e. Σ⊢⊥\Sigma \vdash \bot — a contradiction is formally derivable from Σ\Sigma.

A formal derivation is by definition a finite sequence of formulas, each justified by an axiom, a premise from Σ\Sigma, or an inference rule applied to earlier lines. Since the derivation of ⊥\bot is finite, it cites only finitely many premises from Σ\Sigma; collect them into a finite set Σ0={σ1,…,σn}⊆Σ\Sigma_0 = \{\sigma_1, \dots, \sigma_n\} \subseteq \Sigma.

The very same finite derivation, using only premises from Σ0\Sigma_0, witnesses Σ0⊢⊥\Sigma_0 \vdash \bot. By soundness of first-order logic (derivability implies entailment), Σ0⊨⊥\Sigma_0 \models \bot, i.e. Σ0\Sigma_0 is unsatisfiable — it has no model.

So we have produced a finite Σ0⊆Σ\Sigma_0 \subseteq \Sigma with no model, proving the contrapositive. Equivalently: if every finite subset of Σ\Sigma has a model, no such inconsistent finite derivation can exist, so Σ\Sigma cannot be unsatisfiable, hence Σ\Sigma has a model.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Katrin Tent, Martin Ziegler (2012). A Course in Model Theory
  2. Lou van den Dries (1998). Tame Topology and O-minimal Structures
  3. Jonathan Pila, Alex J. Wilkie (2006). The rational points of a definable set