2,113 views
6 votes
6 votes

1 Answer

Best answer
9 votes
9 votes

$L = \left \{ Set\ of\ all\ TM\ that\ accept\ atleast\ one\ string\right \}$

Well, If such a string is there, then we simply run that input on TM. If that input is in the language of TM, it will accept and halt.

No need to check further strings.

But, what if there is no such string and we ran many inputs by dovetailing on this TM but it is not accepting anything. Then, how can we be sure that TM accepts atleast 1 string. 

So, we can confirm the YES case but we are not sure about the NO case.

Hence, the language L is RE and we can designa recognizer for this .


Rice theorem is pretty good for such questions as it is talking about the property of language of TM's.

According to the Rice theorem, it is undecidable. How?

It is a non trivial property because there are TM which do accept atleast 1 string and there are TM which even not accept even 1.

(In this world, do all TM accept atleast 1 string . If you say yes, then this is a trivial(always true) property otherwise it is non trivial)

Hence, Tyes can be any TM which accepts at least 1 string and Tno can be any TM which doesn’t even accept 1 string.

selected by

Related questions

0 votes
0 votes
0 answers
1
RahulVerma3 asked Apr 2
46 views
Is this the correct Turing machine for the language $0^n 1^n0^n$?assuming $ at the end and begining of the input tape
3 votes
3 votes
2 answers
3
3 votes
3 votes
1 answer
4