1,057 views
2 votes
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 votes
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

Related questions

0 votes
0 votes
0 answers
1
sripo asked Jan 5, 2019
536 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 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
3
0 votes
0 votes
2 answers
4
Mk Utkarsh asked Nov 26, 2017
2,073 views
If total turing machine is a proper subset of turing machine then why recursive language is not a proper subset of Recursive Enumerable ?