Computation: The Mathematical Story Christos H. Papadimitriou UC - - PowerPoint PPT Presentation

computation the mathematical story
SMART_READER_LITE
LIVE PREVIEW

Computation: The Mathematical Story Christos H. Papadimitriou UC - - PowerPoint PPT Presentation

Computation: The Mathematical Story Christos H. Papadimitriou UC Berkeley christos Outline The Foundational Crisis in Math (1900 31) How it Led to the Computer (1931 46) And to P vs NP (1946 72) HoC, 12/6/07


slide-1
SLIDE 1

Computation: The Mathematical Story

Christos H. Papadimitriou UC Berkeley “christos”

slide-2
SLIDE 2

HoC, 12/6/07

Outline

  • The Foundational Crisis in Math (1900 – 31)
  • How it Led to the Computer (1931 – 46)
  • And to P vs NP (1946 – 72)
slide-3
SLIDE 3

HoC, 12/6/07

The prehistory

  • f computation

Pascal’s Calculator 1650 Babbage & Ada, 1850 the analytical engine Jacquard’s looms 1805

slide-4
SLIDE 4

HoC, 12/6/07

Trouble in Math

Non-euclidean geometries Cantor, 1880: sets and infinity

slide-5
SLIDE 5

HoC, 12/6/07

The quest for foundations

Hilbert, 1900: “We must know, we can know we shall know!”

slide-6
SLIDE 6

HoC, 12/6/07

The two quests

An axiomatic system that comprises all of Mathematics A machine that finds a proof for every theorem

slide-7
SLIDE 7

HoC, 12/6/07

The disaster

Gödel 1931 The Incompleteness Theorem “sometimes, we cannot know” Theorems that have no proof

slide-8
SLIDE 8

HoC, 12/6/07

Recall the two quests

Find an axiomatic system that comprises all of Mathematics

?

Find a machine that finds a proof for every theorem

slide-9
SLIDE 9

HoC, 12/6/07

Also impossible?

but what is a machine?

slide-10
SLIDE 10

HoC, 12/6/07

The mathematical machines (1934 – 37)

Post Kleene Church Turing

slide-11
SLIDE 11

HoC, 12/6/07

Universal Turing machine

Powerful and crucial idea which anticipates software …and radical too: dedicated machines were favored at the time

slide-12
SLIDE 12

HoC, 12/6/07

“If it should turn out that the basic logics

  • f 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

slide-13
SLIDE 13

HoC, 12/6/07

In a world without Turing…

SPECIAL TODAY: All number crunchers 40% off! Basement: Game engines, Video and Music computers Third Floor: Accounting computers, Business machines Second Floor: Database engines, Word processors

First Floor: Web browsers, e-mailers WELCOME TO THE COMPUTER STORE!

slide-14
SLIDE 14

HoC, 12/6/07

And finally…

von Neumann 1946 EDVAC and report

slide-15
SLIDE 15

HoC, 12/6/07

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
slide-16
SLIDE 16

Madness in their method? the painful human story

  • G. Cantor
  • D. Hilbert
  • K. Gödel
  • E. Post
  • A. M. Turing
  • J. Von Neumann
slide-17
SLIDE 17

HoC, 12/6/07

Theory of Computation since Turing: Efficient algorithms

  • Some problems can be solved in polynomial

time (n, n log n, n2, n3, 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)

slide-18
SLIDE 18

HoC, 12/6/07

Polynomial algorithms deliver Moore’s Law to the world

  • A 2n algorithm for SAT, run for 1 hour:

n = 53 n = 45 n = 38 n = 31 n = 23 n = 15 2006 1996 1986 1976 1966 1956 × 2 × 5 × 100 every decade n7 n3 An n or n log n algorithm

slide-19
SLIDE 19

HoC, 12/6/07

NP-completeness Cook, Karp, Levin (1971 – 73)

  • Efficiently solvable problems: P
  • Exponential search: NP
  • Many common problems capture the full power
  • f exponential search: NP-complete
  • Arguably the most influential concept to come
  • ut of Computer Science
  • Is P = NP? Fundamental question and

mathematical problem

slide-20
SLIDE 20

HoC, 12/6/07

Intellectual debt to Gödel/Turing?

  • Negative results are an important

intellectual tradition in Computer Science and Logic

  • The Incompleteness Theorem and Turing’s

halting problem are the archetypical negative results

  • The Gödel letter (discovered 1992)
slide-21
SLIDE 21

HoC, 12/6/07

slide-22
SLIDE 22

HoC, 12/6/07

slide-23
SLIDE 23

HoC, 12/6/07

Recall: Hilbert’s Quest

axioms + conjecture always answers “yes/no” Turing’s halting problem

slide-24
SLIDE 24

HoC, 12/6/07

Gödel’s revision

axioms + conjecture if there is a proof

  • f length n

it finds it in time k n (this is trivial, just try all proofs)

slide-25
SLIDE 25

HoC, 12/6/07

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…
slide-26
SLIDE 26

HoC, 12/6/07

Surprise!

  • Gödel’s question is equivalent to

“P = NP”

  • He seems to be optimistic about it…
slide-27
SLIDE 27

HoC, 12/6/07

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

slide-28
SLIDE 28

HoC, 12/6/07

And this is the story we tell in… LOGICOMIX A graphic novel of reason, madness and the birth of the computer by…

slide-29
SLIDE 29

HoC, 12/6/07

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, 2007

slide-30
SLIDE 30

HoC, 12/6/07

Thank you!