Professional Documents
Culture Documents
Infinite computations
Infinite games on graphs
From
deterministic finite automata
to
infinite games
Eryk Kopczyński
University of Warsaw
1/39
1 Automata
Deterministic
Non-deterministic
Alternation
2 Infinite computations
Motivation
Overview of infinite games
Acceptance conditions
a
b
b a
b
a
a
b
used to recognize languages L ⊆ Σ∗ , i.e., sets of words using
letters from the set Σ = {a, b}
a ∈ L, ab ∈
/ L, aba ∈ L, . . .
2/39
Regular languages
3/39
Regular languages
3/39
Regular languages
3/39
Regular languages
3/39
Non-determinism
a a
a b
4/39
Non-determinism
a a
a b
4/39
Non-determinism
a a
a b
4/39
5/39
5/39
5/39
∃i ∀i i = j i < j i ∈ A ¬ ∨ ∧
6/39
∃i ∀i i = j i < j i ∈ A ¬ ∨ ∧
We can express for example (oe)∗
6/39
∃i ∀i i = j i < j i ∈ A ¬ ∨ ∧
We can express for example (oe)∗
6/39
∃i ∀i i = j i < j i ∈ A ¬ ∨ ∧
We can express for example (oe)∗
6/39
7/39
7/39
7/39
7/39
8/39
8/39
8/39
Alternating automata
a
b
9/39
deterministic P
10/39
deterministic P
non-deterministic NP
10/39
deterministic P
non-deterministic NP
only universal states co-NP
10/39
deterministic P
non-deterministic NP
only universal states co-NP
only existential, then only universal ΣP2
10/39
deterministic P
non-deterministic NP
only universal states co-NP
only existential, then only universal ΣP2
only universal, then only existential ΠP2
10/39
deterministic P
non-deterministic NP
only universal states co-NP
only existential, then only universal ΣP2
only universal, then only existential ΠP2
a fixed number of alternations PH
10/39
deterministic P
non-deterministic NP
only universal states co-NP
only existential, then only universal ΣP2
only universal, then only existential ΠP2
a fixed number of alternations PH
any number of alternations AP = PSPACE
10/39
Alternating automata
11/39
Alternating automata
11/39
Alternating automata
11/39
Infinite cycles
12/39
13/39
13/39
14/39
15/39
15/39
15/39
15/39
Determinacy
What does it mean that a player has a winning strategy?
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
A winning strategy = a strategy such that the player using that
strategy will always win, no matter what the opponent is doing
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
A winning strategy = a strategy such that the player using that
strategy will always win, no matter what the opponent is doing
Impossible for both players to have winning strategies
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
A winning strategy = a strategy such that the player using that
strategy will always win, no matter what the opponent is doing
Impossible for both players to have winning strategies
In finite games, one of the players will have a winning strategy (the
game is determined)
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
A winning strategy = a strategy such that the player using that
strategy will always win, no matter what the opponent is doing
Impossible for both players to have winning strategies
In finite games, one of the players will have a winning strategy (the
game is determined)
We can use the axiom of choice to construct infinite games which
are not determined
16/39
Determinacy
What does it mean that a player has a winning strategy?
A strategy = a decision procedure which tells which move a player
should do in given situation (i.e. a function from situations to
moves)
A winning strategy = a strategy such that the player using that
strategy will always win, no matter what the opponent is doing
Impossible for both players to have winning strategies
In finite games, one of the players will have a winning strategy (the
game is determined)
We can use the axiom of choice to construct infinite games which
are not determined
But reasonable infinite games are determined (Martin ’75 - Borel
determinacy) 16/39
A non-determined game
XOR function:
such that
X (0∗ ) = 0
X (u0v ) 6= X (u1v )
17/39
Non-determined game
such that
X (0ω ) = 0
X (u0v ) 6= X (u1v )
18/39
Non-determined game
Infinite XOR game
Eva chooses a finite sequence of bits w1
Adam chooses w2
Eva chooses w3
Adam chooses w4
...
Eva wins if X (w1 w2 w3 w4 . . .) = 1
19/39
Non-determined game
Infinite XOR game
Eva chooses a finite sequence of bits w1
Adam chooses w2
Eva chooses w3
Adam chooses w4
...
Eva wins if X (w1 w2 w3 w4 . . .) = 1
Eva chooses w1
Adam chooses w2′ w3
Eva chooses w4
Adam chooses w5
...
Adam will win! 19/39
20/39
20/39
Σω ∋ baabbaabb(ab)ω
20/39
21/39
21/39
ac ω ∪ (baΣ∗ )ω
b
c a a
Σ
b
22/39
ac ω ∪ (baΣ∗ )ω
b
c a a
Σ
b
K1 Lω1 ∪ K2 Lω2
22/39
23/39
23/39
23/39
We use F ⊆ P(Q)
Run is accepted iff the set of states appearing infinitely often
during the play is in F
24/39
We use F ⊆ P(Q)
Run is accepted iff the set of states appearing infinitely often
during the play is in F
Deterministic Muller automata recognize all ω-regular
languages
Negation is straightforward
But the description is long (we have to define acceptance for
each subset of Q)
24/39
25/39
Parity condition
We use rank : Q → N
Run is accepted (Eva wins) if the greatest rank appearing infinitely
often during the play is even, not accepted (Adam wins) if it is odd
26/39
Parity condition
We use rank : Q → N
Run is accepted (Eva wins) if the greatest rank appearing infinitely
often during the play is even, not accepted (Adam wins) if it is odd
Deterministic parity automata recognize all ω-regular
languages (a nice translation from the Muller condition, LAR)
Negation straightforward
Effective description
26/39
a b
b b a a
27/39
a b
b b a a
Infinite game
7 2 8
9 5 4
28/39
Motivation I-II
29/39
Motivation I-II
29/39
Motivation III
30/39
Parity games
Given: a parity game (an infinite game using the parity acceptance
condition)
1 2 3
4 5 6
Positional determinacy
32/39
Positional determinacy
32/39
Positional determinacy
33/39
33/39
33/39
33/39
33/39
33/39
-3 +20
-3
-1
-1 -2
+5
-2
+10 -1 -2
-1
-3
34/39
Muller game
a b
35/39
Muller game
a b
35/39
36/39
36/39
37/39
37/39
37/39
37/39
37/39
Research problems
38/39
Conclusion
Summary
non-deterministic automata, FO and MSO logic
alternating automata
ω-regular languages
infinite games
parity games
thank you
39/39