Тёмный

Undecidable Problems: Reducibility (Part 2) | A Sample Reduction 

lydia
Подписаться 10 тыс.
Просмотров 33 тыс.
50% 1

To show that the Truth Problem is undecidable, we reduce the Halting Problem to the Truth Problem. In this video, we show the complete reduction. Also, if you use Michael Sipser's Introduction to the Theory of Computation textbook, then the Truth Problem is actually A_TM (defined in chapter 4.2 on page 174 in the 2nd edition).
Here is the proof and reduction in writing (I use 'machine' below, but 'program' means the same thing):
Truth Problem: "Can we build a machine that determines if another machine returns true?"
Halting Problem: "Can we build a machine that determines if another machine halts?"
***** PROOF *****
Suppose T decides the Truth Problem. We define H as follows:
Let H = "On input ❮M❯, where M is a machine:
1. Run T on input ❮M❯.
2. If T returns true, return true and exit. If T returns false, continue to step 3.
3. Construct M’ as follows:
M’ = “On input y:
1. Run machine M on y.
2. If M returns true, return false and exit. If M returns false, return true and exit.”
4. Run T on ❮M'❯ and return what T returns.
If T decides the Truth Problem, then H decides the Halting Problem. But this contradicts the fact that the Halting Problem is undecidable. Therefore, the Truth Problem is undecidable.
***** END PROOF *****
Note: In step 3 of the proof above, I said in the video that we change input ❮M❯. However, in a formal proof, we simply construct a new machine that returns the opposite of what M returns.
To summarize reductions:
1. We can use reductions to show that a problem is unsolvable or undecidable.
2. If problem A reduces to problem B, and problem A is undecidable, then problem B must be undecidable. However, if problem B is decidable, then problem A is decidable.
3. To prove that a problem is unsolvable through a reduction:
i. Find another unsolvable problem A.
ii. Claim that you can reduce problem A to the problem you are trying to show is unsolvable.
iii. Show the complete reduction.
iv. State that the reduction results in a contradiction, since the problem A cannot be solved.
____________________
Additional resources:
• Undecidable Problems: ...
- Previous video (part 1) on reductions.
• The Halting Problem: T...
- My previous video on the Halting Problem, a well known undecidable problem.
Michael Sipser. 2006. Introduction to the Theory of Computation (2nd. ed.). International Thomson Publishing.
- The main source of my Theory of Computation knowledge (a textbook). Read Chapter 5: Reducibility to learn more about reducibility and how a formal proof would look like.
_____________________
And as always, this video project could not have been done without the support and guidance of Audrey St. John at Mount Holyoke College, a truly incredible professor-mentor-human.

Опубликовано:

 

9 дек 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@Moises817
@Moises817 2 года назад
Please come back your videos are the best :( this channel is way too underrated but if you continue the algorithm may bless you
@R2D6138
@R2D6138 2 года назад
Why did you stop uploading videos? :((
@smarkx1276
@smarkx1276 3 года назад
WHY DID YOU STOP UPLOADING???
@timothygorden7689
@timothygorden7689 2 года назад
It's saddening me that you didn't upload videos any more videos, they work great on my brain somehow haha, Having TOC exam in 10h and desperately trying to get as much knowledge into mentioned brained as possible before taking the exam :D Thanks for clearing up reducibility
@KansasFashion
@KansasFashion 3 года назад
The volumn is a little small. If you add up a little when you edit the video, that would be best video on internet.
@monaphilinekomp6911
In two days I have an oral exam about complexity theory and struggle to understand Turing and Karp reductions. I just wanna say your videos are endlessly cute and wholesome and made me so so happy. They make my studies so much more bearable right now. Thank you soooo much!
@lookwhoneedsahobbie
@lookwhoneedsahobbie 2 года назад
This is the first example of a reduction to the halting problem that really made me understand. I can see now why Rice's theorem follows. Any property of a Turing machine can be used to create a new Turing machine that rejects/accepts based on that property and that Turing machine could be used to decide the Halting problem which must be a contradiction. Thank you!!!!
@user-nb2yk9kf9k
@user-nb2yk9kf9k 3 года назад
this is truly very tricky and hard concept
@Zx-Chatgarou
How do we proove smth is reduce-able?
@amankumardwivedi9997
@amankumardwivedi9997 2 года назад
please increase the sound of your videos it is very low .
@katana5356
@katana5356 Год назад
Where are you now? Pls, continue uploading!
@newjade6075
@newjade6075 2 года назад
You are the best. Please continue uploading 🙏 🙂.
@zaker6257
@zaker6257 Год назад
Thank you very much. One of the most intuitive videos I've ever watched. I hope you comeback one day and continue making more videos.
@gemsof279
This is by far the best concept breakdown i ever seen in the RU-vid world, thanks so much for your craft. sad thing, you only made 10 videos :(
@freddy1940
@freddy1940 Год назад
This is the first, and probably only, video ive seen that explains this concept in a way I understand. Excellent!
@muuubiee
@muuubiee 2 года назад
As others have said.
@sanidhyas3s
The quality of content and the simplicity of it is amazing. I am sure you'll find lots of viewers if you start making these videos again!
@jinrongliang5637
@jinrongliang5637 3 года назад
Your voice and your content save my azz* so hard, angel confirmed.
@kikikiia
@kikikiia Год назад
awwwwwwwwww, i just found these videos and i need mooooore T-T<3
@le_science4all
@le_science4all 2 года назад
Great explanations! Thanks for your videos 😁
Далее
P vs. NP and the Computational Complexity Zoo
10:44
Просмотров 3,4 млн
Nonregular languages: How to use the Pumping Lemma
4:56
Как вам наш дуэт?❤️
00:37
Просмотров 1,2 млн
Fast and Furious: New Zealand 🚗
00:29
Просмотров 26 млн
Emptiness for Turing Machines is Undecidable
9:00
Просмотров 17 тыс.
Are There Problems That Computers Can't Solve?
7:58
Просмотров 2,9 млн
Understanding the Halting Problem
6:33
Просмотров 78 тыс.
Turing & The Halting Problem - Computerphile
6:14
Просмотров 851 тыс.
What is the Pumping Lemma
5:11
Просмотров 111 тыс.
The hidden beauty of the A* algorithm
19:22
Просмотров 848 тыс.
What Makes Mario NP-Hard? (Polynomial Reductions)
10:53
Как вам наш дуэт?❤️
00:37
Просмотров 1,2 млн