Title: More Applications of the Pumping Lemma
1More Applications ofthe Pumping Lemma
2The Pumping Lemma
- Given a infinite regular language
- for any string with length
3Non-regular languages
Regular languages
4Theorem
The language
is not regular
Proof
Use the Pumping Lemma
5Assume for contradiction that is a regular
language
Since is infinite we can apply the Pumping
Lemma
6Let be the integer in the Pumping Lemma
Pick a string such that
and
length
We pick
7Write
From the Pumping Lemma
it must be that length
Thus
8From the Pumping Lemma
Thus
9From the Pumping Lemma
Thus
10BUT
CONTRADICTION!!!
11Our assumption that is a regular language is not
true
Therefore
Conclusion
is not a regular language
12Non-regular languages
Regular languages
13Theorem
The language
is not regular
Proof
Use the Pumping Lemma
14Assume for contradiction that is a regular
language
Since is infinite we can apply the Pumping
Lemma
15Let be the integer in the Pumping Lemma
Pick a string such that
and
length
We pick
16Write
From the Pumping Lemma
it must be that length
Thus
17From the Pumping Lemma
Thus
18From the Pumping Lemma
Thus
19BUT
CONTRADICTION!!!
20Our assumption that is a regular language is not
true
Therefore
Conclusion
is not a regular language
21Non-regular languages
Regular languages
22Theorem
The language
is not regular
Proof
Use the Pumping Lemma
23Assume for contradiction that is a regular
language
Since is infinite we can apply the Pumping
Lemma
24Let be the integer in the Pumping Lemma
Pick a string such that
length
We pick
25Write
From the Pumping Lemma
it must be that length
Thus
26From the Pumping Lemma
Thus
27From the Pumping Lemma
Thus
28Since
There must exist such that
29However
for
for any
30BUT
CONTRADICTION!!!
31Our assumption that is a regular language is not
true
Therefore
Conclusion
is not a regular language