A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Quantifier Elimination and Decidability

Graduate Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
13topics build on this
554prerequisites beneath it
See this on the map →
Complete First-Order TheoriesSystems of Linear Equations and Matrix Form+1 more→→Algebraically Closed Fields: Model-Theoretic AnalysisDefinability and Applications to Algebraic Geometry+1 more
quantifier elimination QE decidability quantifier-free

Core Idea

A theory T admits quantifier elimination (QE) if every formula is logically equivalent to a quantifier-free formula within T. Theories with QE have drastically simplified model theory: complexity reduces to the quantifier-free fragment. If the quantifier-free theory is decidable, the full first-order theory is decidable.

Explainer

From your study of complete first-order theories, you know that a theory is complete if it decides every sentence — either the sentence or its negation is a theorem. But completeness is not the same as computability: we need an algorithm to decide which sentences are theorems. Quantifier elimination is the main technique for turning completeness into a decision procedure, and it works by stripping quantifiers away until only quantifier-free formulas remain.

A theory T admits quantifier elimination (QE) if for every first-order formula φ(x̄) — which may contain existential and universal quantifiers — there is a quantifier-free formula ψ(x̄) that is logically equivalent to φ in every model of T. "Quantifier-free" means built from atomic formulas (equalities, inequalities, function applications) and Boolean connectives, with no ∃ or ∀. The claim is dramatic: all the complexity of nested quantifiers collapses to something elementary.

The canonical example is the theory of real closed fields (RCF) — the first-order theory of the real numbers with +, ·, < and 0, 1. Every formula in this language, no matter how deeply nested its quantifiers, is equivalent in RCF to a Boolean combination of polynomial equalities and inequalities like p(x₁, …, xₙ) ≥ 0. This is Tarski's theorem (1948), and it has a surprising consequence: the first-order theory of the reals is decidable. An algorithm exists that takes any first-order sentence about real-number arithmetic and outputs "true" or "false." Note the contrast with number theory over ℤ, where Gödel's incompleteness and undecidability results apply — the difference lies precisely in whether QE holds. The ordered field axioms with completeness over ℝ admit QE; Peano arithmetic does not.

The proof strategy for QE typically proceeds by induction on formula complexity. The key step is eliminating a single block of existential quantifiers: given ∃y φ(x̄, y) where φ is already quantifier-free, find an equivalent quantifier-free formula in x̄ alone. For real closed fields, this is done via cylindrical algebraic decomposition or older elimination-of-quantifiers algorithms. For simpler theories — like the theory of dense linear orders without endpoints (the rationals with <) — the elimination is almost immediate: ∃y (a < y ∧ y < b) is equivalent to a < b.

The decidability payoff generalizes: if T admits QE, then T is decidable if and only if its quantifier-free theory is decidable. Since quantifier-free formulas have a simple Boolean structure, decidability reduces to deciding atomic formulas — questions like "is this polynomial inequality always satisfiable?" which are often algorithmically tractable. QE thus converts a logic problem (can this sentence be proved or refuted in T?) into an algebraic problem, making the boundary between logic and computation visible.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Introduction to Propositional Logic → Introduction to Predicate Logic (First-Order Logic) → First-Order Logic Syntax → Terms and Atomic Formulas in FOL → Variable Binding and Scope → Open and Closed Formulas in First-Order Logic → Variable Substitution and Capture-Avoidance in First-Order Logic → Quantifier Instantiation Rules in First-Order Proof Systems → Universal Quantification: Meaning and Scope → Free Variables and Bound Variables → Substitution and Instantiation in Predicate Logic → Terms and Atomic Formulas → Formulas and Well-Formed Expressions → Structures and Interpretations → Model Interpretation and Satisfaction → Interpretation, Truth, and Satisfaction of Formulas → Logical Consequence and Entailment → Satisfiability and Unsatisfiability → Consistency and Inconsistency of Theories → Consistency and Inconsistency → Complete First-Order Theories → Quantifier Elimination and Decidability

Longest path: 91 steps · 554 total prerequisite topics

Prerequisites (3)

Leads To (3)