Question: Using Pumping Lemma one can show the language L= {anh I n N } is not regular. This is done by way of contradiction. We

Using Pumping Lemma one can show the language L= {anh" I n N } is not regular. This is done by way of contradiction. We assume L is regular. Since L is infinite, Pumping Lemma applies. We then consider the string sa"b" where m is the number of states of the DFA that recognizes L. Since the length of s is bigger than m, by Pumping Lemma, there exists strings x, y and z such that s-xyz, y#A, Ixyl 2m and xykZE L for all k E N If Ixyl = 2m then the first repeated state on the acceptance path must be a final state Why? (3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
