08.01.2013 Views

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

LNCS 2950 - Aspects of Molecular Computing (Frontmatter Pages)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

282 Manfred Kudlek<br />

Lemma 5. {[x]}◦{[y]} = κ(γ([x]) ([y])), A ◦ B = κ(γ(A) γ(B)), and{x1]}◦<br />

···◦{[xk]} = κ(γ([x1]) ··· γ([xk])) for k ≥ 1.<br />

Pro<strong>of</strong>. The first statement is just the definition <strong>of</strong> ◦.<br />

A ◦ B = �<br />

�<br />

[x]∈A,[y]∈B {[x]}◦{[y]} = [x]∈A,[y]∈B κ(γ([x]) γ([y]))<br />

= κ( �<br />

[x]∈A,[y]∈B γ([x]) γ([y])) = κ(γ(A) γ(B)).<br />

The last statement follows by induction on k, using the second statement. ✷<br />

3 Results<br />

The first theorem presents a pro<strong>of</strong> <strong>of</strong> Exercises 3.4 c in [6] or 4.2.11 in [5],<br />

respectively. (We give a pro<strong>of</strong> because <strong>of</strong> technical reasons.)<br />

Theorem 1. REG is closed under cyclic permutation: γκ(REG) ⊂ REG.<br />

Pro<strong>of</strong>. Let G =(VN ,VT ,S,P) be a type-3 grammar generating the language<br />

L = L(G). Assume that G is in normal form, i.e. the productions are <strong>of</strong> the form<br />

A→aB or A→a, andS does not occur on the right-hand side <strong>of</strong> any production.<br />

Assume also that each x ∈ VN ∪ VT is reachable from S.<br />

From G construct a new type-3 grammar G1 =(V1N ,V1T ,S1,P1) with<br />

V1N = VN × VN ∪ VN × VN ∪{S1},<br />

V1T = VT , and productions<br />

P1 = {S1→〈B,A〉 |∃A→aB ∈ P }<br />

∪{〈B,A〉→a〈C, A〉 |B→aC ∈ P } ∪ {〈B,A〉→a〈 ¯ S,A〉 |B→a ∈ P }<br />

∪{〈 ¯ B,A〉→a〈 ¯ C,A〉|B→aC ∈ P }∪ {〈 Ā, A〉→a | A→a ∈ P }.<br />

Then a derivation<br />

S⇒a0A1⇒···⇒a0 ···ak−1Ak⇒a0 ···akAk+1⇒···<br />

⇒a0 ···akak+1 ···amAm+1⇒a0 ···akak+1 ···amam+1<br />

implies a derivation<br />

S1⇒〈Ak+1,Ak〉⇒ak+1〈Ak+2,Ak〉⇒ak+1 ···am〈Am+1,Ak〉<br />

⇒ak+1 ···amam+1〈 ¯ S,Ak〉⇒ak+1 ···am+1a0〈 Ā1,Ak〉<br />

⇒···ak+1 ···am+1a0 ···ak−1〈 Āk,Ak〉⇒ak+1 ···am+1a0 ···ak,<br />

and therefore<br />

S1⇒∗ ak+1 ···am+1a0 ···am.<br />

On the other hand, a derivation<br />

S1⇒〈Ak+1,Ak〉⇒ak+1〈Ak+2,Ak〉⇒ak+1 ···am〈Am+1,Ak〉<br />

⇒ak+1 ···amam+1〈 ¯ S,Ak〉⇒ak+1 ···am+1a0〈 Ā1,Ak〉<br />

⇒···ak+1 ···am+1a0 ···ak−1〈 Āk,Ak〉⇒ak+1 ···am+1a0 ···ak<br />

implies derivations<br />

Ak+1⇒···⇒ak+1 ···amAm+1⇒ak+1 ···amam+1 and<br />

S⇒a0A1⇒···a0 ···ak−1Ak⇒a0 ···ak−1akAk+1,<br />

and therefore<br />

S⇒∗ a0 ···akak+1 ···am+1.<br />

Thus, L(G1) =γκ(L), the set <strong>of</strong> all cyclic permutations <strong>of</strong> L.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!