Delay Games with WMSO+U Winning Conditions Martin Zimmermann - - PowerPoint PPT Presentation

delay games with wmso u winning conditions
SMART_READER_LITE
LIVE PREVIEW

Delay Games with WMSO+U Winning Conditions Martin Zimmermann - - PowerPoint PPT Presentation

Delay Games with WMSO+U Winning Conditions Martin Zimmermann Saarland University March 6th, 2015 AVACS Meeting, Freiburg, Germany Martin Zimmermann Saarland University Delay Games with WMSO + U Winning Conditions 1/18 Introduction B


slide-1
SLIDE 1

Delay Games with WMSO+U Winning Conditions

Martin Zimmermann

Saarland University

March 6th, 2015

AVACS Meeting, Freiburg, Germany

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 1/18

slide-2
SLIDE 2

Introduction

B¨ uchi-Landweber: The winner of a zero-sum two-player game of infinite duration with ω-regular winning condition can be determined effectively.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 2/18

slide-3
SLIDE 3

Introduction

B¨ uchi-Landweber: The winner of a zero-sum two-player game of infinite duration with ω-regular winning condition can be determined effectively. Many possible extensions: non-zero-sum, n > 2 players, type

  • f winning condition, concurrency, imperfect information, etc.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 2/18

slide-4
SLIDE 4

Introduction

B¨ uchi-Landweber: The winner of a zero-sum two-player game of infinite duration with ω-regular winning condition can be determined effectively. Many possible extensions: non-zero-sum, n > 2 players, type

  • f winning condition, concurrency, imperfect information, etc.

We consider two extensions: Type of interaction: one player may delay her moves. Type of winning conditions: quantitative instead of qualitative.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 2/18

slide-5
SLIDE 5

Introduction

B¨ uchi-Landweber: The winner of a zero-sum two-player game of infinite duration with ω-regular winning condition can be determined effectively. Many possible extensions: non-zero-sum, n > 2 players, type

  • f winning condition, concurrency, imperfect information, etc.

We consider two extensions: Type of interaction: one player may delay her moves. Type of winning conditions: quantitative instead of qualitative. Weak MSO with the unbounding quantifier: quantitative extension of (weak) MSO able to express many high-level quantitative specification languages, e.g., parameterized LTL, finitary parity conditions, etc.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 2/18

slide-6
SLIDE 6

Outline

  • 1. WMSO with the Unbounding Quantifier
  • 2. Delay Games
  • 3. WMSO+U Delay Games w.r.t. Constant Lookahead
  • 4. Constant Lookahead is not Sufficient
  • 5. Conclusion

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 3/18

slide-7
SLIDE 7

Monadic Second-order Logic

Monadic Second-order Logic (MSO) Existential/universal quantification of elements: ∃x, ∀x. Existential/universal quantification of sets: ∃X, ∀X. Unary predicates Pa for every a ∈ Σ. Order relation < and successor relation S.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 4/18

slide-8
SLIDE 8

Monadic Second-order Logic

Monadic Second-order Logic (MSO) Existential/universal quantification of elements: ∃x, ∀x. Existential/universal quantification of sets: ∃X, ∀X. Unary predicates Pa for every a ∈ Σ. Order relation < and successor relation S. weak MSO (WMSO) Restrict second-order quantifiers to finite sets.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 4/18

slide-9
SLIDE 9

Monadic Second-order Logic

Monadic Second-order Logic (MSO) Existential/universal quantification of elements: ∃x, ∀x. Existential/universal quantification of sets: ∃X, ∀X. Unary predicates Pa for every a ∈ Σ. Order relation < and successor relation S. weak MSO (WMSO) Restrict second-order quantifiers to finite sets.

Theorem (B¨ uchi ’62)

The following are (effectively) equivalent:

  • 1. L MSO-definable.
  • 2. L WMSO-definable.
  • 3. L recognized by B¨

uchi automaton.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 4/18

slide-10
SLIDE 10

The Unbounding Quantifier

Boja´ nczyk: Let’s add a new quantifier UXϕ(X) holds, if there are arbitrarily large finite sets X such that ϕ(X) holds.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 5/18

slide-11
SLIDE 11

The Unbounding Quantifier

Boja´ nczyk: Let’s add a new quantifier UXϕ(X) holds, if there are arbitrarily large finite sets X such that ϕ(X) holds. L = {an0ban1ban2b · · · | lim supi ni = ∞}

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 5/18

slide-12
SLIDE 12

The Unbounding Quantifier

Boja´ nczyk: Let’s add a new quantifier UXϕ(X) holds, if there are arbitrarily large finite sets X such that ϕ(X) holds. L = {an0ban1ban2b · · · | lim supi ni = ∞} L defined by ∀x∃y(y > x ∧ Pb(y)) ∧ UX [∀x∀y∀z(x < y < z ∧ x ∈ X ∧ z ∈ X → y ∈ X) ∧ ∀x(x ∈ X → Pa(x)) ]

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 5/18

slide-13
SLIDE 13

The Unbounding Quantifier

Boja´ nczyk: Let’s add a new quantifier UXϕ(X) holds, if there are arbitrarily large finite sets X such that ϕ(X) holds. L = {an0ban1ban2b · · · | lim supi ni = ∞} Decidability is a delicate issue:

Theorem (Boja´ nczyk et al. ’14)

There is no algorithm that decides MSO+U on infinite trees and has a correctness proof using the axioms of ZFC.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 5/18

slide-14
SLIDE 14

The Unbounding Quantifier

Boja´ nczyk: Let’s add a new quantifier UXϕ(X) holds, if there are arbitrarily large finite sets X such that ϕ(X) holds. L = {an0ban1ban2b · · · | lim supi ni = ∞} Decidability is a delicate issue:

Theorem (Boja´ nczyk et al. ’14)

There is no algorithm that decides MSO+U on infinite trees and has a correctness proof using the axioms of ZFC.

Theorem (Boja´ nczyk et al. ’15)

MSO+U on infinite words is undecidable.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 5/18

slide-15
SLIDE 15

WMSO+U

Restricting the second-order quantifiers saves the day:

Theorem (Boja´ nczyk ’09)

WMSO+U over infinite words is decidable.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 6/18

slide-16
SLIDE 16

WMSO+U

Restricting the second-order quantifiers saves the day:

Theorem (Boja´ nczyk ’09)

WMSO+U over infinite words is decidable.

Theorem (Boja´ nczyk, Torunczyk ’12)

WMSO+U over infinite trees is decidable.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 6/18

slide-17
SLIDE 17

WMSO+U

Restricting the second-order quantifiers saves the day:

Theorem (Boja´ nczyk ’09)

WMSO+U over infinite words is decidable.

Theorem (Boja´ nczyk, Torunczyk ’12)

WMSO+U over infinite trees is decidable.

Theorem (Boja´ nczyk ’14)

WMSO+U with path quantifiers over infinite trees is decidable.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 6/18

slide-18
SLIDE 18

WMSO+U

Restricting the second-order quantifiers saves the day:

Theorem (Boja´ nczyk ’09)

WMSO+U over infinite words is decidable.

Theorem (Boja´ nczyk, Torunczyk ’12)

WMSO+U over infinite trees is decidable.

Theorem (Boja´ nczyk ’14)

WMSO+U with path quantifiers over infinite trees is decidable.

Corollary

Games with WMSO+U winning conditions are decidable.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 6/18

slide-19
SLIDE 19

Max-Automata

Equivalent automaton model for WMSO+U on infinite words: Deterministic finite automata with counters counter actions: incr, reset, max acceptance: boolean combination of “counter γ is bounded”.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 7/18

slide-20
SLIDE 20

Max-Automata

Equivalent automaton model for WMSO+U on infinite words: Deterministic finite automata with counters counter actions: incr, reset, max acceptance: boolean combination of “counter γ is bounded”. a: inc(γ) b: reset(γ); inc(γ′)

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 7/18

slide-21
SLIDE 21

Max-Automata

Equivalent automaton model for WMSO+U on infinite words: Deterministic finite automata with counters counter actions: incr, reset, max acceptance: boolean combination of “counter γ is bounded”. a: inc(γ) b: reset(γ); inc(γ′)

Theorem (Boja´ nczyk ’09)

The following are (effectively) equivalent:

  • 1. L WMSO+U-definable.
  • 2. L recognized by max-automaton.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 7/18

slide-22
SLIDE 22

Outline

  • 1. WMSO with the Unbounding Quantifier
  • 2. Delay Games
  • 3. WMSO+U Delay Games w.r.t. Constant Lookahead
  • 4. Constant Lookahead is not Sufficient
  • 5. Conclusion

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 8/18

slide-23
SLIDE 23

Delay Games

The delay game Γf (L): Delay function: f : N → N+. ω-language L ⊆ (ΣI × ΣO)ω. Two players: Input (I) vs. Output (O).

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 9/18

slide-24
SLIDE 24

Delay Games

The delay game Γf (L): Delay function: f : N → N+. ω-language L ⊆ (ΣI × ΣO)ω. Two players: Input (I) vs. Output (O). In round i: I picks word ui ∈ Σf (i)

I

(building α = u0u1 · · · ). O picks letter vi ∈ ΣO (building β = v0v1 · · · ).

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 9/18

slide-25
SLIDE 25

Delay Games

The delay game Γf (L): Delay function: f : N → N+. ω-language L ⊆ (ΣI × ΣO)ω. Two players: Input (I) vs. Output (O). In round i: I picks word ui ∈ Σf (i)

I

(building α = u0u1 · · · ). O picks letter vi ∈ ΣO (building β = v0v1 · · · ). O wins iff α(0)

β(0)

α(1)

β(1)

  • · · · ∈ L.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 9/18

slide-26
SLIDE 26

Delay Games

The delay game Γf (L): Delay function: f : N → N+. ω-language L ⊆ (ΣI × ΣO)ω. Two players: Input (I) vs. Output (O). In round i: I picks word ui ∈ Σf (i)

I

(building α = u0u1 · · · ). O picks letter vi ∈ ΣO (building β = v0v1 · · · ). O wins iff α(0)

β(0)

α(1)

β(1)

  • · · · ∈ L.

Definition: f is constant, if f (i) = 1 for every i > 0.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 9/18

slide-27
SLIDE 27

Outline

  • 1. WMSO with the Unbounding Quantifier
  • 2. Delay Games
  • 3. WMSO+U Delay Games w.r.t. Constant Lookahead
  • 4. Constant Lookahead is not Sufficient
  • 5. Conclusion

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 10/18

slide-28
SLIDE 28

Determinacy

Theorem (Z. ’14)

Delay Games with WMSO+U winning conditions w.r.t fixed delay functions are determined.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 11/18

slide-29
SLIDE 29

Determinacy

Theorem (Z. ’14)

Delay Games with WMSO+U winning conditions w.r.t fixed delay functions are determined. Proof idea: Winning condition recognized by some automaton A. Encode game as parity game in countable arena. States store: Current lookahead (queue over ΣI) state A reaches on current play prefix. Current counter values after this run prefix. Maximal counter values seen thus far. Flag marking whether maximum was increased during last transition. Thus: counter γ unbounded if corresponding flag is raised infinitely often ⇒ parity condition.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 11/18

slide-30
SLIDE 30

Capturing Finite Runs of Max-Automata

Theorem (Z. ’14)

The following problem is decidable: given a max-automaton A, does Player O win Γf (L(A)) for some constant delay function f .

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 12/18

slide-31
SLIDE 31

Capturing Finite Runs of Max-Automata

Theorem (Z. ’14)

The following problem is decidable: given a max-automaton A, does Player O win Γf (L(A)) for some constant delay function f . Proof Idea: Adapt technique for parity automata to max-automata. Capture behavior of A, i.e., evolution of counter values: Transfers from counter γ to γ′. Existence of increments, but not how many. ⇒ equivalence relation ≡ of exponential index.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 12/18

slide-32
SLIDE 32

Capturing Finite Runs of Max-Automata

Theorem (Z. ’14)

The following problem is decidable: given a max-automaton A, does Player O win Γf (L(A)) for some constant delay function f . Proof Idea: Adapt technique for parity automata to max-automata. Capture behavior of A, i.e., evolution of counter values: Transfers from counter γ to γ′. Existence of increments, but not how many. ⇒ equivalence relation ≡ of exponential index.

Lemma

Let (xi)i∈N and (x′

i )i∈N be two sequences of words over Σ∗ with

supi |xi| < ∞, supi |x′

i | < ∞, and xi ≡ x′ i for all i. Then,

x = x0x1x2 · · · ∈ L(A) if and only if x′ = x′

0x′ 1x′ 2 · · · ∈ L(A).

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 12/18

slide-33
SLIDE 33

Removing Delay

Player I picks equivalence classes, Player O constructs run on representatives (always one step behind to account for delay).

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 13/18

slide-34
SLIDE 34

Removing Delay

Player I picks equivalence classes, Player O constructs run on representatives (always one step behind to account for delay). Resulting game is delay-free with WMSO+U winning condition. Can be solved effectively by a reduction to a satisfiability problem for WMSO+U with path quantifiers over infinite trees. Doubly-exponential upper bound on necessary constant lookahead.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 13/18

slide-35
SLIDE 35

Outline

  • 1. WMSO with the Unbounding Quantifier
  • 2. Delay Games
  • 3. WMSO+U Delay Games w.r.t. Constant Lookahead
  • 4. Constant Lookahead is not Sufficient
  • 5. Conclusion

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 14/18

slide-36
SLIDE 36

Constant Lookahead is not Sufficient

ΣI = {0, 1, #} and ΣO = {0, 1, ∗}. Input block: #w with w ∈ {0, 1}+. Length: |w|. Output block: # α(n) α(1) ∗ α(2) ∗

  • · · ·

α(n − 1) ∗ α(n) α(n)

  • ∈ (ΣI×ΣO)+

for α(j) ∈ {0, 1}. Length: n.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 15/18

slide-37
SLIDE 37

Constant Lookahead is not Sufficient

ΣI = {0, 1, #} and ΣO = {0, 1, ∗}. Input block: #w with w ∈ {0, 1}+. Length: |w|. Output block: # α(n) α(1) ∗ α(2) ∗

  • · · ·

α(n − 1) ∗ α(n) α(n)

  • ∈ (ΣI×ΣO)+

for α(j) ∈ {0, 1}. Length: n. Define language L: if infinitely many # and arbitrarily long input blocks, then arbitrarily long output blocks.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 15/18

slide-38
SLIDE 38

Constant Lookahead is not Sufficient

ΣI = {0, 1, #} and ΣO = {0, 1, ∗}. Input block: #w with w ∈ {0, 1}+. Length: |w|. Output block: # α(n) α(1) ∗ α(2) ∗

  • · · ·

α(n − 1) ∗ α(n) α(n)

  • ∈ (ΣI×ΣO)+

for α(j) ∈ {0, 1}. Length: n. Define language L: if infinitely many # and arbitrarily long input blocks, then arbitrarily long output blocks.

Theorem (Z. ’14)

I wins Γ

f (L), if f is a constant delay function, O if f is unbounded.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 15/18

slide-39
SLIDE 39

Proof Idea

  • 1. Let f be constant:

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-40
SLIDE 40

Proof Idea

  • 1. Let f be constant:

I: # · · ·

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-41
SLIDE 41

Proof Idea

  • 1. Let f be constant:

I: # · · · O:

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-42
SLIDE 42

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 O:

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-43
SLIDE 43

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 O: ∗

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-44
SLIDE 44

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 O: ∗

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-45
SLIDE 45

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 O: ∗ ∗

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-46
SLIDE 46

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 1 · · · O: ∗ ∗

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-47
SLIDE 47

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 1 · · · O: ∗ ∗ · · ·

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-48
SLIDE 48

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 1 · · · O: ∗ ∗ · · · Lookahead contains only input blocks of length f (0). Player I can react to Player O’s declaration at beginning

  • f an output block to bound size of output blocks while

producing arbitrarily large input blocks.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-49
SLIDE 49

Proof Idea

  • 1. Let f be constant:

I: # · · · 1 1 1 · · · O: ∗ ∗ · · · Lookahead contains only input blocks of length f (0). Player I can react to Player O’s declaration at beginning

  • f an output block to bound size of output blocks while

producing arbitrarily large input blocks.

  • 2. Let f be unbounded:

If Player I produces arbitrarily long input blocks, then the lookahead will contain arbitrarily long input blocks. Thus, Player O can produce arbitrarily long output blocks.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 16/18

slide-50
SLIDE 50

Outline

  • 1. WMSO with the Unbounding Quantifier
  • 2. Delay Games
  • 3. WMSO+U Delay Games w.r.t. Constant Lookahead
  • 4. Constant Lookahead is not Sufficient
  • 5. Conclusion

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 17/18

slide-51
SLIDE 51

Conclusion

Delay games with WMSO+U winning conditions w.r.t. constant delay functions are decidable. But constant delay is not always sufficient for Player O.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 18/18

slide-52
SLIDE 52

Conclusion

Delay games with WMSO+U winning conditions w.r.t. constant delay functions are decidable. But constant delay is not always sufficient for Player O. Current work: Solve games w.r.t. arbitrary delay functions.

Conjecture

The following are equivalent for L definable in WMSO+U:

  • 1. Player O wins Γf (L) for some f .
  • 2. Player O wins Γf (L) for every unbounded f .

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 18/18

slide-53
SLIDE 53

Conclusion

Delay games with WMSO+U winning conditions w.r.t. constant delay functions are decidable. But constant delay is not always sufficient for Player O. Current work: Solve games w.r.t. arbitrary delay functions.

Conjecture

The following are equivalent for L definable in WMSO+U:

  • 1. Player O wins Γf (L) for some f .
  • 2. Player O wins Γf (L) for every unbounded f .

Matching bounds on necessary lookahead for the case of constant delay functions. A general determinacy theorem.

Martin Zimmermann Saarland University Delay Games with WMSO+U Winning Conditions 18/18