1,406 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,714 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
26
26 views
GO Classes asked 1 day ago
26 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...