Nicolas Markey: LSV { ENS Cachan
(joint work with Francois Laroussinie)
Nord-Pas-de-Calais { Belgium congress of mathematics
Valenciennes, 28 October 2013
2. ed CTL
Nicolas Markey
LSV { ENS Cachan
(joint work with Francois Laroussinie)
Nord-Pas-de-Calais { Belgium congress of mathematics
Valenciennes, 28 October 2013
16. ability are mostly decidable
3 Temporal logics for games: ATL and extensions
expressing properties of complex interacting systems
QCTL-based decision procedures for ATLsc
31. Examples of CTL formulas
In CTL, each temporal modality is in the immediate scope of a
path quanti
32. er.
EG(E F ) there is a path along which is always reachable
33. Examples of CTL formulas
In CTL, each temporal modality is in the immediate scope of a
path quanti
34. er.
EG(|E F{z }
p
) there is a path along which is always reachable
p p
p
35. Examples of CTL formulas
In CTL, each temporal modality is in the immediate scope of a
path quanti
36. er.
EG(|E F{z }
p
) there is a path along which is always reachable
3
p
3
p
p
37. Examples of CTL formulas
In CTL, each temporal modality is in the immediate scope of a
path quanti
38. er.
Theorem ([CE81,QS82])
CTL model checking is PTIME-complete.
[CE81] Clarke, Emerson. Design and Synthesis of Synchronization Skeletons using Branching-Time
Temporal Logic. LOP'81.
[QS82] Queille, Sifakis. Speci
50. Examples of CTL formulas
In CTL, we have no restriction on modalities and quanti
51. ers.
Theorem ([EH86])
CTL model checking is PSPACE-complete.
[EH86] Emerson, Halpern. Sometimes and Not Never Revisited: On Branching versus Linear
Time Temporal Logic. J.ACM, 1986.
52. Outline of the presentation
1 Basics about CTL
expressing properties of reactive systems
ecient veri
56. ability are mostly decidable
3 Temporal logics for games: ATL and extensions
expressing properties of complex interacting systems
QCTL-based decision procedures for ATLsc
59. ers
9p: ' means that there exists a labelling of the model
with p under which ' holds.
[Kup95] Kupferman. Augmenting Branching Temporal Logics with Existential Quanti
60. cation over
Atomic Propositions. CAV, 1995.
[Fre01] French. Decidability of Quantifed Propositional Branching Time Logics. AJCAI, 2001.
63. ers
9p: ' means that there exists a labelling of the model
with p under which ' holds.
E F ^ 8p:
E F(p ^ ) ) AG( ) p)
[Kup95] Kupferman. Augmenting Branching Temporal Logics with Existential Quanti
64. cation over
Atomic Propositions. CAV, 1995.
[Fre01] French. Decidability of Quantifed Propositional Branching Time Logics. AJCAI, 2001.
67. ers
9p: ' means that there exists a labelling of the model
with p under which ' holds.
E F ^ 8p:
E F(p ^ ) ) AG( ) p)
uniq( )
[Kup95] Kupferman. Augmenting Branching Temporal Logics with Existential Quanti
68. cation over
Atomic Propositions. CAV, 1995.
[Fre01] French. Decidability of Quantifed Propositional Branching Time Logics. AJCAI, 2001.
71. ers
9p: ' means that there exists a labelling of the model
with p under which ' holds.
E F ^ 8p:
E F(p ^ ) ) AG( ) p)
uniq( )
; true if we label the Kripke structure;
; false if we label the computation tree;
[Kup95] Kupferman. Augmenting Branching Temporal Logics with Existential Quanti
72. cation over
Atomic Propositions. CAV, 1995.
[Fre01] French. Decidability of Quantifed Propositional Branching Time Logics. AJCAI, 2001.
85. QCTL with structure semantics
Theorem
Model checking QCTL for the structure semantics is
PSPACE-complete.
Proof
Membership:
Iteratively
(nondeterministically) pick a labelling,
check the subformula.
Hardness:
QBF is a special case (without even using temporal modalities).
[DLM12] Da Costa, Laroussinie, M. Quanti
187. rst requires
removing alternation (exponential blowup);
an automaton equivalent to a QCTL formula can be built
inductively;
emptiness of an alternating parity tree automaton can be
decided in exponential time.
188. Outline of the presentation
1 Basics about CTL
expressing properties of reactive systems
ecient veri
192. ability are mostly decidable
3 Temporal logics for games: ATL and extensions
expressing properties of complex interacting systems
QCTL-based decision procedures for ATLsc
193. Reasoning about multi-agent systems
Concurrent games
A concurrent game is made of
a transition system;
q0
q1
q2
194. Reasoning about multi-agent systems
Concurrent games
A concurrent game is made of
a transition system;
a set of agents (or players);
q0
q1
q2
195. Reasoning about multi-agent systems
Concurrent games
A concurrent game is made of
a transition system;
a set of agents (or players);
a table indicating the transition to be taken given the actions
of the players.
q0
q1
q2
player 1
q0 q2 q1
q1 q0 q2
q2 q1 q0
player 2
196. Reasoning about multi-agent systems
Concurrent games
A concurrent game is made of
a transition system;
a set of agents (or players);
a table indicating the transition to be taken given the actions
of the players.
Turn-based games
A turn-based game is a game
where only one agent plays at
a time.
197. Reasoning about open systems
Strategies
A strategy for a given player is a function telling what to play
depending on what has happened previously.
198. Reasoning about open systems
Strategies
A strategy for a given player is a function telling what to play
depending on what has happened previously.
Strategy for player :
alternately go to and .
199. Reasoning about open systems
Strategies
A strategy for a given player is a function telling what to play
depending on what has happened previously.
Strategy for player :
alternately go to and .
...
...
...
...
203. ers
hhAii ' expresses that A has a strategy to enforce '.
hh ii F
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
205. ers
hhAii ' expresses that A has a strategy to enforce '.
3 3
3 3
hh ii F
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
207. ers
hhAii ' expresses that A has a strategy to enforce '.
hh ii F
hh ii F
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
209. ers
hhAii ' expresses that A has a strategy to enforce '.
3
3
hh ii F
hh ii F
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
211. ers
hhAii ' expresses that A has a strategy to enforce '.
hh ii F
hh ii F
hh ii G( hh ii F )
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
213. ers
hhAii ' expresses that A has a strategy to enforce '.
p
p
hh ii F
hh ii F
hh ii G( hh ii F ) hh ii G p
p
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
215. ers
hhAii ' expresses that A has a strategy to enforce '.
p
p
hh ii F
hh ii F
hh ii G( hh ii F ) hh ii G p
p
Theorem
Model checking ATL is PTIME-complete.
[AHK02] Alur, Henzinger, Kupferman. Alternating-time Temporal Logic. J. ACM, 2002.
216. ATL with strategy contexts [BDLM09]
hh ii G( hh ii F )
[BDLM09] Brihaye, Da Costa, Laroussinie, M. ATL with strategy contexts. LFCS, 2009.
217. ATL with strategy contexts [BDLM09]
hh ii G( hh ii F )
consider the following strategy
of Player : always go to ;
[BDLM09] Brihaye, Da Costa, Laroussinie, M. ATL with strategy contexts. LFCS, 2009.
218. ATL with strategy contexts [BDLM09]
hh ii G( hh ii F )
consider the following strategy
of Player : always go to ;
[BDLM09] Brihaye, Da Costa, Laroussinie, M. ATL with strategy contexts. LFCS, 2009.
219. ATL with strategy contexts [BDLM09]
hh ii G( hh ii F )
consider the following strategy
of Player : always go to ;
in the remaining tree, Player
can always enforce a visit to .
[BDLM09] Brihaye, Da Costa, Laroussinie, M. ATL with strategy contexts. LFCS, 2009.
220. What ATLsc can express
Client-server interactions for accessing a shared resource:
hServeri G
2
66664
^
c2Clients
hci F accessc
^
:
^
c6=c0
accessc ^ accessc0
3
77775
221. What ATLsc can express
Client-server interactions for accessing a shared resource:
hServeri G
2
66664
^
c2Clients
hci F accessc
^
:
^
c6=c0
accessc ^ accessc0
3
77775
Existence of Nash equilibria:
hA1; :::;Ani
^
i
( hAi i 'Ai ) 'Ai )
222. What ATLsc can express
Client-server interactions for accessing a shared resource:
hServeri G
2
66664
^
c2Clients
hci F accessc
^
:
^
c6=c0
accessc ^ accessc0
3
77775
Existence of Nash equilibria:
hA1; :::;Ani
^
i
( hAi i 'Ai ) 'Ai )
Existence of dominating strategy:
hAi [B] (:' ) [A] :')
223. Translating ATLsc into QCTL
player A has moves mA
1 , ..., mA
n ;
from the transition table, we can compute the
set Next( );A;mA
i ) of states that can be
reached from when player A plays mA
i .
[DLM12] Da Costa, Laroussinie, M. Quanti
225. Translating ATLsc into QCTL
player A has moves mA
1 , ..., mA
n ;
from the transition table, we can compute the
set Next( );A;mA
i ) of states that can be
reached from when player A plays mA
i .
hAi ' can be encoded as follows:
9mA
1 : 9mA
2 : : : 9mA
n :
this corresponds to a strategy: AG(mA
i ,
V
:mA
j );
the outcomes all satisfy ':
A
G(q ^ mA
.
i ) X Next(q; A;mA
i )) ) '
[DLM12] Da Costa, Laroussinie, M. Quanti
227. Translating ATLsc into QCTL
player A has moves mA
1 , ..., mA
n ;
from the transition table, we can compute the
set Next( );A;mA
i ) of states that can be
reached from when player A plays mA
i .
Corollary
ATLsc model checking is decidable.
Corollary
ATL0
sc (memoryless quanti
249. ability for turn-based games
Theorem (LM13b)
When restricted to turn-based games, ATLsc satis
250. ability is
decidable.
player has moves , and .
a strategy can be encoded by marking some of
the nodes of the tree with proposition movA.
hAi ' can be encoded as follows:
9movA:
it corresponds to a strategy: AG(turnA ) EX1 movA);
the outcomes all satisfy ': A
G(turnA ^ X movA) ) '
.
[LM13b] Laroussinie, M. Satis
258. cation over strategies + strategy assignement
Example
hAi ' 91:assign(1; A):'
Strategy logic can also be translated into QCTL.
Theorem
Strategy-logic satis
259. ability is decidable when restricted to
turn-based games.
Memoryless strategy-logic satis
261. Conclusions and future works
Conclusions
QCTL is a powerful extension of CTL;
it is equivalent to MSO over
262. nite graphs and regular trees;
it is a nice tool to understand temporal logics for games (ATL
with strategy contexts, Strategy Logic, ...);
263. Conclusions and future works
Conclusions
QCTL is a powerful extension of CTL;
it is equivalent to MSO over
264. nite graphs and regular trees;
it is a nice tool to understand temporal logics for games (ATL
with strategy contexts, Strategy Logic, ...);
Future directions
De
265. ning interesting (expressive yet tractable) fragments of
those logics;
Obtaining practicable algorithms.
Considering randomised strategies.