Diagonal Lemma
   HOME

TheInfoList



OR:

In
mathematical logic Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of for ...
, the diagonal lemma (also known as diagonalization lemma, self-reference lemma or fixed point theorem) establishes the existence of
self-referential 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 philoso ...
sentences in certain formal theories of the
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called ''Cardinal n ...
s—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 Gödel's incompleteness theorems are two theorems of mathematical logic Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research i ...
and
Tarski's undefinability theorem Tarski's undefinability theorem, stated and proved by Alfred Tarski in 1933, is an important limitative result in mathematical logic, the foundations of mathematics, and in formal semantics. Informally, the theorem states that ''arithmetical truth ...
.


Background

Let \mathbb be the set of
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called ''Cardinal n ...
s. 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 high ...
theory A theory is a rational type of abstract thinking about a phenomenon, or the results of such thinking. The process of contemplative and rational thinking is often associated with such processes as observational study or research. Theories may be s ...
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 In computability theory, a primitive recursive function is roughly speaking a function that can be computed by a computer program whose loops are all "for" loops (that is, an upper bound of the number of iterations of every loop can be determined ...
. 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 is ...
, 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 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 philoso ...
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, Kleene's recursion theorems are a pair of fundamental results about the application of computable functions to their own descriptions. The theorems were first proved by Stephen Kleene in 1938 and appear in his 1952 ...
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 e ...
, 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 In mathematics, a fixed-point theorem is a result saying that a function ''F'' will have at least one fixed point (a point ''x'' for which ''F''(''x'') = ''x''), under some conditions on ''F'' that can be stated in general terms. Some authors cla ...
*
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-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 George Stephen Boolos (; 4 September 1940 – 27 May 1996) was an American philosopher and a mathematical logician who taught at the Massachusetts Institute of Technology. Life Boolos is of Greek-Jewish descent. He graduated with an A.B. i ...
and
Richard Jeffrey Richard Carl Jeffrey (August 5, 1926 – November 9, 2002) was an American philosopher, logician, and probability theorist. He is best known for developing and championing the philosophy of radical probabilism and the associated heuristic of ...
, 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 The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
, ed. Zalta. Supplement to Raatikainen (2015b). * Panu Raatikainen, 2015b
Gödel's Incompleteness Theorems
In
Stanford Encyclopedia of Philosophy The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
, ed. Zalta. *
Raymond Smullyan Raymond Merrill Smullyan (; May 25, 1919 – February 6, 2017) was an American mathematician, magician, concert pianist, logician, Taoist, and philosopher. Born in Far Rockaway, New York, his first career was stage magic. He earned a BSc from th ...
, 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