287 views

2 Answers

0 votes
0 votes
CFL is not closed under intersection

1)$CFL\cap CFL$ = may or may not be CFL but recursive

2) $CFL\cap Recursive$ = every CFL is recursive and recursive is close under intersection then Recursive.

3) $CSL\cap Recursive$ = every CSL is recursive and recursive is close under intersection then Recursive.
0 votes
0 votes
  • Intersection of CFL is not closed under intersection i.e if we intersect two CFL then it may not be CFL . Look at the example

  • CFL$\bigcap$ recursive = recursive 

  • CFL$\bigcap$ CSL = CSL

Related questions

0 votes
0 votes
0 answers
1
RahulVerma3 asked Apr 2
48 views
Is this the correct Turing machine for the language $0^n 1^n0^n$?assuming $ at the end and begining of the input tape
0 votes
0 votes
0 answers
2
baofbuiafbi asked Nov 14, 2023
158 views
Prove the language L={(G,H)|G is a CFG, H is a DFA, and L(G)∩L(H)=∅} is undecidable.