1,407 views
0 0 votes
Prove language is regular or not using pumping lemma -

1. L={a^nb^l :n!=l}

2. L={(ab)^na^k  : n>k ,k>=0}

Plzz explain using pumping lemma.....

1 Answer

1 1 vote
1.

L={a^n b^l / n!=l}

Pumping Leema says if there is a language which can be divided into 3 parts such as xy^iz, then for any value of i this should also be inside language.

here for y there are 3 choices y=a , or y=ab or y=b but in all three cases there is no way to make sure this comparison.

for example if y =a then aaabbb should not be accepted but x=a y^2 =aa and z=bbb

hence pumping leema is failed here!
Position:
Show:

Related questions

1 1 vote
0 0 answers
1.7k
1.7k views
Sanjay Sharma asked Sep 18, 2018
1,715 views
Let L={a^nb^m: n>=100 , m<=50}Can you use the pumping lemma to show that L is not regular? Explain your answers
0 0 votes
1 1 answer
6
6 views
GO Classes asked 3 hours ago
6 views
Let $B=\{0^n\#0^{2n}\#0^{3n}\mid n\ge0\}$.Which statements are correct for proving $B$ is not CFL using the pumping lemma?Choose $s=0^p\#0^{2p}\#0^{3p}$, where $p$ is the...
1 1 vote
1 1 answer
32
32 views
GO Classes asked 1 day ago
32 views
To prove $L=\{a^n b^n\mid n\ge0\}$ is not regular using the pumping lemma, choose $w=a^p b^p$, where $p$ is the pumping length. Which statements are correct?Since $|xy|\l...