Chapter 4: How Universal Are Turing Machines? CS105: Great Insights in Computer Science

Similar documents
2 nd Int. Conf. CiiT, Molika, Dec CHAITIN ARTICLES

Leadership in My Rearview Mirror. Professor Bill Badger

Logical Foundations of Mathematics and Computational Complexity a gentle introduction

Introduction: A Musico-Logical Offering

Learning to Fly. You bin playing my DS? You broke mine! Stanley lived with his dad and older brother Kyle.

Jesus said that to prove his divinity. You re not Jesus. It s not funny to even joke about.

CS/MA 109 Quantitative Reasoning. Wayne Snyder Computer Science Department Boston University

Fallacies and Paradoxes

Monday, August 6, 2012

Mathematics, Proofs and Computation

Preview of Literary Terms /24/14 1

Scientific Philosophy

MATH 195: Gödel, Escher, and Bach (Spring 2001) Notes and Study Questions for Tuesday, March 20

Leadership in My Rearview Mirror. Professor Bill Badger

Robot Preemptive Troubleshooting

English as a Second Language Podcast ESL Podcast 282 Offending Someone

PROFESSOR: I'd like to welcome you to this course on computer science. Actually, that's a terrible way to start.

I typed Pythagoras into a search terminal in the M.D. Anderson Library. Is Pavlovian the

MATHEMATICAL THINKING

Metaphors. Metaphor Simile Tenor & Vehicle Extended Metaphor Mixed Metaphor

MLK s I Have a Dream speech is a great example. I have a dream that Is repeated often.

Here s a question for you: What happens if we try to go the other way? For instance:

1 EXT. STREAM - DAY 1

Five Tapping Scripts to get you Started

DRAMA SCRIPTS - 3 x 5 minute plays Target audience: 7-11 year olds

100% Effective Natural Hormone Treatment Menopause, Andropause And Other Hormone Imbalances Impair Healthy Healing In People Over The Age Of 30!

Lesson 42: Discussing the News

U = {p, q, r, s, t, u, v, w, x, y, z} A = {p, r, t, v, z} B = {q, s, u, w, y} C = {p, s, v, y} D = {z} f) g) h) i)

Validity. What Is It? Types We Will Discuss. The degree to which an inference from a test score is appropriate or meaningful.

On the Infinity of Primes of the Form 2x 2 1

Mobile Math Teachers Circle The Return of the iclicker

What I know now. True to Me / Five Sessions / Worksheet

MAT 4040: Senior Capstone Today: Intro & Controversy in Equations

#Youthvoice2016. Young Voices

SAMPLE LESSON FROM THE PEACE OF MIND CORE CURRICULUM FOR GRADES 1 AND 2

Janice Lee. Recitation 2. TA: Milo Phillips-Brown

Professor Weissman s Algebra Classroom

I Wish I Had... Preparatory Reading TALK ABOUT REGRETS, UNREAL PAST CONDITIONAL, EXPRESSING REGRETS

A Child Thinking About Infinity

I HAD TO STAY IN BED. PRINT PAGE 161. Chapter 11

Romeo and Juliet. a Play and Film Study Guide. Student s Book

Part One. Fate smiled and destiny laughed as she came to my cradle... Natalie Merchant, Wonder

MIT Alumni Books Podcast The Proof and the Pudding

Dinosaurs. B. Answer the questions in Hebrew/Arabic. 1. How do scientists know that dinosaurs once lived? 2. Where does the name dinosaur come from?

...so you don't just sit! POB Ames, IA / / fax 4

An Introduction to Cryptography

THEME THE SEARCH FOR MEANING

From Pythagoras to the Digital Computer: The Intellectual Roots of Symbolic Artificial Intelligence

WHO AM I? by Hal Ames

Chapter 7 Probability

BBC LEARNING ENGLISH The Grammar Gameshow

Cambridge Introductions to Philosophy new textbooks from cambridge

Bart vs. Lisa vs. Fractions

Name: per date: Uglies Study Guide

Imagery Metaphor Simile Personification Hyperbole Idioms. Figurative Language

Cryptography CS 555. Topic 5: Pseudorandomness and Stream Ciphers. CS555 Spring 2012/Topic 5 1

FALL/WINTER STUDY # SELF-ADMINISTERED QUESTIONNAIRE 1 CASE #: INTERVIEWER: ID#: (FOR OFFICE USE ONLY) ISR ID#:

YOU'LL MISS ME WHEN I'M GONE. Written by. Richard Russell

Common Human Gestures

Sound UNIT 9. Discussion point

Lesson 12: Infinitive or -ING Game Show (Part 1) Round 1: Verbs about feelings, desires, and plans

MITOCW watch?v=vifkgfl1cn8

Warm-up: 9/11 Tribute Video

In the questions below you must rearrange the words so that each sentence makes sense.

1 Lesson 11: Antiderivatives of Elementary Functions

Tips for how to reel in your ruminations and keep your peace in the present moment.

LESSON 21 Expressing Empathy and Understanding for Others

Grammar, Vocabulary, and Pronunciation

Look Mom, I Got a Job!

Trudy Pashe Narrator. Deborah Locke Interviewer. Dakota Tipi First Nation Portage la Prairie, Manitoba, Canada January 19, 2012

BenQ E2400HD Review by: SirGCal November 9, 2008

The Watsons Go to Birmingham 1963

Scene 1: The Street.

Jacob listens to his inner wisdom

The Lazy Man Explains the Irrational. E. L. Lady

DIFFERENTIATE SOMETHING AT THE VERY BEGINNING THE COURSE I'LL ADD YOU QUESTIONS USING THEM. BUT PARTICULAR QUESTIONS AS YOU'LL SEE

Lexie World (The Three Lost Kids, #1) Chapter 1- Where My Socks Disappear

A Guide to Paradigm Shifting

Extreme Improv Extreme Pleading (Table Draft - 1/10/2013) Written by Steve Trautmann. Created by Steve Trautmann and Mike Bach

Little Jack receives his Call to Adventure

Song: I Want To Hold Your Hand

Everyone Came But No One Was There

The Return to the Hollow

LAB 1: Plotting a GM Plateau and Introduction to Statistical Distribution. A. Plotting a GM Plateau. This lab will have two sections, A and B.

Math Released Item Grade 5. Whole Number and Fraction Part 0542-M02399

Paradoxical Thinking

beetle faint furry mind rid severe shiver terrified 1. The word ' ' describes something that has a lot of hair, like a cat or a rabbit.

Common Denominators. of a cake. And clearly, 7 pieces don t make one whole cake. Therefore, trying to add 1 4 to 1 3

Disquotation, Conditionals, and the Liar 1

Responding to hard times in Srebrenica Special skills and knowledge in Bosnia Herzegovina

EXCERPT FROM WILLING OBJECTS BY SERAFINA DONAHUE

- ENGLISH TEST - PRE-INTERMEDIATE 100 QUESTIONS / KEYS

Literary Terms. 7 th Grade Reading

Woden s Day, August 13: Multi Task

NETFLIX MOVIE RATING ANALYSIS

MITOCW big_picture_integrals_512kb-mp4

Understanding Cryptography A Textbook for Students and Practitioners by Christof Paar and Jan Pelzl. Chapter 2 Stream Ciphers ver.

MITOCW max_min_second_der_512kb-mp4

A Note on Unawareness and Zero Probability

Listen and repeat the words. Pay attention to the /æ/ and /e/ sounds. Listen and circle the word you hear. Then listen and repeat both words.

Transcription:

Chapter 4: How Universal Are Turing Machines? CS105: Great Insights in Computer Science

QuickSort quicksort(list): - if len of list <= 1: return - [list1, list2] = partition(list) - quicksort(list1) - quicksort(list2)

Quicksort cont... List 7 3 8 2 5 1 4 6 9

Quicksort cont... List 7 3 8 2 5 1 4 6 9

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 7 6 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 7 6 9 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 7 6 9 4

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 7 6 9 4 6

Quicksort cont... List 7 3 8 2 5 1 4 6 9 3 2 1 4 7 8 6 9 1 3 4 7 6 9 4 6

Church-Turing Thesis Usually taken to mean that any machine computation can be carried out on a Turing machine. Sometimes expanded to mean that any physical system can be simulated on a Turing machine. And, since brains are physical systems, our minds must be equivalent to Turing machines!

Quantum Effects Pseudo-random-based encryption always has a chance of being cracked. Only source of true randomness: quantum mechanics (the rest of physics is deterministic, if chaotic). Einstein didn t like it. Tough.

Quantum Randomness

Quantum Computer A quantum bit (qubit) is simultaneously zero and one (a superposition). n qubits can represent 2 n possibilities. When you look, one possibility presents itself, according to well understood probabilistic rules. A kind of parallel search. Shor: A computer with qubits can factor numbers in polynomial time!

If Factoring is Easy... quantum computers invalidate standard cryptosystems. No more secrets. However, they also open up some wild possibilities. quantum cryptography: qubits can be completely random and correlated at a distance. Can be used to send absolutely secret messages.

Today s Advice My only piece of advice for today: Don t listen to anything I say today; it will hurt your head.

Self Contradiction The main topic today is self reference and self contradiction. The idea is that interesting things happen when something can refer to itself and assert that it has properties that negate its own existence.

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/:

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality 5. Dodge Ram

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality 5. Dodge Ram 4. Work Party

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality 5. Dodge Ram 4. Work Party 3. Jumbo Shrimp

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality 5. Dodge Ram 4. Work Party 3. Jumbo Shrimp 2. Healthy Tan

Oxymorons We re all familiar with oxymorons: words that harbor two conflicting meanings. Top ten list from http://www.oxymoronlist.com/: 20. Government Organization 19. Alone Together 18. Personal Computer 17. Silent Scream 16. Living Dead 15. Same Difference 14. Taped Live 13. Plastic Glasses 12. Tight Slacks 11. Peace Force 10. Pretty Ugly 9. Head Butt 8. Working Vacation 7. Tax Return 6. Virtual Reality 5. Dodge Ram 4. Work Party 3. Jumbo Shrimp 2. Healthy Tan 1. Microsoft Works

Surface Contradiction Examples seem incongruous, but they all actually make sense. - jumbo shrimp just means pretty big for a shrimp, which makes perfect sense. The contradiction isn t very deep.

You Don t Say... We're not f-ing bitter! I am not in denial. Eschew obfuscation. When you least expect it, expect it. But, I don't speak English. I m not talking to you. I can t talk right now. I m sorry, but I just don t care. Leave me be, I m asleep. I m speechless. I prefer not to have an opinion. As a general rule, we handle everything on a case-by-case basis. I told you he s unpredictable! OK is oll korrect (1939)! Don t let me pressure you!

Unquotable Know what I hate most? Rhetorical questions. (Camp) They all laughed when I said I was going to be a comedian. Well, they're not laughing now. (Munkhouse) If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity. (Vaughan) You know what I hate? Indian givers...no, I take that back. (Phillips) Last month I blew $5,000 on a reincarnation seminar. I figured, hey, you only live once. (Shakes) I almost had a psychic girlfriend but she left me before we met. Plan to be spontaneous tomorrow. I'd kill for a Nobel Peace Prize. I was trying to daydream, but my mind kept wandering. (Wright)

Untitled by Anonymous

Escher Parody

Serious Fun There s a weird idea here: You shouldn t be able to create a statement that, if interpreted properly, results in another statement that contradicts the original statement. It s a go back in time and kill your own grandfather sort of thing. There are a bunch of deep mathematical insights that come from applying this idea. Here s a quick survey before the main event.

Russell s Paradox In the town of Chelm, there s a barber. The barber is required to shave every man in town who does not shave himself. Who shaves the barber? For the statement to be true: - If he shaves himself, then he does not need to shave himself. - If he does not shave himself, then he needs to shave himself.

Naive Set Theory This example was created to show that there are limitations to how you can create meaningful sets. If there is unrestricted self-reference, you can create impossible situations.

Gödel s Theorem This statement cannot be proven. Kurt Gödel showed that any system of mathematics that includes the integers can express this self-referential statement. - If it s true, you can t prove it! (Incompleteness.) - If it s false, you can prove something that s false! (Inconsistency.) Tough choice.

Cantor s Diagonalisation How many fractions are there? Infinite. How many decimals are there? Infinite. Are they the same size infinity? Well, we can make an infinitely long list that includes every fraction:

List of Fractions Start with all the fractions where the numerator and denominator add up to 1, then 2, then 3. Every fraction must eventually appear. 0/1 0/2 1/1 0/3 1/2 0/4 1/3 2/2 0/5 1/4 2/3 0/6 1/5 2/4 3/3 0/7 1/6 2/5 3/4 0/8 1/7 2/6 3/5 4/4 0/9 1/8 2/7 3/6 4/5 0/10 1/9 2/8 3/7 4/6 5/5...

And The Decimals? Can we list all the decimals? The add to a constant trick doesn t work anymore, since we have decimals like 0.3333... where the digit sum is infinite. So, let s say we can list them all. Here s the list, hypothetically:

On The List? Read down the diagonal. 0.5898032467... Add 1 to each digit (with wraparound). 0.6909143578... The resulting decimal is not on the list! (Differs from the ith one in the ith digit.) 0.57953916570123654 0.98877675309679680 0.54921087722147810 0.97889400202076116 0.68930952976230064 0.73758318399567813 0.33201823212447767 0.62085164445848273 0.22859580612307950 0.26912510570620329...

On The List? Read down the diagonal. 0.5898032467... Add 1 to each digit (with wraparound). 0.6909143578... The resulting decimal is not on the list! (Differs from the ith one in the ith digit.) 0.57953916570123654 0.98877675309679680 0.54921087722147810 0.97889400202076116 0.68930952976230064 0.73758318399567813 0.33201823212447767 0.62085164445848273 0.22859580612307950 0.26912510570620329...

Conclusion You can t make a list of all the decimals. You can make a list of all the fractions. There are more decimals (real numbers) than fractions (rational numbers)!