ANSWER :
Prove that L = \{M | L(M) = \emptyset\} is undecidable in two steps as follows:
Prove that \overline{L} i.e. the complement of L is undecidable
by reducing from A_{TM} .
Prove that if L is decidable then so is \overline{L} . Therefore,
using the contrapositive, \overline{L} being undecidable proves
that L is undecidable.
To prove the first step, the reduction is as follows:
Let \langle M,w\rangle be an instance of A_{TM} . Design a
machine N, which has \langle M,w\rangle 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 \overline{L} . This is the reduction. Note that this can be carried out by a Turing machine, as it simply needs to hardcode \langle M,w\rangle into the description of Universal Turing machine, and it already gets \langle M,w\rangle as the input. Therefore all that remains to be proven is that the reduction is valid.
Let \langle M,w\rangle be a positive instance of A_{TM} . 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 \in
L(N) , hence L(N) \neq \emptyset .
Let \langle M,w\rangle be a negative instance of A_{TM} . 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) = \emptyset .
This proves that \langle M,w\rangle \in A_{TM} \iff N \in \overline{L} . Hence the reduction is valid. Therefore, using the fact that A_{TM} is undecidable, it proves that \overline{L} is undecidable. This completes the first step.
For the 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 wil 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 \overline{L} . This proves that \overline{L} is decidable. This completes the second step.
The two steps together imply that L is undecidable. The proof is complete.
Hope it helps... Thank you:)
3. Let L= {MM is a Turing machine and L(M) is empty), where L(M) is the...
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:
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...
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
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...
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
Use a Turing Reduction to show that the following language is undecidable. L={ | L(M) is infinite}.
determine if the language is regular, context-free, Turing-decidable, or undecidable. For languages that are regular, give a DFA that accepts the language, a regular expression that generates the language, and a maximal list of strings that are pairwise distinguishable with respect to the language. For languages that are context-free but not regular, prove that the language is not regular and either give a context- free grammar that generates the language or a pushdown automaton that accepts the language. You need...