15 251 great theoretical ideas in computer science
play

15-251 Great Theoretical Ideas in Computer Science Lecture 2: On - PowerPoint PPT Presentation

15-251 Great Theoretical Ideas in Computer Science Lecture 2: On Proofs and Pancakes September 3rd, 2015 1. What is a proof ? 2. How do you find a proof ? 3. How do you write a proof ? 1. What is a proof ? 2. How do you find a proof ?


  1. 15-251 Great Theoretical Ideas in Computer Science Lecture 2: On Proofs and Pancakes September 3rd, 2015

  2. 1. What is a proof ? 2. How do you find a proof ? 3. How do you write a proof ?

  3. 1. What is a proof ? 2. How do you find a proof ? 3. How do you write a proof ?

  4. Is this a legit proof? Proposition: Start with any number. If the number is even, divide it by 2. If it is odd, multiply it by 3 and add 1. If you repeat this process, it will lead you to 4, 2, 1. Proof: Many people have tried this, and no one came up with a counter-example.

  5. Is this a legit proof? Proposition: 313( x 3 + y 3 ) = z 3 has no solution for . x, y, z ∈ Z + Proof: Using a computer, we were able to verify that there is no solution for numbers with < 500 digits.

  6. Is this a legit proof? Proposition: Given a solid ball in 3 dimensional space, there is no way to decompose it into a finite number of disjoint subsets, which can be put together to form two identical copies of the original ball. Banach-Tarski Paradox Proof: Obvious.

  7. Is this a legit proof? Proposition: 1 + 1 = 2 Proof: Obvious.

  8. The story of 4 color theorem 1852 Conjecture: Any 2-d map of regions can be colored with 4 colors so that no adjacent regions get the same color.

  9. The story of 4 color theorem 1879: Proved by Kempe in American Journal of Mathematics (was widely acclaimed) 1880: Alternate proof by Tait in Trans. Roy. Soc. Edinburgh 1890: Heawood finds a bug in Kempe’s proof 1891: Petersen finds a bug in Tait’s proof 1969: Heesch showed the theorem could in principle be reduced to checking a large number of cases. 1976: Appel and Haken wrote a massive amount of code to compute and then check 1936 cases. (1200 hours of computer time)

  10. The story of 4 color theorem Much controversy at the time. Is this a proof? What do you think? Arguments against: - no human could ever hand-check the cases - maybe there is a bug in the code - maybe there is a bug in the compiler - maybe there is a bug in the hardware - no “insight” is derived 1997 : Simpler computer proof by Robertson, Sanders, Seymour, Thomas

  11. What is a mathematical proof? P, P = ⇒ Q inference rules like Q A mathematical proof of a proposition is a chain of logical deductions starting from a set of axioms and leading to the proposition. propositions accepted to be true a statement that is true or false

  12. Euclidian geometry 5 AXIOMS 1 . Any two points can be joined by exactly one line segment. 2 . Any line segment can be extended into one line. 3 . Given any point P and length r, there is a circle of radius r and center P . 4 . Any two right angles are congruent. 5 . If a line L intersects two lines M and N, and if the interior angles on one side of L add up to less than two right angles, then M and N intersect on that side of L.

  13. Euclidian geometry Triangle Angle Sum Theorem Pythagorean Theorem Thales’ Theorem

  14. Euclidian geometry Pythagorean Theorem Proof: ( a + b ) 2 = a 2 + 2 ab + b 2 = 2 ab + c 2 Looks legit.

  15. Proof that square-root(2) is irrational √ 1. Suppose is rational. 2 Then we can find such that . √ a, b ∈ N 2 = a/b 2. If then , √ √ 2 = a/b 2 = r/s where and are not both even. r s √ 3. If then . 2 = r 2 /s 2 2 = r/s 2 s 2 = r 2 4. If then . 2 = r 2 /s 2 2 s 2 = r 2 r 2 5. If then is even, which means is even. r 6. If is even, for some . t ∈ N r = 2 t r 2 s 2 = r 2 2 s 2 = 4 t 2 s 2 = 2 t 2 7. If and then and so . r = 2 t s 2 = 2 t 2 8. If then is even, and so is even. s 2 s

  16. Proof that square-root(2) is irrational √ 1. Suppose is rational. 2 Then we can find such that . √ a, b ∈ N 2 = a/b 2. If then , √ √ 2 = a/b 2 = r/s where and are not both even. r s √ 3. If then . 2 = r 2 /s 2 2 = r/s 2 s 2 = r 2 4. If then . 2 = r 2 /s 2 2 s 2 = r 2 r 2 5. If then is even, which means is even. r 6. If is even, for some . t ∈ N r = 2 t r 2 s 2 = r 2 2 s 2 = 4 t 2 s 2 = 2 t 2 7. If and then and so . r = 2 t s 2 = 2 t 2 8. If then is even, and so is even. s 2 s 9. Contradiction is reached.

  17. Proof that square-root(2) is irrational √ 1. Suppose is rational. 2 Then we can find such that . √ a, b ∈ N 2 = a/b 2. If then , √ √ 2 = a/b 2 = r/s where and are not both even. r s √ 3. If then . 2 = r 2 /s 2 2 = r/s 2 s 2 = r 2 4. If then . 2 = r 2 /s 2 2 s 2 = r 2 r 2 5. If then is even, which means is even. r 6. If is even, for some . t ∈ N r = 2 t r 2 s 2 = r 2 2 s 2 = 4 t 2 s 2 = 2 t 2 7. If and then and so . r = 2 t s 2 = 2 t 2 8. If then is even, and so is even. s 2 s 9. Contradiction is reached.

  18. Proof that square-root(2) is irrational 5a. is even. Suppose is odd. r 2 r 5b. So there is a number such that . r = 2 t + 1 t r 2 = (2 t + 1) 2 = 4 t 2 + 4 t + 1 5c. So . 4 t 2 + 4 t + 1 = 2(2 t 2 + 2 t ) + 1 5d. , which is odd. 5e. So is odd. r 2 5f. Contradiction is reached. Odd number means not a multiple of 2. Is every number a multiple of 2 or one more than a multiple of 2?

  19. Proof that square-root(2) is irrational Odd number means not a multiple of 2. Is every number a multiple of 2 or one more than a multiple of 2? 5b1. Call a number good if or r = 2 t + 1 r = 2 t r for some . t If , . r + 1 = 2 t + 1 r = 2 t If , . r = 2 t + 1 r + 1 = 2 t + 2 = 2( t + 1) Either way, is also good. r + 1 5b2. is good since . 1 = 0 + 1 = (0 · 2) + 1 1 5b3. Applying 5b1 repeatedly, are all good. 2 , 3 , 4 , . . .

  20. Proof that square-root(2) is irrational Axiom of induction: Suppose for every positive integer , there is a n statement . S ( n ) If is true, and for any , S ( n ) = ⇒ S ( n + 1) S (1) n then is true for every . S ( n ) n

  21. Can every mathematical theorem be derived from a set of agreed upon axioms?

  22. Formalizing math proofs Principia Mathematica Volume 2 Frege Russell Whitehead Writing a proof like this is like writing a computer program in machine language.

  23. Interesting consequences: Proofs can be found mechanically. And can be verified mechanically.

  24. What does this all mean for 15-251? A proof is an argument that can withstand all criticisms from a highly caffeinated adversary (your TA).

  25. Lord Wacker von Wackenfels (1550 - 1619)

  26. Kepler Conjecture 1611: Kepler as a New Year’s present (!) for his patron, Lord Wacker von Wackenfels, wrote a paper with the following conjecture. The densest way to pack oranges is like this:

  27. Kepler Conjecture 1611: Kepler as a New Year’s present (!) for his patron, Lord Wacker von Wackenfels, wrote a paper with the following conjecture. The densest way to pack spheres is like this:

  28. Kepler Conjecture 2005: Pittsburgher Tom Hales submits a 120 page proof in Annals of Mathematics . Plus code to solve 100,000 distinct optimization problems, taking 2000 hours computer time. Annals recruited a team of 20 refs. They worked for 4 years. Some quit. Some retired. One died. In the end, they gave up. They said they were “99% sure” it was a proof.

  29. Kepler Conjecture Hales: “I will code up a completely formal axiomatic deductive proof, checkable by a computer.” 2004 - 2014: Open source “Project Flyspeck”: 2015: Hales and 21 collaborators publish “A formal proof of the Kepler conjecture”.

  30. Formally proved theorems Fundamental Theorem of Calculus (Harrison) Fundamental Theorem of Algebra (Milewski) Prime Number Theorem (Avigad @ CMU, et al.) Gödel’s Incompleteness Theorem (Shankar) Jordan Curve Theorem (Hales) Brouwer Fixed Point Theorem (Harrison) Four Color Theorem (Gonthier) Feit-Thompson Theorem (Gonthier) Kepler Conjecture (Hales++)

  31. 1. What is a proof ? 2. How do you find a proof ? 3. How do you write a proof ?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend