458 views
3 votes
3 votes
Consider the following two languages :

S1: L1= {<M>|M is a TM AND L(M)>=3}

S2: L2= {<M>|M is a TM AND L(M)<3}

Which of the following is correct?
a. Only S1 is REC b. Only S2 is REC c.   Both S1 and S2 are REC d.   None of the above is REC

1 Answer

0 votes
0 votes

Okay, we have L1 and L2 are complement of each other here.and we know that recursives are closed under complementation! so if L1 is recursive then L2 has to be recursive and vice versa.

so we can easily get rid of option A, B here

Now, i assume that L(M) means Language of turing Machine

Now let's

check for L1:

After providing an Input,if the it goes >= 3 then it Accepts it but if it gets into  Loop, much before ,then we have no way to know if it will Accept that i/p or Not

so we can't say it rejects for other inputs

so it is Recursively Enumerable but not Recursive

Check for L2:

No way to know,what's going to happen if it gets into a loop

so it is Non RE

ALTERNATIVE:

Both of this are Non-Trivial Property.According to Rice theorem they are Not Recursive

So D should be the answer.Correct me ,if i am wrong

edited by

Related questions

0 votes
0 votes
0 answers
2
harrygate asked Apr 10, 2018
309 views
which nit i might get. in this score which will help me to for higher studies with good study env.
2 votes
2 votes
0 answers
3
ankit_thawal asked Jan 20, 2018
256 views
Hello Friends,In past 20 days I have attempted 10-12 full length tests(ACE+Ravula).But my marks are in the range 40-50.No matter how much I try, I can't score above 70(th...