Lower bounds for reachability in VASS in fixed dimension Wojciech - - PowerPoint PPT Presentation

lower bounds for reachability in vass in fixed dimension
SMART_READER_LITE
LIVE PREVIEW

Lower bounds for reachability in VASS in fixed dimension Wojciech - - PowerPoint PPT Presentation

Lower bounds for reachability in VASS in fixed dimension Wojciech Czerwi ski Jerome Leroux S awomir Lasota University of Bordeaux University of Warsaw Agata Dubiak Ranko Lazic Filip Mazowiecki ukasz Orlikowski University of Warsaw


slide-1
SLIDE 1

Agata Dubiak Łukasz Orlikowski

Lower bounds for reachability in VASS in fixed dimension

University of Warsaw

Infinity’20, online, 2020-07-07

1

University of Bordeaux Filip Mazowiecki Ranko Lazic University of Warwick MPI Saarbruecken Jerome Leroux Wojciech Czerwiński Sławomir Lasota University of Warsaw

slide-2
SLIDE 2

2

  • 1. Vector addition systems with states (VASS) and the reachability problem
  • 2. Lower bounds in small fixed dimensions
  • 3. Lower bounds in large fixed dimensions

Plan

slide-3
SLIDE 3

3

Many faces of vector addition systems with states

  • vector addition systems with states VASS

[Hopcroft, Pansiot ’79]:

  • counter programs without 0-tests:
  • Petri nets [Petri 1962]:

p q x z y

  • VAS [Karp, Miller ’69]
  • multiset rewriting

=

slide-4
SLIDE 4

4

Counter programs without zero tests

a sequence of commands of the form: except for the very last command which is of the form: Example: initially: x’ = x = y = 0 finally: x' = 0 x = 100 y = 200 no zero tests counters are nonnegative integer variables initially all equal zero

  • therwise abort

abort if x < n

slide-5
SLIDE 5

5

Loop programs

slide-6
SLIDE 6

6

Minsky machines

the conditional jump of Minsky machines is simulated by counter program with zero tests:

slide-7
SLIDE 7

7

Reachability (and coverability)

Reachability problem: given a counter program without zero tests can it terminate (execute its halt command)? Coverability problem: given a counter program without zero tests with trivial halt command can it terminate (reach its halt command)? configuration reachability control-location reachability

slide-8
SLIDE 8

8

Complexity of reachability (and coverability)

2

2

2 … 2}

O(n)

Time/space needed is at least F

3(n) =

Time/space needed is at most F

𝜕(n)

coverability reachability lower bound

EXPSPACE

[Lipton ’76]

EXPSPACE

[Lipton ’76]

upper bound

EXPSPACE

[Rackoff ’78]

decidable

[Sacerdote, Tenney ‘77] [Mayr ’81] [Kosaraju ’82] [Lambert ’92] [Leroux ’09]

Ackermann [Leroux, Schmitz ’15, ’19] Tower [Czerwiński, L., Lazic, Leroux, Mazowiecki ’19]

see Jerome Leroux’s invited talk on Thursday

slide-9
SLIDE 9

9

  • 2. Lower bounds for reachability in small fixed dimensions

dimension = number of counters:

slide-10
SLIDE 10

10

unary binary dimension 1

NL*

[Valiant, Peterson ’75]

NP*

[Haase, Kreutzer, Ouaknine, Worrell ’09]

dimension 2

NL*

[Englert, Lazic, Totzke ’16]

PSPACE*

[Blondin, Finkel, Goeller, Haase, McKenzie ’15]

shortest run has polynomial length shortest run has exponential length Upper bounds similar to dimension 2 for every fixed dimension?

Reachability in dimension 1 and 2

encoding of integers *complete effectively flattable in dimension 2 …at least for flat counter programs?

slide-11
SLIDE 11

11

Flat = no nested loops

slide-12
SLIDE 12

12

unary flat unary binary dim 1

poly* poly* exp*

dim 2

poly* poly* exp*

dim 3

exp* exp*

dim 4

2-exp*

dim 5 …

Shortest runs in small dimensions

Key ingredient: computing exactly large numbers *upper bound *lower bound

?

[Czerwiński, L., Lazic, Leroux, Mazowiecki ’20]

slide-13
SLIDE 13

13

Exponential shortest run in unary flat dim 3

halts iff y divisible by halts iff x = (n+1)・y iff all multiplications exact iff all inner loops iterated maximally program size O(n2), shortest run 2O(nc) iff (n+1)・y divisible by 1, 2, …, n x <= y

  • bjective:
slide-14
SLIDE 14

14

unary flat unary binary dim 1

NL* NL* NP*

dim 2

NL* NL* PSPACE*

dim 3 dim 4 dim 5

NP*

NP*

dim 13

NP* PSPACE* EXPSPACE*

dim 14

NP* EXPSPACE* 2-EXPSPACE*

dim 15

NP* 2-EXPSPACE* 3-EXPSPACE*

… … …

Complexity lower bounds for reachability

*complete *hard

?

?

[Dubiak ’20] [Czerwiński, L., Lazic, Leroux, Mazowiecki ’19, ’20]

What about coverability? NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE NL NL PSPACE

also for binary flat

slide-15
SLIDE 15

15

  • 3. Lower bounds for reachability in large fixed dimensions
slide-16
SLIDE 16

16

unary flat unary

binary dim 13

PSPACE*

dim 14

EXPSPACE*

dim 15

2-EXPSPACE*

Parametric lower bound for reachability

Counter program of size O(n+h) with O(h) = h+13 counters

2

2

2 … n}

h+1

Minsky machine M of size n with counters bounded by O(n+h) [Czerwiński, L., Lazic, Leroux, Mazowiecki ’19] Counter program of size O(n+log h) with O(log h) counters O ( n + l

  • g

h ) [Czerwiński, L., Orlikowski ’??] i m p r

  • v

e d r e d u c t i

  • n
slide-17
SLIDE 17

17

unary flat unary

binary dim 13

PSPACE*

dim 14

EXPSPACE*

dim 15

2-EXPSPACE*

Parametric lower bound for reachability

Reachability problem for programs of size n with d counters needs space at least 2

2

2 … n}

O(d)

[Czerwiński, L., Lazic, Leroux, Mazowiecki ’19]

2(d-13)/3

[Czerwiński, L., Orlikowski ’??]

2

2

2 … n}

2O(d)

d-13

improved lower bound:

slide-18
SLIDE 18

18

Exponential amplifier

x → x’: starting with x>0 and x’ = 0, computes x’ exponentially larger than x (if x = 0 at the end)

if so, also all other counters are forcedly 0 at the end

slide-19
SLIDE 19

19

Composing exponential amplifiers

x0 → x1 x1 → x2 x2 → x3

M simulate M using x3

halt if x0, x1, x2, x3 = 0

unary flat unary

binary dim 13

PSPACE*

dim 14

EXPSPACE*

dim 15

2-EXPSPACE*

x0{ x1

}

x2{ x3

}

→ x0

relay-race

slide-20
SLIDE 20

20

x0{ x1

}

x2{ x4{ x6{ x3

}

x5

}

x7

}

halt if x0, x1, x2, x3, x4, x5, x5, x7 = 0

Relay-race

  • bjective: decrease the number of

counters to logarithmic

slide-21
SLIDE 21

21

x0{ x1

}

x2{ x4{ x6{ x3

}

x5

}

x7

}

halt if x0, x1, x2, x3, x4, x5, x5, x7 = 0

Counter recycling?

x0 = 0 x0

slide-22
SLIDE 22

22

x0{ x1

}

x0{ x0{ x0{ x1

}

x1

}

}

Counter recycling?

x0 = 0 x0 = 0 x0 = 0 x0 = 0 x1 = 0 x1 = 0 x1 = 0

slide-23
SLIDE 23

23

x0{ x1

}

x2{ x4{ x6{ x3

}

x5

}

x7

}

halt if x0, x1, x2, x3, x4, x5, x5, x7, y0, y1, y2, y3, … = 0

Supervisors

y0{ y1

}

y2{ y3

}

x0 + x1 = = x2 + x3 x4 + x5 = = x6 + x7

slide-24
SLIDE 24

24

x0{ x1

}

x2{ x1{ x0{ x0

}

x2

}

x1

}

halt if x0, x1, x2, y0, y1, y2, y3, … = 0

Supervisors

y0{ y1

}

y2{ y3

}

x0 + x1 = = x2 + x0 x1 + x2 = = x0 + x1

slide-25
SLIDE 25

25

x0{ x1

}

x2{ x1{ x0{ x0

}

x2

}

x1

}

halt if x0, x1, x2, y0, y1, y2, z0, z1, … = 0

Supersupervisors

y0{ y1

}

y2{ y0

}

z0{ z1

}

and so on…

slide-26
SLIDE 26

26

Summary

2

2

2 … n}

2O(d)

Reachability problem for d- dimensional VASS of size n requires space at least

unary flat unary binary dim 1

NL* NL* NP*

dim 2

NL* NL* PSPACE*

dim 3 dim 4 dim 5

NP*

NP*

dim 13

NP* PSPACE* EXPSPACE*

dim 14

NP* EXPSPACE* 2-EXPSPACE*

dim 15

NP* 2-EXPSPACE* 3-EXPSPACE*

… … …

?

?

I recruit for a fully-funded PhD position in the NCN grant

*complete *hard

thank you!

unary flat unary binary dim 1

poly* poly* exp*

dim 2

poly* poly* exp*

dim 3

exp* exp*

dim 4

2-exp*

dim 5 …

?

*upper bound *lower bound