Arithmetization and the Incompleteness Theorems/Incompleteness, Undecidability, and Church's Theorem

Lesson 7.22,018 words

Incompleteness, Undecidability, and Church's Theorem

The fixed-point lemma manufactures a sentence that talks about its own Gödel number. Pointed at truth it gives Tarski's theorem — arithmetic truth is not arithmetically definable; pointed at provability it gives Gödel's first incompleteness theorem and the undecidability of the theory of the natural numbers, and, applied to validity, Church's theorem that first-order logic is undecidable.

╌╌╌╌

The arithmetization of syntax attached a Gödel number to every expression and made the syntactic relations representable in . Self-reference now becomes a theorem. Throughout, the language is the language of , so theory means a theory in that language and closes under its consequences. Write for the numeral that names the Gödel number of ; a formula with one free variable, evaluated at , then makes an assertion about .1

The fixed-point lemma

One construction underlies the rest: for any property of Gödel numbers there is a sentence that asserts holds of itself.

The sentence can be read as saying is true of me. It says no such thing on its own — it is a string that, under , speaks of numbers and their successors and products. Only because we have paired numbers with expressions can be understood as referring to a formula, in this case itself.

The diagonal substitution feeds a formula its own Gödel number, so ends up provably equivalent to the assertion made about .

Undefinability of truth

Applied to the set of true sentences, the lemma refutes any formula proposed to define truth. Let be the set of Gödel numbers of sentences true in . This first application needs only the semantic form of the fixed point, not provability in .

Because every recursive set is definable in (recursive relations are arithmetical), an undefinable set cannot be recursive.

The theory of the natural numbers is undecidable: no algorithm tests, of an arbitrary arithmetic sentence, whether it is true.

Gödel's first incompleteness theorem

The undecidability of truth combines with the recursiveness bound (a complete recursive theory has a recursive theorem set, item 21) to force incompleteness on every reasonable axiomatization of arithmetic.

No consistent recursive set of true axioms decides all of arithmetic; in particular , and adding any recursive set of further truths does not close the gap. The proof of Tarski's theorem even exhibits the missing sentence. Fix a recursive and let define in (available because is recursively enumerable, hence arithmetical). The fixed point against indirectly says "I am not a theorem of ," and it is true and unprovable:

This is nearer Gödel's original route, which did not detour through truth in .

The Gödel sentence is true but sits outside the theorems; its negation is false, outside the truths entirely — so neither is provable and the theory is incomplete.

Strong undecidability and incompleteness from consistency

Truth in is more than the argument needs. The same fixed-point move, run against a formula defining a recursive theory, shows that no consistent extension of the subtheory can be decidable; the axioms need not be true.

First, adding finitely many axioms preserves recursiveness of the theorem set, by the deduction theorem.

This is Gödel's theorem again, with "true in :q weakened tomerely consistent with ." Any recursively axiomatized theory that so much as agrees with the finite subtheory is incomplete: the incompleteness is a fact about axiomatizability, not about truth.

Church's theorem

The smallest theory in the language is the set of valid sentences, . It is consistent with (their closure is ), so strong undecidability applies to it directly.

First-order validity is undecidable: no algorithm tests an arbitrary sentence for logical truth. The result does not depend on the arithmetic vocabulary. It holds for any language containing at least one two-place predicate symbol, because the arithmetic can be interpreted there; on the other hand some minimum is needed — in the language of pure equality, or with only and one-place predicate symbols, validity is decidable.2

PropertyTruth Provability Validity
Definable in ?no (Tarski)yesyes
Recursively enumerable?noyesyes
Recursive (decidable)?nonono
Complete theory?yesnono

Recursive enumerability

The coded-deduction recursion places provability one quantifier away from recursiveness.

Existentially quantifying a defining formula shows every r.e. relation is definable in , and collapsing a block of existential quantifiers into one (via sequence coding) shows the several characterizations agree.3 The r.e. relations are the formal counterpart of the effectively enumerable ones: a relation is effectively enumerable iff it is the domain of a decidable relation, and identifying decidable with recursive identifies the two notions (Church's thesis, second form).

Provability is the leading example of an r.e. set that need not be recursive.

Algorithm:Enumerate(A)\textsc{Enumerate}(A) — listing the theorems of a recursive theory
  1. 1
    for d0,1,2,d \gets 0, 1, 2, \dots do
  2. 2
    if IsDeduction(d,A)\textsc{IsDeduction}(d, A) then
  3. 3
    a(d)lhd1a \gets (d)_{\lh\,d - 1}
    the last line of the proof coded by dd
  4. 4
    output aa
    a theorem; every theorem appears eventually

The procedure never halts and never decides non-theoremhood: if is not a theorem, the search runs forever. This is the exact gap between provable and true. With a recursive set of axioms the theorems are at best recursively enumerable, whereas is not even definable in . Expanding the language or adding axioms changes nothing: as long as deductions are recursively recognizable, the theorems stay merely r.e. The set of number-theoretic sentences provable in any standard axiomatic set theory is r.e., includes , and (barring inconsistency) is consistent — so that set theory is itself nonrecursive and incomplete.

Recursive sits inside recursively enumerable inside arithmetical (definable in ); the set of arithmetic truths lies outside all three.

Weak representability

A recursive relation is represented outright: the theory settles each instance positively or negatively. An r.e. relation cannot be, unless it is recursive, but it can be represented halfway.

Membership is now signalled only by provability of the positive instance; nonmembership produces no proof of the negation, merely the absence of a proof of the instance. For an r.e. with and representing , the formula weakly represents in ; the nonmembership direction uses that is -consistent, so for every blocks .4

Representable, definable, and weakly representable line up exactly with recursive, arithmetical, and recursively enumerable.

Notion in the theoryClass of relations
Representable in recursive
Weakly representable in recursively enumerable
Definable in arithmetical

The arithmetical hierarchy

Definability in admits degrees, organized by counting alternations of unbounded quantifiers over a recursive matrix. Let be the r.e. relations (one existential quantifier away from recursive) and their complements. In general when it has the form with alternating quantifiers led by over recursive , and when the leading quantifier is . Writing , the base case is the recursive relations, which is the content of the complementary-enumerability theorem restated as .

The arithmetical hierarchy; is the recursive relations, and each level sits inside both classes one step up, with all inclusions proper.

Every arithmetical relation lands somewhere on the ladder: put its defining formula in prenex form, whose quantifier-free matrix defines a recursive relation (quantifier-free formulas are numeralwise determined by ), and read off the level from the quantifier prefix. Bounded quantifiers can be pushed inward past the counting, since after collapsing, so they never raise a relation's level. The hierarchy also lifts to theories: if is in for , then is again in , so provability from a axiom set stays at level .

Tarski's and Gödel's theorems divide cleanly. Tarski's says truth is not arithmetical at all: lies outside the whole hierarchy. Gödel's says provability, though low in the hierarchy (it is ), still does not coincide with truth. The second incompleteness theorem sharpens the second of these by turning the provability predicate on the consistency of the theory itself.

Footnotes

  1. Enderton, §3.5 — the standing assumption that the language is that of , and the reading of as indirectly referring to itself through its Gödel number. The fixed point yields Corollary 35A (the theory of is not recursive), Lemma 35B (adding a finite set of axioms preserves recursiveness of the theorem set), Theorem 35C (strong undecidability of ), and Corollary 35D (essential incompleteness).
  2. Enderton, §3.5 and Corollary 37G — Church's theorem for the language of , its extension to any language with a two-place predicate symbol, and the decidability of validity for the language of equality and for monadic predicate languages.
  3. Enderton, §3.5, Theorems 35E–35H — the equivalent characterizations of recursive enumerability, the recursive-iff-both-r.e. theorem, and the second form of Church's thesis identifying effectively enumerable with recursively enumerable. Theorem 35I (the consequences of a recursive axiom set are recursively enumerable) is the r.e. side of provability.
  4. Enderton, §3.5 — weak representability, the definition, Theorem 35J, and the role of -consistency in the nonmembership direction.
  5. Enderton, §3.5, Theorem 35K — the arithmetical hierarchy over a recursive matrix, and the characterization of the arithmetical relations as those lying in some (equivalently some ).

╌╌ END ╌╌