366 Model Theory from the Floor

A structure interprets each formula as a cut of its domain, and truth in the structure is a character: a homomorphism from the Boolean algebra of sentences to \(\{0,1\}\).

Theories and models. Theories and classes of models are related by a Galois connection, whose closure is semantic consequence. The completeness theorem says this closure coincides with derivability.

Main theorems.

Declarations. Results that need infinite structures or choice are marked as conditionals on the declarations of Section 459.

366.1 Structures and satisfaction

Structures. A language \(L\) has function, relation and constant symbols. An \(L\)-structure \(\mathcal M\) is a nonempty domain \(M\) with an interpretation of each symbol.

Satisfaction. For a formula \(\varphi (x_1,\ldots ,x_n)\), satisfaction defines a cut of \(M^n\),

\begin{equation} \varphi ^{\mathcal M}=\{\bar a\in M^n:\ \mathcal M\models \varphi [\bar a]\}, \tag{21938}\end{equation}
by recursion on \(\varphi \):

Formula Cut Floor
\(t_1=t_2\) where the values coincide identity, diagonal of \(M\)
\(R(\bar t)\) preimage of \(R^{\mathcal M}\) given cut
\(\varphi \wedge \psi \) \(\varphi ^{\mathcal M}\cap \psi ^{\mathcal M}\) meet
\(\neg \varphi \) \(M^n\setminus \varphi ^{\mathcal M}\) involution
\(\exists y\,\varphi \) image under the projection left adjoint \(\exists \dashv \pi ^{*}\)
\(\forall y\,\varphi \) \(\neg \exists y\neg \varphi \) right adjoint \(\pi ^{*}\dashv \forall \)

The atomic case \(x=x\) defines all of \(M\): equality is interpreted by the diagonal of the domain.

Truth as a character. For sentences, \(\mathcal M\models \sigma \) is \(1\) or \(0\), and the recursion makes

\begin{equation} \chi _{\mathcal M}:\ \mathrm {Sent}_L/\!\equiv \ \longrightarrow \ \{0,1\} \tag{21939}\end{equation}
a homomorphism of Boolean algebras. Each structure is a character of the Lindenbaum algebra of its language.

366.2 Theories, models and the Galois connection

The two maps. For a set of sentences \(T\) and a class of structures \(\mathcal K\):

\begin{equation} \mathrm {Mod}(T)=\{\mathcal M:\ \mathcal M\models T\}, \qquad \mathrm {Th}(\mathcal K)=\{\sigma :\ \forall \mathcal M\in \mathcal K\ \ \mathcal M\models \sigma \}. \tag{21940}\end{equation}
Both reverse inclusion, and
\begin{equation} T\subseteq \mathrm {Th}(\mathcal K)\iff \mathcal K\subseteq \mathrm {Mod}(T), \tag{21941}\end{equation}
a Galois connection.

Closures. By Section 233, the composite \(T\mapsto \mathrm {Th}(\mathrm {Mod}(T))\) is a closure operator: extensive, monotone and idempotent. Its value is the set of semantic consequences of \(T\). Dually, \(\mathcal K\mapsto \mathrm {Mod}(\mathrm {Th}(\mathcal K))\) is the elementary class generated by \(\mathcal K\).

Completeness. Derivability \(T\vdash \sigma \) is the syntactic closure. Gödel’s completeness theorem says the two closures agree:

\begin{equation} T\vdash \sigma \iff \sigma \in \mathrm {Th}(\mathrm {Mod}(T)). \tag{21942}\end{equation}
The proof builds a character from a consistent theory (Henkin witnesses), or from a non-closing branch of cut-free search (Section 365).

Basic notions.

366.3 The Stone space and compactness

The space. Let \(S(T)\) be the set of complete theories extending \(T\), the characters of the Lindenbaum algebra of \(T\). Topologise it by the basic clopen sets

\begin{equation} [\sigma ]=\{p\in S(T):\ \sigma \in p\}. \tag{21943}\end{equation}
These are cuts: \([\sigma \wedge \tau ]=[\sigma ]\cap [\tau ]\) and \([\neg \sigma ]=S(T)\setminus [\sigma ]\).

Compactness.

\begin{equation} T\ \text {has a model}\iff \text {every finite subset of }T\text { has a model.} \tag{21944}\end{equation}
Proof. By completeness, \(T\) has a model iff \(T\) is consistent. A derivation of a contradiction uses finitely many sentences of \(T\), and a finite consistent subset has a model. \(\square \)

Topological form. \(S(T)\) is compact, Hausdorff and totally disconnected. A family of clopen sets with the finite intersection property has a common point. This is Stone’s theorem, and its general form needs the ultrafilter lemma, a weak form of choice that holds in the generated universe \(L\).

366.4 Types

Types. An \(n\)-type over \(T\) is a character of the algebra of formulas in \(x_1,\ldots ,x_n\) modulo \(T\), a maximal consistent set \(p(\bar x)\). Types form the Stone space \(S_n(T)\).

Realising and omitting. A tuple \(\bar a\) in \(\mathcal M\) realises \(p\) if \(\mathcal M\models \varphi [\bar a]\) for all \(\varphi \in p\), so every tuple realises exactly one type: its character on formulas. Every type is realised in some elementary extension, by compactness. A non-isolated type, one not generated by a single formula, can be omitted by some countable model (omitting types theorem, countable languages).

Isolated types. The isolated types are the isolated points of \(S_n(T)\), the points cut out by one formula. A countable complete theory has a countable model realising only isolated types, the prime model, if and only if isolated types are dense.

366.5 Embeddings and Löwenheim–Skolem

Maps.

Tarski–Vaught test. A substructure \(\mathcal M\subseteq \mathcal N\) is elementary iff every formula \(\exists y\,\varphi (\bar a,y)\) true in \(\mathcal N\) with parameters \(\bar a\) from \(M\) has a witness in \(M\). The left adjoint \(\exists \) is computed inside \(M\).

Downward Löwenheim–Skolem. For a structure \(\mathcal N\) in a countable language and a countable \(A\subseteq N\), close \(A\) under witnesses: for each formula and parameters, add one witness, chosen by a well-order of \(N\). After \(\omega \) rounds the result is countable and passes Tarski–Vaught, so it is an elementary substructure. This uses the declaration of \(\omega \) and a choice of witnesses, available in \(L\).

Upward Löwenheim–Skolem. If \(T\) has an infinite model, add constants \(\{c_i\}_{i<\kappa }\) with \(c_i\neq c_j\). Every finite subset has a model, so by compactness there is a model of size at least \(\kappa \). This is a conditional on an infinite model, hence on Infinity.

Skolem’s paradox. Set theory, if consistent, has a countable model in which "there are uncountable sets" is true. Countability is relative to the bijections available inside the model (Section 460).

366.6 Ultraproducts

Ultrafilters. An ultrafilter \(\mathcal U\) on a set \(I\) is a character of the Boolean algebra \(\mathcal P(I)\): for each \(X\subseteq I\), exactly one of \(X\) and \(I\setminus X\) is in \(\mathcal U\). Principal ultrafilters are point evaluations; non-principal ones exist by the ultrafilter lemma.

Ultraproducts. For structures \(\mathcal M_i\), \(i\in I\), identify sequences that agree on a set in \(\mathcal U\):

\begin{equation} \prod _i\mathcal M_i/\mathcal U, \qquad (a_i)\sim (b_i)\iff \{i:\ a_i=b_i\}\in \mathcal U . \tag{21945}\end{equation}

Łoś’s theorem.

\begin{equation} \prod _i\mathcal M_i/\mathcal U\models \varphi [(a_i)] \iff \{i:\ \mathcal M_i\models \varphi [a_i]\}\in \mathcal U . \tag{21946}\end{equation}
Proof by induction on \(\varphi \):

\(\square \)

Consequences. Truth commutes with ultraproducts because the ultrafilter is a character. Compactness follows again: index models of finite subsets of \(T\) by \(I=\) finite subsets, and take an ultrafilter containing every set \(\{F:\ F\ni \sigma \}\). The ultrapower \(\mathbb R^{\mathbb N}/\mathcal U\) gives non-standard reals with infinitesimals, elementarily equivalent to \(\mathbb R\).

366.7 Back-and-forth and categoricity

Back-and-forth. A partial isomorphism between \(\mathcal M\) and \(\mathcal N\) is a finite injective map preserving atomic formulas. A back-and-forth system is a nonempty family of such maps such that any member can be extended to include a given element of \(M\) (forth) or of \(N\) (back).

Theorem. For countable \(\mathcal M,\mathcal N\), a back-and-forth system gives an isomorphism: enumerate both domains and alternate forth and back steps. Each step adds one pair to the graph of the map, a cut of the diagonal of \(M\times N\), and in the limit the graph is a bijection.

Dense linear orders. \(\mathrm {DLO}\), dense linear orders without endpoints, has the system of all finite order-preserving maps: any gap can be filled by density. Hence every countable model is isomorphic to \((\mathbb Q,<)\) (Cantor), and \(\mathrm {DLO}\) is \(\aleph _0\)-categorical.

Ehrenfeucht–Fraïssé games. \(\mathcal M\) and \(\mathcal N\) satisfy the same sentences of quantifier depth \(\le n\) iff the duplicator survives \(n\) rounds of the back-and-forth game. Elementary equivalence is survival for every finite \(n\).

Łoś–Vaught test. If \(T\) has no finite models and is \(\kappa \)-categorical for some infinite \(\kappa \), then \(T\) is complete. Proof: two models disagreeing on \(\sigma \) have, by Löwenheim–Skolem, models of size \(\kappa \) disagreeing on \(\sigma \), which are isomorphic, a contradiction. Example: algebraically closed fields of fixed characteristic are categorical in every uncountable cardinal (by transcendence degree), hence complete.

Morley’s theorem. A countable theory categorical in one uncountable cardinal is categorical in all uncountable cardinals.

366.8 Quantifier elimination and definable cuts

Definition. \(T\) eliminates quantifiers if every formula is equivalent modulo \(T\) to a quantifier-free one: the left adjoint \(\exists \) maps quantifier-free cuts to quantifier-free cuts. Then the definable sets are Boolean combinations of atomic ones, and the types are determined by atomic data.

Examples.

Theory Quantifier-free definable sets Consequence
\(\mathrm {DLO}\) Boolean combinations of \(x<y\), \(x=y\) complete, decidable
\(\mathrm {ACF}_p\) constructible sets (Chevalley) Nullstellensatz, Ax–Grothendieck
\(\mathrm {RCF}\) semialgebraic sets (Tarski–Seidenberg) real algebra decidable, o-minimal
Presburger linear inequalities and congruences complete, decidable

The step for DLO. To eliminate \(\exists y\) from a conjunction of literals in \(y\), note that the formula says \(y\) lies in an interval between given points. By density such a \(y\) exists iff every lower bound is below every upper bound, a quantifier-free condition.

O-minimality. In \(\mathrm {RCF}\), every definable subset of the line is a finite union of points and intervals: the definable cuts of \(\mathbb R\) are as tame as those of the order alone.

366.9 Declarations

Result Status
satisfaction, characters finite recursion
completeness, countable language conditional on \(\omega \)
compactness, Stone’s theorem ultrafilter lemma, holds in \(L\)
downward Löwenheim–Skolem \(\omega \) and choice of witnesses
upward Löwenheim–Skolem conditional on an infinite model
non-principal ultrafilters ultrafilter lemma
back-and-forth for countable models \(\omega \) enumerations
DLO quantifier elimination finite, holds outright

366.10 Summary

Notion Form From
\(t_1=t_2\) diagonal of \(M\) identity
definable set cut of \(M^n\) idempotent
\(\neg \), \(\wedge \), \(\exists \) complement, meet, image involution, meet, adjoint
truth in \(\mathcal M\) character of \(\mathrm {Sent}_L\) sharp values
\(\mathrm {Th}\dashv \mathrm {Mod}\) Galois connection adjunction
semantic consequence \(\mathrm {Th}\circ \mathrm {Mod}\) closure operator
completeness syntactic \(=\) semantic closure characters
compactness \(S(T)\) compact Stone space
types characters in free variables Stone space \(S_n\)
elementary embedding preserves types Tarski–Vaught
ultraproduct, Łoś truth commutes ultrafilter \(=\) character
back-and-forth alternating extension diagonal of \(M\times N\)
categoricity Łoś–Vaught, Morley back-and-forth, invariants
quantifier elimination \(\exists \) preserves q.f. cuts adjoint

366.11 Closing

The chain closed by this section runs as follows.

Stage Built from
identity, diagonal, cuts, involution, cone, derivation \(\mathrm {id}_A\) (Remark 351.1)
numbers, factorisation, telescoping free monoid, completion
sets, types, pairs, products stages of cutting, adjoint of \(\Delta \)
closure, Kan extensions, limits adjunctions, transposed identities
the completed infinite declaration; uses are conditionals
logic: LK, LJ, linear structural rules from the floor
proof theory cut \(=\) composition, Hauptsatz, \(\varepsilon _0\)
model theory cuts, characters, Stone spaces
Boolean and quantum circuits idempotents, involutions, Frobenius

At each stage, what is derived is marked as derived, and what is declared is carried forward as the antecedent of a conditional.