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

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

Gödel s Incompleteness Theorems

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

5. Peano arithmetic and Gödel s incompleteness theorem

Classical Propositional Logic

Gödel s Theorem: Limits of logic and computation

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

On some Metatheorems about FOL

Introduction to Logic and Axiomatic Set Theory

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

Decidability: Church-Turing Thesis

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

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

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:

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

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

Great Theoretical Ideas

Propositional and Predicate Logic - XIII

Logic: The Big Picture

Russell s logicism. Jeff Speaks. September 26, 2007

Marie Duží

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

Gödel s First Incompleteness Theorem

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

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

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

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

First Order Logic: Syntax and Semantics

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

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

Computation. Some history...

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

An Introduction to Gödel s Theorems

TRUTH-THEORIES FOR FRAGMENTS OF PA

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

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

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

23.1 Gödel Numberings and Diagonalization

Foundations of Artificial Intelligence

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

CS21 Decidability and Tractability

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

Propositional Logic: Syntax

MAGIC Set theory. lecture 2

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

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

Informal Statement Calculus

Foundations of Artificial Intelligence

1 The decision problem for First order logic

CSCI3390-Lecture 6: An Undecidable Problem

Gödel s Incompleteness Theorems

12th Meeting on Mathematics of Language. 6, September, 2011

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

Completeness for FOL

Logic. Propositional Logic: Syntax

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

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

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

Arithmetical classification of the set of all provably recursive functions

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

Logic and Computation

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

Relational Reasoning in Natural Language

the logic of provability

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

HOW TO WRITE PROOFS. Dr. Min Ru, University of Houston

17.1 The Halting Problem

The Reflection Theorem

The roots of computability theory. September 5, 2016

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

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

Learning Goals of CS245 Logic and Computation

Logic. Propositional Logic: Syntax. Wffs

Choosing Logical Connectives

Hoare Logic: Part II

Class 15: Hilbert and Gödel

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

The semantics of propositional logic

Class 29 - November 3 Semantics for Predicate Logic

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

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

Steeple #2: Gödel s First Incompleteness Theorem (and thereafter: Steeple #3: Determining Whether a Machine Can Match Gödel)

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

Discrete Mathematics for CS Fall 2003 Wagner Lecture 3. Strong induction

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

Truth-Functional Logic

About the relationship between formal logic and complexity classes

Introduction to Metalogic

Gödel s Incompleteness Theorem for Computer Users

There are infinitely many set variables, X 0, X 1,..., each of which is

Notes on induction proofs and recursive definitions

A1 Logic (25 points) Using resolution or another proof technique of your stated choice, establish each of the following.

Arithmetical Hierarchy

Arithmetical Hierarchy

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

Properties of Relational Logic

Gödel s Incompleteness Theorems

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

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

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 proofs? Truth trees are systematic can demonstrate consequence as well as non-consequence and can be translated into formal proofs. 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.

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 S is an arithmetical truth} 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

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!

Part I - 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.

Part II - 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)))

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

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, 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.

Proof Properties An especially important syntactical claim about statements in L A is the inferential relationship. Gödel showed that for any recursive set of axioms A that is at least as strong as PA, there is a definable and representable 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. This means that there is also a formula Provable(x) = y Proof(y,x) that defines the property of being provable from PA. So: Provable(x) defines unprovability (from A) that is representable (in A)!

Part IV - 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)

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

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!