A Formally Verified Abstract Account
- f
Gödel’s Incompleteness Theorems
Andrei Popescu Dmitriy Traytel
λ → ∀
=
I s a b e l l e
β α
HOL
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
A Formally Verified Abstract Account
Andrei Popescu Dmitriy Traytel
λ → ∀
=
I s a b e l l e
β α
HOL
Fix a consistent logical theory that
Fix a consistent logical theory that
… … … …
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 …
… … … …
Paulson 2015 Isabelle O’Connor 2005 Coq Harrison 2004 HOL Light Shankar 1986 NQTHM 1978 TEM Sieg
Shared structure
Shared structure
Shared structure
Shared structure
Shared structure
Shared structure Scope of and remains largely unexploded
Shared structure Scope of and remains largely unexploded E.g. do they hold for Intuitionistic FOL, HOL, CIC?
formalization of and
I s a b e l l e
β α HOLformalization of and
I s a b e l l e
β α HOL) and improve (for ) Paulson’s formalization
Generic Syntax Connectives Provability Relation Numerals
Generic Syntax Connectives Provability Relation Numerals Classical Logic
Order-like Relation Proofs Encodings Represent- ability Derivability Conditions Standard Model Soundness Consistency Omega- Consistency Completeness
Proofs vs. Provability
Generic Syntax
Generic Syntax
FV_Term : Term → 2Var FV : Fmla → 2Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla Generic Syntax
FV_Term : Term → 2Var FV : Fmla → 2Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla
x∈FV(φ) implies FV(subst φ x s) = FV(φ) - {x} ∪ FV_Term(s) Generic Syntax
FV_Term : Term → 2Var FV : Fmla → 2Var subst_Term : Term → Var → Term → Term subst : Fmla → Var → Term → Fmla
x∈FV(φ) implies FV(subst φ x s) = FV(φ) - {x} ∪ FV_Term(s) Generic Syntax
Connectives
≡ : Term → Term → Fmla →, ∧, ∨ : Fmla → Fmla → Fmla ¬ : Fmla → Fmla ⊥, ⊤ : Fmla ∃, ∀ : Var → Fmla → Fmla Connectives
≡ : Term → Term → Fmla →, ∧, ∨ : Fmla → Fmla → Fmla ¬ : Fmla → Fmla ⊥, ⊤ : Fmla ∃, ∀ : Var → Fmla → Fmla Connectives
We require a minimal list w.r.t. intuitionistic deduction and define the rest.
⊢ ⊆ Fmla we write ⊢φ if φ ∈ ⊢
⊢ contains the standard (Hilbert-style) intuitionistic FOL axioms about the connectives Provability Relation
⊢ ⊆ Fmla we write ⊢φ if φ ∈ ⊢
⊢ contains the standard (Hilbert-style) intuitionistic FOL axioms about the connectives Provability Relation
Num ⊆ Fmla0 Numerals
Classical Logic
Classical Logic Order-like Relation
for all φ∈Fmla1 and n∈Num, if ⊢φ(m) for all m∈Num, then ⊢∀x. x≺n → φ(x)
Classical Logic Order-like Relation
for all φ∈Fmla1 and n∈Num, if ⊢φ(m) for all m∈Num, then ⊢∀x. x≺n → φ(x)
we write p⊩φ if (p,φ)∈⊩ Proofs
behave like operators/relations (subst, ⊩, ¬) on encodings
⟨_⟩ : Fmla → Num and ⟨_⟩ : Proof → Num Encodings Represent- ability
behave like operators/relations (subst, ⊩, ¬) on encodings
⟨_⟩ : Fmla → Num and ⟨_⟩ : Proof → Num Encodings
Consistency Represent- ability
behave like operators/relations (subst, ⊩, ¬) on encodings
⟨_⟩ : Fmla → Num and ⟨_⟩ : Proof → Num Encodings
Consistency
if ⊢¬φ(n) for all n∈Num then ⊬¬¬(∃x.φ(x)) Omega- Consistency Represent- ability
Generic Syntax Connectives Provability Relation Numerals Classical Logic
Order-like Relation Proofs Encodings Represent- ability Derivability Conditions Standard Model Soundness Consistency Omega- Consistency Completeness
Proofs vs. Provability
Proofs Encodings Represent- ability Derivability Conditions Omega- Consistency subst, ⊩ ⊢φ implies ⊢⊢⟨φ⟩
Proofs Encodings Represent- ability Derivability Conditions subst, ⊩ ⊢φ implies ⊢⊢⟨φ⟩
Consistency
Rosser’s Trick a la Rosser
Proofs Encodings Represent- ability Derivability Conditions subst, ⊩ ⊢φ implies ⊢⊢⟨φ⟩
Consistency
Rosser’s Trick
¬
a la Rosser
Proofs Encodings Represent- ability Derivability Conditions subst, ⊩ ⊢φ implies ⊢⊢⟨φ⟩
Consistency
Rosser’s Trick
Order-like Relation ¬
a la Rosser
Encodings Represent- ability Derivability Conditions subst ⊢φ implies ⊢⊢⟨φ⟩
semantic
⊢⊢⟨φ⟩ implies ⊢φ Standard Model Soundness Completeness
Proofs vs. Provability
Encodings Represent- ability Derivability Conditions subst ⊢φ implies ⊢⊢⟨φ⟩
classical
⊢⊢⟨φ⟩ implies ⊢φ Classical Logic Consistency
Encodings Represent- ability Derivability Conditions subst ⊢φ implies ⊢⊢⟨φ⟩
Consistency ⊢⊢⟨φ⟩∧⊢⟨φ→ψ⟩→⊢⟨ψ⟩ ⊢⊢⟨φ⟩→⊢⟨⊢⟨φ⟩⟩
Encodings Represent- ability Derivability Conditions subst ⊢φ implies ⊢⊢⟨φ⟩
Consistency ⊢⊢⟨φ⟩∧⊢⟨φ→ψ⟩→⊢⟨ψ⟩ ⊢⊢⟨φ⟩→⊢⟨⊢⟨φ⟩⟩
In the paper: Jeroslow’s “improvement" to remove this condition results in weaker conclusion + mistake in proof
12000 LOC
λ → ∀
=
I s a b e l l e
β α
H O L
Generic Syntax Connectives Provability Relation Numerals
classical semantic
classical semantic
12000 LOC
λ → ∀
=
I s a b e l l e
β α
H O L
12000 LOC
classical semantic
Paulson assumes soundness (and redundantly consistency!) We removed the soundness assumption from the instantiation of → strictly stronger result → required us to replace “easy” semantic proofs with tedious x → proofs in the HF calculus (no help from the abstract side here) 12000 LOC
λ → ∀
=
I s a b e l l e
β α
H O L
12000 LOC
classical semantic
Paulson assumes soundness (and redundantly consistency!) We removed the soundness assumption from the instantiation of → strictly stronger result → required us to replace “easy” semantic proofs with tedious x → proofs in the HF calculus (no help from the abstract side here) 12000 LOC
λ → ∀
=
I s a b e l l e
β α
H O L
12000 LOC
classical semantic
Paulson assumes soundness (and redundantly consistency!) We removed the soundness assumption from the instantiation of → strictly stronger result → required us to replace “easy” semantic proofs with tedious x → proofs in the HF calculus (no help from the abstract side here) 12000 LOC
λ → ∀
=
I s a b e l l e
β α
H O L
12000 LOC
+5000 LOC
formalization of and
) and improve (for ) Paulson’s formalization
and hold for Intuitionistic FOL, HOL, CIC?
I s a b e l l e
β α HOLformalization of and
) and improve (for ) Paulson’s formalization
and hold for Intuitionistic FOL, HOL, CIC?
I s a b e l l e
β α HOLA Formally Verified Abstract Account
Andrei Popescu Dmitriy Traytel
λ → ∀
=
I s a b e l l e
β α
HOL