Re: Pumping lemma. Where I go wrong?
- From: Chris Smith <cdsmith@xxxxxxx>
- Date: Fri, 6 Apr 2007 16:38:06 -0600
Ravi <ra.ravi.rav@xxxxxxxxx> wrote:
In your example, it might happen that x = 00, y = 0^{2n - 2}, so
you wouldn't get the contradiction you need in (4) below.
Thanks Mr. Rick. But wont we need to take all the situations.
No. There is a difference between quantifiers "there exists..." and
"for all...". The pumping lemma is stated like this,
FOR ALL regular languages
THERE EXISTS a pumping length n such that
FOR ALL strings in the language
THERE EXISTS a partition into x, y, and z
such that some conditions are true.
The lemma doesn't guarantee that the conditions hold for all possible
values of n, x, y, and z; but only that there is SOME pumping length,
and that there is SOME x, y, and z so that it is true. If you want to
disprove that (and therefore show that the language is non-regular), you
have to show that there is no set of values for n, x, y, and z for which
it's true. You don't get a contradiction by showing that there are
values where it's not true.
This is different from the "FOR ALL" parts. In those cases, the lemma
asserts that its conclusion will be true regardless of what regular
language or string is considered, so you get to make your own choices
and finding even one counterexample is sufficient to obtain the
contradiction.
So the exact wording of the lemma matters quite a lot when you're trying
to contradict it.
--
Chris Smith
.
- Follow-Ups:
- Re: Pumping lemma. Where I go wrong?
- From: Ravi
- Re: Pumping lemma. Where I go wrong?
- References:
- Pumping lemma. Where I go wrong?
- From: Ravi
- Re: Pumping lemma. Where I go wrong?
- From: Rick Decker
- Re: Pumping lemma. Where I go wrong?
- From: Ravi
- Pumping lemma. Where I go wrong?
- Prev by Date: Re: Pumping lemma. Where I go wrong?
- Next by Date: Re: "Size Balanced Tree" - more efficient than any known algorithm?
- Previous by thread: Re: Pumping lemma. Where I go wrong?
- Next by thread: Re: Pumping lemma. Where I go wrong?
- Index(es):
Relevant Pages
|