← RGPV CS-501 Theory of Computation May 2023 Solved Paper
Question
Explain Arden’s theorem and the pumping lemma.
Asked in: CS-501 | May 2023 | 4(a)
Answer
Arden’s theorem: if ε is not in P, the equation X=Q+XP has the unique regular-language solution X=QP*. Substitution gives Q+QP*P=QP*. Repeated expansion shows every solution contains QPⁿ for each n; because P has no empty word, membership of any finite word reduces to shorter words until Q is reached. Example: X=b+Xa gives ba*.
Pumping lemma: for every regular language L there is p≥1 such that any w∈L with |w|≥p can be split as xyz with |xy|≤p, |y|≥1 and xyⁱz∈L for all i≥0. A DFA with p states repeats a state among the first p+1 visited states; y labels the resulting loop.
To prove {aⁿbⁿ:n≥0} nonregular, assume pumping length p and choose aᵖbᵖ. Every allowed y contains only a symbols. Pumping i=0 removes at least one a but no b, contradicting membership. The lemma is a necessary condition for regularity, not a general test proving regularity.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion