Question: Question 3 : Using the Pumping lemma to prove that the given language is not context free. [ 3 mark ] Language: { a ^
Question : Using the Pumping lemma to prove that the given language is not context free. mark Language:
am bn cmn :m nan b an b an : nan bn an bn :n sove it as cases like this:
Case : The substring does not contain any
Consider the string uvvxyyz. Since this string
contains more than many as or more than many s Since it contains
exactly many it follows that this string is not in the language This
is a contradiction because, by the pumping lemma, the string is in
A
Case : The substring does not contain any
Consider the string uvvxyyz. Since this string
contains more than many s or more than many cs Since it contains
exactly many as it follows that this string is not in the language This
is a contradiction because, by the pumping lemma, the string is in
A
Case : The substring vxy contains at least one a and at least one
Since this implies that which again contradicts the
pumping lemma.
Thus, in all of the three cases, we have obtained a contradiction. There
fore, we have shown that the language is not contextfree.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
