Flattening the Transition P Systems with Dissolution Oana - - PowerPoint PPT Presentation

flattening the transition p systems with dissolution
SMART_READER_LITE
LIVE PREVIEW

Flattening the Transition P Systems with Dissolution Oana - - PowerPoint PPT Presentation

Flattening the Transition P Systems with Dissolution Oana Agrigoroaiei Gabriel Ciobanu A.I.Cuza University of Ia si, Department of Interdisciplinary Research, Romania Romanian Academy, Institute of Computer Science, Ia si, Romania


slide-1
SLIDE 1

Flattening the Transition P Systems with Dissolution

Oana Agrigoroaiei Gabriel Ciobanu

“A.I.Cuza” University of Ia¸ si, Department of Interdisciplinary Research, Romania Romanian Academy, Institute of Computer Science, Ia¸ si, Romania

  • anaag@iit.tuiasi.ro, gabriel@info.uaic.ro

11th International Conference on Membrane Computing 24-27 August 2010 Jena, Germany

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 1 / 9

slide-2
SLIDE 2

The general idea

Π with m membranes Πf with 1 membrane

  • bject a in membrane i
  • bject (a, i)

δ appears in membrane i

  • bject (δ, i)

rule r without “out” a rule r f rule r with “out” set r f of rules (possible parents) membrane i dissoluble set Di of rules (x, i) → (x, cPari) mpr step in Π mpr step in Πf using r f (including communication) diss step in Π mpr step in Πf using Di – special rule ∇ → 0 to ensure sepa- ration between applying rules from r f and rules from Di Membrane i is dissoluble: exists r ∈ Ri, δ ∈ rhs(r). Note: i not dissoluble ⇔ i will not dissolve in any evolution step.

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 2 / 9

slide-3
SLIDE 3

General Notions:

a rule u → v|x1,...,xn,¬y1,...,ym has a set of promoters xi and a set of inhibitors yj; intermediate configuration of a P system of degree m is a vector W = (w1, . . . , wm) with wi multiset over O or wi = ∗; wi = ∗ specifies that membrane i has been dissolved; W = (w1, . . . , wm) configuration if all wi(δ) = 0; for W , V configurations, W = ⇒T V whenever W →mpr V or W →mpr→δ V

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 3 / 9

slide-4
SLIDE 4

Example

1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b (b, a, b, b) →mpr (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) →mpr →mpr (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 4 / 9

slide-5
SLIDE 5

Example

1 r1 : a → (b, in4) r2 : b → a a 2 r3 : a → δ δ 3 r4 : b → a + δ a + c + δ 4 r5 : b → (c, out) (b, a, b, b) →mpr (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) →mpr →mpr (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 4 / 9

slide-6
SLIDE 6

Example

1 r1 : a → (b, in4) 2a + c 4 r5 : b → (c, out) (b, a, b, b) →mpr (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) →mpr →mpr (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 4 / 9

slide-7
SLIDE 7

Example

1 r1 : a → (b, in4) c 4 r5 : b → (c, out) 2b (b, a, b, b) →mpr (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) →mpr →mpr (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 4 / 9

slide-8
SLIDE 8

Example

1 r1 : a → (b, in4) 3c 4 r5 : b → (c, out) (b, a, b, b) →mpr (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) →mpr →mpr (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 4 / 9

slide-9
SLIDE 9

The flattened P system Πf = (Of , µf , Rf )

Of = (O ∪ {δ}) × {1, . . . , m} ∪ {∇}; µf is formed of only one membrane; Rf =

r∈R r f ∪ {∇ → 0} ∪ i dissolvable Di;

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 5 / 9

slide-10
SLIDE 10

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The configuration of Πf : (b, 1) + (a, 2) + (b, 3) + (b, 4)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-11
SLIDE 11

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The set of rules r f

1 contains only

  • ne rule:

(a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-12
SLIDE 12

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The set of rules r f

2 also contains

  • nly one rule:

(b, 1) → (a, 1)|¬∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-13
SLIDE 13

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b This also takes place for r f

3 :

(a, 2) → (δ, 2) + ∇|¬∇ and for r f

4 :

(b, 3) → (a + δ, 3) + ∇|¬∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-14
SLIDE 14

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b This also takes place for r f

3 :

(a, 2) → (δ, 2) + ∇|¬∇ and for r f

4 :

(b, 3) → (a + δ, 3) + ∇|¬∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-15
SLIDE 15

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The set of rules r f

5 contains three

rules, one for each possible desti- nation of the c from (c, out): (b, 4) → (c, 3)|¬∇,(δ,3) (b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-16
SLIDE 16

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b We add two sets of rules, D2 and D3, to deal with moving objects if membrane 2 or membrane 3 is dissolved.

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-17
SLIDE 17

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The rules in D2 are given for all x ∈ O: (x, 2) → (x, 1)|(δ,2)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-18
SLIDE 18

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The rules in D3 are given for all x ∈ O: (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-19
SLIDE 19

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b The special symbol ∇ is always produced together with one of the (δ, i) symbols. By appearing, it stops the application of any rule from the sets r f . The special rule ∇ → 0 is applied with the rules from sets Dj and by consuming ∇ it allows for rules from r f to be applied in the next step.

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 6 / 9

slide-20
SLIDE 20

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b W0 = (b, a, b, b) Configuration of Πf 1 (b, 1) + (a, 2) + (b, 3) + (b, 4) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) flat(W0) = (b, 1)+(a, 2)+(b, 3)+(b, 4)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-21
SLIDE 21

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a b 2 r3 : a → δ a 3 r4 : b → a + δ b 4 r5 : b → (c, out) b (b, a, b, b) →mpr (a, δ, a + c + δ, 0) Configuration of Πf 1 (b, 1) + (a, 2) + (b, 3) + (b, 4) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) (b, 1) + (a, 2) + (b, 3) + (b, 4) →mpr (a, 1) + (δ, 2) + (a + c + δ, 3) + 2∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-22
SLIDE 22

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a a 2 r3 : a → δ δ 3 r4 : b → a + δ a + c + δ 4 r5 : b → (c, out) W1 = (a, δ, a + c + δ, 0) Configuration of Πf 1 (a, 1) + (δ, 2) + (a + c + δ, 3) + 2∇ rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) flat(W1) = (a, 1) + (δ, 2) + (a + c + δ, 3) + 2∇

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-23
SLIDE 23

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a a 2 r3 : a → δ δ 3 r4 : b → a + δ a + c + δ 4 r5 : b → (c, out) (a, δ, a + c + δ, 0) →δ (2a + c, ∗, ∗, 0) Configuration of Πf 1 (a, 1) + (δ, 2) + (a + c + δ, 3) + 2∇ rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) (a, 1) + (δ, 2) + (a + c + δ, 3) + 2∇ →mpr (2a + c, 1) + (δ, 2) + (δ, 3)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-24
SLIDE 24

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a 2a + c 4 r5 : b → (c, out) W2 = (2a + c, ∗, ∗, 0) Configuration of Πf 1 (2a + c, 1) + (δ, 2) + (δ, 3) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) flat(W2) = (2a + c, 1) + (δ, 2) + (δ, 3)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-25
SLIDE 25

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a 2a + c 4 r5 : b → (c, out) (2a + c, ∗, ∗, 0) →mpr (c, ∗, ∗, 2b) Configuration of Πf 1 (2a + c, 1) + (δ, 2) + (δ, 3) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) (2a + c, 1) + (δ, 2) + (δ, 3) →mpr (c, 1) + (δ, 2) + (δ, 3) + (2b, 4)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-26
SLIDE 26

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a c 4 r5 : b → (c, out) 2b W3 = (c, ∗, ∗, 2b) Configuration of Πf 1 (c, 1) + (δ, 2) + (δ, 3) + (2b, 4) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) flat(W3) = (c, 1)+(δ, 2)+(δ, 3)+(2b, 4)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-27
SLIDE 27

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a c 4 r5 : b → (c, out) 2b (c, ∗, ∗, 2b) →mpr (3c, ∗, ∗, 0) Configuration of Πf 1 (c, 1) + (δ, 2) + (δ, 3) + (2b, 4) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) (c, 1) + (δ, 2) + (δ, 3) + (2b, 4) →mpr (3c, 1) + (δ, 2) + (δ, 3)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-28
SLIDE 28

Example (continued)

Configuration of Π 1 r1 : a → (b, in4) r2 : b → a 3c 4 r5 : b → (c, out) W4 = (3c, ∗, ∗, 0) Configuration of Πf 1 (3c, 1) + (δ, 2) + (δ, 3) rf

1 : (a, 1) → (b, 4)|(δ,2),(δ,3),¬∇

rf

2 : (b, 1) → (a, 1)|¬∇

rf

3 : (a, 2) → (δ, 2) + ∇|¬∇

rf

4 : (b, 3) → (a + δ, 3) + ∇|¬∇

rf

5 : (b, 4) → (c, 3)|¬∇,(δ,3)

(b, 4) → (c, 2)|(δ,3),¬∇,(δ,2) (b, 4) → (c, 1)|(δ,3),(δ,2),¬∇ ∇ → 0 D2 : (x, 2) → (x, 1)|(δ,2) D3 : (x, 3) → (x, 2)|(δ,3),¬(δ,2) (x, 3) → (x, 1)|(δ,3),(δ,2) flat(W4) = (3c, 1) + (δ, 2) + (δ, 3)

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 7 / 9

slide-29
SLIDE 29

Main Results

Theorem W and V configurations of Π: if W = ⇒T V then flat(W ) = ⇒T flat(V ) or flat(W ) = ⇒T= ⇒T flat(V ) if flat(W ) = ⇒T flat(V ) then W = ⇒T V Corollary If W , V configurations of Π which has no dissolutions then W = ⇒T V if and only if flat(W ) = ⇒T flat(V )

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 8 / 9

slide-30
SLIDE 30

Conclusion

semantically conservative transformation of arbitrary transition P systems with dissolution into a P system with one membrane;

  • ne evolution step in Π ←

→ one or two evolution steps in Πf ; based on a simple semantics which does not require additional syntax for the flat form; can be used to reduce problems for P systems with multiple membranes to simpler cases (one membrane).

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 9 / 9

slide-31
SLIDE 31

Conclusion

semantically conservative transformation of arbitrary transition P systems with dissolution into a P system with one membrane;

  • ne evolution step in Π ←

→ one or two evolution steps in Πf ; based on a simple semantics which does not require additional syntax for the flat form; can be used to reduce problems for P systems with multiple membranes to simpler cases (one membrane).

Thank you for listening!

  • O. Agrigoroaiei, G. Ciobanu

Flattening P Systems with Dissolution CMC 2010 9 / 9