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.
Compactness is the compactness of the space of characters, the Stone space.
Types are characters of the algebra of formulas in free variables.
Ultraproducts are built from ultrafilters, characters of a power set, and Łoś’s theorem says truth commutes with them.
Back-and-forth extends partial isomorphisms one element at a time, the diagonal alternating between two structures.
Quantifier elimination and categoricity classify the definable cuts.
Declarations. Results that need infinite structures or choice are marked as conditionals on the declarations of Section 459.
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\),
| 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
The two maps. For a set of sentences \(T\) and a class of structures \(\mathcal K\):
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:
Basic notions.
\(T\) is complete if it decides every sentence, i.e. it has exactly one character over \(T\);
\(\mathcal M\equiv \mathcal N\), elementary equivalence, means \(\mathrm {Th}(\mathcal M)=\mathrm {Th}(\mathcal N)\): the same character.
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
Compactness.
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\).
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.
Maps.
an embedding preserves atomic formulas and their negations, i.e. the diagonal and the given cuts;
an elementary embedding \(j:\mathcal M\to \mathcal N\) preserves all formulas, \(\mathcal M\models \varphi [\bar a]\iff \mathcal N\models \varphi [j\bar a]\), so every tuple keeps its type.
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).
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\):
Łoś’s theorem.
atomic formulas hold by definition of \(\sim \);
\(\wedge \) holds because \(\mathcal U\) is closed under \(\cap \);
\(\neg \) holds because \(\mathcal U\) is a character: it contains exactly one of a set and its complement;
\(\exists \) holds by choosing a witness at each \(i\) where one exists.
\(\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\).
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.
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.
| 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 |
| 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 |
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.