Compactness Theorem
Statement
Let be a set of -sentences. If every finite has a model, then itself has a model.
Why is it true?
This is startling: 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 has no model, then some finite has no model.
Suppose is unsatisfiable. By Gödel's Completeness Theorem for first-order logic (semantic entailment coincides with syntactic derivability: iff ), being unsatisfiable is equivalent to being syntactically inconsistent, i.e. — a contradiction is formally derivable from .
A formal derivation is by definition a finite sequence of formulas, each justified by an axiom, a premise from , or an inference rule applied to earlier lines. Since the derivation of is finite, it cites only finitely many premises from ; collect them into a finite set .
The very same finite derivation, using only premises from , witnesses . By soundness of first-order logic (derivability implies entailment), , i.e. is unsatisfiable — it has no model.
So we have produced a finite with no model, proving the contrapositive. Equivalently: if every finite subset of has a model, no such inconsistent finite derivation can exist, so cannot be unsatisfiable, hence has a model.
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- Katrin Tent, Martin Ziegler (2012). A Course in Model Theory
- Lou van den Dries (1998). Tame Topology and O-minimal Structures
- Jonathan Pila, Alex J. Wilkie (2006). The rational points of a definable set