P systems with elementary active membranes: Beyond NP and coNP - - PowerPoint PPT Presentation

p systems with elementary active membranes beyond np and
SMART_READER_LITE
LIVE PREVIEW

P systems with elementary active membranes: Beyond NP and coNP - - PowerPoint PPT Presentation

P systems with elementary active membranes: Beyond NP and coNP Antonio E. Porreca Alberto Leporati Giancarlo Mauri Claudio Zandron Dipartimento di Informatica, Sistemistica e Comunicazione Universit degli Studi di Milano-Bicocca, Italy 11th


slide-1
SLIDE 1

P systems with elementary active membranes: Beyond NP and coNP

Antonio E. Porreca Alberto Leporati Giancarlo Mauri Claudio Zandron

Dipartimento di Informatica, Sistemistica e Comunicazione Università degli Studi di Milano-Bicocca, Italy

11th Conference on Membrane Computing Jena, Germany, 25 August 2010

slide-2
SLIDE 2

Summary

◮ P systems with active membranes are thoroughly investigated

from a complexity-theoretic standpoint

◮ They have been known to solve NP and coNP problems

in polytime, using elementary division

◮ We improve this result by solving a PP-complete problem

PP ⊆ PMCAM(−d,−n)

2/18

slide-3
SLIDE 3

Outline

P systems with elementary active membranes Recogniser P systems and uniformity The complexity class PP Solving a PP-complete problem Conclusions and open problems

3/18

slide-4
SLIDE 4

Membrane structure and its contents

◮ Membranes have a fixed label and a changeable charge ◮ The charges regulate which set of rules can be applied ◮ In each membrane we have the usual multiset of objects

h0 h1 h2 + − aaabbc bcc abc 4/18

slide-5
SLIDE 5

Rules for restricted elementary active membranes

Object evolution [a → w]α

h

Send out [a]α

h → [ ]β h b

Send in a [ ]α

h → [b]β h

Elementary division [a]α

h → [b]β h [c]γ h

No dissolution or nonelementary division Maximally parallel application of rules

5/18

slide-6
SLIDE 6

Uniform families of recogniser P systems

◮ For each input length n = |x| we construct a P system Πn

receiving as input a multiset encoding x

◮ Both are constructed by fixed polytime Turing machines ◮ The resulting P system decides if x ∈ L M1 1 1 1

x ∈ Σ⋆

M2 1

Y E S N O

aab

aab

Input multiset

1|x| ∈ {1}⋆

6/18

slide-7
SLIDE 7

Timeline of P systems with active membranes

◮ Attacking (and solving) NP-complete problems [P˘

aun 1999], uses dissolution and nonelementary division

◮ Solving NP-complete problems [Zandron et al. 2000],

no dissolution nor nonelementary division

◮ Solving NP-complete problems [Pérez-Jiménez et al. 2003],

uniform, no dissolution nor nonelementary division

◮ PSPACE upper bound [Sosík, Rodríguez-Patón 2007] ◮ Solving PP-complete problems [Alhazov et al. 2009],

no nonelementary division, uses either cooperation

  • r postprocessing

7/18

slide-8
SLIDE 8

The PP complexity class

Definition

PP is the class of languages decided by polytime probabilistic Turing machines with error probability strictly less that 1/2

Definition (equivalent)

PP is the class of languages decided by polytime nondeterministic Turing machines such that more than half of the computations accept

8/18

slide-9
SLIDE 9

How large is PP?

P NP coNP PSPACE PP 9/18

slide-10
SLIDE 10

The S Q R T-3SAT problem

Problem (S Q R T-3SAT)

Given a Boolean formula of m variables in 3CNF, do more that √ 2m assignments satisfy it?

Fact

S Q R T-3SAT is PP-complete

10/18

slide-11
SLIDE 11

Encoding S Q R T-3SAT instances

◮ There are

m

3

  • sets of 3 variables out of m

◮ Each variable can be positive or negated (23 ways) ◮ Hence there are n = 8

m

3

  • possible clauses

◮ We can represent a 3CNF formula by an n-bit string ◮ Checking well-formedness and recovering m from n

are easy (polytime)

11/18

slide-12
SLIDE 12

An example

◮ If we have 3 variables, the number of clauses is 8

3

3

  • = 8

x1 ∨ x2 ∨ x3 x1 ∨ x2 ∨ ¬x3 x1 ∨ ¬x2 ∨ x3 x1 ∨ ¬x2 ∨ ¬x3 ¬x1 ∨ x2 ∨ x3 ¬x1 ∨ x2 ∨ ¬x3 ¬x1 ∨ ¬x2 ∨ x3 ¬x1 ∨ ¬x2 ∨ ¬x3

◮ Then the formula

ϕ = (x1 ∨ ¬x2 ∨ x3)

  • 3rd

∧ (¬x1 ∨ x2 ∨ ¬x3)

  • 6th

∧ (¬x1 ∨ ¬x2 ∨ x3)

  • 7th

is encoded as ϕ = 0010 0110

12/18

slide-13
SLIDE 13

A membrane computing algorithm for S Q R T-3SAT

Algorithm

Let ϕ be a 3CNF formula of m variables

  • 1. Generate 2m membranes, one for each assignment
  • 2. Evaluate ϕ in parallel in each of these membranes,

send out object t from them if it is satisfied

  • 3. Erase ⌈

√ 2m⌉ − 1 instances of t

  • 4. Output Y E S if an instance of t remains and N O otherwise

Phase 3 was first proposed by Alhazov et al. 2009 using cooperative rewriting rules

13/18

slide-14
SLIDE 14

Overview of the computation

1 x1x2 · · · 14/18

slide-15
SLIDE 15

Overview of the computation

1 t1x2 · · · 1 f1x2 · · · 14/18

slide-16
SLIDE 16

Overview of the computation

1 t1t2 · · · 1 f1t2 · · · 1 t1f2 · · · 1 f1f2 · · · 14/18

slide-17
SLIDE 17

Overview of the computation

2m assignments 1 t1t2 · · · 1 f1t2 · · · 1 t1f2 · · · 1 f1f2 · · · 14/18

slide-18
SLIDE 18

Overview of the computation

2 1 t1t2 · · · 1 f1t2 · · · 1 t1f2 · · · 1 f1f2 · · · 14/18

slide-19
SLIDE 19

Overview of the computation

1 t1t2 · · · 1 f1t2 · · · 1 t1f2 · · · 1 f1f2 · · · 2 2 ⌈ √ 2m⌉ − 1 copies 14/18

slide-20
SLIDE 20

Overview of the computation

2 2 1 1 1 1 t t t 14/18

slide-21
SLIDE 21

Overview of the computation

2 2 1 1 1 1 t t t 14/18

slide-22
SLIDE 22

Overview of the computation

2 − 2 − 1 1 1 1 t t t 14/18

slide-23
SLIDE 23

Overview of the computation

2 − 2 − 1 1 1 1 t t t 14/18

slide-24
SLIDE 24

Overview of the computation

2 − 2 − 1 1 1 1 t t

YES

14/18

slide-25
SLIDE 25

Our main result

Proposition

There is a uniform construction of the family of P systems solving S Q R T-3SAT

Proposition

S Q R T-3SAT ∈ PMCAM(−d,−n)

Theorem

PP ⊆ PMCAM(−d,−n)

15/18

slide-26
SLIDE 26

In other words. . .

P NP coNP PSPACE PMCAM(−d,−n) PP 16/18

slide-27
SLIDE 27

Conclusions and open problems

◮ We solved a PP-complete problem in polytime using

P systems with restricted active membranes

◮ As a consequence PP ⊆ PMCAM(−d,−n) ⊆ PSPACE holds ◮ However, neither inclusion is known to be strict,

and a full characterisation is still missing

◮ This class is possibly larger than PP ◮ Maybe even PMCAM(−d,−n) = PSPACE holds?

17/18

slide-28
SLIDE 28

Thanks for your attention!