Cost-Parity and Cost-Streett Games Joint work with Nathana el - - PowerPoint PPT Presentation

cost parity and cost streett games
SMART_READER_LITE
LIVE PREVIEW

Cost-Parity and Cost-Streett Games Joint work with Nathana el - - PowerPoint PPT Presentation

Cost-Parity and Cost-Streett Games Joint work with Nathana el Fijalkow (LIAFA & University of Warsaw) Martin Zimmermann University of Warsaw November 28th, 2012 Algosyn Seminar, Aachen Martin Zimmermann University of Warsaw


slide-1
SLIDE 1

Cost-Parity and Cost-Streett Games

Joint work with Nathana¨ el Fijalkow (LIAFA & University of Warsaw)

Martin Zimmermann

University of Warsaw

November 28th, 2012

Algosyn Seminar, Aachen

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 1/15

slide-2
SLIDE 2

Introduction

Boundedness problems in automata theory Star-height problem, finite power problem Automata with counters: BS-automata, max-automata, R-automata Logics with bounds: MSO+U, Cost-MSO

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 2/15

slide-3
SLIDE 3

Introduction

Boundedness problems in automata theory Star-height problem, finite power problem Automata with counters: BS-automata, max-automata, R-automata Logics with bounds: MSO+U, Cost-MSO What about games? Finitary games: bounds between requests and responses Consumption and energy games: resources are consumed and recharged along edges Use automata with counters as winning conditions

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 2/15

slide-4
SLIDE 4

Introduction

Boundedness problems in automata theory Star-height problem, finite power problem Automata with counters: BS-automata, max-automata, R-automata Logics with bounds: MSO+U, Cost-MSO What about games? Finitary games: bounds between requests and responses Consumption and energy games: resources are consumed and recharged along edges Use automata with counters as winning conditions Here: an extension of ω-regular and finitary games

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 2/15

slide-5
SLIDE 5

Outline

  • 1. Cost-Parity Games
  • 2. Cost-Streett Games
  • 3. Conclusion

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 3/15

slide-6
SLIDE 6

Parity Games and Extensions

Games are played in arena G colored by Ω: V → N 1 2 Parity condition: Player 0 wins play ⇔ maximal color seen infinitely

  • ften is even

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 4/15

slide-7
SLIDE 7

Parity Games and Extensions

Games are played in arena G colored by Ω: V → N 1 2 Parity condition: Player 0 wins play ⇔ maximal color seen infinitely

  • ften is even

Equivalently: Request: vertex of odd color Response: vertex of larger even color Parity condition: almost all requests are answered

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 4/15

slide-8
SLIDE 8

Extensions of Parity Games

Parity condition: almost all requests are answered

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-9
SLIDE 9

Extensions of Parity Games

Parity condition: almost all requests are answered Finitary parity condition [Chatterjee, Henzinger, Horn]: there exists a b ∈ N s.t. almost all requests are answered within b steps 1 2

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-10
SLIDE 10

Extensions of Parity Games

Parity condition: almost all requests are answered Finitary parity condition [Chatterjee, Henzinger, Horn]: there exists a b ∈ N s.t. almost all requests are answered within b steps Now, label edges with costs in N Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-11
SLIDE 11

Extensions of Parity Games

Parity condition: almost all requests are answered Finitary parity condition [Chatterjee, Henzinger, Horn]: there exists a b ∈ N s.t. almost all requests are answered within b steps Now, label edges with costs in N Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b condition complexity memory Pl. 0 memory Pl. 1 parity NP ∩ coNP positional positional finitary parity PTIME positional infinite cost-parity

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-12
SLIDE 12

Extensions of Parity Games

Parity condition: almost all requests are answered Finitary parity condition [Chatterjee, Henzinger, Horn]: there exists a b ∈ N s.t. almost all requests are answered within b steps Now, label edges with costs in N Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b condition complexity memory Pl. 0 memory Pl. 1 parity NP ∩ coNP positional positional finitary parity PTIME positional infinite cost-parity Note: cost-parity subsumes parity and finitary parity

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-13
SLIDE 13

Extensions of Parity Games

Parity condition: almost all requests are answered Finitary parity condition [Chatterjee, Henzinger, Horn]: there exists a b ∈ N s.t. almost all requests are answered within b steps Now, label edges with costs in N Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b condition complexity memory Pl. 0 memory Pl. 1 parity NP ∩ coNP positional positional finitary parity PTIME positional infinite cost-parity ”≥ NP ∩ coNP” ”≥ positional” infinite Note: cost-parity subsumes parity and finitary parity

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 5/15

slide-14
SLIDE 14

Another example

Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b 1 2 1 1 1 1 1

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 6/15

slide-15
SLIDE 15

Another example

Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b 1 2 1 1 1 1 1

  • W0
  • W1

Player 0 wins since only finitely many requests are seen Player 1 wins since he can stay longer and longer in loop

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 6/15

slide-16
SLIDE 16

From Cost-Parity to Bounded Cost-Parity

Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 7/15

slide-17
SLIDE 17

From Cost-Parity to Bounded Cost-Parity

Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞ 1 2 1 1 1 1 1

  • W1

W0

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 7/15

slide-18
SLIDE 18

From Cost-Parity to Bounded Cost-Parity

Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞

Lemma

Let C = (G, CostParity(Ω)) and let B = (G, BndCostParity(Ω)).

  • 1. W0(B) ⊆ W0(C).
  • 2. If W0(B) = ∅, then W0(C) = ∅.

Corollary

”To solve cost-parity games, it suffices to solve bounded cost-parity games.”

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 7/15

slide-19
SLIDE 19

From Bounded Cost-Parity to ω-regular

Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 8/15

slide-20
SLIDE 20

From Bounded Cost-Parity to ω-regular

Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞ Parity(Ω): plays satisfying the parity condition FinCost: plays with finite cost RR(Ω): plays in which every request is answered PFRR(Ω) =

  • Parity(Ω) ∩ FinCost
  • ∪ RR(Ω)

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 8/15

slide-21
SLIDE 21

From Bounded Cost-Parity to ω-regular

Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞ Parity(Ω): plays satisfying the parity condition FinCost: plays with finite cost RR(Ω): plays in which every request is answered PFRR(Ω) =

  • Parity(Ω) ∩ FinCost
  • ∪ RR(Ω)

Lemma

Let B = (G, BndCostParity(Ω)), and let P = (G, PFRR(Ω)). Then, Wi(B) = Wi(P) for i ∈ {0, 1}.

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 8/15

slide-22
SLIDE 22

From Bounded Cost-Parity to ω-regular

Bounded Cost-parity condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b, and no unanswered request with cost ∞ Parity(Ω): plays satisfying the parity condition FinCost: plays with finite cost RR(Ω): plays in which every request is answered PFRR(Ω) =

  • Parity(Ω) ∩ FinCost
  • ∪ RR(Ω)

Lemma

Let B = (G, BndCostParity(Ω)), and let P = (G, PFRR(Ω)). Then, Wi(B) = Wi(P) for i ∈ {0, 1}. PFRR(Ω) is ω-regular P can be reduced to parity game using small memory Thus, small finite-state winning strategies for both players in P

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 8/15

slide-23
SLIDE 23

Computational Complexity

n: number of vertices m: number of edges d: number of colors

Theorem

Given an algorithm that solves parity games in time T(n, m, d), there is an algorithm that solves cost-parity games in time O(n · T(d · n, d · m, d + 2)).

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 9/15

slide-24
SLIDE 24

Computational Complexity

n: number of vertices m: number of edges d: number of colors

Theorem

Given an algorithm that solves parity games in time T(n, m, d), there is an algorithm that solves cost-parity games in time O(n · T(d · n, d · m, d + 2)).

Theorem

The following problem is in NP ∩ coNP: given a cost-parity game G and a vertex v, has Player 0 a winning strategy from v?

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 9/15

slide-25
SLIDE 25

Half-positional Determinacy

Recall: Player 0 has finite state winning strategy σ in (bounded) cost-parity game

Theorem

Player 0 has positional winning strategies in (bounded) cost-parity games.

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 10/15

slide-26
SLIDE 26

Half-positional Determinacy

Recall: Player 0 has finite state winning strategy σ in (bounded) cost-parity game

Theorem

Player 0 has positional winning strategies in (bounded) cost-parity games. Idea: use quality measure Sh: V + → (D, ≤) for play prefixes with: (D, ≤) is total order Sh is congruence, i.e., Sh(x) ≤ Sh(y) = ⇒ Sh(xv) ≤ Sh(yv) {Sh(w) | w ⊑ ρ} is finite = ⇒ ρ is winning or Player 0 Finite-state strategies only allow plays ρ s.t. {Sh(w) | w ⊑ ρ} is finite

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 10/15

slide-27
SLIDE 27

Half-positional Determinacy

Recall: Player 0 has finite state winning strategy σ in (bounded) cost-parity game

Theorem

Player 0 has positional winning strategies in (bounded) cost-parity games. Idea: use quality measure Sh: V + → (D, ≤) for play prefixes with: (D, ≤) is total order Sh is congruence, i.e., Sh(x) ≤ Sh(y) = ⇒ Sh(xv) ≤ Sh(yv) {Sh(w) | w ⊑ ρ} is finite = ⇒ ρ is winning or Player 0 Finite-state strategies only allow plays ρ s.t. {Sh(w) | w ⊑ ρ} is finite Positional winning strategy: always play like you are in the worst situation possible that is consistent with σ

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 10/15

slide-28
SLIDE 28

Outline

  • 1. Cost-Parity Games
  • 2. Cost-Streett Games
  • 3. Conclusion

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 11/15

slide-29
SLIDE 29

Cost-Streett Games

Requests: sets of vertices Qi for i = 1, . . . , d Responses: sets of vertices Pi for i = 1, . . . , d Cost functions for every pair (Qi, Pi) Cost-Streett condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 12/15

slide-30
SLIDE 30

Cost-Streett Games

Requests: sets of vertices Qi for i = 1, . . . , d Responses: sets of vertices Pi for i = 1, . . . , d Cost functions for every pair (Qi, Pi) Cost-Streett condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Theorem

Given an algorithm that solves Streett games in time T(n, m, d), there is an algorithm that solves cost-Streett games in time O(n · T(2d · n, 2d · m, 2d)).

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 12/15

slide-31
SLIDE 31

Cost-Streett Games

Requests: sets of vertices Qi for i = 1, . . . , d Responses: sets of vertices Pi for i = 1, . . . , d Cost functions for every pair (Qi, Pi) Cost-Streett condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Theorem

Given an algorithm that solves Streett games in time T(n, m, d), there is an algorithm that solves cost-Streett games in time O(n · T(2d · n, 2d · m, 2d)). condition complexity memory Pl. 0 memory Pl. 1 Streett coNP-com. d!d2 positional finitary Streett EXPTIME-com. d2d infinite

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 12/15

slide-32
SLIDE 32

Cost-Streett Games

Requests: sets of vertices Qi for i = 1, . . . , d Responses: sets of vertices Pi for i = 1, . . . , d Cost functions for every pair (Qi, Pi) Cost-Streett condition: there exists a b ∈ N s.t. almost all requests are answered with cost less than b

Theorem

Given an algorithm that solves Streett games in time T(n, m, d), there is an algorithm that solves cost-Streett games in time O(n · T(2d · n, 2d · m, 2d)). condition complexity memory Pl. 0 memory Pl. 1 Streett coNP-com. d!d2 positional finitary Streett EXPTIME-com. d2d infinite cost-Streett EXPTIME-com. 2d(2d)!(2d)2 infinite

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 12/15

slide-33
SLIDE 33

Outline

  • 1. Cost-Parity Games
  • 2. Cost-Streett Games
  • 3. Conclusion

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 13/15

slide-34
SLIDE 34

Overview of Results

condition complexity memory Pl. 0 memory Pl. 1 parity NP ∩ coNP positional positional finitary parity PTIME positional infinite cost-parity NP ∩ coNP positional infinite Streett coNP-com. d!d2 positional finitary Streett EXPTIME-com. d2d infinite cost-Streett EXPTIME-com. 2d(2d)!(2d)2 infinite

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 14/15

slide-35
SLIDE 35

Open Questions

Memory requirements of Player 1 in bounded cost-parity games Memory requirements in (bounded) cost-Streett games

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 15/15

slide-36
SLIDE 36

Open Questions

Memory requirements of Player 1 in bounded cost-parity games Memory requirements in (bounded) cost-Streett games Cost-parity games with multiple cost functions (one for each odd color). Preliminary results: Complexity: between PSPACE-hard and EXPTIME Both Players need exponential memory

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 15/15

slide-37
SLIDE 37

Open Questions

Memory requirements of Player 1 in bounded cost-parity games Memory requirements in (bounded) cost-Streett games Cost-parity games with multiple cost functions (one for each odd color). Preliminary results: Complexity: between PSPACE-hard and EXPTIME Both Players need exponential memory Tackle stronger winning conditions: Max-automata: deterministic automata, with multiple counters than can be incremented and reset, acceptance condition is boolean combination of boundedness requirements Equivalent to WMSO+U

Martin Zimmermann University of Warsaw Cost-Parity and Cost-Streett Games 15/15