393 views
0 votes
0 votes
Let G1 be a context free grammar and G2 be a regular grammar.Is the problem L(G1) intersection L(G2) =phi decidable?

1 Answer

0 votes
0 votes

as we know that intersection of regular language and cfl is cfl and cfl is closed under emptyness. so yes its DECIDABLE.

Related questions

0 votes
0 votes
0 answers
2
baofbuiafbi asked Nov 14, 2023
145 views
Is the following language decidable or not? If you deem it decidable, you need to give an algorithm and analyse its running time. If not decidable, you need to prove it. ...
0 votes
0 votes
0 answers
3
baofbuiafbi asked Nov 14, 2023
145 views
Prove L = {F | F is a boolean formula and F evaluates to true on every asignment" is decidable (include algorithm and running time in big o notation)
0 votes
0 votes
0 answers
4
Abhipsa Panda asked May 24, 2022
151 views
How is equality problem for DCFL decidable?