Question

In the class, we have shown that L {abn·n > 0} is not regular. Use the pumping lemma to show that Ls -[ab*c: n 2 0, k 2 n]

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For any regular language L, there exists an integer n, such that for all x ∈ L with |x| ≥ n, there exists u, v, w ∈ Σ∗, such that x = uvw, and
(1) |uv| ≤ n
(2) |v| ≥ 1
(3) for all i ≥ 0: uviw ∈ L

In simple terms, this means that if a string v is ‘pumped’, i.e., if v is inserted any number of times, the resultant string still remains in L.

Let us assume that u = anbk, v = ap, w = an-p

Clearly,

|uv| ≤ n and |v| ≥ 1

Now, uviw = anbkaipan-p = anbkan+(i-1)p

Clearly, for larger i, we cannot guarantee that k >= n+(i-1)p

Therefore, L is not regular.

Add a comment
Know the answer?
Add Answer to:
In the class, we have shown that L {a"bn·n > 0} is not regular. Use the pumping lemma to show tha...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT