2079 2

CSC262 · 2079 · 10 marks

State and prove the Pumping Lemma for regular languages. How can you show with example that pumping lemma is used to prove that a given language is not a regular? Explain.

State and prove the Pumping Lemma for regular languages. How can you show with example that pumping lemma is used to prove that a given language is not a regular? Explain.[10]

Theory of ComputationChapter 3: Regular ExpressionsPumping Lemma

If A is a regular language, then there exists a pumping length 'p' such that any string 's' where s = p may be divided into three parts s = xyz, satisfying all of the following conditions: 1. xy^i z ∈ A for every i = 0 (the string can be "pumped" any number of times and still belong to A) 2. y 0 ...