Model Theory Introduction

⚡ Key Takeaways

Model theory studies mathematical structures (models) through the lens of formal logical languages, analyzing what classes of structures can be defined and how syntactic descriptions (theories) relate to semantic objects (models). Its central engine is the interplay between satisfaction and provability, crystallized in the Compactness and Löwenheim–Skolem theorems. It applies anywhere structures are axiomatized — algebra (fields, groups), arithmetic, combinatorics, and even analysis. Founded by Löwenheim, Skolem, Gödel, Tarski, and Robinson in the 1915–1960 era.

💡 The Core Insight

A first-order sentence is a finite syntactic object, yet it carves out a class of structures (its models) that can be enormous and varied. Model theory exploits a fundamental finiteness baked into first-order proof — only finitely many premises can be used in any single deduction — to obtain the Compactness Theorem: a set of sentences has a model iff every finite subset does. From compactness flow nearly all the foundational results, including the failure of first-order logic to control cardinality and the existence of nonstandard models of arithmetic and analysis.

Formal Statement

DefinitionLanguage (Signature)

A first-order language (or signature) L\mathcal{L} is a collection of symbols partitioned into:

  • Constant symbols c0,c1,…c_0, c_1, \dots
  • Function symbols f,g,…f, g, \dots, each with an arity n≥1n \geq 1,
  • Relation (predicate) symbols R,S,…R, S, \dots, each with an arity n≥1n \geq 1,

together with the fixed logical symbols: variables v0,v1,…v_0, v_1, \dots, connectives ¬,∧,∨,→\neg, \wedge, \vee, \rightarrow, quantifiers ∀,∃\forall, \exists, equality ==, and parentheses. The language of rings, for example, is Lring={+,⋅,−,0,1}\mathcal{L}_{\text{ring}} = \{+, \cdot, -, 0, 1\}.

DefinitionStructure

An L\mathcal{L}-structure M\mathcal{M} consists of a nonempty set MM (the domain or universe) together with an interpretation assigning:

  • to each constant symbol cc an element cM∈Mc^{\mathcal{M}} \in M,
  • to each nn-ary function symbol ff a function fM:Mn→Mf^{\mathcal{M}} : M^n \to M,
  • to each nn-ary relation symbol RR a relation RM⊆MnR^{\mathcal{M}} \subseteq M^n.

We write M=(M,{cM},{fM},{RM})\mathcal{M} = (M, \{c^{\mathcal{M}}\}, \{f^{\mathcal{M}}\}, \{R^{\mathcal{M}}\}).

The notion of truth in a structure is defined recursively. Given an assignment ss mapping variables to elements of MM, terms are evaluated, and satisfaction of a formula φ\varphi is written M⊨φ[s]\mathcal{M} \models \varphi[s]. The atomic clauses are:

1
M⊨(t1=t2)[s]  ⟺  t1M,s=t2M,s\quad \mathcal{M} \models (t_1 = t_2)[s] \iff t_1^{\mathcal{M},s} = t_2^{\mathcal{M},s}

Derivation hint: terms tit_i are evaluated by structural recursion — constants and variables first, then functions applied to subterm values; the atomic formula is true exactly when the two evaluated elements coincide in MM.

2
M⊨R(t1,…,tn)[s]  ⟺  (t1M,s,…,tnM,s)∈RM\quad \mathcal{M} \models R(t_1,\dots,t_n)[s] \iff \bigl(t_1^{\mathcal{M},s}, \dots, t_n^{\mathcal{M},s}\bigr) \in R^{\mathcal{M}}

Derivation hint: evaluate each term to an element of MM, then test membership of the resulting tuple in the interpreted relation. The recursive clauses for connectives and quantifiers:

3
M⊨(∃x φ)[s]  ⟺  there is a∈M with M⊨φ [s(x↦a)]\quad \mathcal{M} \models (\exists x\,\varphi)[s] \iff \text{there is } a \in M \text{ with } \mathcal{M} \models \varphi\,[s(x \mapsto a)]

Derivation hint: the existential quantifier ranges over the domain MM; s(x↦a)s(x \mapsto a) is the assignment ss modified to send xx to aa. Universal ∀x φ\forall x\,\varphi is defined dually as ¬∃x ¬φ\neg\exists x\,\neg\varphi. A sentence is a formula with no free variables; its truth does not depend on ss, so we write M⊨φ\mathcal{M} \models \varphi. A theory TT is a set of sentences; M⊨T\mathcal{M} \models T means M⊨φ\mathcal{M} \models \varphi for all φ∈T\varphi \in T, and M\mathcal{M} is then a model of TT.

DefinitionSemantic Consequence and Theory of a Structure

A sentence φ\varphi is a semantic consequence of TT, written T⊨φT \models \varphi, if every model of TT satisfies φ\varphi. The (complete) theory of a structure M\mathcal{M} is

4
Th⁡(M)={φ:φ is an L-sentence and M⊨φ}.\quad \operatorname{Th}(\mathcal{M}) = \{\varphi : \varphi \text{ is an } \mathcal{L}\text{-sentence and } \mathcal{M} \models \varphi\}.

Derivation hint: Th⁡(M)\operatorname{Th}(\mathcal{M}) is automatically <strong>complete</strong> — for every sentence φ\varphi either φ\varphi or ¬φ\neg\varphi lies in it — and <strong>consistent</strong>, since M\mathcal{M} is an explicit model.

TheoremCompactness Theorem

A set TT of first-order sentences has a model if and only if every finite subset of TT has a model. Equivalently, if T⊨φT \models \varphi then T0⊨φT_0 \models \varphi for some finite T0⊆TT_0 \subseteq T.

TheoremLöwenheim–Skolem Theorems

(Downward) If an L\mathcal{L}-theory TT in a countable language has an infinite model, then it has a model of every infinite cardinality κ≥ℵ0\kappa \geq \aleph_0. More precisely, any infinite structure M\mathcal{M} has an elementary substructure of cardinality max⁡(ℵ0,∣L∣)\max(\aleph_0, |\mathcal{L}|). (Upward) If TT has an infinite model, it has models of every cardinality κ≥max⁡(∣L∣,ℵ0)\kappa \geq \max(|\mathcal{L}|, \aleph_0).

Why It Holds / Derivation

ProofCompactness via the Completeness Theorem

We sketch the standard route: Compactness follows from Gödel's Completeness Theorem (T⊢φ  ⟺  T⊨φT \vdash \varphi \iff T \models \varphi), which equates syntactic provability with semantic consequence.

Step 1 — Finiteness of proofs. A formal proof in a Hilbert (or natural-deduction) calculus is a finite sequence of formulas. Hence if T⊢φT \vdash \varphi, only finitely many sentences of TT appear as premises; call this finite set T0T_0. Thus T0⊢φT_0 \vdash \varphi.

Step 2 — Contrapositive setup. Suppose every finite subset of TT has a model but TT has none. "TT has no model" means TT is unsatisfiable. By Completeness (specifically its consistency–satisfiability form), an unsatisfiable theory is inconsistent: T⊢⊥T \vdash \bot (a contradiction, e.g. ψ∧¬ψ\psi \wedge \neg\psi).

Step 3 — Localize the inconsistency. By Step 1, the derivation of ⊥\bot uses only a finite subset T0⊆TT_0 \subseteq T, so T0⊢⊥T_0 \vdash \bot, i.e. T0T_0 is inconsistent and hence (by Completeness again) unsatisfiable.

Step 4 — Contradiction. But T0T_0 is a finite subset, which by hypothesis has a model. Contradiction. Therefore TT has a model. ■\blacksquare An alternative, purely semantic proof builds the model directly via ultraproducts: take an ultrafilter U\mathcal U on the index set of finite subsets and form ∏iMi/U\prod_i \mathcal{M}_i / \mathcal U; Łoś's theorem guarantees the resulting structure satisfies TT.

∎
ProofUpward Löwenheim–Skolem via Compactness

Let M⊨T\mathcal{M} \models T be infinite and let κ≥max⁡(∣L∣,ℵ0)\kappa \geq \max(|\mathcal{L}|, \aleph_0).

Step 1. Expand the language by adding κ\kappa many fresh distinct constant symbols {cα:α<κ}\{c_\alpha : \alpha < \kappa\}.

Step 2. Form the theory T′=T∪{cα≠cβ:α<β<κ}T' = T \cup \{c_\alpha \neq c_\beta : \alpha < \beta < \kappa\}.

Step 3. Any finite subset T0′T'_0 mentions only finitely many of the new constants, say cα1,…,cαnc_{\alpha_1}, \dots, c_{\alpha_n}. Since M\mathcal{M} is infinite, we can interpret these constants as nn distinct elements of MM, making M\mathcal{M} (so expanded) a model of T0′T'_0.

Step 4. By Compactness, T′T' has a model N\mathcal{N}. Its κ\kappa distinct constants force ∣N∣≥κ|N| \geq \kappa. Reducing back to L\mathcal{L} and applying Downward Löwenheim–Skolem if needed gives a model of TT of cardinality exactly κ\kappa. ■\blacksquare

∎
mathematician · Alfred Tarski | 1901–1983

Polish-American logician who gave the rigorous definition of truth in formalized languages (1933), turning the intuitive "M\mathcal{M} satisfies φ\varphi" into the recursive clauses [1]–[3] that ground all of model theory. Tarski introduced the notions of elementary equivalence, definability, and quantifier elimination, proved the decidability of the theory of real closed fields and of Euclidean geometry, and (with his students at Berkeley) effectively created model theory as an autonomous discipline in the 1950s–60s. His work on the undefinability of truth complements Gödel's incompleteness and frames the entire syntax–semantics dialogue.

Building Intuition

🧠 Intuition

Think of a theory as a list of constraints and a model as a concrete world satisfying them. First-order logic is "myopic": each axiom and each proof only ever sees finitely much information at once. Compactness is the precise statement of this myopia — you cannot rule out a model with a single global, infinitary condition; you can only rule it out via some finite local conflict. This explains why first-order logic cannot express "the domain is finite," "the domain is countable," or "every element is reachable from 00 by finitely many successors" (well-foundedness / standardness). The moment you try, compactness conjures a model violating your intent — adding a constant cc "infinitely far out" with axioms c≠0,c≠1,c≠1+1,…c \neq 0, c \neq 1, c \neq 1+1, \dots, all finitely satisfiable, hence jointly satisfiable, giving a nonstandard element. Model theory is thus the study of what survives this myopia and what slips through it.

Figure
The syntax–semantics correspondence: theories on the left, their model classes on the right, linked by satisfaction and provability
SYNTAX (Theories) SEMANTICS (Structures) Sentences φ, ψ Theory T = {φ₁, φ₂,…} Proofs: T ⊢ φ Completeness: T ⊢ φ ⟺ T ⊨ φ Models M, N M ⊨ T Mod(T) = class of models Th(M) = full theory of structure M ⊨ (satisfaction) Th(·) (abstraction) Compactness: T has a model ⟺ every finite T₀⊆T does

Worked Examples

ExampleNonstandard Models of Arithmetic

Given. Let N=(N,+,⋅,<,0,1)\mathcal{N} = (\mathbb{N}, +, \cdot, <, 0, 1) and let T=Th⁡(N)T = \operatorname{Th}(\mathcal{N}) be true arithmetic. We construct a model containing an "infinite" number.

Steps. 1. Add a fresh constant cc to the language Larith\mathcal{L}_{\text{arith}}. 2. Form T′=T∪{ c>1+1+⋯+1⏟n:n∈N }T' = T \cup \{\, c > \underbrace{1 + 1 + \cdots + 1}_{n} : n \in \mathbb{N}\,\}, i.e. c>nˉc > \bar n for every numeral nˉ\bar n. 3. Finite satisfiability: any finite subset of T′T' contains c>nˉc > \bar n for finitely many nn, with maximum NN. Interpret c:=N+1c := N+1 in N\mathcal{N}; all those inequalities hold. So every finite subset has a model. 4. By Compactness, T′T' has a model M∗\mathcal{M}^*. 5. In M∗\mathcal{M}^*, the element cM∗c^{\mathcal{M}^*} exceeds every standard numeral nˉ\bar n — it is a nonstandard (infinite) natural number. 6. Since M∗⊨T=Th⁡(N)\mathcal{M}^* \models T = \operatorname{Th}(\mathcal{N}), it is elementarily equivalent to N\mathcal{N}: it satisfies exactly the same first-order sentences.

Boxed answer.

  M∗≡N,yet M∗ contains cM∗>nˉ ∀n∈N.  \boxed{\;\mathcal{M}^* \equiv \mathcal{N}, \quad \text{yet } \mathcal{M}^* \text{ contains } c^{\mathcal{M}^*} > \bar n \ \forall n \in \mathbb{N}.\;}

The existence of nonstandard models shows that no first-order theory can categorically describe N\mathbb{N} up to isomorphism.

ExampleCounting Models: Vector Spaces and Categoricity

Given. Let K=QK = \mathbb{Q} and consider the theory TT of infinite Q\mathbb{Q}-vector spaces in the language L={+,0}∪{λq:q∈Q}\mathcal{L} = \{+, 0\} \cup \{ \lambda_q : q \in \mathbb{Q}\} where λq\lambda_q is a unary scalar-multiplication function. We count models up to isomorphism in each uncountable cardinality.

Steps. 1. A Q\mathbb{Q}-vector space is determined up to isomorphism by its dimension over Q\mathbb{Q}. 2. For a vector space of cardinality κ>ℵ0\kappa > \aleph_0, the cardinality equals max⁡(ℵ0,dim⁡)=dim⁡\max(\aleph_0, \dim) = \dim, so dim⁡=κ\dim = \kappa. 3. Hence in each uncountable κ\kappa there is, up to isomorphism, exactly one model: the space of dimension κ\kappa. The theory is κ\kappa-categorical for all uncountable κ\kappa. 4. In the countable case κ=ℵ0\kappa = \aleph_0, dimensions 1,2,3,…,ℵ01, 2, 3, \dots, \aleph_0 all give nonisomorphic countable models — countably many of them — so TT is not ℵ0\aleph_0-categorical.

Boxed answer.

  I(T,κ)=1 for κ>ℵ0,I(T,ℵ0)=ℵ0.  \boxed{\;I(T,\kappa) = 1 \text{ for } \kappa > \aleph_0, \qquad I(T,\aleph_0) = \aleph_0.\;}

This illustrates Morley's Categoricity Theorem: a countable theory categorical in one uncountable cardinal is categorical in all of them.

Common Misconceptions

⚠️ Common mistake

"⊨\models and ⊢\vdash are the same thing." They are defined completely differently — ⊨\models is semantic (truth in all models), ⊢\vdash is syntactic (existence of a formal proof). Their equivalence is the content of Gödel's Completeness Theorem and holds for first-order logic, but fails for second-order logic (which has no complete proof system). Conflating them erases the very distinction model theory exists to study.

⚠️ Common mistake

"Completeness Theorem and Incompleteness Theorem contradict each other." They do not. Completeness says T⊢φ  ⟺  T⊨φT \vdash \varphi \iff T \models \varphi — provability captures semantic consequence. Incompleteness says a specific theory (e.g. Peano Arithmetic) is not negation-complete: there is a sentence φ\varphi with neither PA⊢φ\text{PA} \vdash \varphi nor PA⊢¬φ\text{PA} \vdash \neg\varphi. These are about different uses of the word "complete."

CounterexampleFirst-order logic cannot express finiteness

Suppose, for contradiction, a single sentence σfin\sigma_{\text{fin}} held in M\mathcal{M} exactly when ∣M∣|M| is finite. Consider T={σfin}∪{∃x1⋯∃xn⋀i<jxi≠xj:n∈N}T = \{\sigma_{\text{fin}}\} \cup \{\exists x_1 \cdots \exists x_n \bigwedge_{i<j} x_i \neq x_j : n \in \mathbb{N}\}, where the nn-th sentence says "there exist at least nn distinct elements." Every finite subset is satisfiable (take a large finite set). By Compactness, TT has a model M\mathcal{M}, which is then both finite (by σfin\sigma_{\text{fin}}) and infinite (by the at-least-nn axioms) — absurd. Hence no such σfin\sigma_{\text{fin}} exists; the class of finite structures is not first-order axiomatizable, though its complement (being infinite) is.

Connections

connection

Model theory sits at the crossroads of logic and the rest of mathematics. It feeds on First-Order Logic for its syntax and on Set Theory for its cardinal arithmetic (Löwenheim–Skolem, categoricity). The ultraproduct construction links it to Ultrafilters and the Stone–Čech Compactification and provides Robinson's Nonstandard Analysis, a rigorous calculus of infinitesimals. Through quantifier elimination and model completeness it connects deeply to algebra: the theory of Algebraically Closed Fields and of Real Closed Fields yields the Tarski–Seidenberg theorem and o-minimality, the backbone of o-minimal Structures used in real algebraic geometry. Its stability theory (Shelah) interfaces with Combinatorics and recently with Arithmetic Geometry via the work on the Mordell–Lang and André–Oort conjectures.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1915 — Leopold Löwenheim proves that a first-order sentence with an infinite model has a countable model — the first Löwenheim–Skolem result.
- 1920–1923 — Thoralf Skolem generalizes to theories and arbitrary cardinalities; identifies the Skolem paradox (countable models of set theory) and introduces Skolem functions.
- 1929–1930 — Kurt Gödel proves the Completeness Theorem for first-order logic in his doctoral thesis, establishing ⊢  ⟺  ⊨\vdash \iff \models; Compactness follows.
- 1931 — Gödel proves the Incompleteness Theorems, sharply separating completeness from negation-completeness.
- 1933 — Alfred Tarski publishes "The Concept of Truth in Formalized Languages," giving the recursive definition of satisfaction.
- 1948–1951 — Tarski proves quantifier elimination and decidability for real closed fields and elementary geometry.
- 1955 — Jerzy Łoś proves the fundamental theorem of ultraproducts (Łoś's theorem), giving a semantic proof of compactness.
- 1961 — Abraham Robinson founds nonstandard analysis; develops model completeness and the model theory of fields.
- 1965 — Michael Morley proves the Categoricity Theorem, launching classification (stability) theory; Shelah (1970s–90s) erects the vast edifice of stability and classification theory.

Subtleties & Limits

open-problem

Vaught's Conjecture (1961) asserts that a countable complete first-order theory has either at most ℵ0\aleph_0 or exactly 2ℵ02^{\aleph_0} countable models up to isomorphism — never an intermediate number. It remains open in general (proved for several large classes, e.g. ω\omega-stable theories by Shelah–Harrington–Makkai, and for o-minimal theories). The conjecture probes whether the descriptive-set-theoretic complexity of the isomorphism relation can be "intermediate," tying model theory to descriptive set theory and the analysis of Borel equivalence relations. More broadly, Shelah's classification program seeks a complete dividing-line picture (stable / NIP / NSOP / simple) for all first-order theories; while stability and simplicity theory are mature, the geometry of NIP and the Main Gap above the countable have generated deep ongoing research, and the precise structure theory for unstable theories is far from settled.

See Also

First-Order Logic · Gödel's Completeness Theorem · Compactness Theorem · Löwenheim–Skolem Theorems · Ultraproducts and Łoś's Theorem · Quantifier Elimination and Model Completeness · Stability and Classification Theory · Nonstandard Analysis · o-minimal Structures · Finite Model Theory