Gödel’s Incompleteness Theorem and the Birth of the Computer Christos H. Papadimitriou UC Berkeley.

Slides:



Advertisements
Similar presentations
Automata Theory CS 3313 Chapter 1 An overview of Automata Theory.
Advertisements

Models of Computation Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 1, Lecture 2.
CS 345: Chapter 9 Algorithmic Universality and Its Robustness
Complexity Theory Lecture 1 Lecturer: Moni Naor. Computational Complexity Theory Study the resources needed to solve computational problems –Computer.
Limitations. Limitations of Computation Hardware precision Hardware precision Software - we’re human Software - we’re human Problems Problems –complex.
Great Theoretical Ideas in Computer Science for Some.
CSE373: Data Structures & Algorithms Lecture 24: The P vs. NP question, NP-Completeness Nicki Dell Spring 2014 CSE 373 Algorithms and Data Structures 1.
Recap CS605: The Mathematics and Theory of Computer Science.
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”
Discrete Structures & Algorithms The P vs. NP Question EECE 320.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
The Brick Wall: NP-Completeness Christopher King Joshua Greenspan.
Humans, Computers, and Computational Complexity J. Winters Brock Nathan Kaplan Jason Thompson.
Myth emati CS Christos H. Papadimitriou UC Berkeley : christos.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
CS10 The Beauty and Joy of Computing Lecture #23 : Limits of Computing Thanks to the success of the Kinect, researchers all over the world believe.
A Brief Introduction To The Theory of Computer Science and The PCP Theorem By Dana Moshkovitz Faculty of Mathematics and Computer Science The Weizmann.
What computers just cannot do. COS 116: 2/28/2008 Sanjeev Arora.
Halting Problem. Background - Halting Problem Common error: Program goes into an infinite loop. Wouldn’t it be nice to have a tool that would warn us.
Computability Thank you for staying close to me!! Learning and thinking More algorithms... computability.
1 Trends in Mathematics: How could they Change Education? László Lovász Eötvös Loránd University Budapest.
Complexity Theory: The P vs NP question Lecture 28 (Dec 4, 2007)
Chapter 0: Introduction
Some stupid remarks by smart people If it should turn out that the basic logics of a machine designed for the numerical solution of differential equations.
Chapter 0: Introduction Computer Science: An Overview Eleventh Edition
Logic in Computer Science - Overview Sep 1, 2011 POSTECH 박성우.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
© 2007 Pearson Addison-Wesley. All rights reserved 0-1 Spring(2007) Instructor: Qiong Cheng © 2007 Pearson Addison-Wesley. All rights reserved.
Introduction to the Theory of Computation Fall Semester, School of Information, Renmin University of China.
Computing Timeline Preview for First Project. Earliest history  Abacus – widely regarded as the first “calculating machine”. different forms through.
Complexity and G ö del Incomplete theorem 電機三 B 劉峰豪.
CSC 172 P, NP, Etc. “Computer Science is a science of abstraction – creating the right model for thinking about a problem and devising the appropriate.
P, NP, and Exponential Problems Should have had all this in CS 252 – Quick review Many problems have an exponential number of possibilities and we can.
Introduction to Computer Science by Kai-Lung Hua Chapter 0: Introduction.
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.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Overview.  Explores the theoretical foundations of computing  What can and cannot be done by an algorithm  Most of the material predates computers!
COMPSCI 102 Introduction to Discrete Mathematics.
CSE373: Data Structures & Algorithms Lecture 22: The P vs. NP question, NP-Completeness Lauren Milne Summer 2015.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
Great Theoretical Ideas in Computer Science.
Beauty and Joy of Computing Limits of Computing Ivona Bezáková CS10: UC Berkeley, April 14, 2014 (Slides inspired by Dan Garcia’s slides.)
History 398 Fall 2004 History 398Lecture 20 FROM ENIAC TO EDVAC.
CS10: The Beauty and Joy of Computing Lecture #22 Limits of Computing Warning sign posted at Stern Hall. Also, Apple releases new operating.
Limits to Computation How do you analyze a new algorithm? –Put it in the form of existing algorithms that you know the analysis. –For example, given 2.
Who invented the computer?
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
CSE 311 Foundations of Computing I Lecture 26 Cardinality, Countability & Computability Autumn 2011 CSE 3111.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
The Beauty and Joy of Computing Lecture #23 Limits of Computing Researchers at Facebook and the University of Milan found that the avg # of “friends” separating.
CMPT 308 — Computability and Complexity Fall 2004 Instructor: Andrei Bulatov, TA: Ramsay Dyer, Learning.
CSE 311 Foundations of Computing I Lecture 25 Pattern Matching, Cardinality, Computability Spring
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Chapter 0 Introduction. © 2005 Pearson Addison-Wesley. All rights reserved 0-2 Chapter 0: Introduction 0.1 The Role of Algorithms 0.2 The Origins of Computing.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
Of 25 January 7, 2016 CBS: Math, Proofs, Computing 1 Mathematics, Proofs and Computation Madhu Sudan Harvard.
1 1. Which of these sequences correspond to Hamilton cycles in the graph? (a) (b) (c) (d) (e)
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Chapter 0: Introduction
Computation: The Mathematical Story
Lecture 2 Propositional Logic
Intro to Theory of Computation
Richard Anderson Lecture 27 NP Completeness
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
An example of the “axiomatic approach” from geometry
Richard Anderson Lecture 25 NP Completeness
Presentation transcript:

Gödel’s Incompleteness Theorem and the Birth of the Computer Christos H. Papadimitriou UC Berkeley

CS294, Lecture 1 Outline The Foundational Crisis in Math (1900 – 31) How it Led to the Computer (1931 – 46) And to P vs NP (1946 – 72)

CS294, Lecture 1 The prehistory of computation Pascal’s Calculator 1650 Babbage & Ada, 1850 the analytical engine Jacquard’s looms 1805

CS294, Lecture 1 Trouble in Math Non-euclidean geometries Cantor, 1880: sets and infinity ∞

CS294, Lecture 1 Logic! Boole’s logic is inadequate (how do you say “for all integers x”?) Frege introduces First-Order Logic And writes a two-volume opus on the foundations of Arithmetic (~1890 – 1900)

CS294, Lecture 1 The quest for foundations Hilbert, 1900: “We must know, we can know we shall know!”

CS294, Lecture 1 The two quests An axiomatic system that comprises all of Mathematics A machine that finds a proof for every theorem

CS294, Lecture 1 The Paradox and the Book Russell discovers in 1901 the paradox about “the set of all sets that don’t contain themselves” And writes with Whitehead the Principia, trying to restore set theory and logic ( ) Result is highly unsatisfactory (but inspires what comes next)

CS294, Lecture 1 20 years later: the disaster Gödel 1931 The Incompleteness Theorem “sometimes, we cannot know” Theorems that have no proof

CS294, Lecture 1 Recall the two quests Find an axiomatic system that comprises all of Mathematics ? Find a machine that finds a proof for every theorem

CS294, Lecture 1 Also impossible? but what is a machine?

CS294, Lecture 1 The mathematical machines (1934 – 37) Post Kleene Church Turing

CS294, Lecture 1 Universal Turing machine Powerful and crucial idea which anticipates software …and radical too: dedicated machines were favored at the time

CS294, Lecture 1 “If it should turn out that the basic logics of a machine designed for the numerical solution of differential equations coincide with the logics of a machine intended to make bills for a department store, I would regard this as the most amazing coincidence that I have ever encountered” Howard Aiken, 1939

CS294, Lecture 1 In a world without Turing… WELCOME TO THE COMPUTER STORE! First Floor: Web browsers, ers Second Floor: Database engines, Word processors Third Floor: Accounting computers, Business machines Basement: Game engines, Video and Music computers SPECIAL TODAY: All number crunchers 40% off!

CS294, Lecture 1 And finally… von Neumann 1946 EDVAC and report

CS294, Lecture 1 Johnny come lately von Neumann and the Incompleteness Theorem “Turing has done good work on the theories of almost periodic functions and of continuous groups” (1939) Zuse (1936 – 44), Turing (1941 – 52), Atanasoff/Berry (1937 – 42), Aiken (1939 – 45), etc. The meeting at the Aberdeen, MD train station The “logicians” vs the “engineers” at UPenn Eckert, Mauchly, Goldstine, and the First Draft

Madness in their method? the painful human story G. Cantor D. Hilbert K. Gödel E. Post A. M. Turing J. Von Neumann G. Frege

CS294, Lecture 1 Theory of Computation since Turing: Efficient algorithms Some problems can be solved in polynomial time (n, n log n, n 2, n 3, etc.) Others, like the traveling salesman problem and Boolean satisfiability, apparently cannot (because they involve exponential search) Important dichotomy (von Neumann 1952, Edmonds 1965, Cobham 1965, others)

CS294, Lecture 1 Polynomial algorithms deliver Moore’s Law to the world A 2 n algorithm for SAT, run for 1 hour: n = 15n = 23n = 31n = 38n = 45n = 53 An n or n log n algorithmn3n3 n7n7 × 100 every decade× 5× 2

CS294, Lecture 1 NP-completeness Cook, Karp, Levin (1971 – 73) Efficiently solvable problems: P Exponential search: NP Many common problems capture the full power of exponential search: NP-complete Arguably the most influential concept to come out of Computer Science Is P = NP? Fundamental open question

CS294, Lecture 1 Intellectual debt to Gödel/Turing? Negative results are an important intellectual tradition in Computer Science (and Logic too) The Incompleteness Theorem and Turing’s halting problem are the archetypical negative results The Gödel letter (discovered 1992)

CS294, Lecture 1

Recall: Hilbert’s Quest axioms + conjecture always answers “yes/no” Turing’s halting problem

CS294, Lecture 1 Gödel’s revision axioms + conjecture if there is a proof of length n it finds it in time k n (this is trivial, just try all proofs)

CS294, Lecture 1 Hilbert’s last stand Gödel asked von Neumann in the 1956 letter: “Can this be done in time n ? n 2 ? n c ?” This would still mechanize Mathematics…

CS294, Lecture 1 Surprise! Gödel’s question is equivalent to “P = NP” He seems to be optimistic about it…

CS294, Lecture 1 So… Hilbert’s foundations quest and the Incompleteness Theorem have started an intellectual Rube Goldberg that eventually led to the computer Some of the most important concepts in today’s Computer Science, including P vs NP, owe a debt to that tradition

CS294, Lecture 1 And this is the story we tell in…

CS294, Lecture 1 LOGICOMIX: A graphic novel of reason, madness and the birth of the computer By Apostolos Doxiadis and Christos Papadimitriou Art: Alecos Papadatos and Annie Di Donna Bloomsbury, 2008