P systems simulating oracle computations Antonio E. Porreca - - PowerPoint PPT Presentation

p systems simulating oracle computations
SMART_READER_LITE
LIVE PREVIEW

P systems simulating oracle computations Antonio E. Porreca - - PowerPoint PPT Presentation

P systems simulating oracle computations Antonio E. Porreca Alberto Leporati Giancarlo Mauri Claudio Zandron Dipartimento di Informatica, Sistemistica e Comunicazione Universit degli Studi di Milano-Bicocca, Italy 12th Conference on


slide-1
SLIDE 1

P systems simulating

  • racle computations

Antonio E. Porreca Alberto Leporati Giancarlo Mauri Claudio Zandron

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

12th Conference on Membrane Computing Fontainebleau, France, 24 August 2011

slide-2
SLIDE 2

Summary

◮ We show how to reuse existing recogniser P systems

as “subroutines”

◮ This allows us to simulate oracles ◮ The procedure is quite general

(though technical details may vary)

◮ As an application, we improve the lower bound

  • n PMCAM(−d,−n) to PPP

2/16

slide-3
SLIDE 3

P systems with active membranes

◮ Known for their ability to solve

computationally hard problems

◮ Here we focus on restricted elementary membranes

(no nonelementary division, no dissolution) Object evolution [a → w]α

h

Communication (send-in) a [ ]α

h → [b]β h

Communication (send-out) [a]α

h → [ ]β h b

Elementary division [a]α

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

3/16

slide-4
SLIDE 4

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

n ∈ N

4/16

slide-5
SLIDE 5

The complexity class PMCAM(−d,−n)

It consists of the languages recognised in polytime by uniform families of P systems with restricted elementary membranes

◮ Contains NP problems [Zandron et al. 2000]

(semi-uniform solution)

◮ Contains NP problems [Pérez-Jiménez et al. 2003]

(first uniform solution)

◮ Is contained in PSPACE [Sosík, Rodríguez-Patón 2007] ◮ Contains PP problems [Porreca et al. 2010, 2011]

On the other hand, by using nonelementary division (class PMCAM) we obtain exactly PSPACE

5/16

slide-6
SLIDE 6

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

x2x3 x1

6/16

slide-7
SLIDE 7

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

x2x3 x1

6/16

slide-8
SLIDE 8

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2x3 x1 f2x3 x1

6/16

slide-9
SLIDE 9

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2x3 x1 f2x3 x1

6/16

slide-10
SLIDE 10

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2x3 f1 f2 t3 x1 t2x3 t1 f2 f3 x1

6/16

slide-11
SLIDE 11

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2x3 f1 f2 t3 x1 t2x3 t1 f2 f3 x1

6/16

slide-12
SLIDE 12

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

6/16

slide-13
SLIDE 13

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

6/16

slide-14
SLIDE 14

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

6/16

slide-15
SLIDE 15

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

6/16

slide-16
SLIDE 16

Solving 3SAT

Is ϕ(x1, x2, x3) satisfiable?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t

Y E S

6/16

slide-17
SLIDE 17

The complexity class PP

Definition

L ∈ PP if it is accepted in polytime by a nondeterministic TM such that more than half of its computations are accepting Solving PP is “essentially the same as” counting the number of solutions

Problem (T H R E S H O L D-3SAT)

Given a Boolean formula ϕ over m variables and an integer k < 2m, do more than k assignments out of 2m satisfy ϕ?

Theorem

T H R E S H O L D-3SAT is PP-complete

7/16

slide-18
SLIDE 18

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

8/16

slide-19
SLIDE 19

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

8/16

slide-20
SLIDE 20

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

8/16

slide-21
SLIDE 21

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1

8/16

slide-22
SLIDE 22

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

8/16

slide-23
SLIDE 23

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

8/16

slide-24
SLIDE 24

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

− − −

8/16

slide-25
SLIDE 25

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t t

− − −

8/16

slide-26
SLIDE 26

Solving T H R E S H O L D-3SAT

Does ϕ(x1, x2, x3) have more than 3 satisfying assignments?

t2 t3 f1 f2 t3 t1 t2 t3 t1 f2 f3 t1 t2 f3 f1 f2 t3 f1 t2 f3 t1 f2 f3 f1 t t t

Y E S

− − −

8/16

slide-27
SLIDE 27

Simulating Turing machines I

q 1

S − + − 1 2 3 4

H2,q 9/16

slide-28
SLIDE 28

Simulating Turing machines II

δ(q1, 0) = (q2, 1, ⊲)

  • Hq1,i, [ ]−

i → [Hq2,i+1]+ i

[Hq2,i+1]+

i → [ ]+ i

Hq2,i+1 S − + − 1 2 3 4

H2,q1

10/16

slide-29
SLIDE 29

Simulating Turing machines II

δ(q1, 0) = (q2, 1, ⊲)

  • Hq1,i, [ ]−

i → [Hq2,i+1]+ i

[Hq2,i+1]+

i → [ ]+ i

Hq2,i+1 S − + − 1 2 3 4

H2,q1

10/16

slide-30
SLIDE 30

Simulating Turing machines II

δ(q1, 0) = (q2, 1, ⊲)

  • Hq1,i, [ ]−

i → [Hq2,i+1]+ i

[Hq2,i+1]+

i → [ ]+ i

Hq2,i+1 S − + + 1 2 3 4

H3,q2

10/16

slide-31
SLIDE 31

Simulating Turing machines II

δ(q1, 0) = (q2, 1, ⊲)

  • Hq1,i, [ ]−

i → [Hq2,i+1]+ i

[Hq2,i+1]+

i → [ ]+ i

Hq2,i+1 S − + + 1 2 3 4

H3,q2

10/16

slide-32
SLIDE 32

Simulating Turing machines II

δ(q1, 0) = (q2, 1, ⊲)

  • Hq1,i, [ ]−

i → [Hq2,i+1]+ i

[Hq2,i+1]+

i → [ ]+ i

Hq2,i+1 S − + + 1 2 3 4

H3,q2

10/16

slide-33
SLIDE 33

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

11/16

slide-34
SLIDE 34

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A 11/16

slide-35
SLIDE 35

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-36
SLIDE 36

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-37
SLIDE 37

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-38
SLIDE 38

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-39
SLIDE 39

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-40
SLIDE 40

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + 11/16

slide-41
SLIDE 41

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A −

AY E S

11/16

slide-42
SLIDE 42

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A −

AY E S

11/16

slide-43
SLIDE 43

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + − 11/16

slide-44
SLIDE 44

Using P systems as subroutines

S − + − + 1 2 3 4

H2,q?

Π Π Π Π Π A + − 11/16

slide-45
SLIDE 45

Main result

Theorem

PPP ⊆ PMCAM(−d,−n)

Proof.

◮ Any polytime TM M with a PP oracle can be simulated

by a polytime TM M′ with an oracle for T H R E S H O L D-3SAT and only one tape

◮ Just apply a reduction (which always exists,

since T H R E S H O L D-3SAT is PP-complete) before querying the oracle

◮ And we know how to simulate the TM M′

with a polytime AM(−d, −n) uniform family.

12/16

slide-46
SLIDE 46

Discussion I

◮ We can solve QSAT (PSPACE-complete)

by using nonelementary division and a membrane structure of depth Θ(n)

◮ QSAT instances have an arbitrary number

  • f alternations of quantifiers

◮ By fixing the first quantifier (∀ or ∃) and the number

  • f alternations, we get complete problems for all levels
  • f the polynomial hierarchy

◮ Formulae with k alternations can be solved by P systems

using nonelementary division and a membrane structure

  • f depth Θ(k)

◮ Notice that k does not depend on the input size

13/16

slide-47
SLIDE 47

Discussion II

◮ Let PH be the union of the levels

  • f the polynomial hierarchy

◮ Toda’s theorem tells us that PH ⊆ PPP ◮ So we also have PH ⊆ PMCAM(−d,−n) ◮ This means that all levels of the polynomial hierarchy

can be solved by using P systems with only elementary division and membrane structure of depth 3

◮ Does this mean PSPACE ⊆ PMCAM(−d,−n)

and so PSPACE = PMCAM(−d,−n)?

◮ Not immediately: PH is not known neither conjectured

to be PSPACE

14/16

slide-48
SLIDE 48

Open problems

◮ Prove that we can always do the oracle simulation ◮ If we can reset the “oracle P systems”

then we only need a single copy of it

◮ It might still be possible that PMCAM(−d,−n) = PSPACE

even if PH = PSPACE

◮ But maybe it would be more interesting if it turns out

that PMCAM(−d,−n) = PPP

15/16

slide-49
SLIDE 49

Merci de votre attention! Thanks for your attention!