Quantifier Elimination

When less is more — simplifying the logical landscape

Quantifier Elimination

A theory T has quantifier elimination (QE) if every first-order formula is equivalent, modulo T, to a quantifier-free formula. This is an extraordinarily powerful property: it means that every definable set is a Boolean combination of atomic formulas, making the "geometry" of the theory completely transparent.

The theory of dense linear orders without endpoints (DLO) has QE: the key idea is that between any two elements there is always another, and there is no first or last element. These axioms are strong enough to eliminate every quantifier. The theory of algebraically closed fields (ACF) of a given characteristic also has QE, by Chevalley's theorem. Tarski proved that real closed fields have QE as well.

When a theory has QE, questions about arbitrary first-order definable sets reduce to questions about atomic formulas -- equalities, inequalities, and polynomial conditions. This makes decidability, definability, and geometric reasoning dramatically simpler.

QE in Dense Linear Orders

Select a formula involving the order relation on a dense linear order (like the rationals), then watch the quantifier elimination algorithm simplify it step by step. The side-by-side view shows the original formula and the current simplified form at each stage.

QE in Dense Linear Orders

Choose a formula about a dense linear order and step through the elimination process.

Original Formula
∃y (x < y ∧ y < z)
Current Form
∃y (x < y ∧ y < z)
1

Start with the original formula

∃y (x < y ∧ y < z)

2

The quantifier ∃y asks: is there an element between x and z?

∃y (x < y ∧ y < z)

3

By density of DLO: between any two ordered elements, there exists another

x < z → ∃y (x < y ∧ y < z)

4

The existential is equivalent to the order condition on the free variables

x < z

Step 1 of 4

Key insight: In DLO, every quantifier can be eliminated because the density axiom (between any two elements there is another) and the no-endpoints axiom provide enough flexibility to rewrite quantified formulas as quantifier-free conditions on the remaining variables.

QE in Algebraically Closed Fields

See how quantifier elimination works for algebraically closed fields. Existential statements about polynomial equations reduce to quantifier-free conditions on the coefficients, because every non-constant polynomial has a root in an algebraically closed field.

QE in Algebraically Closed Fields

Choose a polynomial equation and watch the quantifier elimination process. Then experiment with coefficients to see which parameter values yield solutions.

1

Start with the existential formula

∃x (ax² + bx + c = 0)

2

Case split on leading coefficient a

(a ≠ 0 ∧ ∃x(...)) ∨ (a = 0 ∧ ∃x(bx + c = 0))

3

If a ≠ 0: polynomial is quadratic, so in ACF it always has a root

(a ≠ 0) ∨ (a = 0 ∧ ∃x(bx + c = 0))

4

If a = 0 and b ≠ 0: linear, has root x = -c/b

(a ≠ 0) ∨ (a = 0 ∧ b ≠ 0) ∨ (a = 0 ∧ b = 0 ∧ c = 0)

5

Final quantifier-free form

a ≠ 0 ∨ b ≠ 0 ∨ c = 0

Step 1 of 5

Coefficient Explorer: ax² + bx + c = 0 in ACF

Solution exists in ACF

QE result: a 0 b 0 c = 01 0 0 0 -1 = 0True

Key insight: In ACF, the existence of roots is guaranteed by the axioms. The formula ∃x(ax² + bx + c = 0) does not need a discriminant test -- it simplifies to the condition that the polynomial is non-trivial, because every non-constant polynomial over an algebraically closed field has a root.

Definable Sets and QE

Explore what sets are definable in various theories. In theories with quantifier elimination, the quantifier-free definable sets and the first-order definable sets coincide. In theories without QE, first-order logic can define strictly more sets than quantifier-free formulas alone.

Definable Sets Gallery

Compare quantifier-free definable sets with first-order definable sets across theories. For theories with QE, these classes are identical.

Dense Linear OrdersDLO
Has QE

The theory of dense linear orders without endpoints, such as (ℚ, <).

  • Finite unions of intervals: x < y
  • Equality conditions: x = y
  • Boolean combinations: x < y ∧ y < z
Algebraically Closed FieldsACF
Has QE

The theory of algebraically closed fields (e.g., ℂ), in a given characteristic.

  • Polynomial zero sets: x² + y² = 1
  • Non-vanishing conditions: x ≠ 0
  • Boolean combinations of the above
Real Closed FieldsRCF
Has QE

The theory of real closed fields, such as (ℝ, +, ×, <, 0, 1).

  • Semialgebraic sets: x² + y² < 1
  • Polynomial equalities: x³ = y
  • Boolean combinations of polynomial inequalities
Presburger ArithmeticPr
No QE

The theory of (ℤ, +, 0, 1, <) -- integers with addition but not multiplication.

  • Linear equations: x + y = z
  • Order conditions: x < y
  • Boolean combinations of the above

Key insight: Quantifier elimination collapses the hierarchy of definable sets. Without QE, adding quantifiers can define genuinely new sets. With QE, the quantifier-free formulas already capture everything first-order logic can express, making the definable sets transparent and tractable.

Key Takeaways

  • Quantifier elimination -- a theory T has QE if every formula is equivalent (modulo T) to a quantifier-free formula, reducing all definability questions to Boolean combinations of atomic formulas
  • DLO has QE -- the density and no-endpoints axioms ensure that every quantifier over a dense linear order can be eliminated, leaving only comparisons between free variables
  • ACF has QE -- Chevalley's theorem shows that the image of a constructible set under a polynomial map is constructible, giving quantifier elimination for algebraically closed fields
  • Definable sets become transparent -- with QE, the geometry of definable sets is entirely determined by atomic formulas, making decidability and structural analysis dramatically simpler