Re: pumping lemma for CFL
- From: Robert Low <mtx014@xxxxxxxxxxxxxx>
- Date: Wed, 02 Nov 2005 20:30:07 +0000
robm wrote:
>>there is some number"Robert Low" <mtx014@xxxxxxxxxxxxxx> wrote in message The pumpinglemma for context free languages ...
says that [if] L is context free, there [should have been then]
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
I like Sipser's book 'Introduction to the theory of computation'. Very clearly explained, without getting bogged down in technical detail. If you can get at a copy, it might help.
There are also web resources, such as
http://en.wikipedia.org/wiki/Pumping_lemma
but I don't know how helpful you'll find them.
In my mind the *essence* of the pumping lemmas is that a long enough string in a simple enough language has a segment that can be repeated arbitrarily often while remaining in the language. In the regular case, it's a single segment, and in the context free case the segment may be broken by a bit in the middle that doesn't get repeated.
Whether my intuitive picture will help you is hard to say: but you're welcome to try it on for size. .
- Follow-Ups:
- Re: pumping lemma for CFL
- From: robm
- 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
- Re: pumping lemma for CFL
- From: robm
- pumping lemma for CFL
- Prev by Date: Re: pumping lemma for CFL
- Next by Date: Re: circle inscribed in traingle
- Previous by thread: Re: pumping lemma for CFL
- Next by thread: Re: pumping lemma for CFL
- Index(es):
Relevant Pages
|