in Theory of Computation edited by
6,798 views
5 votes
5 votes

If $L$ and $P$ are two recursively enumerable languages then they are not closed under

  1. Kleene star $L^*$ of $L$
  2. Intersection $L \cap P$
  3. Union $L \cup P$
  4. Set difference
in Theory of Computation edited by
by
6.8k views

1 comment

what is wrong in this question?
2
2

2 Answers

10 votes
10 votes
Best answer

Set difference=$L-P =L\cap P^{C}$. Since, recursively enumerable languages are closed under intersection but not under complement, Set difference of these two language is not closed.

Refer : This also 

edited by

1 comment

Intersection of Recursive and Recursively enumerable language is recursively enumerable (https://gateoverflow.in/237873/recursive-and-recursively-enumerable). If L and P are recursively enumerable then L−P=L∩P' (complement). P' must be recursive. Thus L−P=L∩P' is recursively enumerable (). Thus recursively enumerable is closed under set difference. But you are saying L-P is not closed. Please clarify. 

0
0
0 votes
0 votes
D) SET DIFFERNCE

1 comment

recursively enumerabke languages are closed under union i tersection and closure..the operation L-P i.e difference can be written as L and ~P since recursively enumerable languages are not closed under complement.so option d is correct
1
1
Answer:

Related questions