Gödel's Legacy: The Limits Of Logics

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

Nathan Brunelle Department of Computer Science University of Virginia Theory of Computation CS3102 – Spring 2014 A tale.
February 11, 2015CS21 Lecture 161 CS21 Decidability and Tractability Lecture 16 February 11, 2015.
So far we have learned about:
TR1413: Discrete Mathematics For Computer Science Lecture 1: Mathematical System.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Introduction to Computer Science. A Quick Puzzle Well-Formed Formula  any formula that is structurally correct  may be meaningless Axiom  A statement.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem.
Institute for Experimental Physics University of Vienna Institute for Quantum Optics and Quantum Information Austrian Academy of Sciences Undecidability.
Complexity and G ö del Incomplete theorem 電機三 B 劉峰豪.
Great Theoretical Ideas in Computer Science for Some.
Great Theoretical Ideas in Computer Science about AWESOME Some Generating Functions Probability Infinity MATH Some Formal Logic (which is really.
Lecture 18. Unsolvability Before the 1930’s, mathematics was not like today. Then people believed that “everything true must be provable”. (More formally,
CS 345: Chapter 8 Noncomputability and Undecidability Or Sometimes You Can’t Get It Done At All.
Course Overview and Road Map Computability and Logic.
Great Theoretical Ideas in Computer Science.
Godel’s proof Danny Brown. Outline of godel’s proof 1.Create a statement that says of itself that it is not provable 2.Show that this statement is provable.
Great Theoretical Ideas in Computer Science.
CS6133 Software Specification and Verification
Incompleteness. System Relativity Soundness and completeness are properties of particular logical systems. There’s no sense to be made of the claim that.
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
Chapter 4 Computation Chapter 4: Computation.
Thales’ Legacy: What Is A Proof? Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 27April 22, 2004Carnegie Mellon.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 4 Decidability Some slides are in courtesy.
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)
1 Recursively Enumerable and Recursive Languages.
MA/CSSE 474 Theory of Computation Universal Turing Machine Church-Turing Thesis Delayed due dates for HWs See updated schedule page. No class meeting.
Fall 2006Costas Busch - RPI1 RE languages and Enumerators.
1 Interactive Computer Theorem Proving CS294-9 October 19, 2006 Adam Chlipala UC Berkeley Lecture 9: Beyond Primitive Recursion.
February 8, 2016CS21 Lecture 151 CS21 Decidability and Tractability Lecture 15 February 8, 2016.
Chapter 1 Logic and Proof.
Payam Seraji IPM-Isfahan branch, Ordibehesht 1396
CIS Automata and Formal Languages – Pei Wang
From Classical Proof Theory to P vs. NP
Computer Science 210 Computer Organization
Francisco Antonio Doria
Self-Reference And Undecidability
Propositional Logic.
The Halting Problem.
Recursively Enumerable and Recursive Languages
Discrete Mathematics for Computer Science
Turing’s Legacy: The Limits Of Computation.
Chapter 3 The Real Numbers.
CS154, Lecture 11: Self Reference, Foundation of Mathematics
Great Theoretical Ideas in Computer Science
Turing Machines Acceptors; Enumerators
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.
Intro to Theory of Computation
Turing acceptable languages and Enumerators
CSCE 411 Design and Analysis of Algorithms
Decidable Languages Costas Busch - LSU.
Lecture 22: Gödel’s Theorem CS200: Computer Science
First Order Logic Rosen Lecture 3: Sept 11, 12.
Turing acceptable languages and Enumerators
Thales’ and Gödel’s Legacy: Proofs and Their Limitations
The Limitations of Proofs: An Incompressible Resolution
CS21 Decidability and Tractability
MA/CSSE 474 More Math Review Theory of Computation
Classical propositional logic (quick review)
Great Theoretical Ideas in Computer Science
Class 24: Computability Halting Problems Hockey Team Logo
CS154, Lecture 11: Self Reference, Foundation of Mathematics
An example of the “axiomatic approach” from geometry
Properties of Relational Logic
CO Games Development 2 Week 21 Turing Machines & Computability
Lecture 23: Computability CS200: Computer Science
CIS Automata and Formal Languages – Pei Wang
Presentation transcript:

Gödel's Legacy: The Limits Of Logics Great Theoretical Ideas In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 28 April 26, 2005 Carnegie Mellon University Gödel's Legacy: The Limits Of Logics Anything says is false!

Thales Of Miletus (600 BC) Insisted on Proofs! “first mathematician” Most of the starting theorems of geometry. SSS, SAS, ASA, angle sum equals 180, . . .

A **decidable** set of “SYNRACTICALLY VALID STATEMENTS S. GENERAL PICTURE: A **decidable** set of “SYNRACTICALLY VALID STATEMENTS S. A **possibly incomputable** subset of S called TRUTHS I.e. TRUE STATEMENTS OF S

All Q2S for which there is a valid proof of Q in logic L GENERAL PICTURE: A computable LOGICS function LogicS(x,y) = y does/doesn’t follow from x. PROVABLES,L = All Q2S for which there is a valid proof of Q in logic L

If LOGIC_S(x,y) = y follows x in one step. PROOF IN LOGICS. If LOGIC_S(x,y) = y follows x in one step. Then we say that statement x implies statement y.

We add a “start statement”  to the input set of our LOGIC function. LogicS(,S) = Yes will mean that our logic views S as an axiom.

A sequence of statements s1, s2, …, sn is a VALID PROOF of statement Q in LOGICS iff LOGIC(, s1) = True And for n+1> i>1 LOGIC (si-1,si) = True s_n = Q

Let S be a set of statements. Let L be a logic function. PROVABLES,L = All Q2S for which there is a valid proof of Q in logic L

A logic is “sound” for a truth concept if everything it proves is true according to the truth concept.

LOGICS is SOUND for TRUTHS if LOGIC(, A) = true ) A 2 TRUTHS LOGIC(B,C)=true and B 2 TRUTHS ) TRUTH(C)=True

If LOGICS is sound for TRUTHS Then LOGICS proves C ) C2 TRUTHS

If a LOGICS is sound for TRUTHS it means that L can’t prove anything not in TRUTHS.

Boolean algebra is SOUND for the truth concept of propositional tautology. High school algebra is SOUND for the truth concept of algebraic equivalence.

SILLY FOO FOO 3 is SOUND for the truth concept of an even number of ones.

Euclidean Geometry is SOUND for the truth concept of facts about points and lines in the Euclidean plane. Peano Arithmetic is SOUND for the truth concept of (first order) number facts about Natural numbers.

A logic may be SOUND but it still might not be complete. A logic is “COMPLETE” if it can prove every statement that is True in the truth concept.

SOUND: PROVABLES,L ½ TRUTHS COMPLETE: TRUTHS ½ PROVABLES,L

SOUND: PROVABLES,L ½ TRUTHS COMPLETE: TRUTHS ½ PROVABLES,L Ex: Axioms of Euclidean Geometry are known to be sound and complete for the truths of line and point in the plane.

SOUND: PROVABLES,L ½ TRUTHS COMPLETE: TRUTHS ½ PROVABLES,L SILLY FOO FOO 3 is sound and complete for the truth concept of strings having an even number of 1s.

GENRALLY SPEAKING A LOGIC WILL NOT BE ABLE TO KEEP UP WITH TRUTH! THE PROVABLE CONSEQUENCES OF ANY LOGIC ARE RECURSIVELY ENUMERABLE. THE SET OF TRUE STATEMENTS ABOUT HALT/NON-HALTING PROGRAMS IS NOT.

We have seen that the set of programs which do not halt on themselves – IS NOT RECURSIVELY ENUMERABLE.

Given any LOGIC, we can enumerate all of its provable consequences.

Listing PROVABLELOGIC k;=0; For sum = 0 to forever do {Let PROOF loop through all strings of length k do {Let STATEMENT loop through strings of length <k do If proofcheck(STATEMENT, PROOF) = valid, output STATEMENT k++ } }

r(x) 2 TRUTHS exactly when x2 K. Let S be a language and TRUTHS be a truth concept. We say that “TRUTHS EXPRESSES THE HALTING PROBLEM” iff there exists a *computable* function r such that r(x) 2 TRUTHS exactly when x2 K.

THEOREM: If L is sound for TRUTHS, then L is INCOMPLETE for TRUTHS. Let S be a language, L be a logic, and TRUTHS be a truth concept that expresses the halting problem. THEOREM: If L is sound for TRUTHS, then L is INCOMPLETE for TRUTHS.

THEOREM: If L is sound for TRUTHS, then L is INCOMPLETE for TRUTHS. L proves r(x) > x(x) doesn’t halt. Thus, we can run x(x) and list theorems of L – one of them will tell us if x(x) halts.

INCOMPLETNESS: No LOGIC for number theory can be sound and complete. FACT: Truth’s of first order number theory (for every natural, for all naturals, plus, times, propositional logic) express the halting problem. INCOMPLETNESS: No LOGIC for number theory can be sound and complete.

Hilbert’s Question [1900] Is there a foundation for mathematics that would, in principle, allow us to decide the truth of any mathematical proposition? Such a foundation would have to give us a clear procedure (algorithm) for making the decision.

GÖDEL’S INCOMPLETENESS THEOREM In 1931, Gödel stunned the world by proving that for any consistent axioms F there is a true statement of first order number theory that is not provable or disprovable by F. I.e., a true statement that can be made using 0, 1, plus, times, for every, there exists, AND, OR, NOT, parentheses, and variables that refer to natural numbers.

GÖDEL’S INCOMPLETENESS THEOREM Commit to any sound LOGIC F for first order number theory. Construct a *true* statement GODELF that is not provable in your logic F. YOU WILL EVEN BE ABLE TO FOLLOW THE CONTRUCTION AND ADMIT THAT GODELF is a true statement that is missing from the consequences of F.

CONFUSEF(P) Loop though all sequences of symbols S If S is a valid F-proof of “P halts”, then LOOP_FOR_EVER If S is a valid F-proof of “P never halts”, then HALT

GODELF GODELF= AUTO_CANNIBAL_MAKER(CONFUSEF) Thus, when we run GODELF it will do the same thing as: CONFUSEF(GODELF)

GODELF Can F prove GODELF halts? Yes -> CONFUSEF(GODELF) does not halt Contradiction Can F prove GODELF does not halt? Yes -> CONFUSEF(GODELF) halts

GODELF F can’t prove or disprove that GODELF halts. GODELF = CONFUSEF(GODELF) Loop though all sequences of symbols S If S is a valid F-proof of “GODELF halts”, then LOOP_FOR_EVER If S is a valid F-proof of “GODELF never halts”, then HALT

GODELF F can’t prove or disprove that GODELF halts. Thus CONFUSEF(GODELF) = GODELF will not halt. Thus, we have just proved what F can’t. F can’t prove something that we know is true. It is not a complete foundation for mathematics.

In any logic that can express statements about programs and their halting behavior – can also express a Gödel sentence G that asserts its own improvability!

So what is mathematics? THE DEFINING INGREDIENT OF MATHEMATICS IS HAVING A SOUND LOGIC – self-consistent for some notion of truth.

ENDNOTE You might think that Gödel’s theorem proves that people are mathematically capable in ways that computers are not. This would show that the Church-Turing Thesis is wrong. Gödel’s theorem proves no such thing!

We can talk about this over coffee.