Question: 3. Using Pumping Lemma (slides 39-46 of the notes 'Regular Languages & Finite AutomataIV') one can show that the language L={anbnnN} is not regular (We

3. Using Pumping Lemma (slides 39-46 of the notes 'Regular Languages \& Finite AutomataIV') one can show that the language L={anbnnN} is not regular (We need this property in the notes 'Context-free Languages and Pushdown Automata I). This is done by way of contradiction. We assume L is regular. Since L is infinite, Pumping Lemma applies. We then consider the string s=ambm where m is the number of states in 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=,xy2m and xykzL for all kN. If xy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
