pumping lemma (second try)
From: Mark \(The WannaBe\) (mark_hsn_at_hotmail.com)
Date: 10/13/04
- Next message: Kent Paul Dolan: "Re: limit speed of computation - Digital vs. Quantum"
- Previous message: DCC: "Call for Papers, Data Compression Conference 2005, March 29-31, Snowbird, UT"
- Next in thread: Rick Decker: "Re: pumping lemma (second try)"
- Reply: Rick Decker: "Re: pumping lemma (second try)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 13 Oct 2004 22:07:42 +0200
Hi
I am a wannabe of computer science and I am trying my best on a prove
applying the pumping lemma.
It is a problem from "Introduction to Automata Theory, Languages, and
Computation" by Hopcroft et al.
It is the problem 4.1.1.f. I got help on 4.1.1.c in sci.math, but I was told
that this news group was more appropriate for these kinds of questions.
I want to know if this is a correct application of the pumping lemma. My
trial is between the lines --*--*--.
--*--*--
The problem is: Prove that L={0^n1^(2n)|n>=1} is not a regular language.
I will prove it by use of the pumping lemma. We will assume the language L
is regular and then show that this assumption leads to a contradiction. If L
is regular then we can apply the pumping lemma to repetitively pump up a
substring of a string w belonging to L and still get new strings also
belonging to L. The pumping lemma is applied as follows.
We chose strings from L of at least length p where p>=1, we chose the string
w=0^p1^(2p).
It is obvious that |w|>=p. Now we most have that |xy|<=p for that to be true
then we have that xy = 0^p.
If r + s = p and s>0 then we chose x = 0^r = 0^(p-s) and y=0^s and z =
1^(2p). Now chose k=0 then we have that xz = 0^(p-s)1^(2p) which does not
belongs to L and we therefore have a contradiction and our assumption was
wrong, L is not regular.
--*--*--
I have tried to learn from postings at sci.math. Is the above application
and presentation of a prove using the pumping lemma correct? Should I
explain the pumping lemma before using it, or is it appropriate just to
mention the pumping lemma an then assume that the meaning of w=xyz, |xy|<=n,
y =/=epsilon, etc. is well known?
Kind regards
Mark (The WannaBe)
- Next message: Kent Paul Dolan: "Re: limit speed of computation - Digital vs. Quantum"
- Previous message: DCC: "Call for Papers, Data Compression Conference 2005, March 29-31, Snowbird, UT"
- Next in thread: Rick Decker: "Re: pumping lemma (second try)"
- Reply: Rick Decker: "Re: pumping lemma (second try)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|