Let M1 and M2 be arbitrary Turing machines. Prove that the problem “L(M1 ) ⊆ (M2 ) ” is undecidable.
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
We will show that ATM ≤m L1.
L1 = {M1, M2 ) | L(M1) ⊆ L(M2)}.
To Proove : L1 is undecidable
Description of the reduction
Input: (M, w)
i. Construct a machine N1 as follows:
N1 ignores its input x, simulates M on w and ACCEPTS if and only if M accepts w (Observe
That L(N1) = Σ∗ if M accepts w and is ∅ otherwise).
ii. Construct another TM N2 that always accepts its input (i.e., L(N2) = Σ∗).
Output: (N2, N1)
Proof of correctness
If M accepts w, then L(N1) = Σ∗ and thus L(N2) ⊆ L(N1).
On the other hand, if M does not accept w, then L(N1) = ∅, thus L(N2) is not a subset of L(N1).
Therefore,
M accepts w ⇐⇒ L(N2) ⊆ L(N1).
Since we know that ATM is undecidable, therefore L1 is undecidable.
Kindly revert for any queries
Thanks.
Let M1 and M2 be arbitrary Turing machines. Prove that the problem “L(M1 ) ⊆ (M2...
Show that the language {(M1,M2): M1 and M2 are Turing machines with L(M1) is subset of L(M2) is undecidable
A Turing machine that halts on all inputs is called a halting Turing machine (also known as Decider). Prove the following: (a) If M1 and M2 are two halting Turing machines, then there exists a halting Turing machine that recognizes L(M1) ∩ L(M2). (b) If M1 and M2 are two (not necessarily halting) Turing machines, then there exists a Turing machine that recognizes L(M1) ∩ L(M2).
3. Let L= {MM is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove L is undecidable by finding a reduction from Arm to it, where Arm={<M,w>| M is a Turing machine and M accepts w}
2. Let L = {hMi: M is a Turing machine that accepts at least two binary strings}. a) Define the notions of a recognisable language and an undecidable language. [5 marks] b) Is L Turing-recognisable? Justify your answer with an informal argument. [5 marks] c) Prove that L is undecidable. (Hint: use Rice’s theorem.) [20 marks] d) Bonus: Justify with a formal proof your answer to b). [20 marks] 2. Let L-M M): M is a Turing machine that accepts...
Help me answer this question plz! 4. Let L = { (A) M is a Turing machine that accepts more than one string } a) Define the notions of Turing-recognisable language and undecidable language. b) Is L Turing-recognisable? Justify your answer with an informal argument. c) Justify with a formal proof your answer to b) d) Prove that L is undecidable. (Hint: use Rice's theorem.) e) Modify your answer to b) when instead of L you have the language Ln...
2. Let L-M M): M is a Turing machine that accepts at least two binary strings. a) Define the notions of a recognisable language and an undecidable language. [5 marks [5 marks] b) Is L Turing-recognisable? Justify your answer with an informal argument. c) Prove that L is undecidable. (Hint: use Rice's theorem.) [20 marks] 20 marks] d) Bonus: Justify with a formal proof your answer to b). 2. Let L-M M): M is a Turing machine that accepts at...
please answer and I will rate! 3. Let L = {M M is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove Lis undecidable by finding a reduction from Arm to it, where Ayv-<<MwM is a Turing machine and M accepts w). Answer:
Let Show that L is undecidable L = {〈M) IM is a Turing Machine that accepts w whenever it accepts L = {〈M) IM is a Turing Machine that accepts w whenever it accepts
can someone help me with this problem? thanks Prove that there is no algorithm that determines whether an arbitrary Turing machine halts when run with the input string 101. Prove that there is no algorithm that determines whether an arbitrary Turing machine halts when run with the input string 101.
Question 5 Is the following problem decidable: Given two Turing machines Mi and M2 and an input a, does Mi stop on z and M2 does not stop on a (gets to an infinite loop)?