Differential Game Logic
Andr´ e Platzer Summer School Marktoberdorf 2017
0.2 0.4 0.6 0.8 1.0
0.1 0.2 0.3 0.4 0.5
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 40
Differential Game Logic Andr e Platzer Summer School Marktoberdorf - - PowerPoint PPT Presentation
Differential Game Logic Andr e Platzer Summer School Marktoberdorf 2017 0.5 0.4 0.3 0.2 1.0 0.1 0.8 0.6 0.4 0.2 Andr e Platzer (CMU) Differential Game Logic MOD17 1 / 40 Outline CPS Game Motivation 1 Differential Game
0.2 0.4 0.6 0.8 1.0
0.1 0.2 0.3 0.4 0.5
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 3 / 40
1 Depends on how it has been programmed 2 And on what will happen if it malfunctions
1 Safety guarantees require analytic foundations. 2 A common foundational core helps all application domains. 3 Foundations revolutionized digital computer science & our society. 4 Need even stronger foundations when software reaches out into our
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 3 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 4 / 40
2 4 6 8 10 t 0.8 0.6 0.4 0.2 0.2
2 4 6 8 10 t 0.2 0.4 0.6 0.8 1.0v 2 4 6 8 10 t 2 4 6 8
px py Andr´ e Platzer (CMU) Differential Game Logic MOD’17 5 / 40
2 4 6 8 10 t 0.8 0.6 0.4 0.2 0.2
2 4 6 8 10 t 1.0 0.5 0.5
2 4 6 8 10 t 0.5 0.5 1.0
dx dy Andr´ e Platzer (CMU) Differential Game Logic MOD’17 5 / 40
8 rmbl0skZ 7 ZpZ0ZpZ0 6 0Zpo0ZpZ 5 o0ZPo0Zp 4 PZPZPZ0O 3 Z0Z0ZPZ0 2 0O0J0ZPZ 1 SNAQZBMR a b c d e f g h Andr´ e Platzer (CMU) Differential Game Logic MOD’17 6 / 40
2 4 6 8 10 t 0.6 0.4 0.2 0.2 0.4
2 4 6 8 10 t 0.2 0.4 0.6 0.8 1.0 1.2v 2 4 6 8 10 t 1 2 3 4 5 6 7p
px py Andr´ e Platzer (CMU) Differential Game Logic MOD’17 7 / 40
2 4 6 8 10 t 0.6 0.4 0.2 0.2 0.4
2 4 6 8 10 t 1.0 0.5 0.5
2 4 6 8 10 t 0.5 0.5 1.0
dx dy Andr´ e Platzer (CMU) Differential Game Logic MOD’17 7 / 40
2 4 6 8 10 t 0.6 0.4 0.2 0.2 0.4
2 4 6 8 10 t 1.0 0.5 0.5
2 4 6 8 10 t 0.5 0.5 1.0
dx dy Andr´ e Platzer (CMU) Differential Game Logic MOD’17 8 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 9 / 40
JAR’08,CADE’11,LMCS’12,LICS’12,LICS’12 TOCL’15,CADE’15,JAR’17,TOCL’17 Andr´ e Platzer (CMU) Differential Game Logic MOD’17 10 / 40
JAR’08,CADE’11,LMCS’12,LICS’12,LICS’12 TOCL’15,CADE’15,JAR’17,TOCL’17 Andr´ e Platzer (CMU) Differential Game Logic MOD’17 10 / 40
1 Compositional programming language for hybrid games 2 Compositional logic and proof calculus for winning strategy existence 3 Hybrid games determined 4 Winning region computations terminate after ≥ωCK
1
5 Separate truth (∃ winning strategy) vs. proof (winning certificate) vs.
6 Sound & relatively complete 7 Expressiveness 8 Fragments successful in applications 9 Generalizations in logic enable more applications
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 11 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 11 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 12 / 40
∗
×
d d
8 0Z0Z0s0Z 7 o0Z0Z0j0 6 Po0o0ZpZ 5 Z0oPZ0Z0 4 0Z0Z0Znl 3 Z0Z0Z0Z0 2 0OPZ0OQZ 1 Z0Z0Z0ZB a b c d e f g h Andr´ e Platzer (CMU) Differential Game Logic MOD’17 13 / 40
∗
×
d d
8 0Z0Z0s0Z 7 o0Z0Z0j0 6 Po0o0ZpZ 5 Z0oPZ0Z0 4 0Z0Z0Znl 3 Z0Z0Z0Z0 2 0OPZ0OQZ 1 Z0Z0Z0ZB a b c d e f g h Andr´ e Platzer (CMU) Differential Game Logic MOD’17 13 / 40
∗
×
d d
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 13 / 40
∗
×
d d
∗)d
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 13 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 14 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 15 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 15 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 16 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 17 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 17 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 17 / 40
[f (x)] ]s x
dt
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 18 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
[f (x)] ]s x
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
dt
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
α(X) ς2 α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
α (X) · · · ς3 α(X) ς2 α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
α (X) · · · ς3 α(X) ς2 α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 19 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 20 / 40
wfd
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 20 / 40
wfd
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 20 / 40
wfd
<∞
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 20 / 40
wfd
<∞
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 20 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 21 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α(X) ς2 α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α (X)
α(X) ς2 α(X) ςα(X) X
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α (X)
?
n<ω ςαn(X)
11 11 01 01 01 ⋄ 10 10 repeat 10 stop r e p e a t 01 ⋄ s t
10 10 00 ⋄ 00 ⋄ r e p e a t 10 ⋄ s t
repeat 11 ⋄ stop 11 11 01 01 01 ⋄ 10 ⋄ 10 00 ⋄ 00 ⋄ 10 00 00 ⋄ 00 ⋄ 00 00 ⋄ 00 ⋄ 3 11 01 01 ⋄ 10 ⋄ 10 00 ⋄ 00 ⋄ 2 11 01 ⋄ 10 ⋄ 1 11 ⋄ . . .
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α (X)
?
n<ω ςn α(X)
α(X) def
α
α(X))
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α (X)
?
n<ω ςn α(X)
α(X) def
α
α(X))
α([0, 1)) = [0, n) = R
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
α (X)
?
n<ω ςn α(X)
α(X) def
α
α(X))
α(X) def
α(X)
α([0, 1)) = [0, n) = R
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 22 / 40
1
ω+3
ω·3
ω·2+1
ω·2+2
ω·4
ω ² + 1 ω²+2
ω²+ω
ω ² + ω · 2
ω²·2
ω²·3 ω²·4
ω³
ω³+ω
ω³+ω²
ω · 5
ω+4
ω ω4
ω³·2
ω·2+3
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 23 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 23 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 24 / 40
p(·)
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 24 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
′
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 25 / 40
R x = 0 →0 = 0 ∨ 1 = 0 :=x = 0 →x := 0x = 0 ∨ x := 1x = 0 ∪ x = 0 →x := 0 ∪ x := 1x = 0 d x = 0 →¬x := 0 ∩ x := 1¬x = 0 [·] x = 0 →[x := 0 ∩ x := 1]x = 0 ind x = 0 →[(x := 0 ∩ x := 1)∗]x = 0 d x = 0 →(x := 0 ∪ x := 1)×x = 0
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 26 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 27 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 28 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 28 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 28 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 29 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 30 / 40
2
1
1
1-complete for discrete α
∗-free dG
d-free dG
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 31 / 40
2
1
1
1-complete for discrete α
n iff it’s {x : ∀y1 ∃y2 ∀y3 . . . yn ϕ(x, y1, . . . , yn)} for a decidable ϕ
n iff it’s {x : ∃y1 ∀y2 ∃y3 . . . yn ϕ(x, y1, . . . , yn)} for a decidable ϕ
1 iff it’s {x : ∀f ∃y ϕ(x, y, f )} for a decidable ϕ and functions f
1 iff it’s {x : ∃f ∀y ϕ(x, y, f )} for a decidable ϕ and functions f
n = Σi n ∩ Πi n
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 31 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 32 / 40
∗0 ≤ x < 1
Fixpoint style proof technique
R
:= ∀x (0≤x<1∨x := 1¬∃t≥0 x := x+t¬p(x)∨p(x−1)→p(x)) → (true→p(x)) ′
;,d
∪
US
∗
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 33 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 34 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 34 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 34 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 34 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 35 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 35 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 35 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 36 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 36 / 40
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 36 / 40
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 37 / 40
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 37 / 40
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 37 / 40
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 37 / 40
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 37 / 40
dy ∈ Y &z ∈ Z]F
du ∈ U&v ∈ V ]F → [x′ = f (x, y, z)& dy ∈ Y &z ∈ Z]F
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 38 / 40
dy ∈ Y &z ∈ Z]F
du ∈ U&v ∈ V ]F → [x′ = f (x, y, z)& dy ∈ Y &z ∈ Z]F
??
DGI1≤x3 →[x′ = −1+2y+z& dy ∈ I&z ∈ I]1≤x3
def
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 38 / 40
1
2
3
4
5
6
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 38 / 40
1 Draws 2 Cooperative games with coalitions 3 Rewards 4 Payoffs other than ±1
1 Compositional concurrent hybrid games 2 Imperfect information hybrid games 3 Constructive dG
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 39 / 40
1
d radical challenge yet smooth extension
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 40 / 40
Logical Foundations
Cyber-Physical Systems
Logic
Theorem Proving Proof Theory Modal Logic Model Checking
Algebra
Computer Algebra R Algebraic Geometry Differential Algebra Lie Algebra
Analysis
Differential Equations Carath´ edory Solutions Viscosity PDE Solutions Dynamical Systems
Stochastics
Doob’s Super- martingales Dynkin’s Infinitesimal Generators Differential Generators Stochastic Differential Equations
Numerics
Hermite Interpolation Weierstraß Approx- imation Error Analysis Numerical Integration
Algorithms
Decision Procedures Proof Search Procedures Fixpoints & Lattices Closure Ordinals
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
7
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 1 / 2
[f (x)] ]s x
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
λ
λ
λ
i
i
1
1
1
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2
d
Andr´ e Platzer (CMU) Differential Game Logic MOD’17 2 / 2