791 views
4 votes
4 votes

L={⟨M⟩|TM accepts exactly 154 strings}

--------------------------------------------------------------------------------------------------------

this language is not decidable but is this R.E??

by second rice theorem, Tyes ={154 strings} and Tno = more than 154 strings

hence, Tyes is subset of Tno.so,it is not even R.E.

am i right?

please correct me.

1 Answer

Best answer
9 votes
9 votes

$T_{yes} = \big \{ 1,10,100,1000, \dots, 154\;times \big \}$, but if you can come up with atleast one $T_{no}$, it can be said that it is not a trivial property and language is undecidable.

$T_{no_1} = \sum^*$

$T_{no_2} = \big \{1, 10 \big \}$

$T_{no_3} = \big \{1, 10, 100, 1000, \dots, 156\;strings \big \}$ (example you took)

So, We can say it is not even recursively enumerable if we can comeup with atleast one $T_{yes}$ and $T_{no}$ such that $T_{yes} \subset T_{no}$

According to your example, $T_{yes} \subset T_{no}$, So, it is sufficient to say that it is not even R.E.

selected by

Related questions

3 votes
3 votes
2 answers
1
8 votes
8 votes
3 answers
2
Akriti sood asked Dec 16, 2016
4,900 views
$L=\left \{ <TM | TM\ halts\ on\ every\ input\ \right \}$is above language Recursively enumerable or non recursively enumerable??
11 votes
11 votes
2 answers
4
sourav. asked Sep 9, 2017
4,532 views
My Question $\{\langle M \rangle \mid M$ is a TM and there exist an input whose length is less than 100, on which $M$ halts$\}$I have to check that it is Turing Recogniza...