Question

Use a Turing Reduction to show that the following language is undecidable. L={ | L(M) is...

Use a Turing Reduction to show that the following language is undecidable. L={ | L(M) is infinite}.

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

L={ | L(M) is infinite}.

The complement of the Halting Problem, denoted by HP(bar), and defined as

HP(bar) = {<M,w>|M is a TM and it does not halt on string w}

HP ̅ (HP bar).ד (<M, x>) = <M’>. M’ on input w:

It runs M on x for |w| steps; it rejects if M halts on x within |w| steps, and accepts otherwise.

We now prove the validity of the reduction:

  • <M, x>€   HP(bar) ̅ => M does not halt on x =>M accepts all strings => L(M’) is infinite => M’ € L.

  • < >> not € H P(bar) =>M halts on x within k steps=>M’ rejects all strings whose length is

greater than or equal to k => L(M’) is finite => M’ not € L.

Add a comment
Know the answer?
Add Answer to:
Use a Turing Reduction to show that the following language is undecidable. L={ | L(M) is...
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