Question: 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.
 Theorem [Pumping Lemma for Regular Languages, contrapositive]: Language L is not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!