Lecture 24: Gödel’s Proof CS150: Computer Science

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

David Evans CS150: Computer Science University of Virginia Computer Science Lecture 26: Proving Uncomputability Visualization.
This is not the title of our seminar Shikhar Paliwal Varun Suprashanth Asok R Under Guidance of Dr. Pushpak Bhattacharya
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 7: Beyond Classical Logic.
This is not the Title of our Seminar
David Evans CS200: Computer Science University of Virginia Computer Science Lecture 23: Inheritance.
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.
CS1001 Lecture 22. Overview Mechanizing Reasoning Mechanizing Reasoning G ö del ’ s Incompleteness Theorem G ö del ’ s Incompleteness Theorem.
Logic and Set Theory.
So far we have learned about:
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
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.
David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem.
Class 37: Uncomputability David Evans University of Virginia cs1120 Halting Problems Hockey Team.
David Evans CS150: Computer Science University of Virginia Computer Science Computability.
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.
Institute for Experimental Physics University of Vienna Institute for Quantum Optics and Quantum Information Austrian Academy of Sciences Undecidability.
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.
TOK: Mathematics Unit 1 Day 1. Introduction Opening Question Is math discovered or is it invented? Think about it. Think real hard. Then discuss.
Tommy King October 14, 2014 Kurt GodeL.
Overview.  Explores the theoretical foundations of computing  What can and cannot be done by an algorithm  Most of the material predates computers!
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.
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.
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.
David Evans CS150: Computer Science University of Virginia Computer Science Lecture 23: Programming with Objects.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
CSE 311 Foundations of Computing I Lecture 26 Cardinality, Countability & Computability Autumn 2011 CSE 3111.
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
CSE 311: Foundations of Computing Fall 2014 Lecture 27: Cardinality.
Logic and Mathematics The Art and Science of Mathematics.
David Evans CS150: Computer Science University of Virginia Computer Science Lecture 22: Objectifying Objects.
David Evans CS200: Computer Science University of Virginia Computer Science Lecture 21: Inheritance.
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.
TOK: Mathematics Unit 1 Day 1. 2 – B 2 = AB – B 2 Factorize both sides: (A+B)(A-B) = B(A-B) Divide both sides by (A-B): A = B = B Since A = B, B+B=B Add.
Axiomatic Number Theory and Gödel’s Incompleteness Theorems
Mathematics and Certainty
Discrete Mathematics for Computer Science
CS154, Lecture 11: Self Reference, Foundation of Mathematics
Great Theoretical Ideas in Computer Science
Class 23: Gödel’s Theorem CS150: Computer Science
Lecture 2 Propositional Logic
Mathematics and Knowledge
Lecture 21: Inheritance CS200: Computer Science University of Virginia
Lecture 22: Gödel’s Theorem CS200: Computer Science
First Order Logic Rosen Lecture 3: Sept 11, 12.
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 http://www.cs.virginia.edu/evans Lecture 24: Gödel’s Proof CS150: Computer Science University of Virginia Computer Science David Evans http://www.cs.virginia.edu/evans

PS6 Classes sim-object physical-object place mobile-object thing Are there class hierarchies like this in the “real world” or just in fictional worlds like Charlottansville? mobile-object thing person student police-officer

Microsoft Foundation Classes CButton inherits from CWnd inherits from CObject “A button is a kind of window is a kind of object”

Not at all uncommon to have class hierarchies like this! RotationPathInterpolator PathInterpolator Interpolator Node Behavior Leaf Object SceneGraphObject Not at all uncommon to have class hierarchies like this! Java 3D Class Hierarchy Diagram http://java.sun.com/products/java-media/3D/collateral/j3dclass.html

Quiz? http://www.cs.virginia.edu/forums/viewtopic.php?t=1651

Story So Far Much of the course so far: This Week: Getting comfortable with recursive definitions Learning to write a program to do (almost) anything (PS1-4) Learning more elegant ways of programming (PS5-6) This Week: Getting un-comfortable with recursive definitions Understanding why there are some things no program can do!

Computer Science/Mathematics Computer Science (Imperative Knowledge) Are there (well-defined) problems that cannot be solved by any procedure? Mathematics (Declarative Knowledge) Are there true conjectures that cannot be the shown using any proof? Wednesday Today

Mechanical Reasoning Aristotle (~350BC): Organon Codify logical deduction with rules of inference (syllogisms) Every A is a P X is an A X is a P Premises Conclusion Every human is mortal. Gödel is human. Gödel is mortal.

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

Mechanical Reasoning Late 1800s – many mathematicians working on codifying “laws of reasoning” George Boole, Laws of Thought Augustus De Morgan Whitehead and Russell, 1911-1913 Principia Mathematica Attempted to formalize all mathematical knowledge about numbers and sets

All true statements about numbers

Perfect Axiomatic System Derives all true statements, and no false statements starting from a finite number of axioms and following mechanical inference rules.

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.

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

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

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?

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.

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

Russell’s Resolution? Set ::= Setn Set0 ::= { x | x is an Object } Setn ::= { x | x is an Object or a Setn - 1 } S: Setn Is S a member of itself? No, it is a Setn so, it can’t be a member of a Setn

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

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.

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)

1939: flees Vienna Institute for Advanced Study, Princeton Died in 1978 – convinced everything was poisoned and refused to eat

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

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

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.

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

Gödel’s Statement have any proof in the system of Principia G: This statement does not have any proof in the system of Principia Mathematica. G is unprovable, but true!

Gödel’s Proof Idea If G is provable, PM would be inconsistent. G: This statement does not have any proof in the system of PM. If G is provable, PM would be inconsistent. If G is unprovable, PM would be incomplete. Thus, PM cannot be complete and consistent!

Charge Wednesday: Friday: Next Monday: Finish the proof: show we can express G What is the equivalent to the Gödel sentence for computation? Friday: How to prove a problem has no solving procedure Next Monday: History of Object-Oriented Programming