Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 Pumping Lemma The pumping lemma with length for context - free languages ( CFLs ) can be stated as follows: Let L be

Question 3
Pumping Lemma
The pumping lemma with length for context-free languages (CFLs) can be stated as
follows: Let L be a CFL generated by a CFG in CNF with p live productions.
Then any word win L with length >2P can be broken into five parts:
w=uvxyz such that
length (vxy)2P
length (x)>0
length (v)+ length (y)>0
and such that all the words uvnxynz with nE{2,3,4,dots} are also in the language
L. Use the pumping lemma with length to prove that the language
L={(a)n(b)3n(a)n|n>0}
over the alphabet ??={a,b}.
Choose an appropriate word to pump. (1 mark)
Identify cases - should be 5,2 with 3 subcases each. This makes essentially 9 cases that
need to be argued cannot work. (0.5 mark each case or subcase and 0.5 marks for saying
why it cannotbe pumped - This gives 9 marks in total)
Argue for contradiction. (2 marks)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago