David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem.

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

This is not the title of our seminar Shikhar Paliwal Varun Suprashanth Asok R Under Guidance of Dr. Pushpak Bhattacharya
Copyright © Cengage Learning. All rights reserved.
Gödel’s Incompletness Theorem By Njegos Nincic. Overview  Set theory: Background, History Naïve Set Theory  Axiomatic Set Theory  Icompleteness Theorem.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 7: Beyond Classical Logic.
This is not the Title of our Seminar
Mathematics And The Axiomatic Method
Zermelo-Fraenkel Axioms Ernst Zermelo ( ) gave axioms of set theory, which were improved by Adolf Fraenkel ( ). This system of axioms called.
HISTORY OF LOGIC BY JOHN NAGUIB. What is Logic? The science or study of how to evaluate arguments and reasoning. “Logic is new and necessary reasoning”
Math 333 – Euclidean and Non-Euclidean Geometry Dr. Hamblin.
Introduction to Algorithms A History Tour Definition of Algorithms Problem solving: Problem Statement Assumptions Processes Paradoxes.
The Axiomatic Method The 2004 Isuzu Axiom: Distinctive European Styling, now with Even More.
CS1001 Lecture 22. Overview Mechanizing Reasoning Mechanizing Reasoning G ö del ’ s Incompleteness Theorem G ö del ’ s Incompleteness Theorem.
Logic and Set Theory.
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.
Lecture 24: Gödel’s Proof CS150: Computer Science
Computability Thank you for staying close to me!! Learning and thinking More algorithms... computability.
Mathematics and the Theory of Knowledge
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.
Group 7 Nisarg Shah : Siddharth Dhakad : Chirag Sethi : Shiv Shankar : Dileep Kini : Self Referencing and.
MATH 224 – Discrete Mathematics
Logic in Computer Science - Overview Sep 1, 2011 POSTECH 박성우.
MAT 333 Fall  As we discovered with the Pythagorean Theorem examples, we need a system of geometry to convince ourselves why theorems are true.
Cs3102: Theory of Computation Class 16: Uncomputable Numbers and Unrecognizable Languages Spring 2010 University of Virginia David Evans.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
The Recursion Theorem Pages 217– ADVANCED TOPICS IN C O M P U T A B I L I T Y THEORY.
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 劉峰豪.
Hilbert’s Progamme Early in C20, the mathematician Hilbert led a programme to formalise maths; to reduce it to a clear set of axioms and show that all.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
David Evans CS200: Computer Science University of Virginia Computer Science Class 25: Computability Halting Problems Hockey.
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.
Tommy King October 14, 2014 Kurt GodeL.
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.
David Evans CS150: Computer Science University of Virginia Computer Science Lecture 25: Gödel and Computability Halting.
Thinking in Methodologies Class Notes. Gödel’s Theorem.
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 4 Computation Chapter 4: Computation.
Logic and Mathematics The Art and Science of Mathematics.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture 16 – 09/09/05 Prof. Pushpak Bhattacharyya Soundness, Completeness,
David Evans CS200: Computer Science University of Virginia Computer Science Class 26: Halting Problem It is plain at any.
David Evans CS200: Computer Science University of Virginia Computer Science Class 19: Computability Halting Problems Hockey.
To Infinity and Beyond!. Paradox A paradox is a seemingly consistent, logical argument that nonetheless ends with a ridiculous conclusion Like the story.
Self Referencing and Gödel's Incompleteness Theorem
Gödel's Legacy: The Limits Of Logics
Axiomatic Number Theory and Gödel’s Incompleteness Theorems
Mathematics and Certainty
Discrete Mathematics for Computer Science
Great Theoretical Ideas in Computer Science
Class 23: Gödel’s Theorem CS150: Computer Science
Lecture 2 Propositional Logic
Mathematics and Knowledge
CS 1813 – Discrete Mathematics
Lecture 22: Gödel’s Theorem CS200: Computer Science
First Order Logic Rosen Lecture 3: Sept 11, 12.
Great Theoretical Ideas in Computer Science
Class 24: Computability Halting Problems Hockey Team Logo
Lecture 8 CS 1813 – Discrete Mathematics
CS154, Lecture 11: Self Reference, Foundation of Mathematics
Philosophy of Mathematics: a sneak peek
An example of the “axiomatic approach” from geometry
Lecture 23: Computability CS200: Computer Science
Presentation transcript:

David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem

19 March 2004CS 200 Spring Big Picture Much of the course so far: –Getting comfortable with recursive definitions –Learning to write a program to do anything Today: –Getting uncomfortable with recursive definitions Monday: –Convincing you there are some things no one can write a program to do!

19 March 2004CS 200 Spring Mechanized Reasoning

19 March 2004CS 200 Spring Mechanical Reasoning Aristotle (~350BC): Organon –We can explain logical deduction with rules of inference (syllogisms) Every B is A C is B  C is A Every human is mortal. Gödel is human. Gödel is mortal.

19 March 2004CS 200 Spring More Mechanical Reasoning Euclid (~300BC): Elements –We can reduce geometry to a few axioms and derive the rest by following rules Newton (1687): Philosophiæ Naturalis Principia Mathematica –We can reduce the motion of objects (including planets) to following axioms (laws) mechanically

19 March 2004CS 200 Spring Mechanical Reasoning Late 1800s – many mathematicians working on codifying “laws of reasoning” –George Boole, Laws of Thought –Augustus De Morgan –Whitehead and Russell

19 March 2004CS 200 Spring All true statements about number theory

19 March 2004CS 200 Spring Perfect Axiomatic System Derives all true statements, and no false statements starting from a finite number of axioms and following mechanical inference rules.

19 March 2004CS 200 Spring Incomplete Axiomatic System Derives some, but not all true statements, and no false statements starting from a finite number of axioms and following mechanical inference rules. incomplete

19 March 2004CS 200 Spring Inconsistent Axiomatic System Derives all true statements, and some false statements starting from a finite number of axioms and following mechanical inference rules. some false statements

19 March 2004CS 200 Spring Principia Mathematica Whitehead and Russell (1910– 1913) –Three Volumes, 2000 pages Attempted to axiomatize mathematical reasoning –Define mathematical entities (like numbers) using logic –Derive mathematical “truths” by following mechanical rules of inference –Claimed to be complete and consistent All true theorems could be derived No falsehoods could be derived

19 March 2004CS 200 Spring Russell’s Paradox Some sets are not members of themselves –set of all Jeffersonians Some sets are members of themselves –set of all things that are non-Jeffersonian S = the set of all sets that are not members of themselves Is S a member of itself?

19 March 2004CS 200 Spring Russell’s Paradox S = set of all sets that are not members of themselves Is S a member of itself? –If S is an element of S, then S is a member of itself and should not be in S. –If S is not an element of S, then S is not a member of itself, and should be in S.

19 March 2004CS 200 Spring Ban Self-Reference? Principia Mathematica attempted to resolve this paragraph by banning self- reference Every set has a type –The lowest type of set can contain only “objects”, not “sets” –The next type of set can contain objects and sets of objects, but not sets of sets

19 March 2004CS 200 Spring Russell’s Resolution? Set ::= Set n Set 0 ::= { x | x is an Object } Set n ::= { x | x is an Object or a Set n - 1 } S: Set n Is S a member of itself? No, it is a Set n so, it can’t be a member of a Set n

19 March 2004CS 200 Spring Epimenides Paradox Epidenides (a Cretan): “All Cretans are liars.” Equivalently: “This statement is false.” Russell’s types can help with the set paradox, but not with this one.

19 March 2004CS 200 Spring Gödel’s Solution All consistent axiomatic formulations of number theory include undecidable propositions. (GEB, p. 17) undecidable – cannot be proven either true or false inside the system.

19 March 2004CS 200 Spring Quiz

19 March 2004CS 200 Spring Kurt Gödel Born 1906 in Brno (now Czech Republic, then Austria-Hungary) 1931: publishes Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme (On Formally Undecidable Propositions of Principia Mathematica and Related Systems)

19 March 2004CS 200 Spring : flees Vienna Institute for Advanced Study, Princeton Died in 1978 – convinced everything was poisoned and refused to eat

19 March 2004CS 200 Spring Gödel’s Theorem In the Principia Mathematica system, there are statements that cannot be proven either true or false.

19 March 2004CS 200 Spring Gödel’s Theorem In any interesting rigid system, there are statements that cannot be proven either true or false.

19 March 2004CS 200 Spring Gödel’s Theorem All logical systems of any complexity are incomplete: there are statements that are true that cannot be proven within the system.

19 March 2004CS 200 Spring Proof – General Idea Theorem: In the Principia Mathematica system, there are statements that cannot be proven either true or false. Proof: Find such a statement

19 March 2004CS 200 Spring Gödel’s Statement G: This statement of number theory does not have any proof in the system of Principia Mathematica. G is unprovable, but true!

19 March 2004CS 200 Spring Gödel’s Proof G: This statement of number theory does not have any proof in the system of PM. If G were provable, then PM would be inconsistent. If G is unprovable, then PM would be incomplete. PM cannot be complete and consistent!

19 March 2004CS 200 Spring Finishing The Proof Turn G into a statement in the Principia Mathematica system Is PM powerful enough to express “ This statement of number theory does not have any proof in the system of PM.”?

19 March 2004CS 200 Spring How to express “ does not have any proof in the system of PM” What does it mean to have a proof of S in PM? –There is a sequence of steps that follow the inference rules that starts with the initial axioms and ends with S What does it mean to not have any proof of S in PM? –There is no sequence of steps that follow the inference rules that starts with the initial axioms and ends with S

19 March 2004CS 200 Spring Can PM express unprovability? There is no sequence of steps that follow the inference rules that starts with the initial axioms and ends with S Yes: (using Scheme-ified Gödel notation) (unprovable? x) = (not (provable? x)) (provable? x) = (exists (y) (proves y x)) (proves x y) = (and (valid-proof-steps x) (eq? (apply-proof x initial-axioms) y)))

19 March 2004CS 200 Spring Can we express “This statement of number theory” Yes! –That’s the point of the TNT Chapter in GEB We can write turn every statement into a number, so we can turn “This statement of number theory does not have any proof in the system of PM” into a number

19 March 2004CS 200 Spring Gödel’s Proof G: This statement of number theory does not have any proof in the system of PM. If G were provable, then PM would be inconsistent. If G is unprovable, then PM would be incomplete. PM cannot be complete and consistent!

19 March 2004CS 200 Spring Generalization All logical systems of any complexity are incomplete: there are statements that are true that cannot be proven within the system.

19 March 2004CS 200 Spring Practical Implications Mathematicians will never be completely replaced by computers –There are mathematical truths that cannot be determined mechanically –We can build a computer that will prove only true theorems about number theory, but if it cannot prove something we do not know that that is not a true theorem.

19 March 2004CS 200 Spring Charge Next class: –Does not being able to prove things mechanically have anything to do with not being able compute things? –What is the equivalent to the Gödel sentence for computation?