COMP 2711H: Lecture 38
Date: 2024-11-27 02:52:39
Reviewed:
Topic / Chapter:
summary
❓Questions
Notes
Lecture
- 
Arena- arena: a directed graph 
- s.t.
- 👨🏫: ownership of graph: must also be defined
- 👨🏫 assume it to be finite (in this course), although it's not explicitly mentioned
 
- game: arena  and starting vector 
- owner of new vertex: gets to make next decision
- goal: making move within one's own
- others' goal: preventing the player from doing so
 
- example
 
- arena: a directed graph 
graph LR
    0(( ))
    1(( ))
    2( )
    3(v_0)
    0-->2; 0-->1; 1-->0; 1-->2; 2-->2; 3-->0; 3-->1
- strategy: strategy for player :
- function
- if
- walk: can be done infinitely as all nodes have at lease one outdegree
 
- outcome: infinite walk on  starting at 
- use for the set of all outcomes
 
- if : strategies for players
- then : corresponding outcome
 
- 
Objective- objective for player 1: a strategies
- zero-sum game: 
- i.e. victory of one: defeat of one
- 👨🏫 non-zero sum game: also interesting
- where loss of a player does not necessarily mean loss of another
 
 
- strategy  for player 1: winning strategy if:
- for every , we have
- i.e. regardless of other players' action, outcome is in your objective
- 👨🏫: same for non-zero sum game
 
- losing condition can also be defined
- 👨🏫 but "lose" is not well defined for non-zero sum game...
 
- game : determined if, for every starting vertex 
- either or (or: ) has a winning strategy
 
 
- objective for player 1: a strategies
- 
Hint for problem set 11- let there be a game w/ both players having no winning strategy
- e.g. rock scissor paper intuitively
 
- how can we make this in a graph game?
- think about infinite objective
 
- let there be a game w/ both players having no winning strategy
- 
Reachability game- player 1's objective: to reach 
- 
- 👨🏫 game: also can be called as safety game
 
- a zero-sum game
 
- 👨🏫 diamond notation: from linear-time temporal logic (LTL)
- input: arena 
- target set
 
- output:
- rules
- if  and  and 
- then
 
- if  and , we have 
- then
 
 
- algorithm:
- : set of starting vertices player 1 wins in steps
- compute 
- algorithm: terminates as there are finite no. of vertices
- cannot increase infinitely
- terminate when
 
- yet: we must also show that player 2 has strategy if:
- if :
- it has no edge to 
- if so: player 1 will go to
 
 
- it has no edge to 
- if :
- it has at least an edge to stay in
- as: player 2 has no reason to run into defeat
- player 2's strategy: simply
 
- theorem: , 
- winning strategy for player 1: move into an inner circle ()
- always succeeds: as is expanded that way
 
- must also ensure: the game is memory-less
- computation of : dependent on arena, not history
 
 
- winning strategy for player 1: move into an inner circle ()
- 👨🏫 let's make it more complicated (even in last session)
 
- player 1's objective: to reach 
- 
Büchi game- goal: to visit infinitely many times
- input: arena 
- target set
 
- output:
- 👨🏫 whether it's determinant or not: not shown
- from there: show that
 
- , 
- known:
 
- 
- known:
 
- if: the game starts outside :
- player 1 doesn't want to land
- i.e. for all ,  has at least one edge not going 
- 👨🏫 reduce the problem by removing all edge going into  / vertices in 
- remainder: still a valid game
 
 
- 👨🏫 reduce the problem by removing all edge going into  / vertices in 
 
- total algorithm
- 
- 
- 
- algorithm: terminates as there are finite vertices
 
- 
- what if: stuck? i.e. 
- then, let
- 
- : empty
 
- within : one can reach arbitrarily (infinitely) many times
- theorem: , 
- player 2: simply staying within the smallest inner circle possible
- = memory-less
 
- player 1: don't step outside of smaller game
- don't join 
- = memory-less
 
- if it's already in : just pick any
- as player 1 will lose anyway
 
 
- don't join 
 
- player 2: simply staying within the smallest inner circle possible
- what if: we have combinations of the objectives?
- e.g. player 1 want to reach both ?
- once, or infinitely many times?
 
- 👨🏫 def. on your final, and it's non-trivial
- 👨🏫 solution available in Wikipedia, but involves extra concepts outside syllabus
 
 
- e.g. player 1 want to reach both ?