• Keine Ergebnisse gefunden

Games with perfect information Exercise sheet 8

N/A
N/A
Protected

Academic year: 2021

Aktie "Games with perfect information Exercise sheet 8"

Copied!
3
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Games with perfect information Exercise sheet 8

Sebastian Muskalla TU Braunschweig

Prof. Dr. Roland Meyer Summer term 2017

Out: May 26 Due: June 2

Submit your solutions until Friday, June 2, 14:00, in the box next to office 343.

Warning! I have changed the definition of being a trap for a player in the lecture notes. The definition now fits the intuition: IfXis a trap for player⋆, then⋆ can be trapped insideXby the opponent⋆ (instead of the other way around).

Definition: Trap

We call a setX ⊆Vatrapfor player⋆ {

□,#} if

• for all positionsx∈Xowned by player⋆, all successors are inX, and

• all positionsx∈Xowned by the opponent⋆ have at least one successor inX.

Exercise 1: It’s a trap!

a) Formally prove Part a) of Lemma 8.8 from the lecture notes:

LetY⊆ Vand⋆ {

□,#}

. The complement of the attractorV\ Attr(Y) is a trap for player

.

Is the attractor Attr(Y) a trap for any of the players?

b) Formally prove Lemma 8.11 from the lecture notes:

LetX Vbe a trap for player⋆ inG and lets be a strategy for the opponent⋆ that is winning from some vertexx Xin the subgameG↾X. Thens is also winning fromxin the original gameG.

(2)

The proof for the positional determinacy of parity games gives rise to the following algorithm.

Algorithm: Zielonka’s recursive algorithm

Input:parity gameGgiven byG= (V,V#,R) andΩ.

Input:winning regionsWandW#. Proceduresolve(G)

n= maxx∈VΩ(x) ifn= 0then

returnW#=V,W = else

N ={

x∈VΩ(x) =n} ifneventhen

=#,⋆ =□ else

=□,⋆ =# end if

A = Attr(N)

W#,W=solve(G↾V\A) if W =V\A then

returnW =V,W = else

B = Attr(W

)

W′′,W′′# =solve(G↾V\B) returnW =W′′,W =W′′

∪B end if

end if

Exercise 2: Algorithmics of parity games a) Prove Lemma 8.15 from the lecture notes:

LetG be a parity game, i.e. a game arena Gand a priority function Ω, and letx Vbe a position. Assume thats is a positional strategy for player⋆ {

□,#} .

Present an algorithm that checks whethers is winning fromx. The running time of the al- gorithm should be polynomial inG.

b) Use Zielonka’s recursive algorithm to solve the following parity game. The notation is as in Exercise 8.20 (Exercise 2 on the last exercise sheet).

(3)

a0 b1 c2 d3 e4 f5 g6 h7

i0 j1 k2 3 m4 n5 o6 p7

Exercise 3: Weak parity games

Let us considerweak parity games. Just like a parity game, a weak parity game is given by a game arenaG= (V ·∪V#,R) and a priority functionΩ. Instead of considering the highest priority that occurs infinitely oftento determine the winner of a play, we consider the highest priority that occurs at all.

Formally, for an infinite sequencep⊆Aω, we define theoccurrence set Occ(p) ={

a∈A∃i∈N:pi =a} .

The winner of the weak parity game given byGandΩis determined by theweak parity winning condition:

win : Playsmax → {

□,#} p 7→



# , if max Occ( Ω(p))

is even,

□ , else, i.e. if max Occ( Ω(p))

is odd.

a) Present an algorithm that, given a weak parity game on a finite, deadlock-free game arena, computes the winning regions of both players.

Briefly argue that your algorithm is correct.

Hint:Attractors!

b) Is the winning condition of weak parity games prefix-independent, i.e. does Lemma 8.4 hold?

Do uniform positional winning strategies exist?

Referenzen

ÄHNLICHE DOKUMENTE

(Note that “smallest” means that the corresponding bit is most significant.) Prove that there is an index i with c ij = 1 that can be modified to get to a

• A maximal play of the game is won by refuter if it visits a configuration in which the state q A of A is final, but the state q B of B is not final (Intuitively, this means that

Assume that we are in the same setting as in Section 6, Büchi and CoBüchi games: G = (V □ ∪V # , R) is a finite, deadlock-free game arena, and B ⊆ V is a winning set.. Part b) of

• Assume that all tasks generate a job at time 0. Note that this fixes the jobs for the time interval [0, 5), and since the online scheduler has no knowledge when which job will

How can one obtain a representation of the upward closure of the singleton set containing

a) Present a reachability/safety game whose winning condition encodes the following property:. A play is won by refuter if it visits first x,

Note that due to the excursion week, there is no lecture, exercise class and submission in the week of June 5 to 9. Exercise 1: Examples for PTAs Consider the ranked alphabet Σ

Hint: To avoid the following construction becoming excessively large, restrict the domain to vectors of states that can actually occur.?. b) Construct the parity word automaton