310 likes | 432 Views
Erik Jonsson School of Engineering and Computer Science. CS 4384 – 001. Automata Theory. http://www.utdallas.edu/~pervin. Tues day : Section 2.9 Look at Ullman’s Lecture 7. Thursday 1-30-14. FEARLESS Engineering. Rui Li rxl122350@utdallas.edu ECSS4.215 MW 9-11.
E N D
Erik Jonsson School of Engineering and Computer Science CS 4384– 001 Automata Theory http://www.utdallas.edu/~pervin Tuesday: Section 2.9 Look at Ullman’s Lecture 7 Thursday1-30-14 FEARLESS Engineering
Rui Li • rxl122350@utdallas.edu • ECSS4.215 • MW 9-11 Teaching Assistant
Theorem: If L = L(N) for a NFA N, then L = L(D) for a DFA D. Linz P.61
Union • Concatenation • Kleene Star Regular Expressions
Decision Problems Martin, P. 148 (1st Ed.)
PUMPING LEMMA M&S P. 68 Theorem 2.9.1
Proof: If A is regular it has a DFA with a finite number, n, of states. Let p = n. Then for any string s in A of length at least p, suppose the decomposition s = xyz satisfies the conditions.
Examples 1-5 from M&S: Classic Examples
The intersection with a*b* is necessary because the complement contains all strings with a and b out of order!
If the problem was n > m, then choose s = a^{p+1}b^p which is just at the edge of being in L. Then pump DOWN (i=0) since y must consist of a’s.
Extended Pumping Lemma Essentially the same proof!