Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Godel's Incompleteness Theorems

Godel's Incompleteness Theorems

Godel's Incompleteness Theorems are among the most famous results in modern mathematics. They are often informally stated as follows:

1. Any formal system that can express elementary arithmetic contains statements that are "true but not provable".

2. Any consistent formal system that can express elementary arithmetic cannot prove its own consistency.

These informal statements, however, often raise more questions than they answer. What exactly is a "formal system"? What does it mean for a statement to be "true but not provable"? What does it mean to "express arithmetic", and why does arithmetic have anything to do with proof or consistency?

This talk will introduce the audience to the main ideas behind the incompleteness theorems. We'll discuss the historical context in which the incompleteness theorems were discovered, develop the concepts necessary to properly understand what the theorems actually say, and present a sketch of the theorems' proof.

Scott Sanderson

March 06, 2017
Tweet

More Decks by Scott Sanderson

Other Decks in Education

Transcript

  1. Hilbert’s Program David Hilbert In 1900, published a list of

    the 23 most important unsolved problems in mathematics for the 20th century. 1
  2. Hilbert’s Program David Hilbert In 1900, published a list of

    the 23 most important unsolved problems in mathematics for the 20th century. Problem 2 is “prove the consistency of aritmetic”. 1
  3. Informal Statement of the Incompleteness Theorems Theorem (G¨ odel’s First

    Incompleteness Theorem) Let F be a consistent formal system that can express arithmetic. There are statements well-formed statements in the language of F which are neither provable nor disprovable in F. 4
  4. Informal Statement of the Incompleteness Theorems Theorem (G¨ odel’s First

    Incompleteness Theorem) Let F be a consistent formal system that can express arithmetic. There are statements well-formed statements in the language of F which are neither provable nor disprovable in F. Theorem (G¨ odel’s Informal Statement of the Second Incompleteness Theorem) Let F be a consistent formal system that can express arithmetic. F cannot prove its own consistency. 4
  5. lolwut? What do we mean by “formal system”? What does

    it mean for F to be “consistent”? 5
  6. lolwut? What do we mean by “formal system”? What does

    it mean for F to be “consistent”? How can a statement be neither provable nor disprovable? 5
  7. lolwut? What do we mean by “formal system”? What does

    it mean for F to be “consistent”? How can a statement be neither provable nor disprovable? What would it mean for F to prove its own consistency? 5
  8. What is a Formal System? A formal system F is:

    • An alphabet of symbols (e.g. 0, , ¬, ∃, ∀, →). • A grammar, describing the strings of symbols that are well-formed sentences. • A set of axioms containing initial theorems of F. • A set of rules of inference describing how to transform existing theorems into new theorems. 6
  9. Robinson Arithmetic Robinson Arithmetic (Q) is a simple axiomatization of

    arithmetic on the natural numbers. Defines + and × in terms of successor . 7
  10. Robinson Arithmetic Robinson Arithmetic (Q) is a simple axiomatization of

    arithmetic on the natural numbers. Defines + and × in terms of successor . 0 is the only constant. Other numeric constants written as 0 ... . 7
  11. Robinson Arithmetic Symbols 0, , ¬, =, +, ×, ∧,

    ∨, ∀, ∃, →, (, ) a, b, c, . . . , x, y, z, . . . (as many as needed) 8
  12. Robinson Arithmetic Well-Formed Sentences 0 + 0 = 0 0

    + 0 = 0 ∀x(x + 0 = x) ∀x∃y(y + y = x) Invalid Sentences 0 = +xy ∀∃ 9
  13. Robinson Arithmetic Axioms 1. ∀x(¬(0 = x )) 2. ∀x∀y(x

    = y → x = y) 3. ∀x(¬(x = 0) → ∃y(x = y )) 10
  14. Robinson Arithmetic Axioms 1. ∀x(¬(0 = x )) 2. ∀x∀y(x

    = y → x = y) 3. ∀x(¬(x = 0) → ∃y(x = y )) 4. ∀x(x + 0 = 0) 10
  15. Robinson Arithmetic Axioms 1. ∀x(¬(0 = x )) 2. ∀x∀y(x

    = y → x = y) 3. ∀x(¬(x = 0) → ∃y(x = y )) 4. ∀x(x + 0 = 0) 5. ∀x((x + y ) = (x + y) ) 10
  16. Robinson Arithmetic Axioms 1. ∀x(¬(0 = x )) 2. ∀x∀y(x

    = y → x = y) 3. ∀x(¬(x = 0) → ∃y(x = y )) 4. ∀x(x + 0 = 0) 5. ∀x((x + y ) = (x + y) ) 6. ∀x(x × 0 = 0) 10
  17. Robinson Arithmetic Axioms 1. ∀x(¬(0 = x )) 2. ∀x∀y(x

    = y → x = y) 3. ∀x(¬(x = 0) → ∃y(x = y )) 4. ∀x(x + 0 = 0) 5. ∀x((x + y ) = (x + y) ) 6. ∀x(x × 0 = 0) 7. ∀x∀y(x × y = (x × y) + x) 10
  18. Robinson Arithmetic Rules of Inference p, (p → q) q

    ¬¬p → p p ∧ q p (p → q) (¬q → ¬p) . . . 11
  19. Consistency A formal system F is inconsistent if, for some

    proposition p: F p and F ¬p A formal system is consistent if it is not inconsistent. 12
  20. The First Incompleteness Theorem Theorem (First Incompleteness Theorem) Let F

    be a consistent formal system that contains Q. Then we can construct a sentence GF such that: 1. F GF . 2. F ¬GF . 13
  21. Liar Paradox Consider the sentence “This sentence is false.”. If

    it’s true, then by its own assertion it must be false. 14
  22. Liar Paradox Consider the sentence “This sentence is false.”. If

    it’s true, then by its own assertion it must be false. If it’s false, then, by its own assertion, it must be true. 14
  23. Liar Paradox Consider the sentence “This sentence is false.”. If

    it’s true, then by its own assertion it must be false. If it’s false, then, by its own assertion, it must be true. Many answers have been proposed for how to understand the logical content of this sentence. 14
  24. Proof Paradox Consider the sentence “This sentence is not provable”.

    If it’s provable, then we have a proof that the sentence isn’t provable. 15
  25. Proof Paradox Consider the sentence “This sentence is not provable”.

    If it’s provable, then we have a proof that the sentence isn’t provable. If it’s not provable, then we don’t have such a proof. 15
  26. Proof Paradox Consider the sentence “This sentence is not provable”.

    If it’s provable, then we have a proof that the sentence isn’t provable. If it’s not provable, then we don’t have such a proof. If our deductive system is consistent, then the sentence is true, which means we can’t prove that it’s true 15
  27. Proof Idea for First Incompleteness Theorem Proof Idea Construct a

    sentence in Q that asserts its own unprovability. 16
  28. Representability Definition (Weak Representability) A set S of natural numbers

    is weakly representable in F if there exists a formula A(x) in the language of F such that: n ∈ S ⇐⇒ F A(n) 17
  29. Representability Definition (Strong Representability) A set S of natural numbers

    is strongly representable in F if there exists a formula A(x) in the language of F such that: n ∈ S =⇒ F A(n) n / ∈ S =⇒ F ¬A(n) 18
  30. Representability (in plain English) Weak representability means that we can

    write down a formula A such that F proves A(x) whenever x ∈ S. 19
  31. Representability (in plain English) Weak representability means that we can

    write down a formula A such that F proves A(x) whenever x ∈ S. Strong representability means that can write down a formula A such that F proves A(x) whenever x ∈ S and F proves ¬A(x) whenever x / ∈ S. 19
  32. Representability (in plain English) Weak representability means that we can

    write down a formula A such that F proves A(x) whenever x ∈ S. Strong representability means that can write down a formula A such that F proves A(x) whenever x ∈ S and F proves ¬A(x) whenever x / ∈ S. We can define representability for relations analogously using formulae with more than one free variable. 19
  33. Examples of Representability Even(x) ≡ ∃y(x = y × 0

    ) Odd(x) ≡ ∃y(x = y ∧ Even(y)) LessThan(x, y) ≡ ∃n(x + n = y) Divides(x, y) ≡ ∃n(n × y = x) Prime(x) ≡ ∀y((Divides(x, y) → (y = 0 ∨ y = x))) 20
  34. G¨ odel Numbering Problem How to make assertions about provability

    of Q-sentences in Q? Idea Encode assertions about proofs as assertions about numbers. 21
  35. G¨ odel Numbering Problem How to make assertions about provability

    of Q-sentences in Q? Idea Encode assertions about proofs as assertions about numbers. Requires that we can produce a correspondence between numbers and sentences. 21
  36. G¨ odel Numbering Assign a positive integer to each symbol

    in the alphabet of the language of F. C(0) = 1 C( ) = 2 C(+) = 3 C(×) = 4 C(=) = 5 C(() = 6 C()) = 7 C(→) = 8 C(¬) = 9 C(∀) = 10 C(∧) = 11 C(∨) = 12 C(a) = 13 C(b) = 14 . . . C(xi ) = 12 + i 22
  37. G¨ odel Numbering Encode sequences of symbols in the exponents

    of the powers of prime numbers. 0 + 0 = 0 = 2C(0)3C(+)5C07C(=)11C(0) = 21335175111 = 4537890 23
  38. G¨ odel Numbering Encode sequences of symbols in the exponents

    of the powers of prime numbers. 0 + 0 = 0 = 2C(0)3C(+)5C07C(=)11C(0) = 21335175111 = 4537890 We can use similar techniques to encode sequences of sequences. 23
  39. Encoding Proof Theorem (Valid Proofs are Strongly Representable in Q)

    There is a formula of F, ProofF (x, y) that strongly represents the relation: x is the G¨ odel number of a proof of a formula with G¨ odel number y 24
  40. Encoding Provability Corollary (Provability is Weakly Representable in Q) There

    is a formula of F, ProvableF (x), that weakly represents the relation: x is the G¨ odel number of a provable sentence. 25
  41. Encoding Provability Corollary (Provability is Weakly Representable in Q) There

    is a formula of F, ProvableF (x), that weakly represents the relation: x is the G¨ odel number of a provable sentence. ProvableF (x) ≡ ∃y(ProofF (x, y)) 25
  42. Encoding Self-Reference Theorem (Diagonalization Lemma) Let A(x) be a formula

    in the language of F with one free variable. We can construct a sentence DA such that: F (DA ↔ A( DA )) We refer to DA as the diagonalization of A. 26
  43. Proof of the First Incompleteness Theorem Let GF be the

    diagonalization of ¬ProvableF (x). 27
  44. Proof of the First Incompleteness Theorem Let GF be the

    diagonalization of ¬ProvableF (x). By the Diagonalization Lemma: F (GF ↔ ¬ProvableF ( GF )) (1) 27
  45. Proof of the First Incompleteness Theorem By the Diagonalization Lemma:

    F (GF ↔ ¬ProvableF ( GF )) (1) Suppose F GF : By weak representability of ProvableF : F ProvableF ( GF ) 27
  46. Proof of the First Incompleteness Theorem By the Diagonalization Lemma:

    F (GF ↔ ¬ProvableF ( GF )) (1) Suppose F GF : By weak representability of ProvableF : F ProvableF ( GF ) but by (1), F ¬ProvableF ( GF ) 27
  47. Proof of the First Incompleteness Theorem By the Diagonalization Lemma:

    F (GF ↔ ¬ProvableF ( GF )) (1) Suppose F GF : By weak representability of ProvableF : F ProvableF ( GF ) but by (1), F ¬ProvableF ( GF ) So, if F is consistent, F GF . 27
  48. Proof of the First Incompleteness Theorem Suppose F ¬GF :

    No n is the G¨ odel number of a proof of GF , so by strong representability of ProofF , for every numeral n: F ¬ProofF (n, GF ) 27
  49. Proof of the First Incompleteness Theorem Suppose F ¬GF :

    No n is the G¨ odel number of a proof of GF , so by strong representability of ProofF , for every numeral n: F ¬ProofF (n, GF ) We’d like to conclude that: F ¬∃n(Proof (n, GF )) ∴ F ¬Provable( GF ) 27
  50. Proof of the First Incompleteness Theorem Suppose F ¬GF :

    No n is the G¨ odel number of a proof of GF , so by strong representability of ProofF , for every numeral n: F ¬ProofF (n, GF ) We’d like to conclude that: F ¬∃n(Proof (n, GF )) ∴ F ¬Provable( GF ) 27
  51. Proof of the First Incompleteness Theorem Suppose F ¬GF :

    No n is the G¨ odel number of a proof of GF , so by strong representability of ProofF , for every numeral n: F ¬ProofF (n, GF ) We’d like to conclude that: F ¬∃n(Proof (n, GF )) ∴ F ¬Provable( GF ) but this actually requires a slightly stronger assumption ω-consistency. 27
  52. Consistency vs. ω-Consistency A formal theory is consistent if it

    is not the case that for some A: F A F ¬A 28
  53. Consistency vs. ω-Consistency A formal theory is consistent if it

    is not the case that for some A: F A F ¬A A formal theory is ω-consistent if is is not the case that for some A(x): F A(n) for every numeral n. F ∃n(¬A(n)) 28
  54. Consistency vs. ω-Consistency A formal theory is consistent if it

    is not the case that for some A: F A F ¬A A formal theory is ω-consistent if is is not the case that for some A(x): F A(n) for every numeral n. F ∃n(¬A(n)) ω-consistency is a stronger condition, and is what G¨ odel used in his original proof. 28
  55. Final Statement of the First Incompleteness Theorem Theorem (G¨ odel’s

    First Incompleteness Theorem) Let F be a formal system that contains Q. Then we can construct a sentence GF such that: 1. If F is consistent, F GF . 2. If F is ω-consistent, F ¬GF . 29
  56. Review of First Incompleteness Theorem Summary: • We can encode

    statements about statements in arithmetic by encoding statements as numbers. 30
  57. Review of First Incompleteness Theorem Summary: • We can encode

    statements about statements in arithmetic by encoding statements as numbers. • We can express “x is a proof of y” (suitably encoded) in arithmetic. 30
  58. Review of First Incompleteness Theorem Summary: • We can encode

    statements about statements in arithmetic by encoding statements as numbers. • We can express “x is a proof of y” (suitably encoded) in arithmetic. • We can express “x is provable” as “∃y s.t. y is a proof of x”. 30
  59. Review of First Incompleteness Theorem Summary: • We can encode

    statements about statements in arithmetic by encoding statements as numbers. • We can express “x is a proof of y” (suitably encoded) in arithmetic. • We can express “x is provable” as “∃y s.t. y is a proof of x”. • Diagonalization transforms a predicate into a statement that is provable in iff its G¨ odel numbers satisfies the predicate. 30
  60. Review of First Incompleteness Theorem Summary: • We can encode

    statements about statements in arithmetic by encoding statements as numbers. • We can express “x is a proof of y” (suitably encoded) in arithmetic. • We can express “x is provable” as “∃y s.t. y is a proof of x”. • Diagonalization transforms a predicate into a statement that is provable in iff its G¨ odel numbers satisfies the predicate. • Applying diagonalization to “x is not provable” yields a statement that’s provable only if it’s not provable. 30
  61. The Second Incompleteness Theorem Theorem (G¨ odel’s Second Incompleteness Theorem)

    Let F be a consistent formal system that contains Peano Arithmetic, and define: ConsF ≡ ¬ProvableF (0 = 0 ) then F ConsF 31
  62. The Second Incompleteness Theorem Theorem (G¨ odel’s Second Incompleteness Theorem)

    Let F be a consistent formal system that contains Peano Arithmetic, and define: ConsF ≡ ¬ProvableF (0 = 0 ) then F ConsF In other words, if F is consistent, then F can’t prove that it doesn’t prove contradictions. 31
  63. Proof Sketch Main Idea: Let GF be the G¨ odel

    sentence constructed in the proof of the first theorem. Prove F (ConsF ↔ GF ) By the first theorem, if F is consistent, then F GF . Therefore, F ConsF . 32
  64. Proof Sketch How do we show that F proves the

    equivalence of ConsF and GF ? 33
  65. Proof Sketch How do we show that F proves the

    equivalence of ConsF and GF ? Essentially, the idea is to translate the argument from theorem 1 into the language of F. 33
  66. Proof Sketch How do we show that F proves the

    equivalence of ConsF and GF ? Essentially, the idea is to translate the argument from theorem 1 into the language of F. We show that F (¬GF → ⊥ → ¬ConsF ), which implies that F ConsF → GF . 33
  67. Challenges Derivation requires L¨ ob’s Derivability Conditions (or equivalent) to

    be shown for the provability predicate ProvableF (abbreviated here as ProvF ): F A =⇒ ProvF ( A ) (1) F ProvF ( A ) → ProvF ( ProvF ( A ) ) (2) F ProvF ( A ) ∧ ProvF ( A → B ) → ProvF ( B ) (3) 34
  68. Implications for Hilbert’s Program David Hilbert Second Theorem rules out

    proving consistency of infinitistic mathematics using finitistic means. 35
  69. Implications for Hilbert’s Program David Hilbert Second Theorem rules out

    proving consistency of infinitistic mathematics using finitistic means. Still possible to prove arithmetic consistent via external means. 35
  70. Implications for Hilbert’s Program David Hilbert Second Theorem rules out

    proving consistency of infinitistic mathematics using finitistic means. Still possible to prove arithmetic consistent via external means. Proven consistent by Gentzen in 1936 using transfinite induction. 35
  71. Implications for Hilbert’s Program David Hilbert It is likely that

    all mathematicians ultimately would have accepted Hilbert’s approach had he been able to carry it out successfully. The first steps were inspiring and promising. But then G¨ odel dealt it a terrific blow (1931), from which it has not yet recovered. — Hermann Weyl (1946) 35
  72. Implications for Logicism Alfred North Whitehead Bertrand Russell • Logicism

    went into decline after G¨ odel’s proofs were announced. 36