Re: context free languages under SCRAMBLE operation
- From: PeterPan <stupsi@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 10:20:35 +0100
PeterPan wrote:
TheGist wrote:Sorry last sentence is: Hence, SCRAMBLE(L)is not context free
David Wagner wrote:
The language containing strings like
cabcab
is obviously regular, however we know from a previous result that
strings of the form a^nb^nc^n n>=0 are not context free.
Is that a sufficient proof?
No. Let L = (cab)^*. SCRAMBLE(L) != {a^n b^n c^n : n >= 0}.
Why not? Certainly there exists a permutation of, say, cabcab that looks like aabbcc (n=2), no?
Use SCRAMBLE(L) intersect a*b*c* which is equal to {a^n b^n c^n : n >= 0}.
a*b*c* is regular, CFL is closed under intersection with regular languages, {a^n b^n c^n : n >= 0} is not context free.
Hence, is not context free.
Bye
.
- References:
- context free languages under SCRAMBLE operation
- From: TheGist
- Re: context free languages under SCRAMBLE operation
- From: David Wagner
- Re: context free languages under SCRAMBLE operation
- From: TheGist
- Re: context free languages under SCRAMBLE operation
- From: PeterPan
- context free languages under SCRAMBLE operation
- Prev by Date: Re: context free languages under SCRAMBLE operation
- Next by Date: TSP and A-star
- Previous by thread: Re: context free languages under SCRAMBLE operation
- Next by thread: TSP and A-star
- Index(es):
Relevant Pages
|