Gödel s Incompleteness Theorem. Overview. Computability and Logic

Similar documents
Gödel s Incompleteness Theorem. Overview. Computability and Logic

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Gödel s Incompleteness Theorems

Decidability: Church-Turing Thesis

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Classical Propositional Logic

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

On some Metatheorems about FOL

5. Peano arithmetic and Gödel s incompleteness theorem

Gödel s Theorem: Limits of logic and computation

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

Introduction to Logic and Axiomatic Set Theory

Great Theoretical Ideas

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

Logic: The Big Picture

Computation. Some history...

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

CS21 Decidability and Tractability

by Yurii Khomskii There is a weaker notion called semi-representability:

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

First Order Logic: Syntax and Semantics

Steeple #3: Goodstein s Theorem (glimpse only!)

Propositional and Predicate Logic - XIII

Marie Duží

The roots of computability theory. September 5, 2016

ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM. Turing 1936

23.1 Gödel Numberings and Diagonalization

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

A Little History Incompleteness The First Theorem The Second Theorem Implications. Gödel s Theorem. Anders O.F. Hendrickson

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Russell s logicism. Jeff Speaks. September 26, 2007

Reminder of Notation. For a variable-free term t, we let t N N stand for the interpretation of t in N. (For example, (SSS0 SS0) N equals 6.

Relational Reasoning in Natural Language

TRUTH-THEORIES FOR FRAGMENTS OF PA

Gödel s First Incompleteness Theorem

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

Gödel s First Incompleteness Theorem (excerpted from Gödel s Great Theorems) Selmer Bringsjord Intro to Logic May RPI Troy NY USA

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Arithmetical classification of the set of all provably recursive functions

Introduction to Turing Machines. Reading: Chapters 8 & 9

Lecture 13: Foundations of Math and Kolmogorov Complexity

Gödel s Incompleteness Theorems by Sally Cockburn (2016)

Class 15: Hilbert and Gödel

Most General computer?

An Introduction to Gödel s Theorems

17.1 The Halting Problem

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Gödel s Incompleteness Theorems

1 The decision problem for First order logic

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

6.825 Techniques in Artificial Intelligence. Logic Miscellanea. Completeness and Incompleteness Equality Paramodulation

Church s undecidability result

Propositional Logic: Syntax

Informal Statement Calculus

Hilbert s problems, Gödel, and the limits of computation

Gödel s Incompleteness Theorem. Part II: Arithmetical Definability. Computability and Logic

Foundations of Artificial Intelligence

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

Institute for Applied Information Processing and Communications (IAIK) Secure & Correct Systems. Decidability

Logic. Propositional Logic: Syntax

Class 29 - November 3 Semantics for Predicate Logic

About the relationship between formal logic and complexity classes

MAGIC Set theory. lecture 2

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Turing Centenary Lecture

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

CSCI3390-Lecture 6: An Undecidable Problem

Proseminar on Semantic Theory Fall 2013 Ling 720 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

the logic of provability

Computability Theory

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15

Foundations of Artificial Intelligence

On Rosser sentences and proof predicates. Rasmus Blanck

Logic. Propositional Logic: Syntax. Wffs

CHAPTER 11. Introduction to Intuitionistic Logic

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

We will now make precise what is meant by a syntactic characterization of the set of arithmetically true sentences.

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Draft of February 2019 please do not cite without permission. A new modal liar 1 T. Parent

The semantics of propositional logic

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Completeness for FOL

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

Understanding Computation

Truth-Functional Logic

The constructible universe

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Lecture Notes: The Halting Problem; Reductions

Logic and Computation

Herbrand Theorem, Equality, and Compactness

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Modal and temporal logic

Axiomatic set theory. Chapter Why axiomatic set theory?

Introduction to Metalogic

What is logic, the topic of this course? There are at least two answers to that question.

Foundations of Artificial Intelligence

Transcription:

Gödel s Incompleteness Theorem Overview Computability and Logic

Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide, for any statement about mathematics, whether that statement is true or false. In short: Is there a decision procedure for mathematical truth?

Our Formal Logic-Based Attempt Our initial attempt was based on formal logic: 1. Use FOL to symbolize statements about mathematics 2. Declare a subset of these statements as axioms: statements that we know to be true 3. Try to decide the truth of any mathematical statement by deciding whether or not it is a logical consequence of the axioms

Formal Proofs For step 3, we contemplated the use of formal proofs. That is, maybe we can rephrase the question: Is statement S a logical consequence of axiom set A? with: Can statement S be formally derived from axiom set A?

Some Immediate Issues Formal proofs demonstrate consequence, but not non-consequence Formal proof systems themselves aren t systematic But maybe a systematic method can nevertheless be created on the basis of formal logic? Truth trees are systematic and can demonstrate consequence as well as non-consequence. Cool! but sometimes trees get infinitely long. Not cool! Is there some other procedure? not sure. Let s set this question aside.

Peano Axioms We tried a very small set of 6 axioms, called the Peano axioms, designed for a small subset of mathematics: natural number arithmetic. We found that we could indeed prove several (non-trivial) theorems about arithmetic from the Peano Axioms. Cool! We also found that some arithmetical truths could not be derived from the original 6 Peano axioms. Not cool! But then we also found that if we added an axiom scheme reflecting mathematical induction, we could prove many more arithmetical truths. Cool! Can all arithmetical truths be derived from this set? In other words, is PA complete? Not sure. Let s set this question aside for a bit as well.

Gödel s Completeness Result: FOL is Complete! In 1929, Gödel showed that for any axiom set A and statement S, if S is a logical consequence of A, then there exists a formal proof that derives S from A. Cool! So yes, we can replace the question about consequence with a question about provability. Now we just need a procedure that eventually: 1. Derives S from A if S follows from A 2. Concludes that S cannot be derived from A if S does not follow from A Let s go back to the question Is PA (or some other axiom set) complete for arithmetic?

Expressive Completeness Notice that PA uses L A = {0, s, +, *} as its only non-logical symbols. Can all arithmetical statements be expressed using this very restricted set of symbols? How, for example, would you even express the Fundamental Theorem of Arithmetic (every number has a unique prime factorization)? Is that even possible? Again, we ll set this question aside for now. For now, we can contemplate a notion of completeness relative to our language L A : Axiom set A is complete iff for all S L A : if S is true (i.e. if for standard interpretation N: N S), then A S.

A Trivially Complete Axiom Set Consider A = { }. Clearly, A is complete: all arithmetical truths can be derived from A! Cool! But: all arithmetical falsehoods can be derived from A as well! Not cool! Very not cool! OK, so any axiom set we want should be sound: all statements that follow from it should be true.

Another Trivially Complete Axiom Set Consider A = {S L A N S} Again, clearly, A is complete. Cool! OK, but this isn t what we would intuitively consider an axiom set : it goes against the whole idea of deriving all theorems from a small set of basic and elementary truths. Not cool! More importantly, we can t work with this as part of any effective procedure. We don t know what the axioms are. We don t have an effective starting point. Very not cool! So, any axiom set should be such that for any statement, we can effectively decide whether or not it is an axiom. Notice that this does allow the inductive axiom scheme, representing an infinite number of axioms, as part of the axiom set By the Church-Turing Thesis, deciding whether some object is an element of some set amounts to that S being recursive. So, is there a sound and recursive axiom set A that is complete?

Gödel s Incompleteness Result (1931): Arithmetic is Incomplete In 1931, the bomb dropped: Kurt Gödel proved that There is no complete (sound and recursive) axiom set for natural number arithmetic. Gödel s Incompleteness Theorem is regarded as one of the most important theorems of the 20th century!

The Liar Paradox Consider the following statement P: This statement is false If P is true, then P is false, and if P is false, then P is true. Contradiction! OK, so what does this mean? That not every statement is true or false? That only meaningful statements are true or false, but statement is not meaningful? Nobody really knows how to think about this or how to resolve the paradox! Gödel s proof feels very much like the Liar Paradox!

Gödel Numbering Key to Gödel s proof was his Gödel numbering: using numbers to encode FOL symbols, expressions, proof structures, and other kinds of syntactical FOL objects. The encoding is effective: given an FOL object, there is an effective procedure to encode that object. The decoding is effective too: given an encoding of some FOL object, one can effectively figure out what object is being encoded.

Definability Gödel next showed that various kinds of properties, relations, and functions regarding natural numbers (in particular, those that are relevant to the Gödel encodings) can be expressed ( defined ) by FOL statements using the language of arithmetic {0, s, +, *} as its non-logical symbols. E.g. primeness is definable since there is an FOL expression using {0, s, +, } as its only non-logical symbols that captures primeness: x is prime iff z s(s(0) + z) = x y ( z s(y +z) = x ( z y z = x (y = s(0) y = x)))

Self-Reference Since (some) numbers represent FOL objects according to the Gödel numbering, FOL statements about numbers can be used to make statements about FOL statements (and other FOL objects)!

Coding Syntactical Properties E.g. We can define a formula Sentence(x) which will be true iff x is the Gödel number of a FOL sentence. In other words, sentenceness is definable (in L A ). You can also show that for any recursive set of axioms A (expressed in L A ), there is a definable (in L A ) expression Axiom(x) such that Axiom(n) is true iff n is the Gödel number of some axiom in A. (remember: n = s(s( s(0)..)) (n times))

Inference Relationships An especially important syntactical claim about statements in L A is the inferential relationship. Gödel showed that given some syntactical inference rule R you can define an expression Derivable R (x,y) that states that y is the code of some sentence that can be syntactically derived by a set of sentences encoded by x. So, if you take some sound and complete system S of inference (which Gödel showed exists), you can define Implies(x,y) that states that y is the code of some sentence that is logically implied by a set of sentences encoded by x.

Proof Properties Gödel then showed that for any recursive set of axioms A, there is a definable expression Proof(x,y) such that Proof(n,m) is true iff n is the code of a proof whose premises are members of A and whose conclusion is a sentence whose code is m (for this you use the Axiom(x) and Implies(x,y) expressions). This means that there is also a formula Provable(x) = y Proof(y,x) that defines the property of being provable from A. So: Provable(x) defines unprovability (from A)!

The Diagonal Lemma A final key step in Godel s proof was to prove the Diagonal Lemma: For any wff A(x) there exists a sentence G such that G is logically equivalent to A(g), where g is the Gödel number of G. In other words, for any formula (property) A(x), there is a sentence that says I have property A(x)

Gödel Sentences By the Diagonal Lemma, for any recursive and sound set of axioms A, there exists a sentence G such that G is equivalent to Provable(g) where g is the Gödel number of G. This G is called the Gödel sentence, which basically says I am not provable (from A). Now, if G A is false, then it can be proven from A. But that would mean that A is not sound. Since A is sound, that means that G A is true. So it is true that G A is not derivable from A. So, there is a true statement that cannot be derived from A: A is incomplete!

End

Part III - Representability In fact, Gödel showed that various statements about these properties are logical consequences of ( represented by ) the 6 Peano Axioms. E.g. for any prime number n, the FOL expression Prime(n) is a consequence of PA1-6. That is, where n = s(s( s(0) )) (n times): i.e. z s(s(0) + z) = n y ( z s(y +z) = n z (y * z = n (y = s(0) y = n))) can be derived from PA1-6

Coding Syntactical Properties E.g. We can define a formula Sentence(x) which will be true iff x is the Gödel number of a FOL sentence, and we can show that if n is the Gödel number of a sentence, then Sentence(n) can be derived from PA1-6. In other words, sentence-ness is definable (in L A ) and representable (in PA). You can also show that for any recursive set of axioms A (expressed in L A ) that is at least as strong as PA, there is a definable (in L A ) and representable (in A) expression Axiom(x) such that Axiom(n) is true iff n is the Gödel number of some axiom in A.

Sketch of Proof of Diagonal Lemma I The diagonalization of an expression A(x) (of L A ) is the expression x (x = a A(x)), where a is the Gödel number of A. There is a formula Diag(x,y) such that Diag(m,n) is true iff n is the Gödel number of the diagonalization of the expression whose Gödel number is m.

Sketch of Proof of Diagonal Lemma II Let A(x) be the formula y (Diag(x, y) B(y)), with Gödel number a. Let G be the diagonalization of A(x), i.e. G is the sentence x (x = a y (Diag(x, y) B(y))) So G basically says: The diagonalization of A(x) has property B. But since the diagonalization of A(x) is G itself, G ends up saying I have property B