0 votes 0 votes Show that the following languages on $\Sigma = \{a,b,c\}$ are not context-free $L = \{a^nb^m:\text{n is prime or m is prime}\}$. Theory of Computation peter-linz peter-linz-edition5 theory-of-computation pumping-lemma proof context-free-language + – Rishi yadav asked Apr 15, 2019 Rishi yadav 345 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes This one is not CFL as we need to implement two stacks to eastablish the relation between a-b and m-n.. Clearly not possible in CFL. Vishnu__ answered Jan 13, 2023 Vishnu__ comment Share Follow See all 0 reply Please log in or register to add a comment.