+ All Categories
Home > Documents > Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux,...

Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux,...

Date post: 14-Jun-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
47
Hyper-Ackermannian Bounds for Pushdown Vector Addition Systems Jérôme Leroux 1 M. Praveen 2 Grégoire Sutre 1 1 Univ. Bordeaux & CNRS, LaBRI, Talence, France 2 Chennai Mathematical Institute, Chennai, India ACTS, Chennai, India, Feb 2015 J. Leroux , M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 1 / 24
Transcript
Page 1: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Hyper-Ackermannian Bounds for PushdownVector Addition Systems

Jérôme Leroux1 M. Praveen2 Grégoire Sutre1

1Univ. Bordeaux & CNRS, LaBRI, Talence, France

2Chennai Mathematical Institute, Chennai, India

ACTS, Chennai, India, Feb 2015

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 1 / 24

Page 2: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Table of Contents

1 Pushdown Vector Addition Systems

2 Reduced Reachability Tree for Pushdown VAS

3 Worst-Case Size of the Reduced Reachability Tree

4 Conclusion

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 2 / 24

Page 3: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Table of Contents

1 Pushdown Vector Addition Systems

2 Reduced Reachability Tree for Pushdown VAS

3 Worst-Case Size of the Reduced Reachability Tree

4 Conclusion

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 3 / 24

Page 4: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown Vector Addition Systems — Model

p q r(+5)

(−1), push(B)

(+1)

(−1), push(A) (+2), pop(A)

pop(B)

VASd (implicit) counters over Ncounter actions

syntax: a ∈ Zd

semantics: v︸︷︷︸∈Nd

→ v + a︸ ︷︷ ︸∈Nd

+Stackfinite stack alphabetpush and pop

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 4 / 24

Page 5: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown Vector Addition Systems — Model

p q r(+5)

(−1), push(B)

(+1)

(−1), push(A) (+2), pop(A)

pop(B)

(p, 5, ε)

(p, 4,B)

(p, 3,B B)

(q, 4,B B)

(q, 3,B B A)

(q, 0,B B AAAA)

(r , 0,B B AAAA)

(r , 8,B B)

(q, 8,B)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 4 / 24

Page 6: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown Vector Addition Systems — Motivations

VASS

'

VAS

'

Petri net

+

ê Richer model for the verification of concurrent systemsMulti-threaded recursive programsOne recursive server + unboundedly many finite-state clients

ê Is the model too powerful?

VAS PDA

VAS + zero-tests Multi-PDA

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 5 / 24

Page 7: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown Vector Addition Systems — Motivations

VASS

'

VAS

'

Petri net

+

ê Richer model for the verification of concurrent systemsMulti-threaded recursive programsOne recursive server + unboundedly many finite-state clients

ê Is the model too powerful?

VAS PDA

VAS + zero-tests Multi-PDA

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 5 / 24

Page 8: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Brief State of the Art

Boundedness Coverability Reachability

VAS ExpSpace-c1,2 ExpSpace-c1,2 Decidable3,4

+ full counter Decidable5 Decidable Decidable6

+ stack

?

Tower-h7

[1] Lipton 1976[5] Finkel, Sangnier 2010

[2] Rackoff 1978[7] Lazić 2012

[3] Mayr 1981[4] Kosaraju 1982[6] Reinhardt 2008

Subclasses of pushdown VAS with decidable reachability

Multiset pushdown systems [Sen, Viswanathan 2006]

VAS ∩ CFL of finite index [Atig, Ganty 2011]

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24

Page 9: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Brief State of the Art

Boundedness Coverability Reachability

VAS ExpSpace-c1,2 ExpSpace-c1,2 Decidable3,4

+ full counter Decidable5 Decidable Decidable6

+ stack

?

Tower-h7

[1] Lipton 1976[5] Finkel, Sangnier 2010

[2] Rackoff 1978[7] Lazić 2012

[3] Mayr 1981[4] Kosaraju 1982[6] Reinhardt 2008

Subclasses of pushdown VAS with decidable reachability

Multiset pushdown systems [Sen, Viswanathan 2006]

VAS ∩ CFL of finite index [Atig, Ganty 2011]

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24

Page 10: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Brief State of the Art

Boundedness Coverability Reachability

VAS ExpSpace-c1,2 ExpSpace-c1,2 Decidable3,4

+ full counter Decidable5 Decidable Decidable6

+ stack ? Tower-h7

[1] Lipton 1976[5] Finkel, Sangnier 2010

[2] Rackoff 1978[7] Lazić 2012

[3] Mayr 1981[4] Kosaraju 1982[6] Reinhardt 2008

Subclasses of pushdown VAS with decidable reachability

Multiset pushdown systems [Sen, Viswanathan 2006]

VAS ∩ CFL of finite index [Atig, Ganty 2011]

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24

Page 11: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Our Contribution

ê Boundedness is decidable for pushdown VAS

Reduced reachability tree: adaptation of the VAS case

ê Worst-case complexity of the algorithm: hyper-Ackermannian

Bound the length of bad nested sequences over (Nd ,≤)

Weak computation of an hyper-Ackermannian function

Inspired from recent results on bad sequences for various wqo’sI [Figueira, Figueira, Schmitz, Schnoebelen 2011]I [Schmitz, Schnoebelen 2011]I . . .

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 7 / 24

Page 12: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Table of Contents

1 Pushdown Vector Addition Systems

2 Reduced Reachability Tree for Pushdown VAS

3 Worst-Case Size of the Reduced Reachability Tree

4 Conclusion

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 8 / 24

Page 13: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Reachability Tree of a Pushdown VAS

v init, ε

v , σ

v1, σ1 vn, σn

ê Exhaustive and enumerative forward exploration from (v init, ε)

ê Potentially infinite, need to truncate

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 9 / 24

Page 14: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Reduced Reachability Tree for VAS [Karp, Miller 1969]

Truncation rule:

v init

v

v ′if v ≤ v ′

For every VAS, ≤ and < are simulation relations

Truncation entails that

v init∗−−→ v ∗−−→ v ′ ∗−−→ v ′′ ∗−−→ v ′′′ · · ·

If v < v ′ then v < v ′ < v ′′ < v ′′′ < · · ·

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 10 / 24

Page 15: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Reduced Reachability Tree for VAS [Karp, Miller 1969]

Truncation rule:

v init

v

v ′if v ≤ v ′

For every VAS, ≤ and < are simulation relations

Truncation entails that

v init∗−−→ v ∗−−→ v ′ ∗−−→ v ′′ ∗−−→ v ′′′ · · ·

If v < v ′ then v < v ′ < v ′′ < v ′′′ < · · ·

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 10 / 24

Page 16: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

RRT-based Algorithm for VAS Boundedness

Theorem ([Karp, Miller 1969])The reduced reachability tree of a VAS A is finite.

Proof. König’s Lemma + Dickson’s Lemma

Theorem ([Karp, Miller 1969])A VAS A is unbounded if, and only if, its reduced reachability treecontains a leaf that is strictly larger than one of its ancestors.

Theorem ([McAloon 1984], [Figueira et al. 2011])The size of the reduced reachability tree of a VAS A is at most

primitive-recursive in |A| when the dimension d is fixed,Ackermannian in |A| when the dimension is part of the input.

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 11 / 24

Page 17: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

RRT-based Algorithm for VAS Boundedness

Theorem ([Karp, Miller 1969])The reduced reachability tree of a VAS A is finite.

Proof. König’s Lemma + Dickson’s Lemma

Theorem ([Karp, Miller 1969])A VAS A is unbounded if, and only if, its reduced reachability treecontains a leaf that is strictly larger than one of its ancestors.

Theorem ([McAloon 1984], [Figueira et al. 2011])The size of the reduced reachability tree of a VAS A is at most

primitive-recursive in |A| when the dimension d is fixed,Ackermannian in |A| when the dimension is part of the input.

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 11 / 24

Page 18: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Tentative Simulation-Based Truncation for Pushdown VAS

Consider a run(v init, ε)

∗−−→ (v , σ)∗−−→ (v ′, σ′)

such thatv ≤ v ′ and σ ≤suffix σ

Then (v init, ε)∗−−→ (v , σ)

∗−−→ (v ′, σ′) ∗−−→ (v ′′, σ′′) ∗−−→ (v ′′′, σ′′′) · · ·

But:(p, ε)

(q,A)

(q,AB)

(q,AB B)

p qpush(A)

push(B)

No truncation, infinite branch!

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 12 / 24

Page 19: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Tentative Simulation-Based Truncation for Pushdown VAS

Consider a run(v init, ε)

∗−−→ (v , σ)∗−−→ (v ′, σ′)

such thatv ≤ v ′ and σ ≤suffix σ

Then (v init, ε)∗−−→ (v , σ)

∗−−→ (v ′, σ′) ∗−−→ (v ′′, σ′′) ∗−−→ (v ′′′, σ′′′) · · ·

But:(p, ε)

(q,A)

(q,AB)

(q,AB B)

p qpush(A)

push(B)

No truncation, infinite branch!J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 12 / 24

Page 20: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Reduced Reachability Tree for Pushdown VAS

Truncation rule:

v init, ε

v , σ

v ′, σ′

if

{v ≤ v ′

σ ≤prefix ρ for all (u, ρ)

(u, ρ)

Truncation entails that

(v init, ε)∗−−→ (v , σ)

∗−−→ (v ′, σ′) ∗−−→ (v ′′, σ′′) ∗−−→ (v ′′′, σ′′′) · · ·

If v < v ′ then v < v ′ < v ′′ < v ′′′ < · · ·

If σ <prefix σ′ then σ <prefix σ

′ <prefix σ′′ <prefix σ

′′′ <prefix · · ·

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 13 / 24

Page 21: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 22: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 23: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 24: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 25: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 26: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 27: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Finiteness of the Reduced Reachability Tree

TheoremThe reduced reachability tree of a pushdown VAS A is finite.

Proof. By contradiction, assume that it is infinite.The tree is finitely branching. So, by König’s Lemma, there is an infinitebranch

(v init, ε)→ (v1, σ1)→ (v2, σ2) · · ·

· · ·v v ′ ≥ v

· · ·v v ′ ≥ v

v

v ′ ≥ v

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 14 / 24

Page 28: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

RRT-based Algorithm for Pushdown VAS Boundedness

TheoremA pushdown VAS A is unbounded if, and only if, its reduced reachabilitytree contains a path

(v , σ) (v ′, σ′)︸ ︷︷ ︸σ remains a prefix

such that v ≤ v ′ and σ ≤prefix σ′, and at least one of these inequalities

is strict.

How big can the reduced reachability tree be?

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 15 / 24

Page 29: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Table of Contents

1 Pushdown Vector Addition Systems

2 Reduced Reachability Tree for Pushdown VAS

3 Worst-Case Size of the Reduced Reachability Tree

4 Conclusion

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 16 / 24

Page 30: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Fast Growing Functions

Functions Fα : N→ N, indexed by ordinals α ≤ ωω

F0(n) = n + 1,Fα+1(n) = F n+1

α (n)

Fλ(n) = Fλn(n) if λ is a limit ordinal

F1 : linear, F2 exponential, F3 tower of exponentials

Fω is an Ackermannian function

Fωω is an hyper-Ackermannian function

Example

Fωω(2) = Fω3(2) = Fω2.3(2)

= Fω2.2+ω.3(2)

= Fω2.2+ω.2+3(2)

= Fω2.2+ω.2+2(Fω2.2+ω.2+2(Fω2.2+ω.2+2(2)))

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 17 / 24

Page 31: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Hyper-Ackermannian Bounds

TheoremThe height of the reduced reachability tree of a pushdown VAS A is atmost Fω(d+1)(|A|) where d is the dimension of A.

CorollaryThe size of the reduced reachability tree of a pushdown VAS A is atmost

multiply-recursive in |A| when the dimension d is fixed,hyper-Ackermannian in |A| when the dimension is part of the input.

TheoremFor all n ∈ N, there exists a pushdown VAS An, of size quadratic in n,such that the reduced reachability tree of An has at least Fωω(n) nodes.

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 18 / 24

Page 32: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Lower Bound

Weak computation of Fωd (n) by a bounded pushdown VASS Ad(n)

ê Use the stack to implement recursive calls

But we cannot store the calling context α!

ê Maintain n in 2 counters r and r such that r + r = n + 1

ê Maintain α = ωd . cd + · · ·+ ω0. c0 in d + 1 counters

ê Implement the inductive definition of Fα by pushdown VAS rules

Trick to restore the calling context α of pending recursive callsPush the operations (increments and decrements) that are beingperformed on c0, . . . , cd

Revert them when popping

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 19 / 24

Page 33: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Lower Bound

Weak computation of Fωd (n) by a bounded pushdown VASS Ad(n)

ê Use the stack to implement recursive callsBut we cannot store the calling context α!

ê Maintain n in 2 counters r and r such that r + r = n + 1

ê Maintain α = ωd . cd + · · ·+ ω0. c0 in d + 1 counters

ê Implement the inductive definition of Fα by pushdown VAS rules

Trick to restore the calling context α of pending recursive callsPush the operations (increments and decrements) that are beingperformed on c0, . . . , cd

Revert them when popping

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 19 / 24

Page 34: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Lower Bound

Weak computation of Fωd (n) by a bounded pushdown VASS Ad(n)

ê Use the stack to implement recursive callsBut we cannot store the calling context α!

ê Maintain n in 2 counters r and r such that r + r = n + 1

ê Maintain α = ωd . cd + · · ·+ ω0. c0 in d + 1 counters

ê Implement the inductive definition of Fα by pushdown VAS rules

Trick to restore the calling context α of pending recursive callsPush the operations (increments and decrements) that are beingperformed on c0, . . . , cd

Revert them when popping

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 19 / 24

Page 35: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Upper Bound for VAS — Following [Figueira et al. 2011]

Each branch of the RRT is a bad sequence over (Nd ,≤)

v6≥ v

Bad sequences are finite, but can be arbitrarily long

A sequence v0, v1, . . . is n-controlled if ‖v i‖∞ ≤ n + i for all i ≥ 0

Given S ⊆ Nd , define LS(n) to be the maximum length of n-controlledbad sequences over S

LS(n) = maxv∈S ,‖v‖∞≤n

1 + LS/v (n + 1)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 20 / 24

Page 36: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Upper Bound for VAS — Following [Figueira et al. 2011]

Each branch of the RRT is a bad sequence over (Nd ,≤)

v6≥ v

Bad sequences are finite, but can be arbitrarily long

A sequence v0, v1, . . . is n-controlled if ‖v i‖∞ ≤ n + i for all i ≥ 0

Given S ⊆ Nd , define LS(n) to be the maximum length of n-controlledbad sequences over S

LS(n) = maxv∈S ,‖v‖∞≤n

1 + LS/v (n + 1)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 20 / 24

Page 37: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Upper Bound for Pushdown VAS

Each branch of the RRT is a bad nested sequence over (Nd ,≤)

zv6≥ z

6≥ v

Define the maximum length of n-controlled bad nested sequences in thesame way as non-nested ones

LS(n) = maxv∈S ,‖v‖∞≤n

1 + LS/v (n + 1) + LS/v (n + 1 + LS/v (n + 1))

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 21 / 24

Page 38: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Upper Bound for Pushdown VAS

Each branch of the RRT is a bad nested sequence over (Nd ,≤)

zv6≥ z

6≥ v

Define the maximum length of n-controlled bad nested sequences in thesame way as non-nested ones

LS(n) = maxv∈S ,‖v‖∞≤n

1 + LS/v (n + 1) + LS/v (n + 1 + LS/v (n + 1))

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 21 / 24

Page 39: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Table of Contents

1 Pushdown Vector Addition Systems

2 Reduced Reachability Tree for Pushdown VAS

3 Worst-Case Size of the Reduced Reachability Tree

4 Conclusion

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 22 / 24

Page 40: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Summary

ê Extension of the reduced reachability tree from VAS to pushdown VAS

In the paper: extension to well-structured pushdown systems

ê Boundedness and termination are decidable for pushdown VAS

ê Hyper-Ackermannian (Fωω) worst-case running time

The reduced reachability tree of a pushdown VAS A has at mostFωω(|A|) nodes

This bound is tight

ê Bounds on the reachability set when it is finite

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 23 / 24

Page 41: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Open Problems

ê Complexity of the boundedness problem for pushdown VAS

Lower bound: tower of exponentials (F3) from [Lazić 2012]

Upper bound: hyper-Ackermann (Fωω)

ê Decidability of coverability / reachability for Pushdown VAS

Coverability decidable for 1-dim VASS + stack [Submitted]Reachability open even for 1-dim VASS + stack

ê Complexity of these problems for VAS + full counter

Coverability for this model is harder than reachability for VAS

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 42: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Thank You

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 43: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown VAS — Syntax

DefinitionA pushdown vector addition system is a triple 〈v init, Γ,∆〉 where

v init ∈ Nd : initial vectorΓ : finite stack alphabet∆ ⊆ (Zd × Op) : finite set of actions, with

Op = {ε} ∪ {push(γ), pop(γ) | γ ∈ Γ}

p q r(+5)

(−1), push(B)

(+1)

(−1), push(A) (+2), pop(A)

pop(B)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 44: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown VAS — Syntax

DefinitionA pushdown vector addition system is a triple 〈v init, Γ,∆〉 where

v init ∈ Nd : initial vectorΓ : finite stack alphabet∆ ⊆ (Zd × Op) : finite set of actions, with

Op = {ε} ∪ {push(γ), pop(γ) | γ ∈ Γ}

p q r(+5)

(−1), push(B)

(+1)

(−1), push(A) (+2), pop(A)

pop(B)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 45: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown VAS — Semantics

The semantics of a pushdown VAS 〈v init, Γ,∆〉 is the transition system〈Nd × Γ∗, (v init, ε),→〉 whose transition relation → is given by

(a, ε) ∈ ∆ ∧ v ′ = v + a ≥ 0(v , σ)→ (v ′, σ)

(a, push(γ)) ∈ ∆ ∧ v ′ = v + a ≥ 0(v , σ)→ (v ′, σ · γ)

(a, pop(γ)) ∈ ∆ ∧ v ′ = v + a ≥ 0(v , σ · γ)→ (v ′, σ)

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 46: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

VASs ' Petri nets ' VASSs

Additional Feature of Petri netsTest x ≥ cst without modifying x

VAS

Petri netVASS

|Q| := |T |+ 1

d := d + 2

d := d + 3

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24

Page 47: Hyper-Ackermannian Bounds for Pushdown Vector Addition …acts/2015/Slides/leroux.pdf · J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 6 / 24. BriefStateoftheArt

Pushdown VASS Ad(n) for the Lower Bound

Bi

0 ≤ i < d

A0

Aα+1

Aiλ

0 < i < d

q2 q3q1q0

qinit

qf

r↓, c++d−1 r↑

push(F ) r−−

r++

r↓ = r−−, r++

r↑ = r++, r−−

pop(F )push(Ii )c−−i

r↓, c++i−1, push(Di−1)

push(F )

r↑Aiλ

pop(F )push(I0)c−−0

r↓, push(F ) r↑Aα+1

pop(F )r++

A0

pop(Ii ), c++i

pop(Di ), c−−i

Bi

J. Leroux, M. Praveen, G. Sutre Hyper-Ack. Bounds for Pushdown VAS ACTS 2015 24 / 24


Recommended