Thinking in Methodologies Class Notes. Gödel’s Theorem.

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
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.
The Axiomatic Method. The axiomatic method I: Mathematical Proofs Why do we need to prove things? How do we resolve paradoxes?
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.
David Evans CS200: Computer Science University of Virginia Computer Science Class 24: Gödel’s Theorem.
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.
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
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.
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.
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)
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
Logic and Mathematics The Art and Science of Mathematics.
David Evans CS200: Computer Science University of Virginia Computer Science Class 26: Halting Problem It is plain at any.
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
Chapter 10: Mathematical proofs
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
Philosophy of Mathematics: a sneak peek
An example of the “axiomatic approach” from geometry
Lecture 23: Computability CS200: Computer Science
Presentation transcript:

Thinking in Methodologies Class Notes

Gödel’s Theorem

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

Mechanized Reasoning

Mechanical Reasoning l Aristotle (~350BC): Organon l 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.

More Mechanical Reasoning l Euclid (~300BC): Elements l We can reduce geometry to a few axioms and derive the rest by following rules Newton (1687): Philosophi æ Naturalis Principia Mathematica l 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 ” l George Boole, Laws of Thought l Augustus De Morgan l Whitehead and Russell

All true statements about number theory

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

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) l Three Volumes, 2000 pages l Attempted to axiomatize mathematical reasoning l Define mathematical entities (like numbers) using logic Derive mathematical “ truths ” by following mechanical rules of inference l Claimed to be complete and consistent All true theorems could be derived No falsehoods could be derived

Russell ’ s Paradox l Some sets are not members of themselves l set of all Jeffersonians l Some sets are members of themselves l set of all things that are non-Jeffersonian l S = the set of all sets that are not members of themselves l Is S a member of itself?

Russell ’ s Paradox l S = set of all sets that are not members of themselves l Is S a member of itself? l If S is an element of S, then S is a member of itself and should not be in S. l If S is not an element of S, then S is not a member of itself, and should be in S.

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

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

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.

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 l 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)

l 1939: flees Vienna l 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 l Theorem: In the Principia Mathematica system, there are statements that cannot be proven either true or false. l Proof: Find such a statement

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!

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!

Finishing The Proof l 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. ” ?

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

Can PM express unprovability? l 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)))

Can we express “ This statement of number theory ” l 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

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!

Generalization All logical systems of any complexity are incomplete: there are statements that are true that cannot be proven within the system.

Practical Implications l Mathematicians will never be completely replaced by computers l There are mathematical truths that cannot be determined mechanically l 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.

Charge l Next : l Does not being able to prove things mechanically have anything to do with not being able write specification formally? What is the equivalent to the G ö del sentence for computation?