Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Discover a wealth of knowledge from professionals across various disciplines on our user-friendly Q&A platform. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Show that the language
L = {a
nb
kcnd
k : n ≥ 0,k > n}
is not regular.


Sagot :

Answer:

To show that the language L = {a

nb

kcnd

k : n ≥ 0,k > n} is not regular, we can use the pumping lemma for regular languages. Here is a proof by contradiction:

Assume that L is regular. Then, by the pumping lemma, there exists a positive integer p such that any string w in L of length at least p can be divided into three parts: w = xyz, such that |yx| < p, |y| > 0, and for all i > 0, w

(xy^i)z is also in L.