42.02.02 · mathematical-logic / model-theory

The Compactness Theorem and the Method of Diagrams

shipped3 tiersLean: none

Anchor (Master): Marker 2002 *Model Theory: An Introduction* (Springer GTM 217) Ch. 2 (compactness, diagrams, elementary amalgamation, the Łoś-Vaught test, preservation theorems, types); Chang and Keisler 1990 *Model Theory* 3e (North-Holland) Ch. 2-5 (the systematic theory of diagrams, ultraproducts and Łoś's theorem, the Keisler-Shelah isomorphism theorem, the Robinson consistency and Craig interpolation theorems, Beth definability, preservation theorems); Hodges 1993 *Model Theory* (Cambridge) Ch. 5-6, 8-9 (the preservation hierarchy via diagrams, amalgamation and the joint embedding property, interpolation); Robinson 1956 *A result on consistency and its application to the theory of definition* (Indag. Math. 18) and Craig 1957 *Three uses of the Herbrand-Gentzen theorem* (J. Symbolic Logic 22)

Intuition Beginner

The previous unit taught you to compare two worlds: when one sits inside another, and when no statement can tell two worlds apart. This unit answers the next question. How do you build a world that contains exactly the features you want? The tool is compactness, and the trick that aims it is the method of diagrams.

Compactness is a promise about demands. Suppose you have a long, possibly endless list of demands you want a single world to satisfy. The promise says: if every finite handful of those demands can be met by some world, then the whole list can be met by one world at once. You only ever have to check finite handfuls, which you can often do by hand. The full theorem was proved earlier; here it becomes a construction machine.

The method of diagrams is how you load the machine. To force a new world to contain a faithful copy of a world you already have, you give every object in the old world its own private name, then write down every basic fact about those named objects — who is below whom, what adds to what. Any world that believes all of those labelled facts is forced to contain a copy of the old world.

Now you stack on extra demands — "there is a number bigger than all of these" — check that each finite handful is met inside the old world, and let compactness deliver a new world holding both the copy and the intruder. Listing facts, naming objects, checking finite handfuls: that is the whole craft this unit teaches.

Visual Beginner

The picture shows the two moves stacked together. First the diagram plants a faithful copy of the old world; then a list of extra demands forces an intruder, and compactness delivers one world holding both.

   STEP 1 — THE DIAGRAM PLANTS A COPY

   old world: whole numbers, each with its own name
        name(0), name(1), name(2), name(3), ...
   basic facts written down (the diagram):
        name(0) < name(1) ,  name(1) < name(2) ,  name(2) < name(3) , ...
        name(1) + name(1) = name(2) ,  ...

   any world believing ALL these labelled facts
   must contain a faithful copy of the whole numbers.

   STEP 2 — EXTRA DEMANDS FORCE AN INTRUDER

   add one new name  c  and the endless demands:
        c > name(0) ,  c > name(1) ,  c > name(2) , ...

   each finite handful is met inside the old world
   (let c be a big enough ordinary number)

   so compactness gives ONE world with both:

     copy of whole numbers  ............ intruder
     0   1   2   3   ...  ........  ...  c   c+1  ...
     |---|---|---|----        ----|----|---|---
      planted by the diagram        forced past every name
move what you write down what it forces
atomic diagram basic facts, each object named a copy of the old world is embedded
elementary diagram every fact, not just basic ones an exact, statement-respecting copy
extra demands "bigger than every name" an intruder past the whole copy
compactness check each finite handful one world meeting all demands at once

Read top to bottom: name everything, list the facts, pile on what you want, check finite handfuls, collect the world.

Worked example Beginner

We build a world that contains a faithful copy of the whole numbers and also a single number sitting past all of them. We do it with the two moves: write the diagram, then add demands.

Step 1. Name every whole number. Give the name , give the name , give the name , and so on, one private name per number.

Step 2. Write down the basic facts — the diagram. For every pair, record who is below whom: , , , and so on; also record the addition facts like . This is a long list, but every item on it is a plain basic fact true of the whole numbers.

Step 3. Add a new name and the extra demands , , , continuing without end. These say beats every named whole number.

Step 4. Check finite handfuls. Take any finite piece of the whole list. It mentions finitely many named numbers, with a largest name, say . Inside the ordinary whole numbers, let stand for . Then every basic fact in the handful is true (it was true of the whole numbers) and every demand in the handful holds because beats . So the handful is met.

Step 5. Apply compactness. Every finite handful is met, so one world meets the entire list. In that world the names pick out a faithful copy of the whole numbers (all the basic facts hold), and names an object bigger than every one of them.

What this tells us: the diagram forced the copy, the extra demands forced the intruder, and finite-handful checking — each handful met by a big enough ordinary number — let compactness hand us a single world with both. The recipe is general: name, list, demand, check, collect.

Check your understanding Beginner

Formal definition Intermediate+

Fix a first-order language , the satisfaction relation , and the embedding/elementary-embedding hierarchy of 42.02.01 pending. The compactness theorem — a set of -sentences has a model iff every finite subset does — is established in 42.01.07 pending; this unit takes it as given and deploys it. The deployment device is the method of diagrams.

Let be an -structure with universe . Expand to by a fresh constant for each element. The atomic diagram is $$ \mathrm{Diag}(\mathfrak{M}) = {, \varphi(c_{a_1}, \dots, c_{a_n}) : \varphi \text{ atomic or negated-atomic}, \ \mathfrak{M} \models \varphi[a_1, \dots, a_n] ,}, $$ and the elementary diagram is the set of all -sentences true in (the expansion interpreting as ) [Marker Ch. 2].

Diagram lemma. For an -structure , write . Then iff is an -embedding of into the reduct , and iff is an elementary embedding. The slogan: models of the diagram are the structures admitting an embedding of ; models of the elementary diagram are those admitting an elementary embedding. Composing the lemma with compactness gives the workhorse: an -theory has a model into which embeds iff is satisfiable, and an elementary extension of satisfying iff is satisfiable. Consistency becomes "there is a model embedding what I want."

Two named structural facts deployed below. A theory is complete when for every -sentence , either or . is -categorical when all its models of cardinality are isomorphic. A class of structures has the joint embedding property when any two members embed into a common member, and a theory admits elementary amalgamation when any two elementary extensions of a common admit elementary embeddings into a single agreeing on .

Counterexamples to common slips Intermediate+

  • " already pins down up to isomorphism." It pins down only an embedded copy. The structure models via the inclusion, yet is not isomorphic to . The atomic diagram controls the quantifier-free fragment; quantified facts are the surplus carried only by .

  • "A -categorical theory is complete with no further hypothesis." The Łoś-Vaught test needs no finite models. The theory of a single equivalence relation with exactly two classes, each infinite, fails categoricity in the relevant sense once finite models intrude; the cleanest statements require ruling finite models out so that all -sized models are infinite and Löwenheim-Skolem applies uniformly.

  • "Compactness builds the model, so the diagram is optional." Compactness only certifies satisfiability of a sentence set. Without the diagram there is no sentence set whose models are forced to contain a prescribed structure; the diagram is exactly the translation of "embeds " into first-order sentences that compactness can act on.

Key theorem with proof Intermediate+

The signature result is the Łoś-Vaught test, the most-used completeness criterion in model theory: categoricity at a single cardinal, plus the absence of finite models, forces completeness. It is the diagram-and-compactness method turned into a decision procedure for "does this theory settle every sentence?"

Theorem (Łoś-Vaught test). Let be a satisfiable -theory with no finite models. If is -categorical for some , then is complete [Marker Ch. 2].

Proof. Suppose, toward a contradiction, that is not complete: some sentence has and . Then both and are satisfiable, by models and respectively, with and . Since has no finite models, and are infinite. By the Löwenheim-Skolem theorems of 42.01.07 pending — downward to shrink and upward (adjoin distinct constants to and apply compactness) to grow — each of has a model elementarily equivalent to it of cardinality exactly . Call these and ; both model , both have cardinality . Now -categoricity gives , hence . But (it agrees with ) while (it agrees with ), so . The contradiction shows no such exists, so is complete.

Corollary (worked completeness results). The theory of dense linear orders without endpoints is -categorical (Cantor's back-and-forth theorem, 42.02.01 pending) with no finite models, hence complete; the theory of algebraically closed fields of fixed characteristic is -categorical in every uncountable (a model is determined up to isomorphism by its transcendence degree, which equals when ) with no finite models, hence complete — and decidable, since a complete recursively axiomatized theory is decidable. The same test certifies the completeness of the theory of the random graph and of infinite-dimensional vector spaces over a fixed field. The deeper structure of -categoricity — Morley's theorem that categoricity in one uncountable cardinal forces it in all — is the subject of 42.02.06 pending.

Bridge. The Łoś-Vaught test is the foundational reason a single categoricity datum settles every sentence: completeness, an unbounded condition over all sentences, is decided by one isomorphism at one cardinal, and this is exactly the diagram-and-compactness method run as a completeness criterion. It builds toward the elementary amalgamation and Robinson consistency results below, whose proofs splice models along shared elementary diagrams, and it appears again in the categoricity theory of 42.02.06 pending, where Morley's theorem upgrades the single-cardinal hypothesis to a transfer across all uncountable cardinals. The argument generalises the non-standard-model construction of 42.01.07 pending from "force one intruder" to "force a model of prescribed size elementarily equivalent to a given one," and putting these together, the upward and downward Löwenheim-Skolem moves that resize a model are precisely the steps that make two arbitrary models of comparable at the categoricity cardinal. The central insight is that completeness equals "-uniqueness," and at the categoricity cardinal -uniqueness collapses into -uniqueness, which the hypothesis hands over for free.

Exercises Intermediate+

Advanced results Master

The compactness theorem and the diagram lemma organize five developments: the diagram dictionary turning consistency into embeddings, the Łoś-Vaught completeness test with its amalgamation companions, the Robinson-Craig-Beth circle on consistency and definability, the preservation theorems reading the quantifier prefix off the map hierarchy, and the ultraproduct construction supplying the calculus-free proof and the Keisler-Shelah characterization of .

Theorem 1 (the diagram dictionary). For an -structure and an -theory : has a model embedding iff is satisfiable, and has a model into which embeds elementarily iff is satisfiable [Marker Ch. 2]. Fed to compactness, this manufactures structures with prescribed substructures: the non-standard models of arithmetic (, , plus ); the proper elementary extensions of any infinite (add for all ); the models realizing a prescribed set of formulas (a type) by adding those formulas in a fresh variable-constant and checking finite satisfiability against — the construction 42.02.03 pending develops in full. The diagram is the precise translation under which "embeds " becomes a first-order constraint that compactness can satisfy.

Theorem 2 (Łoś-Vaught test, amalgamation, joint embedding). A satisfiable theory with no finite models that is -categorical for some is complete [Marker Ch. 2]; the worked instances are , , the random graph, and infinite vector spaces over a fixed field, all thereby complete and (being recursively axiomatized) decidable. The proof is the resize-to--and-compare argument, and the same diagram amalgamation yields more: any two elementary extensions of a common amalgamate elementarily over (satisfiability of with shared -constants), and a complete theory has the joint embedding property (its models elementarily embed into a common elementary extension). These amalgamation facts are the existence proofs behind monster models and the homogeneous-universal models on which stability theory operates.

Theorem 3 (Robinson consistency, Craig interpolation, Beth definability). Robinson's joint consistency theorem: for theories in and in with a complete theory in , the union is consistent; in general is consistent iff no -sentence is proved by and refuted by [Robinson 1956]. The proof is the alternating elementary-chain amalgamation: build flipping between models of and , at each stage realizing the elementary diagram of the previous model over the shared -reduct by compactness and the -completeness hypothesis, and taking the union, whose - and -reducts model and . Craig's interpolation theorem — yields an interpolant in the common vocabulary with — follows from Robinson consistency by the no-interpolant-implies-joint-consistency contrapositive [Craig 1957]. Beth's definability theorem — implicit definability of a predicate by a theory equals explicit definability over the old vocabulary — follows from interpolation applied to the two-copy theory asserting that two predicates implicitly defined the same way must coincide; the interpolant in the shared old vocabulary is the explicit definition.

Theorem 4 (preservation theorems via diagrams). The Łoś-Tarski theorem: a first-order theory is preserved under substructures iff it is axiomatizable by universal () sentences, and preserved under extensions iff by existential () sentences [Chang and Keisler Ch. 3]. The forward direction (syntax preservation) is the quantifier-free restriction of 42.02.01 pending; the converse (preservation syntax) is the diagram argument: if is preserved under substructures, the set of -consequences has the same models as , proved by embedding a model of into a model of via a compactness argument on plus the universal theory of the target. The Chang-Łoś-Suszko theorem extends this: a theory is preserved under unions of chains iff it is -axiomatizable, the diagram amalgamation now run along an -chain. These read the quantifier prefix as the exact semantic invariant a map respects, the preservation counterpart of the prenex hierarchy.

Theorem 5 (ultraproducts, Łoś's theorem, Keisler-Shelah). The ultraproduct over an ultrafilter on the index set satisfies a formula of a tuple of -classes iff -almost-all factors satisfy it of the representatives — Łoś's theorem [Chang and Keisler Ch. 4]. This yields the calculus-free compactness proof (the ultraproduct of models of each finite subset, over an ultrafilter concentrating on the cones, models the whole theory), and it is a construction tool: the diagonal embedding into the ultrapower is elementary, so is an elementary extension; over a non-principal is the hyperreals, with the transfer principle as Łoś applied to . The Keisler-Shelah isomorphism theorem closes the circle: iff there is an index set and ultrafilter with — elementary equivalence is exactly isomorphism of suitable ultrapowers, a purely algebraic rendering of the logical relation of 42.02.01 pending.

Synthesis. The diagram lemma is the foundational reason model theory is constructive rather than merely comparative, and putting these together it drives all five developments through one translation: " embeds " becomes "," so compactness, which only ever certifies satisfiability, becomes a machine for building structures with prescribed parts. This is exactly what Theorem 1 makes precise and what the Łoś-Vaught test of Theorem 2 exploits — completeness is -uniqueness, and the resize-to- moves of 42.01.07 pending collapse -uniqueness into the -uniqueness that categoricity supplies. The Robinson-Craig-Beth circle of Theorem 3 is the same amalgamation read for definability: the alternating elementary chain that splices two theories over a shared complete -theory is dual to the interpolant that separates them, and Beth definability is the central insight that implicit and explicit definition coincide because the splicing model and the interpolating sentence are two faces of one consistency fact. The preservation theorems of Theorem 4 generalise the map hierarchy of 42.02.01 pending from "which formulas a fixed map respects" to "which theories a class of maps respects," reading the quantifier prefix as the semantic invariant; the converse directions are diagram-and-compactness arguments, the bridge being that and share models exactly when every model of the universal theory embeds into a model of .

Ultraproducts of Theorem 5 supply the alternative proof of the compactness that started the chapter and, via Keisler-Shelah, identify the logical relation with an algebraic isomorphism of ultrapowers — the same equivalence approached from compactness, from games 42.02.01 pending, and now from ultrafilters. This is the workhorse promised at the Beginner tier: name, list, demand, check, collect, assembled into the engine that builds the types 42.02.03 pending, the quantifier-eliminating theories 42.02.05 pending, and the categorical theories 42.02.06 pending of the rest of model theory.

Full proof set Master

Proposition 1 (diagram lemma). Let be an -structure and an -structure, . Then iff is an -embedding , and iff is elementary.

Proof. For the atomic case, means that for every atomic or negated-atomic and tuple from , iff , and iff by the definition of . So membership in records exactly for all atomic and negated-atomic . This biconditional for all such is precisely the condition that preserves and reflects atomic relations and term values; the negated equalities () force injective. By the embedding criterion of 42.02.01 pending, is an embedding. The elementary case repeats the argument with ranging over all -formulas: iff for every , which is the definition of being elementary.

Proposition 2 (consistency-to-embedding). An -theory has a model admitting an embedding (resp. elementary embedding) of iff (resp. ) is satisfiable.

Proof. () If with an embedding , expand to by ; then (the sentences of are -sentences, unaffected) and by Proposition 1, so the union is satisfiable. () If , its reduct models and, by Proposition 1, receives the embedding . The elementary case is identical with .

Proposition 3 (Łoś-Vaught test). A satisfiable -theory with no finite models that is -categorical for some is complete.

Proof. If not, fix with and both satisfiable, by infinite models , (infinite because has no finite models). By the downward and upward Löwenheim-Skolem theorems 42.01.07 pending — the upward direction via adjoining distinct constants to the elementary diagram and applying compactness, then trimming by the downward theorem — there are and of cardinality exactly , both modelling . By -categoricity , so . But and , contradicting . So decides every .

Proposition 4 (proper elementary extensions exist). Every infinite -structure has a proper elementary extension.

Proof. Let in . A finite constrains for in a finite ; interpreting the base as and as any element of the infinite set models . By compactness has a model ; by Proposition 2 (elementary case) its reduct is an elementary extension of via , and differs from every , so the embedding is not surjective: properly.

Proposition 5 (elementary amalgamation). If and , there are a structure and elementary embeddings agreeing on .

Proof. In a language with disjoint constants , identified on ( for ), let . A finite mentions finitely many , say , with a conjunction of their elementary-diagram sentences over -constants . Since , the tuple realizes some -type, and as as well, , so (the existential closure over the -parameters holds in , hence in ). Interpreting the -constants in and the finitely many as such witnesses models . By compactness is satisfiable in some ; Proposition 2 extracts elementary embeddings of into , and the identified -constants force .

Proposition 6 (Łoś's theorem and the elementary ultrapower). For an ultrafilter on and structures , ; consequently the diagonal map is elementary.

Proof. Induct on . Atomic formulas hold by the definition of the ultraproduct operations on -classes and the ultrafilter's closure under supersets and finite intersections. Negation uses that is an ultrafilter (a set is in iff its complement is not): iff iff its complement . Conjunction uses closure under intersection. For : if the index set , choose for each a witness and set arbitrarily off ; then , so by the inductive hypothesis , whence . Conversely a witness class pushes its defining index set into and hence into . Taking all and constant gives, for the diagonal , the index set or ; since , , so is elementary.

Connections Master

  • Structures, embeddings, and elementary equivalence 42.02.01 pending supplies the map hierarchy and the diagram definitions this unit deploys. The atomic and elementary diagrams introduced there as the bridge from comparison to construction are realized here as satisfiable theories whose models are forced to embed a prescribed structure; the embedding criterion and the elementary-substructure machinery of that unit are exactly the inputs to the diagram lemma. That unit owns the static comparison of two structures; this unit turns the comparison into a generator of new ones.

  • Compactness and the Löwenheim-Skolem theorems for first-order logic 42.01.07 pending is the metatheorem this unit takes as its engine. The compactness statement proved there as a corollary of completeness, and the upward and downward Löwenheim-Skolem theorems that resize models, are the precise tools the Łoś-Vaught test and the amalgamation arguments call. Where that unit proves compactness, this unit aims it: every construction here is a finite-satisfiability check feeding the theorem of that unit.

  • Types and the omitting types theorem, co-produced as 42.02.03 pending, extends the diagram method from realizing a single structure to realizing and omitting prescribed sets of formulas. The diagram-plus-new-constant construction that builds elementary extensions here is the realizing half; the omitting types theorem is its dual, constructing models that avoid a non-isolated type, and both run on the consistency-to-model translation this unit establishes. Saturated and homogeneous models are the amalgamation closure of the extensions built here.

  • Quantifier elimination and model completeness, co-produced as 42.02.05 pending, specialize the preservation theorems and the diagram method to theories whose embeddings are all elementary. Model completeness is precisely that every embedding between models is elementary — the diagram lemma then makes and interchangeable over models of the theory — and Robinson's test for model completeness is a direct diagram-and-compactness criterion. The completeness results the Łoś-Vaught test yields here (, ) are exactly the theories that unit shows eliminate quantifiers.

  • Categoricity and Morley's theorem 42.02.06 pending upgrades the single-cardinal hypothesis of the Łoś-Vaught test. Where the test here takes -categoricity at one cardinal as input to completeness, Morley's theorem proves that uncountable categoricity at one cardinal transfers to all uncountable cardinals, refining the crude completeness criterion into the stability-theoretic classification. The amalgamation and elementary-extension constructions of this unit are the existence lemmas that the categoricity analysis presupposes.

Historical & philosophical context Master

The method of diagrams is due to Abraham Robinson, who introduced it in the early 1950s as the systematic device for converting algebraic and model-theoretic existence questions into questions of consistency, to be settled by the compactness theorem. Robinson's 1956 paper "A result on consistency and its application to the theory of definition" proved the joint consistency theorem and applied it to the theory of definition, recovering Evert Beth's 1953 theorem that implicit definability coincides with explicit definability [Robinson 1956]. William Craig's 1957 "Three uses of the Herbrand-Gentzen theorem" established the interpolation theorem, originally by proof-theoretic means via cut elimination, and observed its bearing on definability; the model-theoretic derivation of interpolation from Robinson consistency, and of Beth definability from interpolation, organized these results into the single circle presented here [Craig 1957].

The Łoś-Vaught test was isolated independently by Jerzy Łoś and Robert Vaught around 1954 as the first general criterion deriving completeness from categoricity, and it remains the standard route to the completeness of , , and the random graph. Łoś's fundamental theorem on ultraproducts, also from 1955, supplied the calculus-free proof of compactness and the ultrapower construction; H. Jerome Keisler and later Saharon Shelah established that elementary equivalence is exactly isomorphism of suitable ultrapowers, the Keisler-Shelah theorem, codified with the preservation theorems of Łoś, Tarski, Chang, and Suszko in the textbooks of Chang and Keisler, Hodges, and Marker [Chang and Keisler Ch. 4].

Bibliography Master

@book{marker2002modeltheory,
  author    = {Marker, David},
  title     = {Model Theory: An Introduction},
  series    = {Graduate Texts in Mathematics},
  volume    = {217},
  publisher = {Springer},
  year      = {2002}
}

@book{changkeisler1990,
  author    = {Chang, Chen Chung and Keisler, H. Jerome},
  title     = {Model Theory},
  edition   = {3},
  series    = {Studies in Logic and the Foundations of Mathematics},
  volume    = {73},
  publisher = {North-Holland},
  year      = {1990}
}

@book{hodges1993modeltheory,
  author    = {Hodges, Wilfrid},
  title     = {Model Theory},
  series    = {Encyclopedia of Mathematics and its Applications},
  volume    = {42},
  publisher = {Cambridge University Press},
  year      = {1993}
}

@article{robinson1956consistency,
  author  = {Robinson, Abraham},
  title   = {A result on consistency and its application to the theory of definition},
  journal = {Indagationes Mathematicae},
  volume  = {18},
  year    = {1956},
  pages   = {47--58}
}

@article{craig1957interpolation,
  author  = {Craig, William},
  title   = {Three uses of the Herbrand-Gentzen theorem in relating model theory and proof theory},
  journal = {Journal of Symbolic Logic},
  volume  = {22},
  year    = {1957},
  pages   = {269--285}
}

@article{beth1953,
  author  = {Beth, Evert W.},
  title   = {On Padoa's method in the theory of definition},
  journal = {Indagationes Mathematicae},
  volume  = {15},
  year    = {1953},
  pages   = {330--339}
}

@article{vaught1954,
  author  = {Vaught, Robert L.},
  title   = {Applications of the L\"{o}wenheim-Skolem-Tarski theorem to problems of completeness and decidability},
  journal = {Indagationes Mathematicae},
  volume  = {16},
  year    = {1954},
  pages   = {467--472}
}

@article{keisler1961ultraproducts,
  author  = {Keisler, H. Jerome},
  title   = {Ultraproducts and elementary classes},
  journal = {Indagationes Mathematicae},
  volume  = {23},
  year    = {1961},
  pages   = {477--495}
}

@article{shelah1971ultrapower,
  author  = {Shelah, Saharon},
  title   = {Every two elementarily equivalent models have isomorphic ultrapowers},
  journal = {Israel Journal of Mathematics},
  volume  = {10},
  year    = {1971},
  pages   = {224--233}
}