Re: pumping lemma for CFL
- From: "robm" <not@xxxxxxxx>
- Date: Wed, 02 Nov 2005 20:19:39 GMT
"Robert Low" <mtx014@xxxxxxxxxxxxxx> wrote in message
news:3ssk38Fpv5seU1@xxxxxxxxxxxxxxxxx
> Brian wrote:
> > The "basic" version of the pumping lemma goes more or less like this:
> > If some language L is regular, then there is some number p (pumping
> > length), where you can take any string in L of at least length p and
> > divide it into three strings: x, y, and z, where y is not empty. Then,
you
> > can "repeat" or "pump" y up as many times as you want (>=0) and the
> > resulting string is in L.
>
> This is the pumping lemma for regular languages. The pumping
> lemma for context free languages is a little more complicated,
> and says that L is context free, there there is some number
> p such that a string longer than p is uvwxy where |vwx|
> is no longer than p, and v and x can be repeated as many times
> as you want and the result is in L.
>
> Note that v and x must both be repeated the same number
> of times: you know that uvvwxxy and uvvvwxxxy are in L,
> but you don't know about uvvwxxxy.
which underscores my difficulty in trying to intuit from what i am reading
.
- Follow-Ups:
- Re: pumping lemma for CFL
- From: Robert Low
- Re: pumping lemma for CFL
- References:
- pumping lemma for CFL
- From: robm
- Re: pumping lemma for CFL
- From: Brian
- Re: pumping lemma for CFL
- From: Robert Low
- pumping lemma for CFL
- Prev by Date: Help -- Similar to Fatou's Lemma
- Next by Date: vandermonde matrix question
- Previous by thread: Re: pumping lemma for CFL
- Next by thread: Re: pumping lemma for CFL
- Index(es):
Relevant Pages
|