Diagonal lemma

From HandWiki
Short description: Statement in mathematical logic

In mathematical logic, the diagonal lemma (also known as diagonalization lemma, self-reference lemma or fixed point theorem) establishes the existence of self-referential sentences in certain formal theories.

A particular instance of the diagonal lemma was used by Kurt Gödel in 1931 to construct his proof of the incompleteness theorems as well as in 1933 by Tarski to prove his undefinability theorem. In 1934, Carnap was the first to publish the diagonal lemma at some level of generality.[1] The diagonal lemma is named in reference to Cantor's diagonal argument in set theory and number theory.

The diagonal lemma applies to any sufficiently strong theories capable of representing the diagonal function. Such theories include first-order Peano arithmetic PA, the weaker Robinson arithmetic Q as well as any theory containing Q (i.e. that interprets it).[2] A common statement of the lemma (as given below) makes the stronger assumption that the theory can represent all (total) computable functions, but all the theories mentioned have that capacity, as well.

Background

Gödel numbering

The diagonal lemma also requires a Gödel numbering α. We write α(φ) for the code assigned to φ by the numbering. For n, the standard numeral of n (i.e. 0=df0 and n+1=dfS(n)), let φ be the standard numeral of the code of φ (i.e. φ is α(φ)). We assume a standard Gödel numbering

Representation theorem

Let be the set of natural numbers. A first-order theory T in the language of arithmetic containing Q represents the k-ary (total) computable function f:k if there is a formula φf(x1,,xk,y) in the language of T such that for all m1,,mk, if f(m1,,mk)=n then Ty(φf(m1,,mk,y)y=n).

The representation theorem is true, i.e. every computable function is representable in T.[3]

The diagonal lemma and its proof

Diagonal Lemma: Let T be a first-order theory containing Q (Robinson arithmetic) and let ψ(x) be any formula in the language of T with only x as free variable. Then there is a sentence φ in the language of T such that Tφψ(φ).

Intuitively, φ is a self-referential sentence that "says of itself that it has the property ψ."

Proof: Let diagT: be the computable function that associates the code of each formula φ(x) with only one free variable x in the language of T with the code of the closed formula φ(φ) (i.e. the substitution of φ into φ for x) and 0 for other arguments. (The fact that diagT is computable depends on the choice of the Gödel numbering, here the standard one.)

By the representation theorem, T represents every computable function. Thus, there is a formula δ(x,y) representing diagT, in particular, for each φ(x), Tδ(φ,y)y=φ(φ).

Let ψ(x) be an arbitrary formula with only x as free variable. We now define χ(x) as y(δ(x,y)ψ(y)), and let φ be χ(χ). Then the following equivalences are provable in T:

φχ(χ)y(δ(χ,y)ψ(y))y(y=χ(χ)ψ(y))y(y=φψ(y))ψ(φ).

Some generalizations

There are various generalizations of the diagonal lemma. We present only some of them; in particular, combinations of the first three generalizations below yield new generalizations.[4] Let T be a first-order theory containing Q (Robinson arithmetic).

Diagonal lemma with parameters

Let ψ(x,y1,,yn) be any formula with free variables x,y1,,yn.

Then there is a formula φ(y1,yn) with free variables y1,,yn such that Tφ(y1,,yn)ψ(φ(y1,,yn),y1,,yn).

Uniform diagonal lemma

Let ψ(x,y1,,yn) be any formula with free variables x,y1,,yn.

Then there is a formula φ(y1,yn) with free variables y1,,yn such that for all m1,,mn, Tφ(m1,,mn)ψ(φ(m1,,mn),m1,,mn).

Simultaneous diagonal lemma

Let ψ1(x1,x2) and ψ2(x1,x2) be formulae with free variables x1 and x2.

Then there are sentence φ1 and φ2 such that Tφ1ψ1(φ1,φ2) and Tφ2ψ2(φ1,φ2).

The case with n many formulae is similar.

Strong diagonal lemma

Let ψ(x) be any formula in the language of T with only x as free variable. Then there is a term t in the language of T such that Tt=ψ(t).

Trivially, the diagonal lemma follows from the strong diagonal lemma (take φ(x) to be ψ(t)). Note however that the strong diagonal lemma depends on the language of T, particularly on whether there is such a term t. Typically, the strong diagonal lemma fails for theories in the basic language of arithmetic (such as Q or PA), but holds for primitive recursive arithmetic PRA which has a function symbol for each primitive recursive functions.[5]

History

The lemma is called "diagonal" because it bears some resemblance to Cantor's diagonal argument.[6] The terms "diagonal lemma" or "fixed point" do not appear in Kurt Gödel's 1931 article or in Alfred Tarski's 1936 article.

In 1934, Rudolf Carnap was the first to publish the diagonal lemma in some level of generality, which says that for any formula ψ(x) with x as free variable (in a sufficiently expressive language), then there exists a sentence φ such that φψ(φ) is true (in some standard model).[7] Carnap's work was phrased in terms of truth rather than provability (i.e. semantically rather than syntactically).[8] Moreover, the concept of computable functions was not yet developed in 1934.

The diagonal lemma is closely related to Kleene's recursion theorem in computability theory, and their respective proofs are similar.[9] In 1952, Léon Henkin asked whether sentences that state their own provability are provable. His question led to more general analyses of the diagonal lemma, especially with Löb's theorem and provability logic.[10]

See also

Notes

  1. See Smoryński 2022, Sec. 3.
  2. See Hájek and Pudlák 2016, Chap. III.
  3. See Hinman 2005, Chap 4.6 for additional details and a proof of this theorem.
  4. See Smoryński 2022, Sec. 3 or Hájek and Pudlák 2016, III.2.a
  5. See e.g. Jeroslow 1973, Sec. 1. for more details on the strong diagonal lemma and one of its proof.
  6. See, for example, Gaifman (2006).
  7. See Carnap, 1934, and Gödel, 1986, p. 363, fn 23.
  8. See Smoryński 2022, Sec. 3.
  9. See Gaifman, 2006 or Smoryński 2022, Sec. 3.
  10. See Smoryński 2022, Sec. 3.

References

  • George Boolos and Richard Jeffrey, 1989. Computability and Logic, 3rd ed. Cambridge University Press. ISBN 0-521-38026-X ISBN 0-521-38923-2
  • Rudolf Carnap, 1934. Logische Syntax der Sprache. (English translation: 2003. The Logical Syntax of Language. Open Court Publishing.)
  • Haim Gaifman, 2006. 'Naming and Diagonalization: From Cantor to Gödel to Kleene'. Logic Journal of the IGPL, 14: 709–728.
  • Robert G. Jeroslow, 1973. 'Redundancies in the Hilbert-Bernays Derivability Conditions for Gödel's Second Incompleteness Theorem'. The Journal of Symbolic Logic, 38.3: 359–367.
  • Petr Hájek & Pavel Pudlák, 2016 (first edition 1998). Metamathematics of First-Order Arithmetic. Springer Verlag.