42.02.05 · mathematical-logic / model-theory

Quantifier Elimination and Model-Completeness

shipped3 tiersLean: none

Anchor (Master): Marker 2002 *Model Theory: An Introduction* (Springer GTM 217) Ch. 3 (quantifier elimination, the primitive-formula and back-and-forth tests, model-completeness and the Robinson test, model companions and model completions, existentially closed structures, the worked theories DLO, ACF as strongly minimal with the Tarski-Chevalley projection theorem, RCF and the Tarski-Seidenberg theorem, Presburger arithmetic); Chang and Keisler 1990 *Model Theory* 3e (North-Holland) Ch. 3, 5 (the QE tests, model-completeness, model companions); Hodges 1993 *Model Theory* (Cambridge) Ch. 7, 8 (quantifier elimination, the algebra of definable sets, existentially closed models and model companions); Tarski 1948 *A Decision Method for Elementary Algebra and Geometry* (RAND) and Marker, Messmer, Pillay 2006 *Model Theory of Fields* 2e (ASL Lecture Notes in Logic 5)

Intuition Beginner

The previous unit built worlds to order using compactness and diagrams. This unit asks a different question about a single theory: how complicated can a yes-or-no property be? The surprising answer for many important theories is "not complicated at all." Every property, however it is phrased, can be rewritten using only plain comparisons among the named objects, with no hidden search.

A property with a hidden search is one that says "there is some object such that..." To check it directly you would have to hunt through the whole world looking for a witness. Quantifier elimination is the promise that the hunt is never needed. Whatever the property, there is an equivalent way to state it that mentions only the objects you already named, joined by basic relations and the words "and," "or," and "not."

Take the ordered rationals. Ask: "between these two named points, is there a third point?" Phrased that way it asks you to find a witness. But the answer is settled by a single plain comparison: there is a point between them exactly when the two points are different. The buried "there is some object" has been traded for a comparison among the names you started with. That trade, carried out for every property at once, is quantifier elimination.

When a theory permits this trade, its describable regions become simple shapes — cut out by a handful of equations and inequalities rather than by a search. That simplicity is the structural reason such a theory is well-behaved: questions about it can be decided by plain computation, and its geometry stays tame.

Visual Beginner

The picture shows the one move this unit is about: a property stated with a hidden "there is some object" is traded for an equivalent statement using only comparisons among the points already named.

   BEFORE — a buried search
   "is there a point strictly between a and b ?"
        a -------?------- b
            (hunt for a witness)

   AFTER — a plain comparison, no search
   "a and b are different"
        a  ≠  b
            (just compare the names you have)

   WHAT A DESCRIBABLE REGION LOOKS LIKE AFTER THE TRADE

   a region of the line, before:  { x : there is y with ... }   (a search)
   the same region, after:        a < x  AND  x < b             (plain bounds)

       |----------(========)----------|
       a          region              b
       cut out by two comparisons, nothing hidden
phrasing what it asks you to do after elimination
"there is a point between a and b" hunt for a witness check a is different from b
"x lies in this region" search for membership check a few comparisons on x
"for every object, ..." check all objects a plain comparison among names

Read left to right: every hidden search is traded for a finite check on the points you already have.

Worked example Beginner

We take the ordered rationals — the fractions with their usual order — and show by hand that one property with a buried search can be rewritten with only comparisons. The property: "the point has something strictly below it and something strictly above it."

Step 1. Read the property as stated. It says two searches at once: there is a point below , and there is a point above . As written, each half asks you to go find a witness somewhere in the line.

Step 2. Look at the line itself. The ordered rationals run on forever in both directions: there is no smallest fraction and no largest fraction. So for any point you pick, a smaller one always exists and a larger one always exists.

Step 3. Trade the search for a verdict. Because the line has no ends, the first search always succeeds and the second search always succeeds. The property "something below and something above " is therefore true of every point. Its rewritten, search-free form is simply "always true" — the plainest quantifier-free statement there is.

Step 4. Try a property that is not automatic: "between the named points and , with , there is a third point ." Here the search asks for a point strictly between. The ordered rationals are dense, so whenever is below there is always room between them. The verdict: a between-point exists exactly when . Again the buried search became a plain comparison among the names.

What this tells us: in the ordered rationals, the answers to "is there a witness?" never depend on hunting. They depend only on plain comparisons among the points already named — sometimes the comparison is automatic, sometimes it is a single inequality. Carrying out this trade for every property is what it means for the theory to eliminate quantifiers.

Check your understanding Beginner

Formal definition Intermediate+

Fix a first-order language , the satisfaction relation , the embedding/elementary-embedding hierarchy of 42.02.01 pending, and the diagram machinery , of 42.02.02 pending. All theories below are consistent first-order -theories.

A theory admits quantifier elimination (QE) when for every -formula there is a quantifier-free -formula with [Marker Ch. 3]. Geometrically, in any model the -definable subsets of are exactly the boolean combinations of atomic-formula sets; definable sets are as simple as the language can express. The reduction theorem cuts the work to one quantifier: has QE iff every primitive formula , with each atomic or negated-atomic, is -equivalent to a quantifier-free formula. Eliminating a single existential over a conjunction of literals suffices, because arbitrary formulas reduce to this case by prenex normal form, distribution, and induction on quantifier depth.

The semantic test runs through embeddings. Call substructure-complete when is complete for every -structure embeddable in a model of . The back-and-forth criterion: has QE iff is substructure-complete, equivalently iff for all models with a common substructure , every existential formula over realized in is realized in [Hodges Ch. 7].

A theory is model-complete when every embedding between models of is elementary, . Robinson's test gives three equivalents: is model-complete iff is complete for every model , iff every -formula is -equivalent to an existential () formula, iff every embedding of models preserves existential formulas downward [Marker Ch. 3]. QE implies model-completeness (quantifier-free preservation by any embedding lifts to all formulas once every formula is quantifier-free modulo ). A model-complete theory with a structure that embeds into every model is complete.

A model is existentially closed (e.c.) when every existential formula with parameters in solvable in some extension with is already solvable in . A model companion of is a theory whose models are exactly the e.c. models of ; it is the unique model-complete theory with the same universal consequences, and a model completion when in addition has amalgamation over substructures, in which case eliminates quantifiers relative to those substructures.

Counterexamples to common slips Intermediate+

  • "Model-completeness implies completeness." The theory of algebraically closed fields is model-complete but not complete: and disagree on . Completeness needs the extra input of a structure embeddable in every model — here, fixing the characteristic supplies a prime field that embeds everywhere.

  • "QE depends only on the theory, not the language." QE is language-sensitive. Presburger arithmetic does not eliminate quantifiers in — the formula defines the even numbers, not a quantifier-free set — but does eliminate quantifiers once the divisibility predicates are adjoined. Choosing the right language is part of proving QE.

  • "Every complete theory eliminates quantifiers." Completeness is far weaker. is complete (it decides every sentence, vacuously, as the theory of a fixed structure) yet defines sets of every arithmetical complexity, so no quantifier-free defining formula exists for most of them. QE is a structural tameness property completeness alone does not supply.

Key theorem with proof Intermediate+

The signature result is Tarski's quantifier-elimination theorem for algebraically closed fields, with its geometric corollary that projections of constructible sets are constructible — the model-theoretic form of the Chevalley elimination theorem. It is the template every later QE theory follows: eliminate one existential from a system of polynomial conditions, then read off model-completeness, completeness, and decidability.

Theorem (Tarski; QE for ACF). The theory of algebraically closed fields admits quantifier elimination in the language of rings [Marker Ch. 3].

Proof. By the reduction theorem it suffices to eliminate one existential over a conjunction of literals. Over a field every atomic formula in the variables is a polynomial equation , and a negated atomic is ; conjoining the inequations into one via , a primitive formula becomes $$ \exists x,\Big( \textstyle\bigwedge_{i=1}^{n} p_i(x, \bar y) = 0 \ \wedge\ q(x, \bar y) \ne 0 \Big), $$ where each is a polynomial in with coefficients that are polynomials in . Use the substructure-completeness criterion: let share a common subring (an integral domain), let be a tuple from , and suppose the formula holds in of . We must realize it in . The witness satisfies for all and .

If some is a nonzero polynomial, is algebraic over the fraction field ; the embedding extends to the algebraic closure of inside (every model of contains an algebraic closure of , and any two are -isomorphic), so a conjugate root of the minimal data realizes the same equations and the inequation . If every is the zero polynomial, the equations are vacuous and we need with ; since is infinite and has finitely many roots, such exists. In both cases the existential formula is realized in , so by the back-and-forth criterion has QE.

Corollary (Tarski-Chevalley; elimination = projection). In any the definable sets are exactly the constructible sets — boolean combinations of Zariski-closed sets. QE says the projection of a constructible set is constructible: the image of the set defined by is defined by , which QE rewrites quantifier-free, hence constructible. The Nullstellensatz appears as the completeness/model-completeness face: a finite system of polynomial equations over a field has a common zero in the algebraic closure iff is not in the ideal it generates, the embedding being existential-formula-preserving by model-completeness [Marker, Messmer, Pillay Ch. 2] (cross-ref 04.02.07).

Bridge. Tarski's QE for is the foundational reason algebraic geometry's constructible sets are closed under projection: elimination of the existential quantifier is the projection of a constructible set, and this is exactly the Chevalley theorem read through logic. It builds toward the model-completeness and strong-minimality results below, where the same quantifier-free control of definable sets forces every one-variable definable set to be finite or cofinite, and it appears again in the categoricity theory of 42.02.06 pending, where strong minimality drives the uncountable categoricity of . The argument generalises the dense-order back-and-forth of 42.02.01 pending from "match points across a gap" to "match algebraic witnesses across an embedding," and putting these together, the substructure-completeness criterion of 42.02.02 pending is the bridge that turns a one-quantifier elimination into the full structural tameness of the theory. The central insight is that definable sets simple enough to be boolean combinations of atomic ones make the theory decidable, geometrically transparent, and model-complete all at once.

Exercises Intermediate+

Advanced results Master

Quantifier elimination, model-completeness, and the existentially closed models organize five developments: the QE tests that certify the property from one-quantifier or back-and-forth data, the model-completeness layer with Robinson's test and the route to completeness, the model-companion theory locating QE theories as the e.c. closure of incomplete ones, and the four landmark theories — , , , and Presburger arithmetic — whose elimination delivers decidability and geometric tameness.

Theorem 1 (the QE tests). A theory has QE iff every primitive formula over literals is -equivalent to a quantifier-free formula, and iff is substructure-complete — complete for every substructure of a model [Marker Ch. 3]. The back-and-forth form: for models sharing a substructure , every existential formula over realized in is realized in . The one-quantifier reduction localizes a global property to a single elimination step, and the substructure criterion converts it into an amalgamation problem over diagrams — the same diagram machinery of 42.02.02 pending read as a completeness demand on every expansion by a substructure's atomic data.

Theorem 2 (model-completeness and Robinson's test). is model-complete iff every embedding of models is elementary, iff is complete for every model , iff every formula is -equivalent to an existential () one [Marker Ch. 3]. QE implies model-completeness, the converse failing (model-complete theories may keep quantifiers, as the existential normal form is weaker than the quantifier-free one). A model-complete with a structure embeddable in every model is complete: any two models receive the common structure, whose elementary diagram they share by model-completeness, forcing elementary equivalence. This is the working route to the completeness of , , and — model-complete by QE, complete by an embeddable prime structure.

Theorem 3 (existentially closed models and model companions). For an inductive theory (preserved under unions of chains) every model embeds in an existentially closed model [Hodges Ch. 8]. The class of e.c. models is elementary iff has a model companion — the unique model-complete theory mutually model-consistent with (same universal consequences, each model of one embedding in a model of the other) — and is a model completion when has amalgamation over substructures, in which case eliminates quantifiers relative to the substructures of models of . The pattern recurs across algebra: is the model companion (indeed completion) of the theory of integral domains, of formally real ordered fields, of differential fields of characteristic ; the model companion is the "algebraically closed" hull in which existential algebra has all the solutions it consistently can.

Theorem 4 (ACF: QE, Chevalley, strong minimality, decidability). has QE in the ring language; the definable sets are the constructible sets, and the projection of a constructible set is constructible — the Tarski-Chevalley theorem, elimination read as projection [Marker, Messmer, Pillay Ch. 2]. Each is complete (prime field embeds everywhere) and decidable. is strongly minimal: every one-variable definable set is finite or cofinite, since by QE it is a boolean combination of polynomial zero sets; strong minimality supplies a dimension (algebraic-closure rank equal to transcendence degree) and is the engine of the uncountable categoricity of 42.02.06 pending. The Nullstellensatz is the model-completeness face: a polynomial system over a field has a common zero in the algebraic closure iff avoids the generated ideal, the field-to-closure embedding preserving existential formulas (cross-ref 04.02.07).

Theorem 5 (RCF and Presburger: Tarski's decidability). Tarski's theorem: , the theory of , has QE in the ordered-ring language, so elementary algebra and geometry are decidable [Tarski 1948]. The definable sets are the semialgebraic sets and the Tarski-Seidenberg theorem is QE in geometric dress — projections of semialgebraic sets are semialgebraic. Presburger arithmetic has QE after adjoining the divisibility predicates , and is decidable; the integer order behaves the same way, as do divisible torsion-free abelian groups (ordered -vector spaces, QE in ) and atomless boolean algebras (-categorical, QE). Each elimination converts a recursively axiomatized complete theory into a decidable one (42.01.10 pending); 's order-theoretic tameness is abstracted by o-minimality (forward-ref 42.02.08 pending).

Synthesis. Quantifier elimination is the foundational reason a theory is tame, and putting these together it threads all five developments through one demand: definable sets are boolean combinations of atomic ones, so a buried existential is always a projection that lands back inside the definable algebra. This is exactly what Theorem 1's tests certify — the one-quantifier reduction and the substructure-completeness criterion are two faces of the single elimination step — and Theorem 2 shows the immediate dividend: QE generalises to model-completeness, where every embedding is elementary, and model-completeness plus an embeddable prime structure is dual to completeness, the unbounded "decides every sentence" collapsing to "one structure sits inside all." The model-companion theory of Theorem 3 is the central insight that incomplete algebraic theories acquire a quantifier-eliminating completion by passing to their existentially closed models; , , and are the same construction performed over domains, ordered fields, and differential fields, and this is exactly why algebraic closure, real closure, and differential closure are model-theoretic operations.

Theorems 4 and 5 are the payoff: the Tarski-Chevalley projection theorem and the Tarski-Seidenberg theorem are QE for and in geometric language, the bridge from logic to the geometry of constructible and semialgebraic sets, and the decidability of elementary algebra and geometry is QE feeding the decidability machinery of 42.01.10 pending. The strong minimality of generalises the finite/cofinite dichotomy into the dimension theory that the categoricity of 42.02.06 pending and the o-minimality of 42.02.08 pending erect their classifications upon — quantifier elimination is where geometric tameness, decidability, and structural classification all begin.

Full proof set Master

Proposition 1 (reduction to primitive formulas). A theory has QE iff every primitive formula , each a literal, is -equivalent to a quantifier-free formula.

Proof. The forward direction is immediate. For the converse, prove by induction on the number of quantifiers that every formula is -equivalent to a quantifier-free one. A quantifier-free formula needs nothing. Given , put its matrix in prenex form with quantifier-free, and induct on the innermost quantifier. If it is , write in disjunctive normal form over literals; the existential distributes over the disjunction, , and each disjunct is a primitive formula, replaced by a quantifier-free equivalent by hypothesis. A universal innermost quantifier is , reduced the same way. This removes one quantifier; the inductive hypothesis on the now-shorter prefix finishes.

Proposition 2 (back-and-forth criterion for QE). has QE iff for all with a common substructure and every existential formula ( quantifier-free, from ) realized in , it is realized in .

Proof. () If has QE, is -equivalent to a quantifier-free ; an embedding preserves and reflects , so iff iff , and realization transfers. () By Proposition 1 it suffices to eliminate one existential . Let be the set of quantifier-free formulas with . A compactness argument over the back-and-forth hypothesis shows for new constants : any model has a substructure embeddable, together with the realized type, into a model of (otherwise some quantifier-free consequence lands in and fails in ), and the hypothesis transfers realization back to . Compactness extracts a finite quantifier-free with .

Proposition 3 (QE implies model-completeness). If has QE then is model-complete.

Proof. Let be an embedding of models of via , and let be any formula, from . By QE there is quantifier-free with . Embeddings preserve and reflect quantifier-free formulas (42.02.01 pending): iff . Composing the two -equivalences, iff , so is elementary and is model-complete.

Proposition 4 (model-complete + embeddable structure implies complete). If is model-complete and there is an -structure embedding into every model of , then is complete.

Proof. Let . Both receive embeddings and . By model-completeness each embedding is elementary, so 's image is an elementary substructure of each, giving iff iff for every sentence (read off the elementary embeddings at the empty tuple). Hence . As were arbitrary models, decides every sentence, so is complete.

Proposition 5 (QE for ACF, with the projection corollary). admits quantifier elimination in ; consequently the definable sets in a model are the constructible sets and are closed under projection.

Proof. Apply Proposition 2. A primitive formula over the ring language is . Take sharing a subring , from , with a witness . If some as a polynomial, is algebraic over ; the algebraic closure of embeds -isomorphically into both and (uniqueness of algebraic closure), carrying to a witness satisfying the same equations and . If all identically, the equations are vacuous and the infinite field contains a point off the finite zero set of . Either way the formula is realized in , so by Proposition 2 has QE. The definable sets are then boolean combinations of zero sets (Zariski-closed), i.e. constructible; a projection is QE-rewritten quantifier-free, hence constructible — the Tarski-Chevalley theorem.

Proposition 6 (strong minimality of ACF). Every one-variable definable subset of a model , with parameters, is finite or cofinite.

Proof. By Proposition 5 the set is defined by a quantifier-free formula , a boolean combination of atomic conditions . Each atomic set is finite (a nonzero one-variable polynomial has at most roots) or all of (if ). The finite and cofinite subsets of form a boolean algebra: complements swap finite with cofinite, and finite unions and intersections of finite/cofinite sets stay finite/cofinite. The defined set is a boolean combination of members of this algebra, hence finite or cofinite.

Connections Master

  • The compactness theorem and the method of diagrams 42.02.02 pending supplies the engine this unit specializes. The substructure-completeness criterion for QE is the demand that be complete for every substructure , and Robinson's test for model-completeness is the demand that be complete for every model — both are diagram-and-compactness conditions read off the consistency-to-embedding dictionary of that unit. The amalgamation arguments certifying QE are elementary-amalgamation instances over shared diagrams. That unit builds models with prescribed substructures; this unit characterizes the theories whose every embedding is thereby elementary.

  • Types and the omitting types theorem, co-produced as 42.02.03 pending, is the dual axis to quantifier elimination. QE says every formula is quantifier-free modulo , which collapses every complete type to its quantifier-free part — the isolated, principal types of that unit become the only types, and a QE theory's type spaces are governed by atomic data. The existentially closed models of this unit are exactly those realizing all consistent existential types over substructures, the realization side of the realize/omit dichotomy that unit develops.

  • Categoricity and Morley's theorem 42.02.06 pending, co-produced, takes the strong minimality of proved here as its central example. The finite/cofinite dichotomy of one-variable definable sets supplies the algebraic-closure dimension equal to transcendence degree, and Morley's theorem upgrades the resulting uncountable categoricity of into the general transfer of categoricity across uncountable cardinals; the QE that makes strongly minimal is the precondition the categoricity classification presupposes.

  • O-minimality and the tame topology of definable sets, co-produced as 42.02.08 pending, is the order-theoretic refinement of the quantifier elimination established here. Where strong minimality reads finiteness off the one-variable definable sets of , o-minimality reads finite-union-of-intervals-and-points off those of and its expansions; Tarski's QE and the Tarski-Seidenberg theorem of this unit are the base case on which the o-minimal structure theory and the cell-decomposition machinery of that unit are built.

  • The decision problem for first-order theories and Church's theorem 42.01.10 pending is where the decidability delivered by QE is situated. Each quantifier-eliminating theory of this unit — , , , Presburger arithmetic — is a recursively axiomatized complete theory, hence a decidable island in the sea of undecidability that unit charts; QE is the structural mechanism producing the quantifier-free defining formulas a decision procedure computes on.

Historical & philosophical context Master

Quantifier elimination as a method predates the model-theoretic vocabulary that frames it. Thoralf Skolem and C. H. Langford applied elimination of quantifiers to linear orders in the 1910s and 1920s, and Mojżesz Presburger's 1929 thesis proved the decidability of the additive theory of the integers by eliminating quantifiers after expanding the language with the congruence (divisibility) predicates — the first substantial decidability result obtained by the method [Tarski 1948]. Alfred Tarski, working through the 1930s and circulating the results in the RAND report eventually published in 1948 and revised in 1951, established quantifier elimination for the real ordered field and so the decidability of elementary algebra and geometry, identifying the definable sets with the semialgebraic sets; the projection theorem now bearing the names of Tarski and Abraham Seidenberg (whose 1954 paper gave an algebraic proof) is the geometric content of that elimination.

The abstraction from particular elimination procedures to the structural notions of model-completeness and model companions is due to Abraham Robinson in the 1950s, who recognized that the algebraists' "algebraically closed" and "real closed" were instances of a uniform model-theoretic phenomenon — existential closure — and proved the test for model-completeness through the diagram method. The reading of Tarski's elimination for algebraically closed fields as the Chevalley constructibility theorem, and of strong minimality as the source of the uncountable categoricity later organized by Michael Morley (1965) and Saharon Shelah, situated quantifier elimination as the foundation of the geometric model theory of fields developed by Angus Macintyre, Anand Pillay, and others [Marker, Messmer, Pillay Ch. 2].

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}
}

@book{hodges1997shorter,
  author    = {Hodges, Wilfrid},
  title     = {A Shorter Model Theory},
  publisher = {Cambridge University Press},
  year      = {1997}
}

@techreport{tarski1948decision,
  author      = {Tarski, Alfred},
  title       = {A Decision Method for Elementary Algebra and Geometry},
  institution = {RAND Corporation},
  number      = {R-109},
  year        = {1948},
  note        = {Second revised edition, University of California Press, 1951}
}

@book{markermessmerpillay2006,
  author    = {Marker, David and Messmer, Margit and Pillay, Anand},
  title     = {Model Theory of Fields},
  edition   = {2},
  series    = {Lecture Notes in Logic},
  volume    = {5},
  publisher = {Association for Symbolic Logic / Cambridge University Press},
  year      = {2006}
}

@phdthesis{presburger1929,
  author = {Presburger, Moj\.{z}esz},
  title  = {\"{U}ber die Vollst\"{a}ndigkeit eines gewissen Systems der Arithmetik ganzer Zahlen, in welchem die Addition als einzige Operation hervortritt},
  school = {Sprawozdanie z I Kongresu Matematyk\'{o}w Kraj\'{o}w S\l owia\'{n}skich, Warsaw},
  year   = {1929}
}

@article{seidenberg1954,
  author  = {Seidenberg, Abraham},
  title   = {A new decision method for elementary algebra},
  journal = {Annals of Mathematics},
  volume  = {60},
  year    = {1954},
  pages   = {365--374}
}

@article{morley1965categoricity,
  author  = {Morley, Michael},
  title   = {Categoricity in power},
  journal = {Transactions of the American Mathematical Society},
  volume  = {114},
  year    = {1965},
  pages   = {514--538}
}

@article{robinson1956completetheories,
  author    = {Robinson, Abraham},
  title     = {Complete Theories},
  publisher = {North-Holland},
  year      = {1956}
}