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.

302 Peter Leupold, Victor Mitrana, and José M.Sempere<br />

4 Bounded Duplication Languages<br />

Unlike the case <strong>of</strong> unbounded duplication languages, we are able to determine<br />

the place <strong>of</strong> bounded duplication languages in the Chomsky hierarchy. This is<br />

the main result <strong>of</strong> this section.<br />

Theorem 4. For any word r and any integer n ≥ 1, then-bounded duplication<br />

language defined by r is context-free.<br />

Pro<strong>of</strong>. For our alphabet V = alph(r) we define the extended alphabet Ve by<br />

Ve := V ∪{〈a〉 |a ∈ V }. Further we define L≤l := {w ∈ L ||w| ≤l} for any<br />

language L and integer l. We now define the pushdown automaton<br />

�� µ<br />

v<br />

A r n =<br />

�<br />

Q, V, Γ, δ,<br />

� ε<br />

ε<br />

r<br />

�<br />

, ⊥,<br />

�� ε<br />

ε<br />

ε<br />

���<br />

,<br />

�<br />

where Q = | µ ∈ (V<br />

w<br />

∗<br />

e · V ∗ ∪ V ∗ · V ∗<br />

e ) ≤n ,v ∈ (V ∗ ) ≤n ,w ∈ (V ∗ ) ≤|r|<br />

�<br />

,<br />

� � �<br />

µ<br />

and Γ = {⊥} ∪ µ | v ∈ Q, v ∈ (V<br />

w<br />

∗ ) ≤n ,w ∈ (V ∗ ) ≤|r|<br />

�<br />

.<br />

Here we call the three strings occurring in a state from bottom to top pattern,<br />

memory, andguess, respectively. Now we proceed to define an intermediate<br />

deterministic transition function δ ′ . In this definition the following variables<br />

are always quantified universally over the following domains: u, v ∈ (V ∗ ) ≤n ,<br />

w ∈ (V ∗ ) ≤|r| , µ ∈ (V ∗<br />

e )≤n , η ∈ (V ∗<br />

e · V ∗ ∪ V ∗ · V ∗<br />

e )≤n , γ ∈ Γ , x ∈ V and Y ∈ Ve.<br />

(i) δ ′<br />

(ii) δ ′<br />

(iii) δ ′<br />

(iv) δ ′<br />

�� ε<br />

ε<br />

xw<br />

��<br />

µxu<br />

ε<br />

w ��<br />

u〈x〉Yµ<br />

ε<br />

�� u〈x〉<br />

ε<br />

w<br />

� � �� � �<br />

ε<br />

,x,⊥ = ε , ⊥ and δ<br />

w<br />

′<br />

�� � � �� � �<br />

ε<br />

ε<br />

xu ,ε,⊥ = u , ⊥<br />

xw<br />

w<br />

� � �� � �<br />

µ〈x〉u<br />

,x,γ = ε ,γ and δ<br />

w<br />

′<br />

�� � � ��<br />

µxu<br />

µ〈x〉u<br />

xv ,ε,γ = v<br />

� � �� � �<br />

uxY µ<br />

,x,γ = ε ,γ and<br />

w<br />

w<br />

w<br />

w<br />

δ ′<br />

�� � � �� � �<br />

u〈x〉Yµ<br />

uxY µ<br />

xv ,ε,γ = v ,γ<br />

w<br />

� � �� � �<br />

η<br />

,x,η = ux ,ε ,<br />

w<br />

δ<br />

w<br />

′<br />

�� � � �� � �<br />

u〈x〉<br />

η<br />

xv ,ε,η = uxv ,ε .<br />

w<br />

w<br />

� �<br />

,γ<br />

For all triples (q, x, γ) ∈ Q×(V ∪{ε})×Γ not listed above, we put δ ′ (q, x, γ) =∅.<br />

To ensure that our finite state set suffices, we take a closer look at the memory<br />

<strong>of</strong> the states – since after every reduction the reduced word is put there (see<br />

transition set (iv)), there is a danger <strong>of</strong> this being unbounded. However, during<br />

any reduction <strong>of</strong> a duplication, which in the end puts k ≤ n letters into the<br />

memory, either 2k letters from the memory or all letters <strong>of</strong> the memory (provided<br />

the memory is shorter than 2k) have been read, since reading from memory has<br />

priority (note that the tape is read in states with empty memory only). This<br />

gives us a bound on the length <strong>of</strong> words in the memory which is n. Itisworth<br />

noting that the transitions <strong>of</strong> δ ′ actually match either the original word r or the

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

Saved successfully!

Ooh no, something went wrong!