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
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}
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}*}
Use the pumping lemma to show that {w | w belongs to {a, b}*,and w is...
Use the pumping lemma to show that {w | w belongs to {a, b}*,and w is a palindrome of even length.} is not regular.
Are the following languages over {a, b} regular? If they are then prove it. If they...
Are the following languages over {a, b} regular? If they are then prove it. If they are not prove it with the Pumping Lemma {an bm | m != n, n >= 0} {w | w contains the substring ‘aaa’ once and only once } Clear concise details please, if the language is regular, provide a DFA/NFA along with the regular expression. Thank you. Will +1
Using the pumping lemma for context free Languages to prove L is not context free. L...
Using the pumping lemma for context free Languages to prove L is not context free. L = { w#w#w | w E (0+1)*} Are the used variables {0,1,#}
Suppose A and B are regular language. Prove that AB is regular.
Suppose A and B are regular language. Prove that AB is regular.
4.4.3. Suppose A and B are n × n matrices. Prove that, if AB is invertible,...
4.4.3. Suppose A and B are n × n matrices. Prove that, if AB is invertible, then A and B are both invertible. Do not use determinants, since we have not seen them yet. Hint: Use Lemma 4.4.4. Lemma 4.4.4. If A ∈ Mm,n(F) and B ∈ Mn,k(F), then rank(AB) ≤ rank(A) and rank(AB) ≤ rank(B).
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
Use properties of convergent sequences and the Comparison Lemma to prove that { [5(−1)n ]/n3 }...
Use properties of convergent sequences and the Comparison Lemma to prove that { [5(−1)n ]/n3 } converges in R.
Let O ∈ (AB) and C /∈ AB. Prove that there is a point D on...
Let O ∈ (AB) and C /∈ AB. Prove that there is a point D on the same side of AB as C such that m(∠DOA) = m(∠COB).