Title: 3Valued Abstractions of Games: Uncertainty, but with Precision
13-Valued Abstractions of Games Uncertainty, but
with Precision
- Luca de Alfaro UC Santa Cruz
- Patrice Godefroid Bell Labs, Lucent.
- Radha Jagadeesan DePaul University
2Context of talk
- Abstractions for open systems
3Foundations for closed systems
- Model Transition systems
- Property spec Temporal/modal logics
- Abstraction Simulation
- s simulates t Every transition from t is
matched by a transition from s
4Foundations for closed systems
- Model Transition systems
- Property spec Temporal/modal logics
- Abstraction Simulation
- Simulation is sound for universal properties
5Open systems
6Open systems models
- Games Transition systems
- Player 1
Player 2
7Open systems Logics
- Games Transition
systems - Alternating-Time Logic Temporal/modal logics
- Game Logics
- Coalition Logics
- We will work with Alternating Mu-calculus
- Alur-Henzinger-Kupferman
8Open systems logics
- Strategy quantifierAt 1-states
existence of a moveAt 2-states for all moves
9Open systems logics
10Open systems Abstraction
- Games Transition
systems - Alternating-time logic Temporal/modal logics
- Alternating simulation Simulation
- Alternating Simulation
- Abramsky
- Alur-Henzinger-Kupferman-Vardi
11Open systems alternating simulation
1-simulated by
Player 1
For each 1-strategy, there is a 1-strategy on the
right
Player 2
12Open systems Abstraction
- Games Transition
systems - Alternating-time logic Temporal/modal logics
- Alternating simulation Simulation
-
- 1-Alternating simulation preserves
13Question
- Study of abstraction methods to preserve all
properties of the alternating mu-calculus. - Why?
-
14Question
- Study of abstraction methods to preserve all
properties of the alternating mu-calculus - Compositional verification
- nested strategy quantifiers
- Thus need to preserve
strategies for all players
15Question
- Study of abstraction methods to preserve all
properties of the alternating mu-calculus - Compositional verification
- Feasible counter-examples
- Pasareanu-Dwyer-Visser00
- Counter-example guided refinement
Grumberg-Shoham03
16Results
17Our results models and logics
- Definition of abstract games
- alternating refinement between states of
an abstract games -
-
18Our results models and logics
- Definition of abstract games
- alternating refinement between states of
an abstract games -
- s alternating-refines t
- all AMC formulas satisfied by t are satisfied
by s - Strategies for all players are preserved from
t to s
19Our results expressiveness
- Are there useful abstractions captured by
framework? - Completeness?
20Our results
- Any abstract interpretation on data-values
- Induces an alternating abstraction of games
- These abstract games are the most precise
possible, for the given abstraction. - completeness, in abstract interpretation
21Our results completeness for safety
- If a state s of satisfies a property, there
is a finite state abstraction
that proves this
For transition systems Safety properties,
Maniolis-Treffler01
22Complexity of refinement and model-checking
- Linear time, logspace reduction to concrete games
23Rest of the talk
24Rest of the talk
- Disjunctive Modal transition systems
Larsen-Li 1991 Namjoshi 03,
Dams-Namjoshi04, Grumberg-Shoham 2004 - Abstract Games and alternating refinement
- 3-valued semantics of AMC
- Examples of abstraction
25Disjunctive modal transition systems
26Modal transition systems
- Larsen90, Larsen-Thomsen91
- Two kinds of transitions MAY, MUST transitions.
- Consistency All MUST transitions are also MAY
transitions. - Concrete Systems MAY MUST.
27Refinement of MTS
- MAY transitions go away or get converted into
MUST transitions - MUST transitions are preserved
- A R(efines) A
- A_may simulates A_may via R
- A_must simulates A_must via R-1
28Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0)
zgt0
not(zgt0)
x3,z5 x3,z4
oddx
not(oddx)
x4,z3
29Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0)
zgt0
not(zgt0)
oddx
x3, z4
not(oddx)
x4, z4
30Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0)
zgt0
not(zgt0)
oddx
x3, z5
not(oddx)
x3, z5
31Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0),
zgt0
not(zgt0)
oddx
not(oddx)
32Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0),
zgt0
not(zgt0)
oddx
x3, z4
not(oddx)
x4, z4
Oops! No must transition ltx3,z4gt
? ltx4,z4gt ltx3,z3gt ? ltx3,z3gt
33Predicate abstraction of xz under oddx, zgt0
lt x j, z k gt refines Isodd(j), Is(kgt0),
zgt0
not(zgt0)
oddx
not(oddx)
Oops! No must transition ltx3,z4gt
? ltx4,z4gt ltx3,z3gt ? ltx3,z3gt
34xz under oddx, zgt0
zgt0
not(zgt0)
oddx
not(oddx)
odd(x), not(oddx)
Must hyperedge Source oddx,zgt0
Target odd(x), zgt0,
not(odd(x)), z gt0
35Disjunctive Modal transition systems
- Two kinds of transitions MAY, MUST transitions.
Must transitions are hyperedges s ? t1, tn - Consistency At least one of s ? ti is a may
transition
36Abstract Game Structures
37Abstract Game Structures
38Abstract Game Structures
39Abstract Game Structures
- A must transition (to U) achieves an objective in
next state only if all states in U achieve it. - Consistency MUST Winning ? MAY winning
40Three-valued determinacy for linear objectives
- For a linear objective W 1 has a winning must
strategy for W - 2 has a winning must strategy for not(W)
Both 1 and 2 have winning MAY strategies for
their objectives
41Refinement
42Refinement Transitions
a. May transitions decrease from s to s
43Refinement
a.
Must transitions increase from s to s.
b.
44Refinement
a.
Must transitions increase from s to s.
b.
45Refinement
- Symmetric in both players
- 1- Alternating simulation Player 2 has only
MAY moves. Player 1 has only MUST moves.
a.
Must transitions increase from s to s.
b.
463-valued AMC
473-valued semantics of AMC
x (OR) y true, if either is true,
false, if both are false
and bottom, otherwise.
48(No Transcript)
49s is a player 2 state
s is a player 1 state
50s is a player 2 state
s is a player 1 state
51Soundness and completeness of AMC for refinement
Going from s to s makes values more definite
52Abstraction an example
53Predicate Abstraction P1,..,Pn
- Abstract states are bivectors of length n
- s satisfies b1..bn where
- bi 1 iff s satisfies Pi.
54Transitions
- MAY Transition (b1..bn, b1..bn) if
- EXISTS s such that s satisfies b1..bn
- EXISTS s satisfies b1..bn
AND (s,s)
55Transitions
- MUST Transition (b1..bn, c11..c1n..
cm1,..,cmn) if - FORALL s such that s satisfies b1..bn,
- EXISTS s EXISTS j s satisfies cj1..cjn
- AND (s,s)
56xz under oddx, zgt0
oddx
not(oddx)
oddx
not(oddx)
odd(x), not(oddx)
Must transition from oddx,zgt0 to
odd(x), zgt0, not(odd(x)),
z gt0
57A useful abstraction
58Summary
59Our results models and logics
- Definition of abstract games
- alternating refinement between states
- s alternating-refines t
- a. all AMC formulas satisfied by t are
satisfied by s - b. strategies for all players are preserved
from t to s
60Our results expressiveness
- 0. Any abstract interpretation on data-values
- Induces an alternating abstraction of games
- 1. These abstract games are the most precise
possible, for the given abstraction. - 2. Compositionality of abstraction
- 3. Finite state abstractions for proving
safety properties.
61Questions