To Prove that L = {M | L(M) = is undecidable in two steps as follows:
Firstly we will Prove that i.e. the complement of L is undecidable by reducing from .
Prove that if L is decidable then so is
Therefore, using the contrapositive,
being undecidable proves that L is undecidable.
first step:
Let be an instance of
Design a machine N, which has hardcoded in its own description, and behaves as follows:
On input T , it first checks whether x = w .
If not, N rejects and halts.
Otherwise, it starts a simulation of M on w ,
using the Universal simulation of Turing machines.
If the simulation leads to acceptance, N accepts.
If the simulation leads to rejection, N rejects.
If the simulation doesn't halt, clearly N will not halt either.
Output N as an instance of This is the reduction.
Note that this can be carried out by a Turing machine, as it simply needs to hardcode into the description of Universal Turing machine,
and it already gets as the input.
Therefore all that remains to be proven is that the reduction is valid.
Let be a positive instance of
In this case, when the input of N is w , it will run the simulation of M on w.
The simulation will lead to acceptance, therefore w belongs to L(N) ,
hence, L(N) is non empty set
Let be a negative instance of.
In this case, N already rejects all inputs other than w .
On input w , it will run a simulation of M on w.
The simulation will either lead to rejection or not halt, and in both cases N doesn't accept w.
Therefore N doesn't accept any input, hence L(N) is empty set
This proves that is belongs to iff N
Hence the reduction is valid.
Therefore, using the fact that is undecidable,
it proves that is undecidable.
---------------------------------------------------------------------------------
2)second step
let L be decidable.
Then there is a Turing machine M which halts on each input and accepts if and only if the input is in L.
Create another Turing machine M' which will behave exactly the same as M except it will have the accept and reject states switched.
Therefore M' will also halt on each input and accept if and only if the input is not in L i.e. is in . This proves that is decidable.
-----------------------------------------------------------------------------------------------
From both step we conclude that L is undecidable.
This completed the required proof .
please answer and I will rate! 3. Let L = {M M is a Turing machine...
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. Prove that {a"6"c" |m,n0}is not a regular language. Answer: 3. Let L = { M M 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 Aty to it, where Arm {<M.w>M is a Turing machine and M accepts Answer: 4. a) Define the concept of NP-completeness b) If A is NP-complete, and A has a polynomial time algorithm, then a polynomial time algorithm...
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 = {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...
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...
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
3. Let L-{(M, q》 | M is a Turing machine and q is a state in M such that: there is at least one input string w such that M executed on w enters state q). Side note: In the real world, you can think of this as a question about finding "dead code" in a program. The question is: for a given line of code in your program, is there an input that will make the program execute that...
(3) Prove that the following language is undecidable L {< M, w> M accepts exactly three strings }. Use a reduction from ArM
A Turing machine M decides a language L is M: Group of answer choices All of these apply. Accepts all strings in L and M rejects all strings not in L. Accepts some strings in L and M rejects some strings not in L. Accepts all strings in L that are recognizable.
Draw the transition graph of a Standard Turing Machine (TM) that accepts the language: L = {(ba)^n cc: n greaterthanorequalto 1} Union {ab^m: m greaterthanorequalto 0} Write the sequence of moves done by the TM when the input string is w = bab. Is the string w accepted?