Incompleteness. System Relativity Soundness and completeness are properties of particular logical systems. There’s no sense to be made of the claim that.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Completeness and Expressiveness
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Copyright © Cengage Learning. All rights reserved.
Nathan Brunelle Department of Computer Science University of Virginia Theory of Computation CS3102 – Spring 2014 A tale.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Induction and recursion
Philosophy 120 Symbolic Logic I H. Hamner Hill CSTL-CLA.SEMO.EDU/HHILL/PL120.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Great Theoretical Ideas in Computer Science.
Logic and Set Theory.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Logic and Proof. Argument An argument is a sequence of statements. All statements but the first one are called assumptions or hypothesis. The final statement.
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 6 Limitations of propositional logic Introduction to predicate logic Symbols, terms and formulae, Parse.
Computability Thank you for staying close to me!! Learning and thinking More algorithms... computability.
The Computational Theory of Mind. COMPUTATION Functions.
Introduction to Computer Science. A Quick Puzzle Well-Formed Formula  any formula that is structurally correct  may be meaningless Axiom  A statement.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
Class 36: Proofs about Unprovability David Evans University of Virginia cs1120.
MATH 224 – Discrete Mathematics
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Against Set Theory. Questions Recursive Definition of Addition Base case: x + 0 = x Recursive step:x + s(y) = s(x + y)
Institute for Experimental Physics University of Vienna Institute for Quantum Optics and Quantum Information Austrian Academy of Sciences Undecidability.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Great Theoretical Ideas in Computer Science about AWESOME Some Generating Functions Probability Infinity MATH Some Formal Logic (which is really.
First Order Logic Lecture 2: Sep 9. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about.
Copyright © Curt Hill Mathematical Logic An Introduction.
Course Overview and Road Map Computability and Logic.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Activity 1-19: The Propositional Calculus
Great Theoretical Ideas in Computer Science.
Copyright © Cengage Learning. All rights reserved.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Great Theoretical Ideas in Computer Science.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Thales’ Legacy: What Is A Proof? Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 27April 22, 2004Carnegie Mellon.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
On computable numbers, with an application to the ENTSCHEIDUNGSPROBLEM COT 6421 Paresh Gupta by Alan Mathison Turing.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–10: Soundness of Propositional Calculus 12 th August, 2010.
Copyright 1999Paul F. Reynolds, Jr. Foundations of Logic Programming.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
MA/CSSE 474 Theory of Computation Universal Turing Machine Church-Turing Thesis (Winter 2016, these slides were also used for Day 33)
Chapter 7. Propositional and Predicate Logic
Gödel's Legacy: The Limits Of Logics
Axiomatic Number Theory and Gödel’s Incompleteness Theorems
Computable Functions.
Discrete Mathematics for Computer Science
Great Theoretical Ideas in Computer Science
Homework: Friday Read Section 4.1. In particular, you must understand the proofs of Theorems 4.1, 4.2, 4.3, and 4.4, so you can do this homework. Exercises.
On Kripke’s Alleged Proof of Church-Turing Thesis
MA/CSSE 474 More Math Review Theory of Computation
Great Theoretical Ideas in Computer Science
Chapter 7. Propositional and Predicate Logic
Predicates and Quantifiers
Philosophy of Mathematics: a sneak peek
Properties of Relational Logic
Presentation transcript:

Incompleteness

System Relativity Soundness and completeness are properties of particular logical systems. There’s no sense to be made of the claim that “logic” is sound or complete. Some logics are sound, others are not, some are complete, others are not.

Incompleteness A logic is incomplete if there are formulas that all of its models satisfy, but which is not provable in that system. (Equivalently, if there are some consistent sets of sentences that are unsatisfiable.) That some logic is incomplete is a boring fact.

The Boringness of Incompleteness Here is a boringly incomplete logic. First, it has the exact same semantics as the propositional calculus. Second, it has one and only one proof rule, Assumption: φ ⊢ φ

More Interesting Incompleteness What we be more interesting would be a logic that is in principle incomplete. The previous logic is not in principle incomplete. There are rules you could add to it that would make it complete. (These are the rules that we do in fact add to it.) What Gödel proved was that certain logics were in principle incomplete.

Inconsistent Logics Always Complete *Well, that’s not quite true. You see, every logic is in principle complete, in that there are always rules you can add to it to make it complete. Here’s one, the Rule of Anything Goes: ⊢ φ

Final Note on Interestingness What would really be interesting is a logic that we can prove or at least suspect is consistent (doesn’t derive contradictions) that is in principle consistent and incomplete. That is, there are no further rules you could add that would make the logic remain consistent and be complete.

Kurt Gödel Austrian mathematician who fled to America during the second world war. First to prove completeness of first-order predicate calculus. Also proved the in principle incompleteness of arithmetic

Logic and the Mind

Mental Processes are Rational Mental processes are reason-respecting. Many of your mental states cause other mental states, and do so in a way that if the causing states represent something that is true, then the caused state represents something that is also true.

Logical Relations From: 1.If Joe fails the final exam, he will fail the course. 2.If Joe fails the course, he will not graduate. It follows logically that: 3. If Joe fails the final exam, he will not graduate.

Logical Relations If you believe: 1.If Joe fails the final exam, he will fail the course. 2.If Joe fails the course, he will not graduate. These beliefs can cause you to also believe: 3. If Joe fails the final exam, he will not graduate.

Functions

Examples of Functions f(x) = x 2 Mother of x x’s definition in the Oxford English Dictionary Your password for website x It is not true that x g(x, y) = x 2 + y – 4 y’s password for website x x and y

Functions A function is any relation between inputs and outputs where: for each distinct input there is only one output.

Algorithms

An algorithm is an effective procedure for calculating a function. You can think of it as a list of steps where: if you follow the steps correctly, you will always get the right answer.

Change-Giving Algorithm 1.Take the largest coin of n cents where n ≤ the amount owed. 2.Reduce the amount owed by n cents. 3.If the amount owed is 0 cents, return all coins taken and stop. 4.Go back to State (line) 1.

Computation Computation is the concrete use of an algorithm (program) to find the output of a function given its inputs. It requires: 1.A representation of the inputs. 2.Basic means of manipulating its representations. 3.A set of instructions that use the basic means of manipulating to run the algorithm.

Abacus Computer

Mechanical Computers Abacuses are nice, but they’re prone to human error. For computation to work, all the steps of the algorithm need to be followed exactly. What we want is a mechanical computer, one where physics performs the computations.

Logical computation

Truth Functions A special subset of functions is the truth-functions. These are functions whose input is truth-values (true or false) and whose outputs are truth- values: Not P P and Q P or Q If P, then Q

Truth Functions

(P → Q), (Q → R)├ (P → R) 11. (P → Q)A 22. (Q → R)A 33. PA (for →I) 1,34. Q1,3 →E 1,2,35. R2,4 →E 1,26. (P → R)3,5 →I

Proofs A proof is a type of program that computes conclusions from their premises: 1.A representation of the premises. 2.Basic means of manipulating its representations. 3.A set of instructions that leads one to a representation of the conclusion.

Automatic Reasoner Can we use the laws of physics to build an automatic reasoner, as we did with the marbles and addition? Yes!

Logic Gates

Mechanical and Digital Computers In modern day digital computers, the physics isn’t gravity, but instead electromagnetism: computer chips are built with transistors. However, the basic principle is still the same.

Automatic Reasoners This is important! We’ve created things that can use logic and reason on their own.

What Gödel Proved

From the SEP First incompleteness theorem Any consistent formal system F within which a certain amount of elementary arithmetic can be carried out is incomplete; i.e., there are statements of the language of F which can neither be proved nor disproved in F. [And, importantly, it can’t be extended to a consistent formal system which can prove or disprove any statement.]

Against Mechanism “[G]iven any machine which is consistent and capable of doing simple arithmetic, there is a formula it is incapable of producing as being true … but which we can see to be true.” J.R. Lucas

Gödel’s Proof: Basic Ideas

The Gödel Sentence Suppose in the language of arithmetic (call it RA for reasons we will later explore), you could prove a sentence that said: G: I (i.e. this very sentence) am not provable in RA.

Gödel’s Argument Then you could argue: RA is sound. Therefore things provable in RA are true. Therefore G is true. Therefore G can’t be proven in RA. And G can’t be disproven either (because then RA is inconsistent). So RA is incomplete.

First Theorem IF arithmetic is consistent, THEN arithmetic is in principle incomplete.

In Principle! Suppose we add G to RA to get RA + G. Now G is provable in RA + G. What Gödel shows, however is that even in RA + G, there is a new sentence G* that says: G*: I (i.e. this very sentence) am not provable in RA + G. And so on, for any formal theory that was powerful enough to do arithmetic.

The Proof: Broader Outline

Arithmetic One standard axiomatic way of doing arithmetic is with the Peano axioms: 1.0 is a number 2.For every number n, s(n) is a number 3.For all numbers n, m: if s(n) = s(m), then n = m 4.0 is not the successor of any number Call 1-4: PA

We can extend this to addition and multiplication with the addition of several axioms: 5. x + 0 = x 6. x + s(y) = s(x + y) 7. x * 0 = 0 8. x * s(y) = (x * y) + x Call this Robinson Arithmetic, or RA

The Claim There exists some sentence, in the standard language of arithmetic, φ such that RA ⊨ φ (Every model that makes RA true, makes φ true.) but: EITHER (a) RA ⊢ (ψ & ~ψ) OR (b) NOT: RA ⊢ φ

Some Important Notions

The Claim There exists some sentence, in the standard language of arithmetic, φ such that PA ⊨ φ (Every model that makes PA true, makes φ true.) but: EITHER (a) PA ⊢ (ψ & ~ψ) OR (b) NOT: PA ⊢ φ

Standard Language of Arithmetic 0 is written: ‘0’ 1 is written: ‘s0’ 2 is written: ‘ss0’ 3 is written: ‘sss0’ And so on…

Names for Numerals We will name the expression ‘ssssssssssssss0’: ‘14’ (and similarly for the other number-representations). Don’t confuse 14 and 14. The first one designates a number, the second one designates a number representation.

Gödel-Coding Arithmetic

Arithmetic in Arithmetic Here’s our goal: In Arithmetic, you can only talk about numbers. You can name them, or quantify over them, and say things about them. But you can’t talk about other things, like rocks, or Beethoven, or arithmetic itself. But what if we want to talk about arithmetic in arithmetic? What if we want to say “this arithmetical sentence is not provable in arithmetic”?

Code #1: The Primitive Symbols ‘0’ is paired with 0 ‘s’ is paired with 1 ‘=’ is paired with 2 ‘~’ is paired with 3 ‘v’ is paired with 4 ‘ ∀ ’ is paired with 5 ‘x’ is paired with 6 ‘(‘ is paired with 7 ‘)’ is paired with 8

Code for Formulas For all numbers n, m: if s(n) = s(m), then n = m ∀ x 0 ∀ x s0 (~sx 0 = sx s0 v x 0 = x s0 )

Here we’re really talking about arithmetical formulas with arithmetical formulas. We’re still talking about numbers. It’s just that each formula has a unique number that “names” it according to our coding scheme.

Representing Properties of Formulas Now that we can write down formulas as numbers, we want to say things about them: this number is the number of a WFF, this number is the number of a conditional, this number is the number of something provable…

Strong Representation A set S of natural numbers is strongly representable in a formal system F if there is a formula A(x) of the language of F with one free variable x such that for every natural number n: n ∈ S ⇒ F ⊢ A(n); n ∉ S ⇒ F ⊢ ¬A(n),

Strong Representation of Proof Gödel shows that there is a way of strongly representing proof in RA: If χ1, χ2,…, χn ⊢ φ is a proof, then RA ⊢ π(χ19χ29…9χn, φ) If χ1, χ2,…, χn ⊢ φ is not a proof, then RA ⊢ ~π(χ19χ29…9χn, φ)

Provability With a notion of proof, we can define provability, Π: Πx := ∃ y π(y, x)

Weak Representation A set S of natural numbers is weakly representable in F if there is a formula A(x) of the language of F such that for every natural number n: n ∈ S ⇔ F ⊢ A(n).

Representation of Provability Gödel shows that there is a way of weakly representing provability in RA: If φ is provable, then RA ⊢ Π(φ) ‘Π’ is thus a definable predicate in RA that “represents” provability.

Diagonalization Lemma Finally, Gödel proves that for any predicate “Fx” of the language RA, we can construct a special formula φ S where: RA ⊢ φ S ↔ F(φ S )

Diagonalization Lemma The lemma holds also for the predicate “~Πx”, so we construct the formula φ G where: RA ⊢ φ G ↔ ~Π(φ G ) “φ G is true if and only if φ G is not provable in RA”.

The Argument against Mechanism

Against Mechanism “[G]iven any machine which is consistent and capable of doing simple arithmetic, there is a formula it is incapable of producing as being true … but which we can see to be true.” J.R. Lucas

Form of the Argument 1.Suppose people are reasoning machines. 2.Then we can write down their programs as proofs in a formal system, call it H. 3.H can clearly do arithmetic, so H can prove a Gödel sentence G. 4.By Gödel’s proof, our program should not be able to arrive at (a proof of) G. 5.But we can all see that G is true. 6.Hence we’re not reasoning machines, 7.“the human mind (even within the realm of pure mathematics) infinitely surpasses the power of any finite machine”

Some Replies What Gödel actually showed was that if RA is consistent, then a G- sentence exists. This means that we shouldn’t be able to (rationally) arrive at a G- sentence, unless we first prove our own consistency (the consistency of H). But it’s not obvious we can do that and it’s not obvious we’re consistent in the first place.