lect10 - Lecture 10 Pumping Lemma A property of regular...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 10 Pumping Lemma A property of regular sets
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Weak version Strong version Applications
Background image of page 2
Pumping Lemma (weak) If a language L is accepted by a DFA M with m states, then any string x in L with | x| > m can be written as x = uvw such that (1) v ≠ε, and (2) uv*w is a subset of L (i.e., for any n> 0, uv w in L ). n
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Proof Consider the path associated with x (|x| > m). x Since |x| > m, # of nodes on the path is At least m+1. Therefore, there is a state Appearing twice.
Background image of page 4
u v w v ≠ ε because M is DFA uw in L because there is a path associated with uw from initial state to a final state. uv w in L n due to the same reason as above
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
L={0 | n is a prime} is not regular . Proof. For contradiction, suppose L is regular. So, L=L(M) for some DFA M. Let m be the number of states of M. Consider a prime p > m . By Pumping Lemma, 0 = uvw such that v≠ε and uv*w is a subset of L . Thus, p = |u| + |v| + |w| and for any k > 0, |u|+k|v|+|w| is a prime. n p
Background image of page 6
For k =0, |u|+|w| is a prime. For k=|u|+|w|, |u|+k|v|+|w| = (|u|+|w|)(1+|v|) is a prime. (-><-)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
L={0 1 | i > 0 } is not regular. Proof.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 20

lect10 - Lecture 10 Pumping Lemma A property of regular...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online