1,885 views
4 votes
4 votes
$L1 = a^i b^i c^j$ such that i>=1 and j>=1

$L2 = a^i b^i c^j$ such that j>=1

$L3 = a^i b^i c^j$ such that i>=1

 

Answer is only L1. I think all 3 are CFL's.

1 Answer

3 votes
3 votes
L1 is definitely CFL

but in case of L2 and L3

In L2=a^i b^i c^j such that j>=1

The condition of i is missing so we can assume any of the conditions i=j or i<=j or i>=j.Then L2 is not CFL

Even in L3 =a^i b^i c^j such that i>=1 can be done as L2

Hence, L1 is CFL
edited by

Related questions

3 votes
3 votes
1 answer
2
1 votes
1 votes
1 answer
4