More Applications of the Pumping Lemma - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

More Applications of the Pumping Lemma

Description:

Use the Pumping Lemma. Courtesy Costas Busch - RPI. 5. Assume for contradiction ... BUT: CONTRADICTION!!! Courtesy Costas Busch - RPI. 11. Our assumption that ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 32
Provided by: costas4
Category:

less

Transcript and Presenter's Notes

Title: More Applications of the Pumping Lemma


1
More Applications ofthe Pumping Lemma
2
The Pumping Lemma
  • Given a infinite regular language
  • there exists an integer
  • for any string with length
  • we can write
  • with and
  • such that

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