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 is not regular if the following holds: for every positive integer there
is a string in of length at least such that for all strings and with
and and there is an iinN such that inL.
The operative statement here has four nested quantifiers:
For every positive integer
there is a string in of length at least such that
for all strings and with and
there is an iinN such that inL.
Given a language consider the following player game:
player picks a positive integer
player picks a string in of length at least
Player picks strings and with and
Player picks iinN
Player wins if inL. Otherwise, Player wins.
The pumping lemma can be interpreted to say that Player will have a winning
strategy for this game if and only if is not regular.
For example, let be the language of all strings of s and s that are palindromes
ie the same forward as backward Player s strategy is:
In Step choose a string of all s of length p followed by a string of s of
length followed again by a string of as
In step choose
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
