SlidePub
Home
Categories
Login
Register
Home
Business
Regular pumping examples
Regular pumping examples
wbadawy3
44 views
34 slides
Jul 19, 2020
Slide
1
of 34
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
About This Presentation
Regular pumping examples
Size:
37.48 MB
Language:
en
Added:
Jul 19, 2020
Slides:
34 pages
Slide Content
Slide 1
© 2020 Wael Badawy 1
More Applications of the Pumping Lemma
1
DISCLAIMER:
This video is optimized for HD large display using
patented and patent-pending “Nile Codec”, the first
Egyptian Video Codec for more information,
PLEASE check https://NileCodec.com
Also available as a PodCast
Slide 2
© 2020 Wael Badawy
Copyright © 2020 Wael Badawy. All rights reserved
nThis video is subject to copyright owned by Wael Badawy “WB”. Any reproduction or republication of all or part of this video is expressly prohibited unless WBhas explicitly granted its prior written consent. All other rights reserved.
nThis video is intended for education and information only and is offered AS IS, without any warranty of the accuracy or the quality of the content. Any other use is strictly prohibited. The viewer is fully responsible to verify the accuracy of the contents received without any claims of costs or liability arising .
nThe names, trademarks service marked as logos of WBor the sponsors appearing in this video may not be used in any any product or service, without prior express written permission from WB and the video sponsors
nNeither WBnor any party involved in creating, producing or delivering information and material via this video shall be liable for any direction, incidental, consequential, indirect of punitive damages arising out of access to, use or inability to use this content or any errors or omissions in the content thereof.
nIf you will continue to watch this video, you agree to the terms above and other terms that may be available on http://nu.edu.eg& https://caiwave.net
2
Slide 3
© 2020 Wael Badawy
Slide 4
© 2020 Wael Badawy
The Pumping Lemma:
4
•Given ainfinite regular language
L
•there exists an integer (critical length)
p
•for any string with length
LwÎpw³||
•we can write
zyxw=
•with and
pyx£|| 1||³y
•such that:
Lzyx
i
Î...,2,1,0=i
Slide 5
© 2020 Wael Badawy 5
Regular languages
Non-regular languages
*}:{ SÎ= vvvL
R
Slide 6
© 2020 Wael Badawy 6
Theorem:The language
is not regular
Proof:Use the Pumping Lemma
*}:{ SÎ= vvvL
R
},{ba=S
Slide 7
© 2020 Wael Badawy 7
Assume for contradiction
that is a regular language
L
Since is infinite
we can apply the Pumping Lemma
L
*}:{ SÎ= vvvL
R
Slide 8
© 2020 Wael Badawy 8
pppp
abbaw=
We pick
Let be the critical length for
Picka string such that:
wLwÎ
pw³||
length
p
and
*}:{ SÎ= vvvL
R
L
Slide 9
© 2020 Wael Badawy 9
we can write:
zyxabbaw
pppp
==
with lengths:
From the Pumping Lemma:
ababbabaaaaxyz ..................=
xyz
pppp
1||,|| ³£ ypyx
pkay
k
££= 1,
Thus:
=w
Slide 10
© 2020 Wael Badawy 10
From thePumping Lemma:
Lzyx
i
Î...,2,1,0=i
Thus:
Lzyx Î
2
pppp
abbazyx= pkay
k
££= 1,
Slide 11
© 2020 Wael Badawy 11
From the Pumping Lemma:
Lababbabaaaaaazxy ∈.....................=
2
xyz
kp+pppy
Lzyx Î
2
Thus:
Labba
pppkp
Î
+
pppp
abbazyx= pkay
k
££= 1,
Slide 12
© 2020 Wael Badawy 12
Labba
pppkp
Ï
+
BUT:
CONTRADICTION!!!
1³k *}:{ SÎ= vvvL
R
Labba
pppkp
Î
+
Slide 13
© 2020 Wael Badawy 13
Our assumption that
is a regular language is not true
L
Conclusion:
L
is not a regular language
Therefore:
END OF PROOF
Slide 14
© 2020 Wael Badawy 14
Regular languages
Non-regular languages
}0,:{ ³=
+
lncbaL
lnln
Slide 15
© 2020 Wael Badawy 15
Theorem:The language
is not regular
Proof:Use the Pumping Lemma
}0,:{ ³=
+
lncbaL
lnln
Slide 16
© 2020 Wael Badawy 16
Assume for contradiction
that is a regular language
L
Since is infinite
we can apply the Pumping Lemma
L
}0,:{ ³=
+
lncbaL
lnln
Slide 17
© 2020 Wael Badawy 17
ppp
cbaw
2
=
We pick
Let be the critical length of
Picka string such that:
wLwÎ
pw³||
length
p
}0,:{ ³=
+
lncbaL
lnln
and
L
Slide 18
© 2020 Wael Badawy 18
We can write
zyxcbaw
ppp
==
2
With lengths
From the Pumping Lemma:
cccbcabaaaaaxyz ..................=
xyz
ppp2
1||,|| ³£ ypyx
Thus:
=w
pkay
k
££= 1,
Slide 19
© 2020 Wael Badawy 19
From thePumping Lemma:
Lzyx
i
Î...,2,1,0=i
Thus:
ppp
cbazyx
2
= Lxzzyx ∈=
0
pkay
k
££= 1,
Slide 20
© 2020 Wael Badawy 20
From the Pumping Lemma:
Lcccbcabaaaxz Î= ...............
xz
kp-pp2
LxzÎ
Thus:
Lcba
ppkp
Î
- 2
ppp
cbazyx
2
= pkay
k
££= 1,
Slide 21
© 2020 Wael Badawy 21
Lcba
ppkp
Ï
- 2
BUT:
CONTRADICTION!!!
}0,:{ ³=
+
lncbaL
lnln
1³k Lcba
ppkp
Î
- 2
Slide 22
© 2020 Wael Badawy 22
Our assumption that
is a regular language is not true
L
Conclusion:
L
is not a regular language
Therefore:
END OF PROOF
Slide 23
© 2020 Wael Badawy 23
Regular languages
Non-regular languages
}0:{
!
³= naL
n
Slide 24
© 2020 Wael Badawy 24
Theorem:The language
is not regular
Proof:Use the Pumping Lemma
}0:{
!
³= naL
n
nnn ×-×= )1(21! !
Slide 25
© 2020 Wael Badawy 25
Assume for contradiction
that is a regular language
L
Since is infinite
we can apply the Pumping Lemma
L
}0:{
!
³= naL
n
Slide 26
© 2020 Wael Badawy 26
!p
aw=
We pick
Let be the critical length of
Picka string such that:
wLwÎ
pw³||
length
p
}0:{
!
³= naL
n
L
Slide 27
© 2020 Wael Badawy 27
We can write
zyxaw
p
==
!
With lengths
From the Pumping Lemma:
aaaaaaaaaaaxyz
p
...............
!
==xyz
ppp-!
1||,|| ³£ ypyx
pkay
k
££= 1,
Thus:
=w
Slide 28
© 2020 Wael Badawy 28
From thePumping Lemma:
Lzyx
i
Î...,2,1,0=i
Thus:
!p
azyx=
Lzyx Î
2
pkay
k
££= 1,
Slide 29
© 2020 Wael Badawy 29
From the Pumping Lemma:
Laaaaaaaaaaaazxy Î= ..................
2
xyz
kp+pp-!
Thus:
!p
azyx= pkay
k
££= 1, Lzyx Î
2
y
La
kp
Î
+!
Slide 30
© 2020 Wael Badawy 30
La
kp
Î
+!
!!zkp=+
}0:{
!
³= naL
n
Since:
pk££1
There must exist such that:
z
Slide 31
© 2020 Wael Badawy 31
However:
)!1(
)1(!
!!
!!
!
+=
+=
+<
+£
+£
p
pp
ppp
pp
pp
kp+!
for
1>p
)!1(! +<+ pkp
!!zkp¹+
for any
z
Slide 32
© 2020 Wael Badawy 32
for
1=p
we could pick string
!p
aw
¢
=
where
pp>¢
and we would obtain the same conclusion:
!!zkp¹+¢
for any
z
Slide 33
© 2020 Wael Badawy 33
La
kp
Î
+!
La
kp
Ï
+!
BUT:
CONTRADICTION!!!
}0:{
!
³= naL
n
pk££1
Slide 34
© 2020 Wael Badawy 34
Our assumption that
is a regular language is not true
L
Conclusion:
L
is not a regular language
Therefore:
END OF PROOF
Tags
regular pumping examples
Categories
Business
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
44
Slides
34
Age
1960 days
Related Slideshows
1
DTI BPI Pivot Small Business - BUSINESS START UP PLAN
MeljunCortes
28 views
1
CATHOLIC EDUCATIONAL Corporate Responsibilities
MeljunCortes
30 views
11
Karin Schaupp – Evocation; lançamento: 2000
alfeuRIO
28 views
10
Pillars of Biblical Oneness in the Book of Acts
JanParon
26 views
31
7-10. STP + Branding and Product & Services Strategies.pptx
itsyash298
27 views
44
Business Legislation PPT - UNIT 1 jimllpkggg
slogeshk98
29 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-34)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better