perlen der informatik i
play

Perlen der Informatik I Jan K ret nsk y Technische Universit at - PowerPoint PPT Presentation

Perlen der Informatik I Jan K ret nsk y Technische Universit at M unchen Winter 2020/2021 Overview 2/65 language: English/German voluntary course lecture on Tuesday, in the slot 10 a.m. 12 p.m.


  1. Perlen der Informatik I Jan Kˇ ret´ ınsk´ y Technische Universit¨ at M¨ unchen Winter 2020/2021

  2. Overview 2/65 ◮ language: English/German ◮ voluntary course ◮ lecture on Tuesday, in the slot 10 a.m. – 12 p.m. ◮ https://www7.in.tum.de/˜kretinsk/teaching/perlen.html ◮ G¨ odel, Escher, Bach: an Eternal Golden Braid by Douglas R. Hofstadter

  3. Bach 3/65 ◮ Frederick the Great ◮ Leonhard Euler,. . . , J.S. Bach ◮ improvised 6-part fugue ◮ canons

  4. Bach 3/65 ◮ Frederick the Great ◮ Leonhard Euler,. . . , J.S. Bach ◮ improvised 6-part fugue ◮ canons

  5. Bach 3/65 ◮ Frederick the Great ◮ Leonhard Euler,. . . , J.S. Bach ◮ improvised 6-part fugue ◮ canons ◮ copies differing in time, pitch, speed, direction (upside down, crab) ◮ isomorphic ◮ canon endlessly rising in 6 steps – “strange loop”

  6. Escher 4/65 “Waterfall” 6-step endlessly falling loop

  7. Escher 4/65 “Ascending and Descending” illusion by Roger Penrose

  8. Escher 4/65 Penrose triangle Faculty of Informatics, Brno

  9. Escher 4/65 “Drawing hands” his first strange loop

  10. Escher 4/65 “Metamorphosis” copies of one theme

  11. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars”

  12. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars” ◮ mathematical reasoning in exploring mathematical reasoning ◮ Incompleteness theorem: All consistent axiomatic formulations of number theory include undecidable propositions. ◮ strange loop in the proof

  13. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars” ◮ mathematical reasoning in exploring mathematical reasoning ◮ Incompleteness theorem: All consistent axiomatic formulations of number theory include undecidable propositions. ◮ strange loop in the proof ◮ statement about numbers can talk about itself “This statement of number theory does not have any proof” code ◮ numbers ↔ statements

  14. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars” ◮ mathematical reasoning in exploring mathematical reasoning ◮ Incompleteness theorem: All consistent axiomatic formulations of number theory include undecidable propositions. ◮ strange loop in the proof ◮ statement about numbers can talk about itself “This statement of number theory does not have any proof” code ◮ numbers ↔ statements 215473077557

  15. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars” ◮ mathematical reasoning in exploring mathematical reasoning ◮ Incompleteness theorem: All consistent axiomatic formulations of number theory include undecidable propositions. ◮ strange loop in the proof ◮ statement about numbers can talk about itself “This statement of number theory does not have any proof” code ◮ numbers ↔ statements 215473077557 is in binary 0011001000101011001100100011110100110101

  16. G¨ odel 5/65 ◮ Brno ◮ Epimenides paradox: “All Cretans are liars” ◮ mathematical reasoning in exploring mathematical reasoning ◮ Incompleteness theorem: All consistent axiomatic formulations of number theory include undecidable propositions. ◮ strange loop in the proof ◮ statement about numbers can talk about itself “This statement of number theory does not have any proof” code ◮ numbers ↔ statements 215473077557 is in binary 0011001000101011001100100011110100110101 read as ASCII 2+2=5 ◮ homework: 34723379178930453204433293597543819411782291432109326918654063662

  17. Mathematical logic 6/65 ◮ different geometries, equally valid ◮ real world? ◮ proof? ◮ Russel’s paradox ◮ “ordinary” sets: x � x ◮ “self-swallowing” sets: x ∈ x ◮ R = set of all ordinary sets ◮ Grelling’s paradox ◮ self-descriptive adjectives (“pentasyllabic”) vs non-self-descriptive ◮ what about “non-self-descriptive”? ◮ self-reference drawing hands The following sentence is false. The preceding sentence is true.

  18. Way out? 7/65 ◮ prohibition (Principia mathematica) ◮ types, metalanguage ◮ “In this lecture, I criticize the theory of types” cannot discuss the type theory ◮ David Hilbert: consistency and completeness

  19. Computers 8/65 ◮ Babbage The course through which I arrived at it was the most entangled and perplexed which probably ever occupied the human mind. Ada Lovelace (daughter of Lord Byron) Mechanized intelligence “Eating its own tail” (altering own program) ◮ axiomatic reasoning, mechanical computation, psycholgy of intelligence ◮ Alan Turing ∼ G¨ odel’s counterpart in computation theory Halting problem is undecidable. Can intelligent behaviour be programmed? Rules for inventing new rules... Strange loops in the core of intelligence ◮ materialism, de la Metrie: L ’homme machine

  20. Formal system 9/65 Example (over alphabet M,I,U ) ◮ initial string (“axiom”): ◮ MI ◮ rules (“inference/production rules”) to enlarge your collection (of “theorems”) requirement of formality: not outside the rules ◮ last letter I ⇒ put U at the end ◮ M x ⇒ M xx where x can be any string ◮ replace III by U ◮ drop UU Homework: Can you produce/derive/prove MU ? ◮ Which rule to use? That’s the art.

  21. Working in the system / observing the system 10/65 ◮ human itellingece ⇒ notice properties of theorems ◮ machine can act unobservant, people cannot Perfect test (“decision procedure”) for theorems ◮ tree of all theorems? ◮ finite time!

  22. Another formal system 11/65 ◮ alphabet { p,q, −} ◮ axioms (axiom schema – obvious decision procedure): x p − q x − for any x composed from hyphens ◮ production rules: x p y q z ⇒ x p y − q z − for any x , y , z composed from hyphens

  23. Decision procedure 12/65 ◮ only lengthening rules ⇒ reduce to shorter ones (top-down) ⇒ dovetailing longer axioms and rule application (bottom-up) ◮ hereditary properties of theorems

  24. Meaning 13/65 Isomorphism ◮ information-preserving transformation ◮ creates meaning ◮ interpretation + correspondence between true statements and interpreted theorems ◮ like cracking a code ◮ meaningless interpretations possible ◮ “well-formed” strings should produce “gramatical” sentences

  25. Meaning is passive in formal systems 14/65 ◮ it seems the system cannot avoid taking on meaning ◮ is --p--p--q------ a theorem? ◮ subtraction ◮ does not add new additions, but we learn about nature of addition ◮ (is reality a formal system? is universe deterministic?)

  26. Is our formal system accurate? 15/65 ◮ 12 × 12: counting vs proof ◮ basic properties to be believed, e.g. commutatitvity and associativity ◮ in reality not always: raindrop, cloud, trinity, languages in India ◮ ideal numbers ◮ counting cannot check Euclid’s Theorem ◮ reasoning ◮ non-obvious result from obvious steps ◮ belief in reasoning ◮ overcoming infinity (“all” N ) ◮ patterned structure binding statements ◮ can thinking be achieved by a formal system?

  27. Escher: Liberation 16/65

  28. Puzzle 17/65 1 3 7 12 18 26 35 45 56 ?

  29. Escher: Mosaic II 18/65

  30. Can we distinguish primes from composites? 19/65 Formal systems ∼ typographical operations: ◮ read, write, copy, erase, and compare symbols ◮ keep generated theorems

  31. Can we distinguish primes from composites? 19/65 Formal systems ∼ typographical operations: ◮ read, write, copy, erase, and compare symbols ◮ keep generated theorems Multiplication: ◮ axiom x t-q x for every hyphen-string x ◮ rule x t y q z ⇒ x t y -q zx for hyphen-strings x , y , z Composites: ◮ rule x -t y -q z ⇒ C z for hyphen-strings x , y , z

  32. Can we distinguish primes from composites? 19/65 Formal systems ∼ typographical operations: ◮ read, write, copy, erase, and compare symbols ◮ keep generated theorems Multiplication: ◮ axiom x t-q x for every hyphen-string x ◮ rule x t y q z ⇒ x t y -q zx for hyphen-strings x , y , z Composites: ◮ rule x -t y -q z ⇒ C z for hyphen-strings x , y , z Primes: ◮ rule: C x is not a theorem ⇒ P x for every hyphen-string x

  33. Can we distinguish primes from composites? 19/65 Formal systems ∼ typographical operations: ◮ read, write, copy, erase, and compare symbols ◮ keep generated theorems Multiplication: ◮ axiom x t-q x for every hyphen-string x ◮ rule x t y q z ⇒ x t y -q zx for hyphen-strings x , y , z Composites: ◮ rule x -t y -q z ⇒ C z for hyphen-strings x , y , z Primes: ◮ rule: C x is not a theorem ⇒ P x for every hyphen-string x ◮ reasoning what cannot be generated is outside of system, requirement of formality

  34. Negative definitions: figure and ground 20/65

  35. Negative definitions: figure and ground 21/65

  36. Negative definitions: figure and ground 22/65 Sets ◮ recursive: decision procedure ◮ recursively enumerable (r.e.): can be generated ◮ non-r.e.

  37. Negative definitions: figure and ground 23/65 Characterize false statements ◮ negative space of theorems ◮ altered copy of theorems Impossible!

  38. Impossibility 24/65 ◮ some negative spaces cannot be positive ◮ = there are non-recursive r.e. sets ◮ ⇒ there are formal sytems with no decision procedure

  39. Primes are recursive 25/65 ◮ axiom xy DND x for hyphen-strings x , y ◮ rules x DND y ⇒ x DND xy --DND z ⇒ z DF-- z DF x and x -DND z ⇒ z DF x - z -DF z ⇒ P z - ◮ axiom P--

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