© M. Winter COSC/MATH 4P61 - Theory of Computation Pumping Lemma as a game 1.Player 1 picks the language L to be proven nonregular. 2.Player 2 picks n secretly. 3.Player 1 picks w (may depend on n). 4.Player 2 divides w into x, y, and z so that y≠ε and |xy|≤n. 5.Player 1 wins by picking k (may depend on n, |x|, |y|, and |z|) so that xy k z is not in L.
© M. Winter COSC/MATH 4P61 - Theory of Computation The union of two regular languages is regular. 2.The intersection of two regular languages is regular. 3.The complement of a regular language is regular. 4.The difference of two regular languages is regular. 5.The reversal of a regular language is regular. 6.The closure (by *) of a regular language is regular. 7.The concatenation of two regular languages is regular. 8.A homomorphic image of a regular language is regular. 9.An inverse homomorphic image of a regular language is regular. Closure Properties of Regular Languages
© M. Winter COSC/MATH 4P61 - Theory of Computation Example I
© M. Winter COSC/MATH 4P61 - Theory of Computation Example II
© M. Winter COSC/MATH 4P61 - Theory of Computation Example I (continued)