Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question: Let T={<M>|MisaTMthatacceptswRwheneveritacceptsw}. Show that T is undecidable.

Short Answer

Expert verified

T is undecidable problem

Step by step solution

01

Undecidability

A problem is undecidable if no Turing Machine exist which will halt in finite amount of time.

02

Proving T as undecidable

Itโ€™s known that L=w,M:wโ€Šisโ€Šacceptedโ€Šbyโ€ŠM is undecidable. Here, 'w' are all the strings in L accepted by Turing Machine.

Letโ€™s assume that T is decidable, there must be a Turing Machine TM (say A) that can decide T.

For any input w,M, construct M' as:

If we have w=wR, which run M on w and set of alphabets of M be โ€˜โˆ‘โ€™ and a,bโˆ‰โˆ‘.

Let โˆ‘โˆชa,b be the set of alphabets of M'. M' will reject all the possible string except โ€˜abโ€™ for input โ€˜abโ€™ that runs M on w,

  • If M accepts w then M' is rejected.
  • If M rejects then M'is accepted.

Now we going to show that Aaccepts M' if and only if M accepts w.

  • If A accepts M' thenM ' rejects 'ab' and this implies M accepts w since M' rejects all the other strings including ba.
  • If M accept w, then M0 reject ab, because M' rejects all the other strings, thus M' is accepted by A.

Since we have Turing Machine for L, then on input w,M. So we can construct M' and run A on that Turing Machine, is accepted if and only if A accepts it.

But this is against our assumption made earlier at starting, that L is undecidable.

Hence we conclude that T is undecidable.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free