Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started