Degrees of Lookahead in Context-free Infinite Games Joint work with - - PowerPoint PPT Presentation

degrees of lookahead in context free infinite games
SMART_READER_LITE
LIVE PREVIEW

Degrees of Lookahead in Context-free Infinite Games Joint work with - - PowerPoint PPT Presentation

Degrees of Lookahead in Context-free Infinite Games Joint work with Wladimir Fridman and Christof L oding Martin Zimmermann RWTH Aachen University August 31st, 2011 Games Workshop 2011 Paris, France Martin Zimmermann RWTH Aachen


slide-1
SLIDE 1

Degrees of Lookahead in Context-free Infinite Games

Joint work with Wladimir Fridman and Christof L¨

  • ding

Martin Zimmermann

RWTH Aachen University

August 31st, 2011

Games Workshop 2011 Paris, France

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 1/15

slide-2
SLIDE 2

Motivation

Starting points: Walukiewicz: Solving games with deterministic context-free winning conditions in exponential time.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 2/15

slide-3
SLIDE 3

Motivation

Starting points: Walukiewicz: Solving games with deterministic context-free winning conditions in exponential time. Hosch & Landweber; Holtmann, Kaiser & Thomas: Delay games with regular winning conditions.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 2/15

slide-4
SLIDE 4

Motivation

Starting points: Walukiewicz: Solving games with deterministic context-free winning conditions in exponential time. Hosch & Landweber; Holtmann, Kaiser & Thomas: Delay games with regular winning conditions. Here: delay games with deterministic context-free winning conditions. Algorithmic properties. Bounds on delay.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 2/15

slide-5
SLIDE 5

Outline

  • 1. Definitions
  • 2. Undecidability Results
  • 3. Lower Bounds on Delay
  • 4. Conclusion

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 3/15

slide-6
SLIDE 6

The Delay Game Γf (L)

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

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-7
SLIDE 7

The Delay Game Γf (L)

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

I

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

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-8
SLIDE 8

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-9
SLIDE 9

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-10
SLIDE 10

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-11
SLIDE 11

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-12
SLIDE 12

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-13
SLIDE 13

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-14
SLIDE 14

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-15
SLIDE 15

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-16
SLIDE 16

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-17
SLIDE 17

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-18
SLIDE 18

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-19
SLIDE 19

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-20
SLIDE 20

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-21
SLIDE 21

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 O:

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-22
SLIDE 22

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 O: 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-23
SLIDE 23

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 O: 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-24
SLIDE 24

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 O: 1 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-25
SLIDE 25

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 O: 1 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-26
SLIDE 26

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 O: 1 1 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-27
SLIDE 27

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 1 1 O: 1 1 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-28
SLIDE 28

The Delay Game Γf (L)

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

I

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

β(0)

α(1)

β(1)

  • · · · ∈ L.

Example ω or n0

1

n1

ω or n+10

1

n1

ω and f (i) = 2 for all i I: 1 1 1 1 O: 1 1 1 1

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 4/15

slide-29
SLIDE 29

Classifying Delay Functions

  • 1. constant delay function: f (0) = d and f (i) = 1 for i > 0.

Lookahead

n−1

  • i=0

f (i)−n 1.)

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 5/15

slide-30
SLIDE 30

Classifying Delay Functions

  • 1. constant delay function: f (0) = d and f (i) = 1 for i > 0.
  • 2. linear delay function: f (i) = k for i ≥ 0.

Lookahead

n−1

  • i=0

f (i)−n 1.) 2.)

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 5/15

slide-31
SLIDE 31

Classifying Delay Functions

  • 1. constant delay function: f (0) = d and f (i) = 1 for i > 0.
  • 2. linear delay function: f (i) = k for i ≥ 0.
  • 3. elementary delay function: [n → n

i=0 f (i)] ∈ O(expk) for

some k-fold exponential expk. Lookahead

n−1

  • i=0

f (i)−n 1.) 2.) 3.)

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 5/15

slide-32
SLIDE 32

Classifying Delay Functions

  • 1. constant delay function: f (0) = d and f (i) = 1 for i > 0.
  • 2. linear delay function: f (i) = k for i ≥ 0.
  • 3. elementary delay function: [n → n

i=0 f (i)] ∈ O(expk) for

some k-fold exponential expk. Lookahead

n−1

  • i=0

f (i)−n 1.) 2.) 3.) Player O wins the game induced by L with finite (constant, linear, elementary) delay, if there exists an arbitrary (constant, linear, elementary) function f s.t. O has a winning strategy for Γf (L).

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 5/15

slide-33
SLIDE 33

Classifying Delay Functions

  • 1. constant delay function: f (0) = d and f (i) = 1 for i > 0.
  • 2. linear delay function: f (i) = k for i ≥ 0.
  • 3. elementary delay function: [n → n

i=0 f (i)] ∈ O(expk) for

some k-fold exponential expk. Lookahead

n−1

  • i=0

f (i)−n 1.) 2.) 3.) Player O wins the game induced by L with finite (constant, linear, elementary) delay, if there exists an arbitrary (constant, linear, elementary) function f s.t. O has a winning strategy for Γf (L).

Theorem (HL72, HKT10)

For regular L: Player O wins the game induced by L with finite delay iff she wins it with double-exponential constant delay.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 5/15

slide-34
SLIDE 34

ω-Pushdown Automata

Winning conditions: L recognized by a deterministic ω-pushdown automaton with parity acceptance (parity-DPDA). 1 1 1 1 2

c, ⊥: ⊥ a, ⊥: A⊥ a, A: AA b, A: ε b, X : X b, A: ε c, ⊥: ⊥ c, ⊥: ⊥

Language: {c∗anb2ncω | n > 0}.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 6/15

slide-35
SLIDE 35

Outline

  • 1. Definitions
  • 2. Undecidability Results
  • 3. Lower Bounds on Delay
  • 4. Conclusion

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 7/15

slide-36
SLIDE 36

A Decidable Case

Theorem

The following problem is decidable: Input: Parity-DPDA A and f s.t. {i | f (i) = 1} is finite. Question: Does Player O win Γf (L(A))?

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 8/15

slide-37
SLIDE 37

A Decidable Case

Theorem

The following problem is decidable: Input: Parity-DPDA A and f s.t. {i | f (i) = 1} is finite. Question: Does Player O win Γf (L(A))? Proof Idea Suppose f (0) = 3, f (1) = 2, f (i) = 1 for i > 1.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 8/15

slide-38
SLIDE 38

A Decidable Case

Theorem

The following problem is decidable: Input: Parity-DPDA A and f s.t. {i | f (i) = 1} is finite. Question: Does Player O win Γf (L(A))? Proof Idea Suppose f (0) = 3, f (1) = 2, f (i) = 1 for i > 1. L′ = { α(0)

$

α(1)

$

α(2)

β(0)

α(3)

$

α(4)

β(1)

α(5)

β(2)

  • · · · |

α(0)

β(0)

α(1)

β(1)

α(2)

β(2)

  • · · · ∈ L(A)}.

L′ deterministic context-free.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 8/15

slide-39
SLIDE 39

A Decidable Case

Theorem

The following problem is decidable: Input: Parity-DPDA A and f s.t. {i | f (i) = 1} is finite. Question: Does Player O win Γf (L(A))? Proof Idea Suppose f (0) = 3, f (1) = 2, f (i) = 1 for i > 1. L′ = { α(0)

$

α(1)

$

α(2)

β(0)

α(3)

$

α(4)

β(1)

α(5)

β(2)

  • · · · |

α(0)

β(0)

α(1)

β(1)

α(2)

β(2)

  • · · · ∈ L(A)}.

L′ deterministic context-free. Now we have a game without delay. Apply Walukiewicz’s Theorem: Games with deterministic context-free winning conditions can be solved effectively.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 8/15

slide-40
SLIDE 40

Undecidability

Theorem

The following problem is undecidable: Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with finite delay?

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 9/15

slide-41
SLIDE 41

Undecidability

Theorem

The following problem is undecidable: Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with finite delay? Proof Idea Preliminaries: Reduction from halting problem for 2-register machines. Encode configuration (ℓ, n0, n1) by ℓan0bn1. ℓan0bn1 ⊢ ℓ′an′

0bn′ 1 is checkable by DPDA. Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games 9/15

slide-42
SLIDE 42

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-43
SLIDE 43

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-44
SLIDE 44

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example 0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-45
SLIDE 45

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-46
SLIDE 46

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ N 0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ... N: Player O claims no error.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-47
SLIDE 47

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a N 0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-48
SLIDE 48

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a N

  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-49
SLIDE 49

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-50
SLIDE 50

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N

0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ... N: Player O claims no error.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-51
SLIDE 51

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-52
SLIDE 52

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-53
SLIDE 53

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N

0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ... N: Player O claims no error.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-54
SLIDE 54

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N
  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-55
SLIDE 55

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N
  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-56
SLIDE 56

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N
  • 0:

INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ...

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-57
SLIDE 57

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N
  • R0

0: INC(X0) 1: INC(X1) 2: IF(X1=0) GOTO 5 3: DEC(X0) ... R0: Player O claims error in X0. Player O wins: (3, 1, 1) ⊢ (4, 1, 1)

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-58
SLIDE 58

Proof Idea

Player I produces configurations c0, c1, . . .. Player O can check once whether ci ⊢ ci+1 holds. If ci ⊢ ci+1, Player I wins, otherwise Player O wins. Example $ $ 1 a $ 2 a b $ 3 a b $ 4 a b $ N

  • N
  • N
  • R0

If machine halts, Player I has to cheat. Player O can detect this with linear delay and wins. If machine does not halt, Player I can play forever without cheating and wins.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games10/15

slide-59
SLIDE 59

More Undecidability

Corollary

The following problems are undecidable: Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with constant delay?

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games11/15

slide-60
SLIDE 60

More Undecidability

Corollary

The following problems are undecidable: Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with constant delay? Input: Parity-DPDA A and k ∈ N. Question: Does Player O win the game induced by L(A) with linear delay k?

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games11/15

slide-61
SLIDE 61

More Undecidability

Corollary

The following problems are undecidable: Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with constant delay? Input: Parity-DPDA A and k ∈ N. Question: Does Player O win the game induced by L(A) with linear delay k? Input: Parity-DPDA A. Question: Does Player O win the game induced by L(A) with linear delay?

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games11/15

slide-62
SLIDE 62

Outline

  • 1. Definitions
  • 2. Undecidability Results
  • 3. Lower Bounds on Delay
  • 4. Conclusion

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games12/15

slide-63
SLIDE 63

Lower Bounds on Delay

Theorem

There exists a parity-DPDA A such that Player O wins the game induced by L(A) with finite delay, but for any elementary delay function f , the game Γf (L(A)) is won by Player I.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games13/15

slide-64
SLIDE 64

Lower Bounds on Delay

Theorem

There exists a parity-DPDA A such that Player O wins the game induced by L(A) with finite delay, but for any elementary delay function f , the game Γf (L(A)) is won by Player I. Proof Idea Adapt idea from undecidability proof: Player I produces blocks on which a successor relation is defined (which can be checked by a DPDA). Block length grows non-elementary. Winning condition forces Player I to cheat at some point. Player O wins iff she catches Player I.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games13/15

slide-65
SLIDE 65

Outline

  • 1. Definitions
  • 2. Undecidability Results
  • 3. Lower Bounds on Delay
  • 4. Conclusion

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games14/15

slide-66
SLIDE 66

Conclusion

Delay games with context-free winning conditions. Determining the winner is undecidable. This holds even for visibly one-counter languages accepted by automata with weak acceptance conditions.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games15/15

slide-67
SLIDE 67

Conclusion

Delay games with context-free winning conditions. Determining the winner is undecidable. This holds even for visibly one-counter languages accepted by automata with weak acceptance conditions. Non-elementary lower bounds on delay. Again, also for restricted classes of winning conditions.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games15/15

slide-68
SLIDE 68

Conclusion

Delay games with context-free winning conditions. Determining the winner is undecidable. This holds even for visibly one-counter languages accepted by automata with weak acceptance conditions. Non-elementary lower bounds on delay. Again, also for restricted classes of winning conditions. Open questions: Undecidability and non-elementary lower bounds, if Player O controls the stack. What if Player I controls the stack? Linear delay necessary in this case.

Martin Zimmermann RWTH Aachen University Degrees of Lookahead in Context-free Infinite Games15/15