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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

On Some Classes <strong>of</strong> Splicing Languages 93<br />

Pro<strong>of</strong>. By definition, if (S, w, T )isa(2, 4) edge, then there exists a (2, 4) rule<br />

r =(1,a;1,T) ∈ ¯ R such that Swa is a factor <strong>of</strong> ¯ L. The only rule in ¯ R involving<br />

T is (1,T;1,T), thus a = T ,andSwT is a factor <strong>of</strong> ¯ L.But ¯ L ⊂ SV ∗ T ,thus<br />

SwT ∈ ¯ L.Conversely,ifSwT ∈ ¯ L,thenSwT is a factor <strong>of</strong> ¯ L, and since rule<br />

(1,T;1,T) ∈ ¯ R,wehavethat(S, w, T )isa(2, 4) edge. ✷<br />

The product <strong>of</strong> two adjacent edges in G, e1 =(b0,w1,b1)ande2 =(b1,w2,b2),<br />

is defined as the triple e1e2 =(b0,w1b1w2,b2).<br />

Lemma 3. (The closure property) Whenever e1 and e2 are adjacent edges in<br />

G, e1e2 is an edge <strong>of</strong> G.<br />

Pro<strong>of</strong>. If e1 =(b0,w1,b1) ande2 =(b1,w2,b2) are adjacent (2, 4) edges in G,<br />

then there exist the (2, 4) rules r1 =(1,a1;1,b1) andr2 =(1,a2;1,b2) in ¯ R,and<br />

there exist the strings x0,y1,x1,y2 ∈ ¯ V , such that the words x0b0w1a1y1 and<br />

x1b1w2a2y2 are in ¯ L.Usingr1 to splice these words we obtain<br />

(x0b0w1|a1y1,x1|b1w2a2y2) ⊢r1 x0b0w1b1w2a2y2 ∈ ¯ L,<br />

so b0w1b1w2a2 is a factor <strong>of</strong> ¯ L. This fact, together with having rule r2 in ¯ R,<br />

makes e1e2 =(b0,w1b1w2,b2) anedge<strong>of</strong>G. ✷<br />

A path in G is a sequence π =< e1, ···,en > <strong>of</strong> edges ek =(bk−1,wk,bk),<br />

1 ≤ k ≤ n, every two consecutive ones being adjacent. The label <strong>of</strong> a path as<br />

above is λ(π) =b0w1b1 ···wnbn. Asingleedgee is also a path, ,thusits<br />

label λ(e) is also defined.<br />

Lemma 4. For π =< e1, ···,en > apathinG, the product e = e1 ···en exists<br />

and is an edge <strong>of</strong> G, whose label equals the label <strong>of</strong> the path, i.e., λ(e) =λ(π).<br />

Pro<strong>of</strong>. Using Lemma 3 and the definitions, one can prove by straightforward<br />

calculations that the product <strong>of</strong> adjacent edges is associative, hence the product<br />

<strong>of</strong> n edges <strong>of</strong> a path can be unambiguously defined, and is an edge. ✷<br />

The language <strong>of</strong> the (2, 4) graph G, denoted L(G), is the set <strong>of</strong> all labels <strong>of</strong><br />

paths in G, fromS to T .<br />

Lemma 5. L(G) = ¯ L.<br />

Pro<strong>of</strong>. From Lemma 2 we have ¯ L ⊆ L(G), since SwT ∈ ¯ L implies (S, w, T )is<br />

an edge, and λ(S, w, T )=SwT ∈ L(G) by definition. For the other implication,<br />

if π is a path in G from S to T , then, according to Lemma 4 there exists the<br />

product edge e =(S, w, T )<strong>of</strong>alledgesinπ and λ(π) =λ(e) =SwT ∈ ¯ L. ✷<br />

The following is the analogue <strong>of</strong> the prefix edge property <strong>of</strong> (1, 3) arrow<br />

graphs from [8].<br />

Lemma 6. (Suffix edge) If (b ′′ ,ub ′ v, b) is an edge <strong>of</strong> G, with b ′ ∈ V , then<br />

(b ′ ,v,b) is an edge <strong>of</strong> G.

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

Saved successfully!

Ooh no, something went wrong!