lydia
lydia
  • 10
  • 794 123
Undecidable Problems: Reducibility (Part 2) | A Sample Reduction
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:
th-cam.com/video/U4yGQp5aCTM/w-d-xo.html
- Previous video (part 1) on reductions.
th-cam.com/video/VyHbd6sx5Po/w-d-xo.html
- 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.
มุมมอง: 36 276

วีดีโอ

Undecidable Problems: Reducibility (Part 1) | What are Reductions?
มุมมอง 50K3 ปีที่แล้ว
A reduction is when we view a problem as another, and by solving the new problem, we solve our initial problem. For example, we may reduce our problem of getting around a new city, to the problem of finding a map of the city; by finding a map, we solve our initial problem of finding our way. We use reductions in computer science to prove that some problems are undecidable or unsolvable. Reducti...
Nonregular languages: How to use the Pumping Lemma
มุมมอง 88K4 ปีที่แล้ว
We know that all regular languages must satisfy the pumping lemma. This means we can use the pumping lemma to prove that a language is NOT regular by showing that it does NOT satisfy the pumping lemma. This video provides a little more intuition for how such a proof works. If you aren't yet familiar with what exactly the pumping lemma is, check this video out first: th-cam.com/video/qtnNyUlO6vU...
What is the Pumping Lemma
มุมมอง 132K4 ปีที่แล้ว
Every regular language must satisfy the pumping lemma. The formal statement of the pumping lemma is this: If A is a regular language, then there is a pumping length p, where if s is any string in A that is at least length p, then s may be divided into 3 pieces, s = xyz, satisfying the following conditions: 1. for each i ≥ 0, xyⁱz ∈ A 2. |y|﹥0 3. |xy| ≤ p The lemma can be a little tricky to unde...
Regular Operations
มุมมอง 24K4 ปีที่แล้ว
The three regular operations are the union, concatenation, and star operations on languages-the video goes through what exactly that means! You should feel comfortable with regular languages and the operations, as well as NFAs and DFAs before watching this video. If not, you could always watch our previous videos (links below) as review. :) Additional resources: th-cam.com/video/miOofcAiINM/w-d...
The Halting Problem: The Unsolvable Problem
มุมมอง 152K4 ปีที่แล้ว
One of the most influential problems and proofs in computer science, first introduced and proved impossible to solve by Alan Turing. The video provides the idea of this incredibly clever proof. I highly recommend anyone who is comfortable with mathematical proofs to read the formal proof to the problem (look at additional resources below for information). Also, the video does not cover this, bu...
Regular Languages: Nondeterministic Finite Automaton (NFA)
มุมมอง 65K4 ปีที่แล้ว
How are nondeterministic finite automata (NFAs) different from DFAs? This video provides an introduction to NFAs, also one of the simple computational models and another kind of finite state machine. Additional resources: th-cam.com/video/PK3wL7DXuuw/w-d-xo.html - My previous video on finite state machines and DFAs. Understanding what finite state machines are exactly will be very helpful in le...
Regular Languages: Deterministic Finite Automaton (DFA)
มุมมอง 107K4 ปีที่แล้ว
The finite state machine (also known as finite automaton) is the simplest computational model. This video covers the basics of finite state machines, and provides an introduction to deterministic finite automata (DFAs) and regular languages. Additional resources: th-cam.com/video/miOofcAiINM/w-d-xo.html - My previous video on languages. I recommend watching it before this video. Michael Sipser....
Introduction to Languages, Strings, and Operations
มุมมอง 32K4 ปีที่แล้ว
An introduction to languages, strings, and operations-core concepts to building machines in theory of computation. Additional resources: 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). I suggest looking at chapter 0.2: Mathematical Notions and Terminology if you wo...
Why study theory of computation?
มุมมอง 109K4 ปีที่แล้ว
What exactly are computers? What are the limits of computing and all its exciting discoveries? Are there problems in the world that computers can never, EVER solve? Theory of computation is the fascinating theoretical study of computer science that explores the limitations of computing-which, of course, anyone can learn. :) Additional resources: Michael Sipser. 2006. Introduction to the Theory ...

ความคิดเห็น

  • @user-resellia
    @user-resellia 8 ชั่วโมงที่ผ่านมา

    Thank you sooo much , I was suffering to understand this point and when I watch your video I understand it immediately ❤

  • @lvish_sharma_
    @lvish_sharma_ 3 วันที่ผ่านมา

    Thank you so much for putting effort into making this. You're amazing.

  • @EleazarNjui
    @EleazarNjui 3 วันที่ผ่านมา

    So chill I like the content👍🏿

  • @miraliseyyedisahebari177
    @miraliseyyedisahebari177 3 วันที่ผ่านมา

    Noooooo lydia !!! Don't leave us alone

  • @miraliseyyedisahebari177
    @miraliseyyedisahebari177 5 วันที่ผ่านมา

    Thanks for making halting problem so cute

  • @BhuviPAradhya
    @BhuviPAradhya 7 วันที่ผ่านมา

    woahh this was awesome!!!!

  • @swafly
    @swafly 7 วันที่ผ่านมา

    lol i love the doodles, so helpful! thanks!

  • @merkezbir8663
    @merkezbir8663 8 วันที่ผ่านมา

    Better than sermutlu guy on TH-cam but taylant is great

  • @tunaylmaz7405
    @tunaylmaz7405 8 วันที่ผ่านมา

    i am watching this like 30 minutes before my quiz and what was i doing love it so much easier

  • @TvideosTv
    @TvideosTv 8 วันที่ผ่านมา

    good video, loved the animationkk

  • @shivanggarg2270
    @shivanggarg2270 9 วันที่ผ่านมา

    this was awesome genuinely

  • @mandarinasinpepa7963
    @mandarinasinpepa7963 10 วันที่ผ่านมา

    please come back :(

  • @sahilghuge5302
    @sahilghuge5302 10 วันที่ผ่านมา

    can u suggest some really good books to get notes on this topic?

  • @sahilghuge5302
    @sahilghuge5302 10 วันที่ผ่านมา

    OMG loved your video!! thanks a lot

  • @fcstefan01
    @fcstefan01 11 วันที่ผ่านมา

    Simple and to the point! Does anyone know how we settle on the pumping length p?

  • @xiaoqingtian6542
    @xiaoqingtian6542 12 วันที่ผ่านมา

    You saved my life within 5 minutes.

  • @matinaminsabouri
    @matinaminsabouri 19 วันที่ผ่านมา

    Thank you so much

  • @JessicaReginadosSantos
    @JessicaReginadosSantos 20 วันที่ผ่านมา

    BEST FREAKIN' EXPLENATION IN THE WORLD, THANK YOU SO SO SO MUCH <3

  • @igorying8548
    @igorying8548 21 วันที่ผ่านมา

    Clear and concise ! Quite understandable even for me! Thanks!

  • @aviuss
    @aviuss 23 วันที่ผ่านมา

    <3 Awesome explanation and ilustrations!!!

  • @samkelo_m_
    @samkelo_m_ 24 วันที่ผ่านมา

    This explanation is two good🤌🏾

  • @Kraboobee
    @Kraboobee 26 วันที่ผ่านมา

    I rewatch all your videos before each of my formal logic assignments. Thanks so much for these

  • @aymansoliman1783
    @aymansoliman1783 29 วันที่ผ่านมา

    Did this lady just explain the 45 mins. lecture I've been studying?!

  • @mv8309
    @mv8309 29 วันที่ผ่านมา

    Thanks for this ❤

  • @tejas.873
    @tejas.873 หลายเดือนก่อน

    Wow this was the simplest yet most interesting and helpful video explanation!!

  • @Randomguy-zv3tv
    @Randomguy-zv3tv หลายเดือนก่อน

    impressive video, Gave a great context. You deserve subscription

  • @gojoslefttiddy
    @gojoslefttiddy หลายเดือนก่อน

    queen

  • @marcscherzer
    @marcscherzer หลายเดือนก่อน

    What if someone says "I always lie"? Do you think that person is being honest?

    • @paulblart7378
      @paulblart7378 หลายเดือนก่อน

      If that statement is true, then it's true that "I always lie" is a lie, which is a paradox. If that statement is false, then "I don't always lie" must be true. It doesn't necessarily mean that they always tell the truth, just that they don't lie all the time. No paradox there. So logically, anyone who says "I always lie" must be lying.

  • @akanocalebtaiwo
    @akanocalebtaiwo หลายเดือนก่อน

    Thank you !

  • @SharonMurray-l8q
    @SharonMurray-l8q หลายเดือนก่อน

    Klein Ranch

  • @donneal236
    @donneal236 หลายเดือนก่อน

    Schiller Divide

  • @AbcdEfgh-nq5bw
    @AbcdEfgh-nq5bw หลายเดือนก่อน

    Is there any Language L such that L is not regular but L^2 is regular?

  • @sandeeptech8
    @sandeeptech8 หลายเดือนก่อน

    Thank you Lydia!

  • @BrewsterMartha
    @BrewsterMartha หลายเดือนก่อน

    885 Desmond Forges

  • @TamSar-k1g
    @TamSar-k1g หลายเดือนก่อน

    Stokes Cape

  • @NathanPugs
    @NathanPugs หลายเดือนก่อน

    You explain it way better than my college professors who we have to give $1,000 too to teach us.

  • @DonnaLewis-n2n
    @DonnaLewis-n2n หลายเดือนก่อน

    Rohan Mission

  • @RogerAbbott-g6p
    @RogerAbbott-g6p หลายเดือนก่อน

    Bechtelar Drives

  • @jakeaustria5445
    @jakeaustria5445 หลายเดือนก่อน

    I don't know what field of math this is, but it's interesting. Can't help thinking about pumping though. Thanks

  • @leof5545
    @leof5545 หลายเดือนก่อน

    This is wrong, H can't be wrong by definition. What would happen is that H would loop, forcing D into a true loop.

    • @paulblart7378
      @paulblart7378 หลายเดือนก่อน

      H by definition cannot get stuck, it must output. So your case isn't a possible situation. Also, the very thing that makes H wrong is its own existence, so it's impossible for H to never be wrong. It was just our assumption, which is false.

  • @JessicaHarris-x7w
    @JessicaHarris-x7w หลายเดือนก่อน

    Johnson Amy Moore Jennifer Clark Margaret

  • @LauraYoung-w6z
    @LauraYoung-w6z หลายเดือนก่อน

    Feeney Mountains

  • @BradleyElton-t7r
    @BradleyElton-t7r หลายเดือนก่อน

    Conroy Route

  • @MargeryPhyllis
    @MargeryPhyllis 2 หลายเดือนก่อน

    9150 Armstrong Locks

  • @BoswellZora
    @BoswellZora 2 หลายเดือนก่อน

    362 Bahringer Manors

  • @SethuSenthil
    @SethuSenthil 2 หลายเดือนก่อน

    Thank u smmmmm!!!!!! I was gonna drop the class until I found ur chennel

  • @FerminaHaddenProakzmia
    @FerminaHaddenProakzmia 2 หลายเดือนก่อน

    Davis Helen Young Charles Jones Brenda

  • @AnnaMoore-n9m
    @AnnaMoore-n9m 2 หลายเดือนก่อน

    Ari Estates

  • @SophiaZora-y8f
    @SophiaZora-y8f 2 หลายเดือนก่อน

    315 Alycia Crest

  • @ErickCitrino
    @ErickCitrino 2 หลายเดือนก่อน

    47797 Johann Harbor