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

Decidability of Theories

Graduate Depth 88 in the knowledge graph I know this Set as goal
470prerequisites beneath it
See this on the map →
Decidability and UndecidabilityFormal Arithmetic and Expressibility+1 more
decidable-theories monadic-logic Presburger-arithmetic decision-procedures undecidable-theories

Core Idea

A first-order theory is decidable if there exists an algorithm that, given any sentence in the theory's language, determines whether the theory entails it. Some fragments of first-order logic are decidable: monadic predicate logic (only unary predicates, no functions), Presburger arithmetic (natural numbers with addition but no multiplication), and the theory of real closed fields (Tarski's quantifier elimination). However, full first-order arithmetic (with both addition and multiplication) is undecidable, as shown by Church and Turing. Understanding which theories are decidable and which are not reveals the boundary between mechanizable and non-mechanizable reasoning.

How It's Best Learned

Compare Presburger arithmetic (decidable) with Peano arithmetic (undecidable) to see how adding multiplication crosses the decidability boundary. Work through a simple quantifier-elimination example in Presburger arithmetic to see a decision procedure in action.

Common Misconceptions

Explainer

You already know that some problems are undecidable — no Turing machine can solve them for all inputs. You also know that formal theories express facts about mathematical structures in first-order logic. Decidability of a theory asks a specific algorithmic question: given an arbitrary sentence in the theory's language, is there a procedure that always halts and says "yes, this follows from the theory" or "no, this does not"? This is a question about the theory as a whole, not about any individual sentence.

The key technique for proving a theory *decidable* is quantifier elimination: show that every formula in the language is logically equivalent to a quantifier-free formula within the theory. If this holds, then to decide any sentence (a closed formula with no free variables), you need only evaluate a quantifier-free formula on the relevant constants — and quantifier-free evaluation is typically straightforward. Presburger arithmetic — the theory of natural numbers with addition but no multiplication — admits quantifier elimination: any statement about sums of numbers can be reduced to checking a finite combination of linear inequalities and congruence conditions. This gives a decision procedure, albeit one that runs in at least doubly exponential time.

The contrast with Peano arithmetic (addition and multiplication both present) is sharp. Gödel's incompleteness theorems and Turing/Church's work on undecidability both show that full first-order arithmetic is undecidable: no algorithm can determine all arithmetical truths. The culprit is multiplication, which lets you encode arbitrary computations and diagonalization arguments inside arithmetic. Presburger arithmetic avoids this by stripping out multiplication — it can express linear arithmetic but cannot define the notion of "x is a prime" or "x divides y" in full generality.

Tarski's theorem on real closed fields is another striking decidable theory: all of first-order geometry and real algebra (involving + , ×, <, and real-valued constants) is decidable. This means questions like "does this system of polynomial inequalities have a real solution?" are algorithmically decidable. The proof again uses quantifier elimination — every first-order statement about the real numbers is equivalent to a quantifier-free statement — via the Cylindrical Algebraic Decomposition or related methods. This result implies that Euclidean geometry is decidable, which is remarkable given how rich geometry seems.

The meta-lesson is that decidability is highly sensitive to expressive power. Monadic second-order logic over strings is decidable (Büchi's theorem), but adding a single binary relation that isn't definable from the linear order makes it undecidable. The boundary between decidable and undecidable often lies at whether a theory can encode the natural numbers with multiplication — once it can, Gödel-style arguments kick in and undecidability follows. Locating this boundary for a given theory is one of the central projects of mathematical logic.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesBoolean AlgebraIntroduction to Propositional LogicIntroduction to Predicate Logic (First-Order Logic)First-Order Logic SyntaxTerms and Atomic Formulas in FOLVariable Binding and ScopeOpen and Closed Formulas in First-Order LogicVariable Substitution and Capture-Avoidance in First-Order LogicQuantifier Instantiation Rules in First-Order Proof SystemsUniversal Quantification: Meaning and ScopeFree Variables and Bound VariablesSubstitution and Instantiation in Predicate LogicTerms and Atomic FormulasFormulas and Well-Formed ExpressionsStructures and InterpretationsModel Interpretation and SatisfactionInterpretation, Truth, and Satisfaction of FormulasLogical Consequence and EntailmentSatisfiability and UnsatisfiabilityConsistency and Inconsistency of TheoriesDecidability of Theories

Longest path: 89 steps · 470 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.