Re: pumping lemma for CFL
- From: Rick Decker <rdecker@xxxxxxxxxxxx>
- Date: Wed, 02 Nov 2005 14:44:08 -0500
Brian wrote:
<snip>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.
Hope this helps.
It probably won't. The OP was asking for the CFL version, not the regular language version.
Regards,
Rick
To robm (the OP),
I sympathize with you; the PL for CFLs has a good side and a bad side. On the good side, the proof of the PL is both elegant and fairly easy to understand. If that's what's giving you problems, tell us where you're stuck and we can help. On the other hand, *using* the PL to show that a language isn't a CFL is usually much trickier than the regular language version. Quite often, even if you pick your test string carefully, the CFL version will require checking a bewildering number of possible cases and making sure you've covered all the bases, as it were, getting a contradiction in every possible case. If your problems lie there, give an example where you're stuck and (if you're lucky) you may be able to get a detailed explanation.
BTW, for problems like this, the comp.theory NG might be a more appropriate place to ask for help.
R.,
R.
.
- 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
- pumping lemma for CFL
- Prev by Date: Re: Total variation of a function
- Next by Date: Re: Well Ordering the Reals
- Previous by thread: Re: pumping lemma for CFL
- Next by thread: Re: pumping lemma for CFL
- Index(es):
Relevant Pages
|