Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Theorem [ Pumping Lemma for Regular Languages, contrapositive ] : Language L is not regular if the following holds: for every positive integer p ,

Theorem [Pumping Lemma for Regular Languages, contrapositive]:
Language L is not regular if the following holds: for every positive integer p, there
is a string s in L of length at least p such that for all strings x,y, and z with s=xyz
and |xy|p, and |y|>0, there is an iinN such that xyiz!inL.
The operative statement here has four nested quantifiers:
For every positive integer p,
there is a string s in L of length at least p such that
for all strings x,y, and z with s=xyz,|xy|p, and |y|>0,
there is an iinN such that xyiz!inL.
Given a language L, consider the following 2-player game:
player 1 picks a positive integer p
player 2 picks a string s in L of length at least p
Player 1 picks strings x,y, and z with s=xyz,|xy|p, and |y|>0,
Player 2 picks iinN
Player 2 wins if xyjz!inL. Otherwise, Player 1 wins.
The pumping lemma can be interpreted to say that Player 2 will have a winning
strategy for this game if and only if L is not regular.
For example, let L be the language of all strings of a' s and b' s that are palindromes
(i.e., the same forward as backward). Player 2's strategy is:
In Step 2, choose a string of all a' s of length p, followed by a string of b's of
length p, followed again by a string of p a's.
In step 4, choose i=2.
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

Step: 3

blur-text-image

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

Building The Data Warehouse

Authors: W. H. Inmon

4th Edition

0764599445, 978-0764599446

More Books

Students also viewed these Databases questions