Question #38225

Explain the following statements and determine whether they are true or false.

1) Complement of a CFL need not be recursive
2) If L is recursive then (L)^+ is also recursive.
3) If L1 is recursive and L2 is recursively enumerable then L2 - L1 is need not be recursively enumerable.
4)Recursive sets are closed under complement and substitution.
1

Expert's answer

2014-01-09T09:32:49-0500

Answer on Question#38225 – Math - Other

1) Complement of a CFL need not be recursive. False. All context-free languages are recursive.

2) If LL is recursive then LL^* is also recursive. True. Recursive languages are closed under the following operations. That is, if LL is recursive language, then LL^* is recursive as well.

3) If L1L_1 is recursive and L2L_2 is recursively enumerable then L2L1L_2 - L_1 is needed not be recursively enumerable. True. Recursively enumerable languages are not closed under set difference or complementation. The set difference L2L1L_2 - L_1 may or may not be recursively enumerable. If L1L_1 is recursively enumerable, then the complement of L1L_1 is recursively enumerable if and only if L1L_1 is also recursive.

4) Recursive sets are closed under complement and substitution. True. Recursive languages are closed under the following operations: the intersection L1L2L_1 \cap L_2, the complement of LL, the image φ(L)\varphi(L) under an e-free homomorphism φ\varphi (substitution).

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS