Answered step by step
Verified Expert Solution
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 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
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