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

Undecidability of First-Order Theories

Research Depth 95 in the knowledge graph I know this Set as goal
1topic build on this
559prerequisites beneath it
See this on the map →
Decidability and UndecidabilityFinite Axiomatizability and Complete Theories+2 moreBusy Beaver Function and Non-Computability
undecidability gödel church

Core Idea

By the completeness theorem and Church-Turing unsolvability, many natural theories are undecidable: Peano arithmetic, ZFC set theory, and even the theory of groups. Model-theoretic techniques show undecidability by proving a theory is expressive enough to encode the halting problem or Diophantine equation solvability.

How It's Best Learned

Study the undecidability of Peano arithmetic and first-order theory of groups. Understand the reduction from Diophantine problems.

Explainer

You already know that decidability asks whether a Turing machine can determine membership in a set — answering yes or no in finite time on every input. Applied to a first-order theory T, the decision problem is: given a sentence σ, does T ⊢ σ? A theory is decidable if an algorithm can answer this question for every σ; it is undecidable if no such algorithm exists. The surprise is that many theories you might expect to be tractable — the first-order theory of arithmetic, of fields, of groups — are provably undecidable.

The standard strategy for showing a theory T is undecidable is reduction from a known undecidable problem. The halting problem, Hilbert's tenth problem (Diophantine equation solvability), and other benchmarks all serve this role. To show Peano arithmetic (PA) is undecidable, you show that if you could decide all PA sentences, you could decide the halting problem. The key ingredient is that PA is expressive enough: within the language of addition and multiplication over the natural numbers, you can encode computation. The question "does this program halt on this input?" translates into an arithmetic sentence, and if PA were decidable, halting would be too — a contradiction.

Gödel's incompleteness theorems reveal something deeper. The first theorem says that any consistent, sufficiently expressive axiom system cannot be both consistent and complete — there exist true sentences that cannot be proved. The second says such a system cannot prove its own consistency. These results are not merely about provability gaps; they explain why undecidability is inevitable. If PA were decidable, we could enumerate all proofs and check every sentence, but Gödel shows there will always be sentences beyond any fixed axiom system's reach.

The model-theoretic perspective reframes undecidability in terms of variety among models. If a theory T is complete, its models are all elementarily equivalent, and completeness plus axiomatizability implies decidability. Undecidable theories are necessarily incomplete — they have models satisfying σ and other models satisfying ¬σ. PA is undecidable because it has non-standard models of arithmetic: structures satisfying all PA axioms but containing "infinite" elements beyond the standard natural numbers, leading to sentences that are true in the standard model but unprovable from the axioms. The connection between undecidability, incompleteness, and model diversity is one of the deepest results in 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 EntailmentSoundness Theorem and Validity of Proof SystemsDeductive Reasoning and Formal Proof SystemsFirst-Order ResolutionPropositional ResolutionSemantic Tableaux (Propositional)Semantic Tableaux (First-Order)Decidable Fragments of First-Order LogicGödel's Completeness Theorem for First-Order LogicGödel's Incompleteness TheoremsUndecidability of First-Order Theories

Longest path: 96 steps · 559 total prerequisite topics

Prerequisites (4)

Leads To (1)