Question

Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular

Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular

Homework Answers

Answer #1

ab^n ab^n a

Use the pumping lemma to obtain a contradiction −

  • Select w such that |w| ≥ c

  • Select y such that |y| ≥ 1

  • Select x such that |xy| ≤ c

  • Assign the remaining string to z.

  • Select k such that the resulting string is not in L.

Thus =================================================

  1. At first, we assume that L is regular and n is the number of states.Let w = ab^n ab^n a . Thus |w| = 2n ≥ n.
  2. By pumping lemma, let w = xyz, where |xy| ≤ n.
  3. Let x = abp, y = abq, and z = a, where p + q + r = n, p ≠ 0, q ≠ 0, r ≠ 0. Thus |y| ≠ 0
  4. Let k = 2. Then xy2z = abp ( abq )^2  a
  5. Number of as = (p + 2q ) = (p + q ) + q = n + q
  6. Hence, xy2z = an+q bn. Since q ≠ 0, xy2z is not of the form  ab^n ab^n
  7. Thus, xy2z is not in L. Hence L is not regular.
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use the pumping lemma for regular languages to prove that the following language is not regular....
Use the pumping lemma for regular languages to prove that the following language is not regular. { 0n1x0x1n | n >= 0 and x >= 0 }
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma (5).
Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma (5).
Use pumping lemma to prove that the language {anb2n| n>0, and w is in {a, b}*...
Use pumping lemma to prove that the language {anb2n| n>0, and w is in {a, b}* } is not a regular language.
Prove that the following languages are not regular using pumping lemma: (a) {w : w !=...
Prove that the following languages are not regular using pumping lemma: (a) {w : w != wR} (b) {ai bjak : k ≤ i + j}
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0...
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0 0 ] , [ 0 1 ] , [ 1 0 ] , [ 1 1 ]} . Consider each row to be a binary number and let L3 = w ∈ Σ ∗ 2 | the bottom row of w is the square of the top row of w . For example, [ 0 1 ] [ 0 0 ] [ 1 0...
using pumping lemma to prove a^ib^jc^k(i=j or j=k) is not a regular language
using pumping lemma to prove a^ib^jc^k(i=j or j=k) is not a regular language
Use the pumping lemma to show that the following languages are not regular. b. A2 =...
Use the pumping lemma to show that the following languages are not regular. b. A2 = {www| w € {a, b}*}
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m...
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m < n-2 isn’t regular. Use the pumping lemma for regular languages.
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m...
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m < n-2 isn’t regular. (I'm using the ^ notation but your free to make yours bman instead of (b^m)(a^n) ) Use the pumping lemma for regular languages.