- Source: Diagonal lemma
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 functions. 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.
It is named in reference to Cantor's diagonal argument in set and number theory.
Background
Let
N
{\displaystyle \mathbb {N} }
be the set of natural numbers. A first-order theory
T
{\displaystyle T}
in the language of arithmetic represents the computable function
f
:
N
→
N
{\displaystyle f:\mathbb {N} \rightarrow \mathbb {N} }
if there exists a "graph" formula
G
f
(
x
,
y
)
{\displaystyle {\mathcal {G}}_{f}(x,y)}
in the language of
T
{\displaystyle T}
— that is, a formula such that for each
n
∈
N
{\displaystyle n\in \mathbb {N} }
⊢
T
(
∀
y
)
[
(
∘
f
(
n
)
=
y
)
⇔
G
f
(
∘
n
,
y
)
]
{\displaystyle \vdash _{T}\,(\forall y)[(^{\circ }f(n)=y)\Leftrightarrow {\mathcal {G}}_{f}(^{\circ }n,\,y)]}
.
Here
∘
n
{\displaystyle {}^{\circ }n}
is the numeral corresponding to the natural number
n
{\displaystyle n}
, which is defined to be the
n
{\displaystyle n}
th successor of presumed first numeral
0
{\displaystyle 0}
in
T
{\displaystyle T}
.
The diagonal lemma also requires a systematic way of assigning to every formula
A
{\displaystyle {\mathcal {A}}}
a natural number
#
(
A
)
{\displaystyle \#({\mathcal {A}})}
(also written as
#
A
{\displaystyle \#_{\mathcal {A}}}
) called its Gödel number. Formulas can then be represented within
T
{\displaystyle T}
by the numerals corresponding to their Gödel numbers. For example,
A
{\displaystyle {\mathcal {A}}}
is represented by
∘
#
A
{\displaystyle ^{\circ }\#_{\mathcal {A}}}
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, 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 functions, but all the theories mentioned have that capacity, as well.
Statement of the lemma
Intuitively,
C
{\displaystyle {\mathcal {C}}}
is a self-referential sentence:
C
{\displaystyle {\mathcal {C}}}
says that
C
{\displaystyle {\mathcal {C}}}
has the property
F
{\displaystyle {\mathcal {F}}}
. The sentence
C
{\displaystyle {\mathcal {C}}}
can also be viewed as a fixed point of the operation that assigns, to the equivalence class of a given sentence
A
{\displaystyle {\mathcal {A}}}
, the equivalence class of the sentence
F
(
∘
#
A
)
{\displaystyle {\mathcal {F}}(^{\circ }\#_{\mathcal {A}})}
(a sentence's equivalence class is the set of all sentences to which it is provably equivalent in the theory
T
{\displaystyle T}
). The sentence
C
{\displaystyle {\mathcal {C}}}
constructed in the proof is not literally the same as
F
(
∘
#
C
)
{\displaystyle {\mathcal {F}}(^{\circ }\#_{\mathcal {C}})}
, but is provably equivalent to it in the theory
T
{\displaystyle T}
.
Proof
Let
f
:
N
→
N
{\displaystyle f:\mathbb {N} \to \mathbb {N} }
be the function defined by:
f
(
#
A
)
=
#
[
A
(
∘
#
A
)
]
{\displaystyle f(\#_{\mathcal {A}})=\#[{\mathcal {A}}(^{\circ }\#_{\mathcal {A}})]}
for each formula
A
(
x
)
{\displaystyle {\mathcal {A}}(x)}
with only one free variable
x
{\displaystyle x}
in theory
T
{\displaystyle T}
, and
f
(
n
)
=
0
{\displaystyle f(n)=0}
otherwise. Here
#
A
=
#
(
A
(
x
)
)
{\displaystyle \#_{\mathcal {A}}=\#({\mathcal {A}}(x))}
denotes the Gödel number of formula
A
(
x
)
{\displaystyle {\mathcal {A}}(x)}
. The function
f
{\displaystyle f}
is computable (which is ultimately an assumption about the Gödel numbering scheme), so there is a formula
G
f
(
x
,
y
)
{\displaystyle {\mathcal {G}}_{f}(x,\,y)}
representing
f
{\displaystyle f}
in
T
{\displaystyle T}
. Namely
⊢
T
(
∀
y
)
{
G
f
(
∘
#
A
,
y
)
⇔
[
y
=
∘
f
(
#
A
)
]
}
{\displaystyle \vdash _{T}\,(\forall y)\{{\mathcal {G}}_{f}(^{\circ }\#_{\mathcal {A}},\,y)\Leftrightarrow [y={}^{\circ }f(\#_{\mathcal {A}})]\}}
which is to say
⊢
T
(
∀
y
)
{
G
f
(
∘
#
A
,
y
)
⇔
[
y
=
∘
#
(
A
(
∘
#
A
)
)
]
}
{\displaystyle \vdash _{T}\,(\forall y)\{{\mathcal {G}}_{f}(^{\circ }\#_{\mathcal {A}},\,y)\Leftrightarrow [y={}^{\circ }\#({\mathcal {A}}(^{\circ }\#_{\mathcal {A}}))]\}}
Now, given an arbitrary formula
F
(
y
)
{\displaystyle {\mathcal {F}}(y)}
with one free variable
y
{\displaystyle y}
, define the formula
B
(
z
)
{\displaystyle {\mathcal {B}}(z)}
as:
B
(
z
)
:=
(
∀
y
)
[
G
f
(
z
,
y
)
⇒
F
(
y
)
]
{\displaystyle {\mathcal {B}}(z):=(\forall y)[{\mathcal {G}}_{f}(z,\,y)\Rightarrow {\mathcal {F}}(y)]}
Then, for all formulas
A
(
x
)
{\displaystyle {\mathcal {A}}(x)}
with one free variable:
⊢
T
B
(
∘
#
A
)
⇔
(
∀
y
)
{
[
y
=
∘
#
(
A
(
∘
#
A
)
)
]
⇒
F
(
y
)
}
{\displaystyle \vdash _{T}\,{\mathcal {B}}(^{\circ }\#_{\mathcal {A}})\Leftrightarrow (\forall y)\{[y={}^{\circ }\#({\mathcal {A}}(^{\circ }\#_{\mathcal {A}}))]\Rightarrow {\mathcal {F}}(y)\}}
which is to say
⊢
T
B
(
∘
#
A
)
⇔
F
(
∘
#
[
A
(
∘
#
A
)
]
)
{\displaystyle \vdash _{T}\,{\mathcal {B}}(^{\circ }\#_{\mathcal {A}})\Leftrightarrow {\mathcal {F}}(^{\circ }\#[{\mathcal {A}}(^{\circ }\#_{\mathcal {A}})])}
Now substitute
A
{\displaystyle {\mathcal {A}}}
with
B
{\displaystyle {\mathcal {B}}}
, and define the sentence
C
{\displaystyle {\mathcal {C}}}
as:
C
:=
B
(
∘
#
B
)
{\displaystyle {\mathcal {C}}:={\mathcal {B}}(^{\circ }\#_{\mathcal {B}})}
Then the previous line can be rewritten as
⊢
T
C
⇔
F
(
∘
#
C
)
{\displaystyle \vdash _{T}\,{\mathcal {C}}\Leftrightarrow {\mathcal {F}}(^{\circ }\#_{\mathcal {C}})}
which is the desired result.
(The same argument in different terms is given in [Raatikainen (2015a)].)
History
The lemma is called "diagonal" because it bears some resemblance to Cantor's diagonal argument. The terms "diagonal lemma" or "fixed point" do not appear in Kurt Gödel's 1931 article or in Alfred Tarski'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 functions 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.
The diagonal lemma is closely related to Kleene's recursion theorem in computability theory, and their respective proofs are similar.
See also
Indirect self-reference
List of fixed point theorems
Primitive recursive arithmetic
Self-reference
Self-referential paradoxes
Notes
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.
Hinman, Peter, 2005. Fundamentals of Mathematical Logic. A K Peters. ISBN 1-56881-262-0
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 (1936). "Der Wahrheitsbegriff in den formalisierten Sprachen" (PDF). Studia Philosophica. 1: 261–405. Archived from the original (PDF) on 9 January 2014. Retrieved 26 June 2013.
Alfred Tarski, 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.
Kata Kunci Pencarian:
- Ideogram
- Teorema Pythagoras
- Teorema Sylow
- Produk setengah langsung
- 0,999...
- Fungsi Lambert W
- Diagonal lemma
- Diagonalization
- Diagonal argument
- Cantor's diagonal argument
- Tarski's undefinability theorem
- Nine lemma
- List of lemmas
- Gödel's incompleteness theorems
- Diagonal subgroup
- Fixed-point theorem