Diagonal lemma

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "other uses".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 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. which interprets it).[2] A common statement of the lemma (as given below) makes the stronger assumption that the theory can represent all recursive 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 recursive function f:k if there is a formula φf(x1,,xk,y) in the language of T s.t. for all m1,,mk, if f(m1,,mk)=n then Ty(φf(m1,,mk,y)y=n).

The representation theorem is provable, i.e. every recursive 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

s.t.

Tφψ(φ)

.

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

Proof: Let diagT: be the recursive function which 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 recursive depends on the choice of the Gödel numbering, here the standard one.)

By the representation theorem, T represents every recursive function. Thus, there is a formula δ(x,y) be the formula 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 three of them; in particular, combinations of the below generalizations 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 s.t. 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 s.t. 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 variable x1 and x2.

Then there are sentence φ1 and φ2 s.t. Tφ1ψ1(φ1,φ2) and Tφ2ψ2(φ1,φ2).

The case with n many formulae is similar.

History

The lemma is called "diagonal" because it bears some resemblance to Cantor's diagonal argument.[5] 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).[6] Carnap's work was phrased in terms of truth rather than provability (i.e. semantically rather than syntactically).[7] Remark also that the concept of recursive 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.[8] 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.[9]

See also

Notes

Template:Reflist

References

  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, for example, Gaifman (2006).
  6. See Carnap, 1934, and Gödel, 1986, p. 363, fn 23.
  7. See Smoryński 2022, Sec. 3.
  8. See Gaifman, 2006 or Smoryński 2022, Sec. 3.
  9. See Smoryński 2022, Sec. 3.