Question

6. (10 points) Prove that the language L = {< M 1 , M 2 >: M, , M 2 are T M s and L(M-) = L(M 2)) is undecidable.

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

L = {<M1,M2>:M1,M2 ARE TMs an L(M1) = L(M2)} is undecidable.

Proof: We prove it by contradiction. We first assume that L is decidable,say the TM ML decides L. We prove that ATM is decidable. Similar as the previous solution, for each pair of M and x, we defined the function Mx . We also define the Turing machine Mc that accepts every string. Then we construct the Turning Machine MATM as follows,

  • On input <M , x>.
  • Construct the Turing machines <Mx , Mc>.
  • Run ML on the input <Mx , Mc>.
  • If ML  accepts the accept; if ML rejects the reject.

Correctness : We prove correctness by two directions.

  • If <M , x> ∈  ATM, e,g , M accepts x. By the definition of  Mx , it accepts everything , which means L(Mx ) = Σ* . Thus L(Mx ) = L(Mc) . Since MLdecides the language L, ML must accept  <Mx , Mc>, Thus by the definition of  MATM ,it accepts <M , x>.
  • If <M , x> ∈  ATM, e,g , M does not accepts x. By the definition of  Mx, it accepts nothing ,which means  L(Mx ) = 0. Thus   L(Mx ) != L(Mc) . Since  MLdecides the language L, ML must reject <Mx , Mc>, Thus by the definition of  MATM ,it rejects  <M , x>.

Combine these two cases, we show that  MATM decides   ATM, which is a contradiction since we know that ATM   is undecidable.

Add a comment
Know the answer?
Add Answer to:
6. (10 points) Prove that the language L = {< M 1 , M 2 >: M, , M 2 are T M s and L(M-) = L(M 2)) is undecidable....
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