HOME

TheInfoList



OR:

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 of the natural numbers—specifically those theories that are strong enough to represent all
computable function Computable functions are the basic objects of study in computability theory. Computable functions are the formalized analogue of the intuitive notion of algorithms, in the sense that a function is computable if there exists an algorithm that can do ...
s. The sentences whose existence is secured by the diagonal lemma can then, in turn, be used to prove fundamental limitative results such as Gödel's incompleteness theorems and Tarski's undefinability theorem.


Background

Let \mathbb be the set of natural numbers. A
first-order In mathematics and other formal sciences, first-order or first order most often means either: * "linear" (a polynomial of degree at most one), as in first-order approximation and other calculus uses, where it is contrasted with "polynomials of hig ...
theory T in the language of arithmetic ''represents'' the computable function f: \mathbb\rightarrow\mathbb if there exists a "graph" predicate \mathcal_f(x, y) in the language of T such that for each n \in \mathbb : \vdash_\,(\forall y) ^\circ f(n)=y) \Leftrightarrow \mathcal_f(^\circ n,\,y)/math> Here ^\circ n is the numeral corresponding to the natural number n, which is defined to be the nth successor of presumed first numeral 0 in T. The diagonal lemma also requires a systematic way of assigning to every formula \mathcal a natural number \#(\mathcal) (also written as \#_) called its Gödel number. Formulas can then be represented within T by the numerals corresponding to their Gödel numbers. For example, \mathcal is represented by ^\#_ The diagonal lemma applies to theories capable of representing all primitive recursive functions. Such theories include first-order Peano arithmetic and the weaker
Robinson arithmetic In mathematics, Robinson arithmetic is a finitely axiomatized fragment of first-order Peano arithmetic (PA), first set out by R. M. Robinson in 1950. It is usually denoted Q. Q is almost PA without the axiom schema of mathematical induction. Q i ...
, and even to a much weaker theory known as R. A common statement of the lemma (as given below) makes the stronger assumption that the theory can represent all
computable function Computable functions are the basic objects of study in computability theory. Computable functions are the formalized analogue of the intuitive notion of algorithms, in the sense that a function is computable if there exists an algorithm that can do ...
s, but all the theories mentioned have that capacity, as well.


Statement of the lemma

Intuitively, \mathcal is a self-referential formula: \mathcal says that \mathcal has the property \mathcal. The sentence \mathcal can also be viewed as a fixed point of the operation assigning to each formula \mathcal the formula \mathcal(^\circ \#_). The formula \mathcal constructed in the proof is not literally the same as F(^\circ \#_), but is provably equivalent to it in the theory T.


Proof

Let f:\mathbb\to\mathbb be the function defined by: :f(\#_) = \# mathcal(^\#_)/math> for each formula \mathcal(x) with only one free variable x in theory T, and f(n)=0 otherwise. Here \#_=\#(\mathcal(x)) denotes the Gödel number of formula \mathcal(x). The function f is computable (which is ultimately an assumption about the Gödel numbering scheme), so there is a formula \mathcal_f(x,\,y) representing f in T. Namely :\vdash_T\,(\forall y)\ which is to say :\vdash_T\,(\forall y)\ Now, given an arbitrary formula \mathcal(y) with one free variable y, define the formula \mathcal(z) as: :\mathcal(z) := (\forall y) mathcal_f(z,\,y)\Rightarrow \mathcal(y)/math> Then, for all formulas \mathcal(x) with one free variable: :\vdash_T\,\mathcal(^\#_) \Leftrightarrow (\forall y)\ which is to say :\vdash_T\,\mathcal(^\#_) \Leftrightarrow \mathcal\ Now substitute \mathcal with \mathcal, and define the formula \mathcal as: :\mathcal:= \mathcal(^\#_) Then the previous line can be rewritten as :\vdash_T\,\mathcal\Leftrightarrow\mathcal(^\#_) which is the desired result. (The same argument in different terms is given in aatikainen (2015a))


History

The lemma is called "diagonal" because it bears some resemblance to
Cantor's diagonal argument In set theory, Cantor's diagonal argument, also called the diagonalisation argument, the diagonal slash argument, the anti-diagonal argument, the diagonal method, and Cantor's diagonalization proof, was published in 1891 by Georg Cantor as a m ...
. The terms "diagonal lemma" or "fixed point" do not appear in Kurt Gödel's 1931 article or in
Alfred Tarski Alfred Tarski (, born Alfred Teitelbaum;School of Mathematics and Statistics, University of St Andrews ''School of Mathematics and Statistics, University of St Andrews''. January 14, 1901 – October 26, 1983) was a Polish-American logician a ...
's 1936 article. Rudolf Carnap (1934) was the first to prove the general self-referential lemma, which says that for any formula ''F'' in a theory ''T'' satisfying certain conditions, there exists a formula ''ψ'' such that ψ ↔ ''F''(°#(''ψ'')) is provable in ''T''. Carnap's work was phrased in alternate language, as the concept of
computable function Computable functions are the basic objects of study in computability theory. Computable functions are the formalized analogue of the intuitive notion of algorithms, in the sense that a function is computable if there exists an algorithm that can do ...
s was not yet developed in 1934. Mendelson (1997, p. 204) believes that Carnap was the first to state that something like the diagonal lemma was implicit in Gödel's reasoning. Gödel was aware of Carnap's work by 1937.See Gödel's ''Collected Works, Vol. 1'', Oxford University Press, 1986, p. 363, fn 23. The diagonal lemma is closely related to Kleene's recursion theorem in
computability theory Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has since ...
, and their respective proofs are similar.


See also

*
Indirect self-reference Indirect self-reference describes an object referring to itself ''indirectly''. For example, define the function f such that f(x) = x(x). Any function passed as an argument to f is invoked with itself as an argument, and thus in any use of that a ...
* List of fixed point theorems *
Primitive recursive arithmetic Primitive recursive arithmetic (PRA) is a quantifier-free formalization of the natural numbers. It was first proposed by Norwegian mathematician , reprinted in translation in as a formalization of his finitist conception of the foundations of ...
*
Self-reference Self-reference occurs in natural or formal languages when a sentence, idea or formula refers to itself. The reference may be expressed either directly—through some intermediate sentence or formula—or by means of some encoding. In philosop ...
*
Self-referential paradoxes This list includes well known paradoxes, grouped thematically. The grouping is approximate, as paradoxes may fit into more than one category. This list collects only scenarios that have been called a paradox by at least one source and have their ...


Notes


References

* George Boolos and Richard Jeffrey, 1989. ''Computability and Logic'', 3rd ed. Cambridge University Press. * 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. * Hinman, Peter, 2005. ''Fundamentals of Mathematical Logic''. A K Peters. * Mendelson, Elliott, 1997. ''Introduction to Mathematical Logic'', 4th ed. Chapman & Hall. * Panu Raatikainen, 2015a
The Diagonalization Lemma
In Stanford Encyclopedia of Philosophy, ed. Zalta. Supplement to Raatikainen (2015b). * Panu Raatikainen, 2015b
Gödel's Incompleteness Theorems
In Stanford Encyclopedia of Philosophy, ed. Zalta. * Raymond Smullyan, 1991. ''Gödel's Incompleteness Theorems''. Oxford Univ. Press. * Raymond Smullyan, 1994.
Diagonalization and Self-Reference
'. Oxford Univ. Press. * **
Alfred Tarski Alfred Tarski (, born Alfred Teitelbaum;School of Mathematics and Statistics, University of St Andrews ''School of Mathematics and Statistics, University of St Andrews''. January 14, 1901 – October 26, 1983) was a Polish-American logician a ...
, tr. J. H. Woodger, 1983. "The Concept of Truth in Formalized Languages"
English translation of Tarski's 1936 article
In A. Tarski, ed. J. Corcoran, 1983, ''Logic, Semantics, Metamathematics'', Hackett. {{DEFAULTSORT:Diagonal Lemma Mathematical logic Lemmas Articles containing proofs