+3 votes
298 views

$L1$ is a Context free language (CFL),  $L2$ is a Deterministic Context free language (DCFL)

and , $L = L1 \cap\overline{L2}$

then $L$ is

a) Need not be CFL

b) not CFL

c)DCFL

retagged | 298 views

## 2 Answers

+3 votes
Best answer
L2 = DCFL , which is closed under complement so L2' = DCFL

L1 = CFL ,

L = CFL ∩ (DCFL )' = CFL ∩ DCFL  BUT ,DCFL AND CFL both are not closed in intersection ...so it may or may not be CFL.

so answer is A)

http://gatecse.in/wiki/Closure_Property_of_Language_Families
by Boss (17.1k points)
selected by
0

@Sonam I agree. and also ur ans is correct. But my confusion is "DCFL AND CFL both are not closed in intersection"

right?

So, it should be not CFL

why u told that it may CFL?

what is that "may " case I want to know

+3

not closed means if we perform operation then they might be in or may not .... we cant conclude that it always not in cfl or dcfl whatever ..thats we here option A) is correct ...

if i got any eg i will tell you ..

0
ok
0 votes
i guess language which is not in dcfl than it cannot be even in cfl so
ans is (b)
from expressive power theory
correct me!
by (473 points)

0 votes
0 answers
2
0 votes
0 answers
3
0 votes
0 answers
4