Re: Pumping lemma. Where I go wrong?



Ravi <ra.ravi.rav@xxxxxxxxx> wrote:
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.

Wikipedia says it as
Let L be a regular language. Then there exists an integer n = 1 such
that every string w in L of length at least n (n be the pumping
length) can be written as w = xyz (i.e., w can be divided into three
substrings), satisfying <some conditions>
There is no mention of
THERE EXISTS a partition into x, y, and z

It's there, just with a slightly different wording. The phrase "can be
written as w = xyz satisfying..." means that there is some division into
x, y, and z where the conditions are true. It does not mean that the
conditions are true of all possible divisions.

I wrote the lemma using wording that makes the alternating quantifiers
more explicit; Wikipedia apparently had no such motive; but both mean
the same thing.

and moreover, pumping lemma is not sufficient to prove a language is
regular, but can help if a language is not regular.

True; but I'm not sure why you're saying this right now. I don't recall
anyone talking about using the pumping lemma to prove regularity. If
someone were suggesting that, it would not be valid.

--
Chris Smith
.



Relevant Pages

  • Re: REGULAR-TM is undecidable?
    ... :>> Now what is unclear to me is why this non-regular language is in 1a). ... :>> R can decide whether X accepts a regular language. ... If M doesn't accept w, then the only strings X_M,w accepts are ... I do not see how the acceptance problem of is reflected in 1a). ...
    (comp.theory)
  • Re: closure properties of regular languages
    ... If A and B are regular then ... L = A union B union C. ... Can you think of a non-regular language? ... Can you list some strings that are not in the language? ...
    (comp.theory)
  • Re: closure properties of regular languages
    ... If A and B are regular then ... L = A union B union C. ... Can you think of a non-regular language? ... Can you list some strings that are not in the language? ...
    (comp.theory)
  • Re: closure properties of regular languages
    ... If A and B are regular then ... L = A union B union C. ... Can you think of a non-regular language? ... Can you list some strings that are not in the language? ...
    (comp.theory)
  • Re: Pumping lemma. Where I go wrong?
    ... FOR ALL strings in the language ... Let L be a regular language. ... that every string w in L of length at least n (n be the pumping ...
    (comp.theory)