Question

6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular language L, there exists a pumping l
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Follow these steps:

Let LL be a regular language. Then there exists an integer n≥1n≥1 (depending only on LL) such that every string ww in LL of length at least nn (pp is called the "pumping length") can be written as w=xyzw=xyz (i.e., ww can be divided into three substrings), satisfying the following conditions:

  1. |y|≥1|y|≥1
  2. |xy|≤n|xy|≤n and
  3. a "pumped" ww is still in LL: for all i≥0i≥0, xyiz∈Lxyiz∈L.

Assume that you are given some language LL and you want to show that it is not regular via the pumping lemma. The proof looks like this:

  1. Assume that LL is regular.
  2. If it is regular, then the pumping lemma says that there exists some number nn which is the pumping length.
  3. Pick a specific word w∈Lw∈L of length larger than nn. The difficult part is to know which word to take.
  4. Consider ALL the ways to partition ww into 3 parts, w=xyzw=xyz, with |xy|≤n|xy|≤n and yy non empty. For each of these ways, show that it cannot be pumped: there always exists some i≥0i≥0 such that xyiz∉Lxyiz∉L.
  5. Conclude: the word ww cannot be "pumped" (no matter how we split it to xyzxyz) in contradiction to the pumping lemma, i.e., our assumption (step 1) is wrong: LL is not regular.
Add a comment
Know the answer?
Add Answer to:
6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular language L, there...
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