Question

5. Show this is undecidable: TMREJ = {(M, W) on input w, Turing machine M eventually enters the reject state }

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Lets proof it by contradiction.

Lets assume There is a decider D for TM_REJ.

Now with that we can design an algorithm for Halting problem:

On input,turing machine M and input w:

   1. We run <M,w> on D,if D accepts means M reject w,so we will output yes as it is halting on rejecting.

   2. We design another turing machine M1 by interchanging the accepting and rejecting states of M.

      And then run <M1,w> on D,if D accpets means M1 rejects w,which implies M accepts w.So we will  

      output yes as it is halting on accepting.

3. Else we will output no as it is not halting.

So we see we can decide halting problem of turing machine by using the D.But we know halting problem is undecidable,so it is contradiction,no D can exists.

So TM_REJ is undecidable.

Add a comment
Know the answer?
Add Answer to:
5. Show this is undecidable: TMREJ = {(M, W) on input w, Turing machine M eventually...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT