Question

(3) Prove that the following language is undecidable L {< M, w> M accepts exactly three strings }. Use a reduction from ArM
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Suppose there is an algorithm say Decideacceptthree that correctly decide the language l.

Decidehalt is constructed as follows:

1) input is <M,w>

Where M is a code for turing machine and w is a string.

2) code for the turing machine are as given below:

Input is string x and x is exactly one of three string "a","b","c".

run M on input w.

If M reject w than reject otherwise accept when x is exactly one of the three strings "a","b","c".

Put this Mw to Decideacceptthree if accept than accept.

If Decideacceptthree reject than reject.

If language Mw contain exactly three strings than M accepts w.so Decideacceptthree (Mw) accept when M accepts w.

If language of Mw is empty string than M does not accepts w.

So Decidehalt decide ATM.

As we know that ATM is undecidable so Decidehalt can not be exist.

so language l is undecidable.

Add a comment
Know the answer?
Add Answer to:
(3) Prove that the following language is undecidable L {< M, w> M accepts exactly three...
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