Gödels Incompleteness Theorems Kurt Gödel His Theorems A ...
Gödels Incompleteness Theorems Kurt Gödel His Theorems A ...
Gödels Incompleteness Theorems Kurt Gödel His Theorems A ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
<strong>Kurt</strong> Gödel<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong><br />
Sebastian Bader 1<br />
ICCL, Technische Universität Dresden, Germany<br />
Knowledge Representation and Reasoning Seminar<br />
April 25th, 2006<br />
◮ Born: April 28, 1906 in<br />
Brno, Austria-Hungary<br />
(now Czech Republic)<br />
◮ Died: January 14, 1978 in<br />
Princeton, New Jersey,<br />
USA<br />
◮ 1930: PhD (completeness<br />
of the first-order predicate<br />
calculus)<br />
◮ 1932: ”Über formal<br />
unentscheidbare Sätze der<br />
Principia Mathematica und<br />
verwandter Systeme I.”<br />
1 Supported by the GK334 of the German Research Foundation (DFG)<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
<strong>His</strong> <strong>Theorems</strong><br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 2<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
A sufficient system<br />
“Über formal unentscheidbare Sätze der Principia mathematica<br />
und verwandter Systeme I”, 1931:<br />
Theorem (First <strong>Incompleteness</strong> Theorem)<br />
For any consistent formal system capable of proving basic<br />
arithmetical truths, it is possible to construct an arithmetical<br />
statement that is true but not provable within the system.<br />
Theorem (Second <strong>Incompleteness</strong> Theorem)<br />
For any consistent formal system capable of proving basic<br />
arithmetical truths, the statement of its own consistency can be<br />
deduced (within the system) if and only if it is inconsistent.<br />
A formal system capable of proving basic arithmetical truths<br />
(like all valid additions, multiplications, ...) must contain:<br />
◮ an axiomatisation of the natural numbers.<br />
◮ an axiomatisation of primitive recursive functions, i.e.<br />
functions over natural numbers built of<br />
• all projections π i<br />
• composition of functions<br />
• primitive recursion: let f and g be primitive recursive, then<br />
h(0, x 0 , ..., x k−1 ) = f (x 0 , ..., x k−1 ) and<br />
h(s(n), x 0 , ..., x k−1 ) = g(h(n, x 0 , ..., x k−1 ), n, x 0 , ..., x k−1 )<br />
is primitive recursive.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 3<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Gödels System P<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 4<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
General Outline of the Proofs<br />
◮ Peano’s Aximos: ¬(sx = 0), (sx = sy) ⊃ (x = y),<br />
(p(0) ∧ (∀x)(p(x) ⊃ p(sx))) ⊃ ((∀x)p(x))<br />
◮ Structural schemata: (p ∨ p) ⊃ p, p ⊃ (p ∨ q),<br />
(p ∨ q) ⊃ (q ∨ p), (p ⊃ q) ⊃ ((r ∨ p) ⊃ (r ∨ q)),<br />
◮ Substitution schemata: (∀v)a ⊃ a{v ↦→ c},<br />
(∀v)(b ∨ a) ⊃ (b ∨ (∀v)a),<br />
◮ Axiom of reducibility (comprehension axiom of set theory)<br />
(∃p)(∀x)(p(x) ≡ a),<br />
◮ Axiom of extensionality (Two sets are the same if and only<br />
if they have the same elements)<br />
(∀x)(p(x) ≡ q(x)) ⊃ (p = q)<br />
◮ Let PM be a system, capable of proving basic<br />
mathematical truths.<br />
◮ Map symbols, formulae and proofs to natural numbers.<br />
◮ Map meta-mathematical statements to properties of<br />
(relations between) natural numbers.<br />
◮ Therefore, we can talk about those statements within the<br />
system PM.<br />
◮ Construct statements showing the incompleteness and<br />
map them into the system.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 5<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Idea<br />
If we can reason over numbers, we might reason over arbitrary<br />
statements, once those are mapped to numbers.<br />
◮ Map symbols to numbers.<br />
◮ Map variables to numbers.<br />
◮ Map formulae to numbers.<br />
◮ Map proofs (sequences of formulae) to numbers.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 6<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Map symbols to numbers<br />
Symbol Gödel number Intended meaning<br />
¬ 1 not<br />
∨ 2 or<br />
⊃ 3 if ... then ...<br />
∃ 4 there is an ...<br />
= 5 equals<br />
0 6 zero<br />
s 7 immediate successor<br />
( 8 punctuation mark<br />
) 9 punctuation mark<br />
, 10 punctuation mark<br />
+ 11 plus<br />
× 12 times<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 7<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 8
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Map variables to numbers<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Map formulae to numbers<br />
There are three kinds of variables:<br />
◮ Numerical variables (x, y, z): ranging over numerals<br />
0, s0, ... or numerical expressions like x + y<br />
◮ Sentential variables (p, q, r): ranging over closed formulae<br />
(sentences)<br />
◮ Predicate variables (P, Q, R): ranging over predicates<br />
Type Examples Gödel numbers<br />
Numerical x, y, z, . . . 13, 17, 19, . . .<br />
Sentential p, q, r, . . . 13 2 , 17 2 , 19 2 , . . .<br />
Predicate P, Q, R, . . . 13 3 , 17 3 , 19 3 , . . .<br />
( ∃ x ) ( x = s y )<br />
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓<br />
8 4 13 9 8 13 5 7 17 9<br />
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓<br />
m = 2 8 ×3 4 ×5 13 ×7 9 ×11 8 ×13 13 ×17 5 ×19 7 ×23 17 ×29 9<br />
We call m the Gödel number of (∃x)(x = sy).<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 9<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
From numbers to formulae<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 10<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Map proofs to numbers<br />
Can we go backwards? Yes if a number is a valid Gödel<br />
number then we can construct the corresponding formula:<br />
243,000,000<br />
↓<br />
2 6 3 5 5 6<br />
↓ ↓ ↓<br />
6 5 6<br />
↓ ↓ ↓<br />
0 = 0<br />
Formula<br />
(∃x)(x = sy)<br />
(∃x)(x = s0)<br />
Gödel number<br />
m<br />
n<br />
The Gödel number of the (part of the) proof<br />
is k = 2 m × 3 n .<br />
(∃x)(x = sy)<br />
(∃x)(x = s0)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 11<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Properties<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 12<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
The Correspondence Lemma<br />
◮ For every formula in PM there is a unique Gödel number.<br />
◮ For every proof in PM there is a unique Gödel number.<br />
◮ The Gödel-number-function and its inverse are<br />
computable.<br />
Lemma<br />
Every primitive recursive truth, when represented as a string of<br />
symbols, is a theorem of PM.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 13<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
A simple typographic property<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 14<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
A simple typographic property, ctd<br />
◮ Gödel numbers map formulae / proofs to natural numbers.<br />
◮ But we can also express statements about structural<br />
properties using numbers.<br />
Example<br />
The first symbol of the formula “¬(0 = 0)” is “¬”.<br />
Example<br />
The first symbol of the formula “¬(0 = 0)” is “¬”.<br />
◮ How can this be expressed using arithmetics?<br />
◮ The Gödel number of the formula ¬(0 = 0) is<br />
a = 2 1 × 3 8 × 5 6 × 7 5 × 11 6 × 13 9 .<br />
◮ We can state that the exponent of 2 (first position, hence<br />
smallest prime) in a’s prime factorisation is 1 (Gödel<br />
number of ¬ = 1).<br />
◮ In other words: 2 is a factor of a, but 2 2 is not.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 15<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 16
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
A simple typographic property, ctd<br />
Example<br />
The first symbol of the formula “¬(0 = 0)” (with G.n. a) is “¬”.<br />
◮ 2 is a factor of a, but 2 2 is not.<br />
◮ We can express “x is factor of y” in PM using:<br />
(∃z)(y = z × x).<br />
◮ Hence, we obtain the formula T :<br />
(∃z)(s<br />
}<br />
.<br />
{{<br />
. . s0<br />
}<br />
= z ×<br />
}{{}<br />
ss0) ∧ ¬(∃z)(s<br />
}<br />
.<br />
{{<br />
. . s0<br />
}<br />
a<br />
2<br />
a<br />
= z × (ss0<br />
} {{<br />
× ss0<br />
}<br />
))<br />
2 2<br />
Since the predicate “x is factor of y” is primitive recursive and<br />
the statement is true, T is a theorem of PM.<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
A simple typographic property, ctd<br />
Example<br />
The first symbol of the formula “¬(0 = 0)” (with G.n. a) is “¬”.<br />
◮ Is equivalent to the theorem T :<br />
(∃z)(s<br />
}<br />
.<br />
{{<br />
. . s0<br />
}<br />
= z ×<br />
}{{}<br />
ss0) ∧ ¬(∃z)(s<br />
}<br />
.<br />
{{<br />
. . s0<br />
}<br />
a<br />
2<br />
a<br />
= z × (ss0<br />
} {{<br />
× ss0<br />
}<br />
))<br />
2 2<br />
◮ We can talk about typographic properties by talking about<br />
properties of the prime factorization of (large) integers.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 17<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Another typographic property<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 18<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Another typographic property<br />
Example<br />
The sequence of formulae with Gödel number x is a proof (in<br />
PM) of the formula with Gödel number z.<br />
? Can this be expressed using properties of x and z?<br />
◮ Yes, there is an arithmetical (but by no means simple)<br />
relation between x and z.<br />
◮ We will use dem(x, z) to denote:<br />
“x is a demonstration (formal proof in PM) for z”.<br />
Some remarks:<br />
◮ dem depends implicitely on all axioms and rules in PM.<br />
◮ dem is primitive recursive.<br />
◮ Therefore, for each valid dem(x, y) there is a theorem in<br />
PM, denoted Dem(x, y).<br />
◮ PM has the capability to talk accurately about itself.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 19<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
The substitution statement<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 20<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
The stage<br />
◮ Assume that (∃x)(x = sy) has the Gödel number m.<br />
? What do we get if we replace y (Gödel number 17) with m?<br />
◮ The formula (∃x)(x = s<br />
}<br />
s .<br />
{{<br />
. . s0<br />
}<br />
).<br />
m<br />
◮ This formula has again a Gödel number (even larger),<br />
denoted by sub(m, 17, m).<br />
◮ Again, sub is primitive recursive.<br />
◮ Therefore, for each a = sub(x, 17, x) there is a string<br />
Sub(s<br />
}<br />
.<br />
{{<br />
. . s0<br />
}<br />
,<br />
}<br />
s .<br />
{{<br />
. . s0<br />
}<br />
,<br />
}<br />
s .<br />
{{<br />
. . s0<br />
}<br />
) whose evaluation is a.<br />
m 17 m<br />
◮ We can map formulae and proofs to numbers.<br />
◮ We can express ... is a proof for ... using dem(x, z).<br />
◮ We can refer to the Gödel number of the formula obtained<br />
by substituting the Gödel number of some formula into<br />
itself using sub(m, 17, m).<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 21<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Outline of the proofs<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 22<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (i)<br />
(i) Construct a formula G stating: “The formula G is not<br />
demonstrable using the rules of PM”.<br />
(ii) Show that G is demonstrable iff its negation ¬G is<br />
demonstrable.<br />
(iii) Show that G is true.<br />
(iv) Realize that G is true but not demonstrable in PM.<br />
Therefore, PM is incomplete.<br />
(v) Construct a formula A representing “PM is consistent” and<br />
draw some conclusions<br />
Construct a formula G stating: “The formula G is not<br />
demonstrable using the rules of PM”.<br />
◮ Recall Dem(x, z) states: The sequence of formulae with<br />
Gödel number x is a proof of the formula with number z.<br />
◮ Therefore, (∃x) Dem(x, z) states: The formula with number<br />
z is demonstrable.<br />
◮ Therefore, ¬(∃x) Dem(x, z) states: The formula with<br />
number z is not demonstrable.<br />
◮ We will show that a special case of this formula is not<br />
demonstrable.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 23<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 24
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
The Formula<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
The Formula, ctd.<br />
◮ Consider the formula<br />
¬(∃x) Dem(x, Sub(y, 17, y))<br />
and let n be its Gödel number. (Meaning: The formula with<br />
Gödel number sub(y, 17, y) is not demonstrable.)<br />
◮ Substituting n for y we obtain:<br />
¬(∃x) Dem(x, Sub(n, 17, n))<br />
(Meaning: The formula with Gödel number sub(n, 17, n) is<br />
not demonstrable.)<br />
(F)<br />
(G)<br />
◮ Let G be<br />
¬(∃x) Dem(x, Sub(n, 17, n))<br />
and let g denote its Gödel number.<br />
◮ We have g = sub(n, 17, n).<br />
? Why:<br />
• sub(n, 17, n) is the Gödel number of the formula created<br />
from the formula with number n, by replacing y with n.<br />
• But this formula is G!<br />
◮ Therefore, G expresses that G is not demonstrable.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 25<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (ii)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 26<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (ii) – Conclusions<br />
Theorem<br />
G is demonstrable iff ¬G is demonstrable.<br />
Sketch of the ⇒-direction.<br />
◮ Assume G = ¬(∃x) Dem(x, Sub(n, 17, n)) is demonstrable.<br />
◮ Then there is a proof (with Gödel number k) of G.<br />
◮ Therefore, dem(k, sub(n, 17, n)) must be true.<br />
◮ Therefore, Dem(k, Sub(n, 17, n)) must be a theorem.<br />
◮ In PM there is a rule P(k) (∃x)P(x).<br />
◮ Hence (∃x) Dem(x, Sub(n, 17, n)) = ¬G is demonstrable.<br />
Theorem<br />
G is demonstrable iff ¬G is demonstrable.<br />
Conclusions:<br />
◮ If G and ¬G are demonstrable in PM, then PM is<br />
inconsitent.<br />
◮ If PM is consistent, then neither G nor ¬G is demonstrable.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 27<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (iii)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 28<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (iv)<br />
Show that G is true.<br />
◮ G says: There is no demonstration of G.<br />
◮ On the level of numbers: There is no number x which<br />
bears the relationship dem with the number sub(n, 17, n).<br />
◮ We just showed that there is no proof (hence no number x)<br />
for G in (a consistent) PM.<br />
◮ Therefore, G must be true.<br />
◮ Note: this is not a proof within PM, but a meta argument.<br />
Realize that G is true but not demonstrable in PM, therefore PM<br />
is incomplete.<br />
◮ We know that G is true.<br />
◮ We know that G can be expressed within PM.<br />
◮ We know that G is not demonstrable within PM.<br />
◮ Therefore, PM is incomplete.<br />
◮ Moreover, even if we add G as a statement to PM, there is<br />
a formula G ′ in the resulting system PM’, ...<br />
(Note, that e.g. the dem-relation would be different in PM’)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 29<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (v)<br />
Construct a formula A representing “PM is consistent” and draw<br />
some conclusions.<br />
◮ If PM is consistent, then there is at least one formula that is<br />
not demonstrable in PM.<br />
◮ In numbers: There is at least one number y such that there<br />
is no number x bearing the relation dem to y:<br />
(∃y)¬(∃x) dem(x, y)<br />
◮ This can be expressed in PM as:<br />
(∃y)¬(∃x) Dem(x, y)<br />
(A)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 30<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Step (v) – Conclusions<br />
(∃y)¬(∃x) Dem(x, y)<br />
¬(∃x) Dem(x, Sub(n, 17, n))<br />
◮ The formula A ⊃ G is demonstrable in PM.<br />
◮ Therefore, A is not demonstrable (If it were, G would be<br />
demonstrable, which is not).<br />
◮ Therefore, the consistency of PM cannot be established by<br />
any reasoning which can be mapped into PM.<br />
(A)<br />
(G)<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 31<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 32
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Conclusion<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Misconceptions<br />
Theorem (First <strong>Incompleteness</strong> Theorem)<br />
For any consistent formal system capable of proving basic<br />
arithmetical truths, it is possible to construct an arithmetical<br />
statement that is true but not provable within the system.<br />
Theorem (Second <strong>Incompleteness</strong> Theorem)<br />
For any consistent formal system capable of proving basic<br />
arithmetical truths, the statement of its own consistency can be<br />
deduced (within the system) if and only if it is inconsistent.<br />
◮ The theorems do not imply that every interesting axiomatic<br />
system is incomplete. (E.g., Euclidean geometry can be<br />
completely axiomatized.)<br />
◮ The theorems apply to those systems only which allow to<br />
define natural numbers.<br />
◮ The theorems apply to those systems only which are used<br />
as their own proof systems.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 33<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
Implications<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 34<br />
Introduction Gödel Numbering Meta-mathematics Gödels Proofs Conclusions<br />
By the way ...<br />
◮ To prove the consistency of a system S, one needs a more<br />
powerful system T . (E.g., the consistency of Peano’s<br />
axioms can be shown using set theory, but not using the<br />
theory of natural numbers.)<br />
◮ Unfortunately, a proof in T is not completely convincing<br />
without known T to be consistent. ...<br />
Gödel showed some slightly weeker versions of the theorems.<br />
The versions presented are due to J. Barkley Rosser, 1936.<br />
Thanks for your attention.<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 35<br />
Gödels <strong>Incompleteness</strong> <strong>Theorems</strong> (Sebastian Bader ) 36