Let
We say
context free pumping lemma with pumping number
if for every word
there are words
- for all
we have:
Theorem
For every Context-Free Formal Language
there is a number
such that
with pumping number
Proof (sketch)
WLOG
Let
We claim
Let
Note that the height of the Parse Tree of
So find the terminal node
Then find
Then there is a repeated variable in between
say it repeats at times
Let
We can insert
and we proved the theorem.