g del s incompleteness theorems
play

Gdels Incompleteness Theorems Andrei Popescu Dmitriy Traytel e - PowerPoint PPT Presentation

A Formally Verified Abstract Account of Gdels Incompleteness Theorems Andrei Popescu Dmitriy Traytel e HOL l l e b a s I = Gdels Incompleteness Theorems 1931 Gdels Incompleteness Theorems 1931


  1. A Formally Verified Abstract Account of Gödel’s Incompleteness Theorems Andrei Popescu Dmitriy Traytel e HOL l l e b a ∀ s I = α λ β →

  2. Gödel’s Incompleteness Theorems 1931

  3. Gödel’s Incompleteness Theorems 1931 Fix a consistent logical theory that - contains enough arithmetic, - can itself be arithmetized.

  4. Gödel’s Incompleteness Theorems 1931 Fix a consistent logical theory that - contains enough arithmetic, - can itself be arithmetized. There are sentences that the theory cannot decide (i.e., neither prove nor disprove).

  5. Gödel’s Incompleteness Theorems 1931 Fix a consistent logical theory that - contains enough arithmetic, - can itself be arithmetized. There are sentences that the theory cannot decide (i.e., neither prove nor disprove). The theory cannot prove (an internal formulation of) its own consistency.

  6. Pen and Paper Proofs of � and �

  7. Pen and Paper Proofs of � and � … … … …

  8. Pen and Paper Proofs of � and � … … … … The reader who does not like incomplete and (apparently) irremediably messy proofs of syntactic facts may wish to skim over the rest of this chapter and take it for granted that …

  9. Formal Verifications of � and �

  10. Formal Verifications of � and � TEM NQTHM HOL Light Coq Isabelle Sieg Shankar Harrison O’Connor Paulson 1986 2004 2005 2015 1978

  11. End of story

  12. End of story?

  13. End of story?

  14. Formal Verifications of � and � Shared structure

  15. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL

  16. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL - Fix a particular theory (+ finite extensions of it) - Arithmetic (Harrison, O’Connor) - Hereditarily finite set theory (Sieg, Shankar, Paulson)

  17. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL - Fix a particular theory (+ finite extensions of it) - Arithmetic (Harrison, O’Connor) - Hereditarily finite set theory (Sieg, Shankar, Paulson)

  18. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL - Fix a particular theory (+ finite extensions of it) - Arithmetic (Harrison, O’Connor) - Hereditarily finite set theory (Sieg, Shankar, Paulson) - Tour de force for the particular combination

  19. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL - Fix a particular theory (+ finite extensions of it) - Arithmetic (Harrison, O’Connor) - Hereditarily finite set theory (Sieg, Shankar, Paulson) - Tour de force for the particular combination Scope of and remains largely unexploded

  20. Formal Verifications of � and � Shared structure - Fix a particular logic: Classical FOL - Fix a particular theory (+ finite extensions of it) - Arithmetic (Harrison, O’Connor) - Hereditarily finite set theory (Sieg, Shankar, Paulson) - Tour de force for the particular combination Scope of and remains largely unexploded E.g. do they hold for Intuitionistic FOL , HOL , CIC ?

  21. Our Motto:

  22. Our Motto: Don’t Fix, Gather!

  23. Our Contributions

  24. Our Contributions e HOL l l e b a ∀ s - Abstract I formalization of and = α λ β → - Answer “What must/may a logic/theory offer?” - Understand variants and distill trade-offs from the literature - Correct a mistake in a pen and paper proof

  25. Our Contributions e HOL l l e b a ∀ s - Abstract I formalization of and = α λ β → - Answer “What must/may a logic/theory offer?” - Understand variants and distill trade-offs from the literature - Correct a mistake in a pen and paper proof - Concrete instantiation to hereditarily finite set theory - Reproduce (for ) and improve (for ) Paulson’s formalization

  26. What must a logic/theory o ff er? Generic Provability Connectives Numerals Syntax Relation

  27. What must a logic/theory o ff er? Generic Provability Connectives Numerals Syntax Relation What may a logic/theory o ff er? Classical Order-like Proofs Encodings Logic Relation Represent- Derivability Standard Soundness ability Conditions Model Omega- Completeness Proofs vs. Consistency Consistency of Provability Provability

  28. Generic Syntax

  29. • sets: Var, Term, Fmla with Var ⊆ Term Generic Syntax

  30. • sets: Var, Term, Fmla with Var ⊆ Term Generic • operators: Syntax FV_Term : Term → 2 Var FV : Fmla → 2 Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla

  31. • sets: Var, Term, Fmla with Var ⊆ Term Generic • operators: Syntax FV_Term : Term → 2 Var FV : Fmla → 2 Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla • properties, e.g.: x ∈ FV( φ ) implies FV(subst φ x s) = FV( φ ) - {x} ∪ FV_Term(s)

  32. • sets: Var, Term, Fmla with Var ⊆ Term Generic • operators: Syntax FV_Term : Term → 2 Var FV : Fmla → 2 Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla • properties, e.g.: x ∈ FV( φ ) implies FV(subst φ x s) = FV( φ ) - {x} ∪ FV_Term(s) We require unary substitution only. We derive parallel substitution from it.

  33. Connectives

  34. • operators: Connectives ≡ : Term → Term → Fmla → , ∧ , ∨ : Fmla → Fmla → Fmla ¬ : Fmla → Fmla ⊥ , ⊤ : Fmla ∃ , ∀ : Var → Fmla → Fmla

  35. • operators: Connectives ≡ : Term → Term → Fmla → , ∧ , ∨ : Fmla → Fmla → Fmla ¬ : Fmla → Fmla ⊥ , ⊤ : Fmla ∃ , ∀ : Var → Fmla → Fmla We require a minimal list w.r.t. intuitionistic deduction and define the rest. Note: operators, not constructors

  36. • unary relation: Provability Relation ⊢ ⊆ Fmla we write ⊢ φ if φ ∈ ⊢ • properties: ⊢ contains the standard (Hilbert-style) intuitionistic FOL axioms about the connectives

  37. • unary relation: Provability Relation ⊢ ⊆ Fmla we write ⊢ φ if φ ∈ ⊢ • properties: ⊢ contains the standard (Hilbert-style) intuitionistic FOL axioms about the connectives • nonempty set: Numerals Num ⊆ Fmla 0

  38. • property: ⊢ ¬ ¬ φ → φ Classical Logic

  39. • property: ⊢ ¬ ¬ φ → φ Classical Logic • formula: ≺ ∈ Fmla 2 Order-like • properties, e.g.: Relation for all φ ∈ Fmla 1 and n ∈ Num, if ⊢ φ (m) for all m ∈ Num, then ⊢∀ x. x ≺ n → φ (x)

  40. • property: ⊢ ¬ ¬ φ → φ Classical Logic • formula: ≺ ∈ Fmla 2 Order-like • properties, e.g.: Relation for all φ ∈ Fmla 1 and n ∈ Num, if ⊢ φ (m) for all m ∈ Num, then ⊢∀ x. x ≺ n → φ (x) • set: Proof Proofs • binary relation: ⊩ ∈ Proof × Fmla we write p ⊩ φ if (p, φ ) ∈⊩

  41. • operators: Encodings ⟨ _ ⟩ : Fmla → Num and ⟨ _ ⟩ : Proof → Num • formulas subst, ⊩ , ¬ Represent- • property: ability behave like operators/relations (subst, ⊩ , ¬) on encodings

  42. • operators: Encodings ⟨ _ ⟩ : Fmla → Num and ⟨ _ ⟩ : Proof → Num • formulas subst, ⊩ , ¬ Represent- • property: ability behave like operators/relations (subst, ⊩ , ¬) on encodings • property: ⊬⊥ Consistency

  43. • operators: Encodings ⟨ _ ⟩ : Fmla → Num and ⟨ _ ⟩ : Proof → Num • formulas subst, ⊩ , ¬ Represent- • property: ability behave like operators/relations (subst, ⊩ , ¬) on encodings • property: ⊬⊥ Consistency • property: For all φ ∈ Fmla 1 , Omega- Consistency if ⊢ ¬ φ ( n ) for all n ∈ Num then ⊬ ¬¬( ∃ x . φ ( x ))

  44. What must a logic/theory o ff er? Generic Provability Connectives Numerals Syntax Relation What may a logic/theory o ff er? Classical Order-like Proofs Encodings Logic Relation Represent- Derivability Standard Soundness ability Conditions Model Omega- Completeness Proofs vs. Consistency Consistency of Provability Provability

  45. Omega- Proofs Consistency subst, ⊩ ⊢ φ implies ⊢⊢⟨ φ ⟩ Represent- Derivability Encodings ability Conditions There exists φ ∈ Fmla 0 such that ⊬ φ and ⊬ ¬ φ

  46. Rosser’s Consistency Proofs Trick subst, ⊩ ⊢ φ implies ⊢⊢⟨ φ ⟩ Represent- Derivability Encodings ability Conditions There exists φ ∈ Fmla 0 such that ⊬ φ and ⊬ ¬ φ a la Rosser

  47. Rosser’s Consistency Proofs Trick subst, ⊩ ⊢ φ implies ⊢⊢⟨ φ ⟩ Represent- Derivability Encodings ability Conditions ¬ There exists φ ∈ Fmla 0 such that ⊬ φ and ⊬ ¬ φ a la Rosser

  48. Rosser’s Order-like Consistency Proofs Trick Relation subst, ⊩ ⊢ φ implies ⊢⊢⟨ φ ⟩ Represent- Derivability Encodings ability Conditions ¬ There exists φ ∈ Fmla 0 such that ⊬ φ and ⊬ ¬ φ a la Rosser

  49. Standard Completeness Proofs vs. Soundness Model of Provability Provability ⊢ φ implies ⊢⊢⟨ φ ⟩ subst Represent- Derivability Encodings ability Conditions ⊢⊢⟨ φ ⟩ implies ⊢ φ There exists φ ∈ Fmla 0 such that ⊬ φ and ⊬ ¬ φ semantic and φ is true in the standard model

Recommend


More recommend