powerpoint presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return...

29

Upload: others

Post on 16-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017
Page 2: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

2

Page 3: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• Σ

Σ

Σ

3

Page 4: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

4

Page 5: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

5

HALT

Page 6: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

6

For all n>2

there are no natural a,b,csuch that an+bn= cn.

I have a trulymarvelous demonstration of this proposition which this margin is too narrow to contain.

Page 7: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

7

FERMAT()𝑡 ← 3while true

for all 𝑛 ∈ 3,… , 𝑡 and 𝑥, 𝑦, 𝑧 ∈ 1,… , 𝑡if 𝑥𝑛 + 𝑦𝑛 = 𝑧𝑛 then return 𝑥, 𝑦, 𝑧, 𝑛

end for𝑡 ← 𝑡 + 1

end while

Page 8: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

8

Page 9: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

HALT 𝑝𝑟𝑜𝑔𝑟𝑎𝑚, 𝑖𝑛𝑝𝑢𝑡

• Halt(Turing,Turing)o Halt(Turing,Turing) Turing(Turing)

o Halt(Turing,Turing) Turing(Turing)

9

Turing 𝑝𝑟𝑜𝑔𝑟𝑎𝑚if HALT(𝑝𝑟𝑜𝑔𝑟𝑎𝑚, 𝑝𝑟𝑜𝑔𝑟𝑎𝑚) then

loop foreverelse

return true

Page 10: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

⟨𝑀⟩ 𝑀𝑀𝐻𝐴𝐿𝑇 ⟨𝑀,𝑀⟩

• HALT = { 𝑀, 𝑥 ∶ 𝑀 is a TM that halts on 𝑥}

• 𝑀𝐻𝐴𝐿𝑇 HALT

• 𝑀𝑇𝑈𝑅𝐼𝑁𝐺

10

Page 11: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• HALT = { 𝑀, 𝑥 ∶ 𝑀 is a TM that halts on 𝑥}

• 𝑀𝐻𝐴𝐿𝑇 HALT

• 𝑀𝑇𝑈𝑅𝐼𝑁𝐺

11

⟨𝑀⟩ 𝑀𝐻𝐴𝐿𝑇⟨𝑀,𝑀⟩

✕ ✔

𝑀𝑇𝑈𝑅𝐼𝑁𝐺

Page 12: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

12

⟨𝑀⟩ 𝑀𝐻𝐴𝐿𝑇⟨𝑀,𝑀⟩

✔∞

✕ ✔

⟨𝑀𝑇𝑈𝑅𝐼𝑁𝐺⟩𝑀𝑇𝑈𝑅𝐼𝑁𝐺?

𝑀𝑇𝑈𝑅𝐼𝑁𝐺

Page 13: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

⋯13

⋯⋯ ⋯ ⋯ ⋯ ⋯

𝑀1

𝑀2

𝑀3

𝑀4

𝑀5

⟨𝑀1⟩

⋯𝑀𝑇𝑈𝑅𝐼𝑁𝐺

⟨𝑀2⟩ ⟨𝑀3⟩ ⟨𝑀4⟩ ⟨𝑀5⟩

Page 14: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

14

Page 15: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• 𝐴 ≤ 𝐵 𝐵𝐴

o 𝐵 ⟹ 𝐴

o 𝐴 ⟹ 𝐵

𝐵

15

𝐴

Page 16: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• 𝐴 𝐵𝐴 𝐵

𝐴 ≤ 𝐵 𝐴𝐵

16

𝑀𝐴

𝑥𝑀𝐵𝑦

Page 17: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

17

𝐵

HALT ≤ 𝐵

Page 18: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• ACCEPTS = { 𝑀, 𝑥 ∶ 𝑀 is a TM thataccepts 𝑥}

o 𝑀, 𝑥 ∈ ACCEPTS ⟹ 𝑥𝑀

o 𝑀, 𝑥 ∉ ACCEPTS ⟹ 𝑥𝑀

• ACCEPTS

18

Page 19: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

19

𝑀𝐻𝐴𝐿𝑇

⟨𝑀, 𝑥⟩

✔𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆

𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆

⟨𝑀, 𝑥⟩

⟨𝑀⟩ ⟨𝑀′⟩

⟨𝑀′, 𝑥⟩ ✔

Page 20: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• HALT ≤ ACCEPTS

• 𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆 ACCEPTS

• HALTo ⟨𝑀, 𝑥⟩ 𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆 ⟨𝑀, 𝑥⟩

o

o 𝑀 𝑀′

o 𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆 ⟨𝑀′, 𝑥⟩

o

o 𝑀, 𝑥 ∈ HALT

o 𝑀, 𝑥 ∉ HALT ∎

20

Page 21: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• EMPTY = { 𝑀 ∶ 𝑀 is a TM that acceptsnothing}

• EMPTY

21

E F

Page 22: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

• ACCEPTS ≤ EMPTY

• ⟨𝑀, 𝑥⟩ 𝑀𝑥 𝑦𝑀(𝑥)

• 𝑀𝐴𝐶𝐶𝐸𝑃𝑇𝑆 𝑀𝑥

𝑀𝐸𝑀𝑃𝑇𝑌(⟨𝑀𝑥⟩)

o 𝑀 𝑥 ⟹ 𝐿 𝑀𝑥 = Σ∗ ⟹𝑀𝐸𝑀𝑃𝑇𝑌 ⟨𝑀𝑥⟩

o 𝑀 𝑥 𝑥 ⟹ 𝐿 𝑀𝑥 = ∅⟹𝑀𝐸𝑀𝑃𝑇𝑌 𝑀𝑥 ∎

22

Page 23: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

23

Page 24: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

24

𝑎

𝑎𝑏

𝑎

𝑐𝑎𝑏𝑐

𝑏𝑐𝑐

𝑐

𝑎

𝑎𝑏

𝑏𝑐𝑐

𝑐

𝑎

𝑐𝑎𝑏𝑐

𝑏𝑐𝑐

𝑐

Page 25: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

25

Page 26: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

o https://youtu.be/RG2uPLG5K48

o

o ¬∃𝑥, 𝑦, 𝑧, 𝑛 ∈ ℕ: 𝑛 ≥ 3 ∧ 𝑥𝑛 + 𝑦𝑛 = 𝑧𝑛

o

o

o 3𝑥2 − 2𝑥𝑦 − 𝑦2𝑧 − 7 = 0 (𝑥 = 1, 𝑦 = 2, 𝑧 = −2)

o

o

26

Page 27: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

1. EQ = 𝑀,𝑀′ ∶ 𝑀,𝑀′ TMs, 𝐿 𝑀 = 𝐿(𝑀′)

2. GRAVITON = ∅ {1}

27

Page 28: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

28

Page 29: PowerPoint Presentationaada/courses/15251f17/www/slides/251f17-8s.pdf · loop forever else return true 〈 〉 ... PowerPoint Presentation Author: Ariel Procaccia Created Date: 9/22/2017

o HALT, ACCEPTS, EMPTY

o

o

o HALT, ACCEPTS, EMPTY

o

29