Is this statement correct ? Pumping lemma for regular languages cannot be used to prove that certain languages are not regular.
Added by Joshua R.
Step 1
Let's think step by step. Show more…
Show all steps
Your feedback will help us improve your experience
Madhur L and 51 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
John Doe claims that the language L, of all strings over the alphabet ÎŁ = {a, b} that contain an even number of occurrences of the letter 'a', is not a regular language. He offers the following "pumping lemma proof". Explain what is wrong with the "proof" given below. "Pumping Lemma Proof" We assume that L is regular. Then, according to the pumping lemma, every long string in L (of length m or more) must be "pumpable". We choose the specific string w = a^2m. Clearly, w is in L, and |w| >= m, so this w must be "pumpable". That means that the string w consists of 3 substrings, x, y, and z. In other words, w = xyz. We choose y = a. Then if we "pump up" to produce the string xy^2z, this string should also be in the language L, according to the Pumping Lemma. But xy^2z = a^(2m+1), and clearly xy^2z is NOT in L, since this new string has an odd number of a's. Therefore, our original assumption that L is regular was incorrect. Q.E.D.
Madhur L.
Hi guys, Please with question please
Supratim P.
1.46 Prove that the following languages are not regular. You may use the pumping lemma and the closure of the class of regular languages under union, intersection, and complement. a. {0^n1^m0^n | m, n ≥ 0} b. {0^m1^n | m ≠n}
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD