1,773 views
2 2 votes
L1={<M>| M is a Turing Machine , P is a TM that halts on all input, and P$\epsilon$L(M)}

L2={<M>| M is a Turing Machine , P is a TM that halts on all input, and M$\epsilon$L(P)}

Which one REC, or RE or non RE ?

1 Answer

Best answer
2 2 votes
For L1:  Since PϵL(M) means any string from P, Does it belong to L(M) ?

now there arises two cases,if there is a string which is accepted by M , it will say YES .

If not, then it wud halt or fall into infinite loop ,we cant say..   therefore L1 is RE.

For L2:  (Its more easy) Since P is a Halting TM (as given halts on all input),

it is always decidable that a string from  M belongs to P or not . It can say YES or NO. (as it halts on every input).

therefore, L2 is REC.
• selected by
Position:
Show:

Related questions

0 0 votes
0 0 answers
864
864 views
sripo asked Jan 5, 2019
864 views
As per the given solution,B should be the correct answer right why is D given as the correct answer as the machine accepts atleast one b.
0 0 votes
1 1 answer
452
452 views
Lovejeet Singh asked Oct 30, 2018
452 views
What is the meaning of non trivial property related to a language. Please explain with an example.
0 0 votes
0 0 answers
1.1k
1.1k views
Shubham Kumar Gupta asked Dec 23, 2017
1,052 views
A. L is undecidableB. L is decidableC. L is regular.D. None of these.Please explain in detail.
0 0 votes
2 2 answers
3.3k
3.3k views
Mk Utkarsh asked Nov 26, 2017
3,348 views
If total turing machine is a proper subset of turing machine then why recursive language is not a proper subset of Recursive Enumerable ?