Optimally Resilient Strategies in Pushdown Safety Games Joint work - - PowerPoint PPT Presentation

optimally resilient strategies in pushdown safety games
SMART_READER_LITE
LIVE PREVIEW

Optimally Resilient Strategies in Pushdown Safety Games Joint work - - PowerPoint PPT Presentation

Optimally Resilient Strategies in Pushdown Safety Games Joint work with Daniel Neider (MPI-SWS) and Patrick Totzke (Liverpool) Artwork by Paulina Zimmermann Martin Zimmermann University of Liverpool August 2020 MFCS 2020 Martin Zimmermann


slide-1
SLIDE 1

Optimally Resilient Strategies in Pushdown Safety Games

Joint work with Daniel Neider (MPI-SWS) and Patrick Totzke (Liverpool) Artwork by Paulina Zimmermann

Martin Zimmermann

University of Liverpool

August 2020

MFCS 2020

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 1/10

slide-2
SLIDE 2

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-3
SLIDE 3

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-4
SLIDE 4

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-5
SLIDE 5

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-6
SLIDE 6

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-7
SLIDE 7

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-8
SLIDE 8

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-9
SLIDE 9

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-10
SLIDE 10

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-11
SLIDE 11

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-12
SLIDE 12

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-13
SLIDE 13

Reactive Synthesis

Automatically generate correct-by-construction systems.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-14
SLIDE 14

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-15
SLIDE 15

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-16
SLIDE 16

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-17
SLIDE 17

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-18
SLIDE 18

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-19
SLIDE 19

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-20
SLIDE 20

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-21
SLIDE 21

Reactive Synthesis

Automatically generate correct-by-construction systems. Model the interaction between a system and its environment by an infinite-duration zero-sum game on graph. The winning condition captures a specification of the system. A winning strategy for the system player corresponds to an implementation satisfying the system specification.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 2/10

slide-22
SLIDE 22

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-23
SLIDE 23

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-24
SLIDE 24

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. 1 Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-25
SLIDE 25

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. 1 1 Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-26
SLIDE 26

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. 2 1 1 Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-27
SLIDE 27

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. 2 2 1 1 Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-28
SLIDE 28

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences. 2 ω + 1 2 1 1 ω + 1 ω + 1 ω + 1 ω + 1 Question: How many disturbances make the system player lose?

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-29
SLIDE 29

Resilience in Safety Games

Dallal, Tabuada and Neider: Add disturbances edges to model non-antagonistic external influences.

Theorem (Dallal, Neider & Tabuada, 2016)

A safety game with n vertices has resilience values in {0, · · · , n − 1} ∪ {ω + 1}. The resilience values and an optimally resilient strategy can be computed in polynomial time.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 3/10

slide-30
SLIDE 30

Systems with Infinite State Space

Pushdown graphs are configuration graphs of pushdown automata. One-counter automata are pushdown automata with a single stack symbol (that can still test the stack for emptiness). · · · · · · qI q1 q2 ⊥ A⊥ A2⊥ A3⊥ A4⊥ A5⊥

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 4/10

slide-31
SLIDE 31

Systems with Infinite State Space

Pushdown graphs are configuration graphs of pushdown automata. One-counter automata are pushdown automata with a single stack symbol (that can still test the stack for emptiness). · · · · · · ω + 1 ω + 1 1 ω + 1 2 ω + 1 3 ω + 1 4 ω + 1 5

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 4/10

slide-32
SLIDE 32

Building Blocks for an Algorithm

Theorem

A pushdown safety game has resilience values in {0, 1, 2, · · ·}∪ {ω + 1}. An optimally resilient strategy always exists.

Lemma

The following problem is in ExpTime: “Given a pushdown safety game G with initial vertex vI, is r(vI) = ω + 1?”. Note PSpace for one-counter safety games.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 5/10

slide-33
SLIDE 33

Building Blocks for an Algorithm

Theorem

A pushdown safety game has resilience values in {0, 1, 2, · · ·}∪ {ω + 1}. An optimally resilient strategy always exists.

Lemma

The following problem is in 2ExpTime: “Given a pushdown safety game G with initial vertex vI and k ∈ ω (encoded in binary), is r(vI) = k?”. Note ExpSpace for one-counter safety games.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 5/10

slide-34
SLIDE 34

A Naive Algorithm

1: if r(vI) = ω + 1 then 2:

return ω + 1

3: k = 0 4: while true do 5:

if r(vI) = k then

6:

return k

7:

else

8:

k = k+1 The algorithm terminates, as the only possible resilience values are ω + 1 or some k ∈ ω. To obtain an upper bound on the running time, we need an upper bound on the resilience value of the initial vertex.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 6/10

slide-35
SLIDE 35

Upper Bounds on Resilience Values

Note that resilience values can be unbounded. Nevertheless, we can bound the resilience value of the initial vertex. For a pushdown automaton P with n states and s stack symbols, define b(P) = n · h(P) · sh(P) with h(P) = n · s · 2n+1 + 1

Lemma

Let G be a pushdown safety game with initial vertex vI. If r(vI) ∕= ω + 1, then r(vI) < b(P), where P is the automaton underlying G.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 7/10

slide-36
SLIDE 36

An Improved Algorithm

1: if r(vI) = ω + 1 then 2:

return ω + 1

3: for k = 0 to b(P) do 4:

if r(vI) = k then

5:

return k

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 8/10

slide-37
SLIDE 37

An Improved Algorithm

1: if r(vI) = ω + 1 then 2:

return ω + 1

3: for k = 0 to b(P) do 4:

if r(vI) = k then

5:

return k

Theorem

The following problem can be solved in triply-exponential time: “Given a pushdown safety game G with initial vertex vI, determine the resilience value of vI”. If yes, an r(vI)-resilient strategy from vI can be computed in triply-exponential time.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 8/10

slide-38
SLIDE 38

An Improved Algorithm

1: if r(vI) = ω + 1 then 2:

return ω + 1

3: for k = 0 to b(P) do 4:

if r(vI) = k then

5:

return k

Theorem

The following problem can be solved in polynomial space: “Given a

  • ne-counter safety game G with initial vertex vI, determine the

resilience value of vI”. Note No strategy computed.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 8/10

slide-39
SLIDE 39

Conclusion

Also in the paper/arXiv version:

  • 1. An outlook on resilient strategies in pushdown reachability

games (new resilience values appear).

  • 2. A new result on optimal strategies in one-counter reachability

games (without disturbance edges).

  • 3. Lower bounds on computational complexity and on the

resilience value of the initial vertex.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 9/10

slide-40
SLIDE 40

Conclusion

Also in the paper/arXiv version:

  • 1. An outlook on resilient strategies in pushdown reachability

games (new resilience values appear).

  • 2. A new result on optimal strategies in one-counter reachability

games (without disturbance edges).

  • 3. Lower bounds on computational complexity and on the

resilience value of the initial vertex. Open problems:

  • 1. Extension to more expressive winning conditions.
  • 2. Better complexity bounds for pushdown safety games via

saturation.

  • 3. Computing optimally resilient strategies for one-counter safety

games in polynomial space.

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 9/10

slide-41
SLIDE 41

The Last Slide

Thank you for watching.

Daniel Neider: neider@mpi-sws.org Patrick Totzke: totzke@liverpool.ac.uk Martin Zimmermann: martin.zimmermann@liverpool.ac.uk

Martin Zimmermann University of Liverpool Resilient Strategies in Pushdown Safety Games 10/10