Differential Game Logic
Andr´ e Platzer
aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA
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 TOCL’15 1 / 26
Differential Game Logic Andr e Platzer aplatzer@cs.cmu.edu - - PowerPoint PPT Presentation
Differential Game Logic Andr e Platzer aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA 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 TOCL15
aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA
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 TOCL’15 1 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 1 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 26
1 Safety guarantees require analytic foundations. 2 Foundations revolutionized digital computer science & our society. 3 Need even stronger foundations when software reaches out into our
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 26
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 TOCL’15 3 / 26
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 TOCL’15 3 / 26
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 TOCL’15 4 / 26
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 TOCL’15 5 / 26
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 TOCL’15 5 / 26
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 TOCL’15 6 / 26
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 quite successful in applications 9 Generalizations in logic enable more applications Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 7 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 7 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 8 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 8 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 8 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 8 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 8 / 26
∗
×
d d
∗)d
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 9 / 26
∗ (0 ≤ x < 1)
∗(0 ≤ x < 1)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 10 / 26
∗ (0 ≤ x < 1)
∗(0 ≤ x < 1)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 10 / 26
∗ (0 ≤ x < 1)
∗(0 ≤ x < 1)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 10 / 26
∗ (0 ≤ x < 1)
∗(0 ≤ x < 1)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 10 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 11 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 11 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 11 / 26
x′
dy ∈ Y &z ∈ Z]F
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 12 / 26
[f (x)] ]s x
dt
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 13 / 26
[f (x)] ]s x
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
dt
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
a(X) ςa(X) X
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
a(X) ς2 a(X) ςa(X) X
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
a (X) · · · ς3 a(X) ς2 a(X) ςa(X) X
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
a (X) · · · ς3 a(X) ς2 a(X) ςa(X) X
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
1
a (X) · · · ς3 a(X) ς2 a(X) ςa(X) X
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 14 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 15 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 15 / 26
p(·)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 16 / 26
′
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 17 / 26
d x = 0 →(x := 0 ∪ x := 1)×x = 0
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 18 / 26
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 TOCL’15 18 / 26
[·] 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 TOCL’15 18 / 26
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 TOCL’15 18 / 26
∪ 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 TOCL’15 18 / 26
:=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 TOCL’15 18 / 26
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 TOCL’15 18 / 26
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 TOCL’15 18 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 19 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 20 / 26
2
1
1
1-complete for discrete a
∗-free dGL complete relative to dL, relative to continuous, or to discrete d-free dGL complete relative to dL, relative to continuous, or to discrete
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 21 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 22 / 26
∗0 ≤ x < 1
Fixpoint style proof technique
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 23 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 24 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 24 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 25 / 26
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 25 / 26
1
2
3
4
5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 25 / 26
1
d radical challenge yet smooth extension
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 26 / 26
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 TOCL’15 1 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 1 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 1 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
[θ] ]s x
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
λ
λ
λ
i
i
1
1
1
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 2 / 5
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 3 / 5
ey fy xb (lx, ly) ex fx (rx, ry) (vx, vy)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 4 / 5
ey fy xb (lx, ly) ex fx (rx, ry) (vx, vy)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 4 / 5
x = ax, v ′ y = ay, t′ = 1, t′ s = 1&ts ≤ ε )d ;
ey fy xb (lx, ly) ex fx (rx, ry) (vx, vy)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 4 / 5
x = ax, v ′ y = ay, t′ = 1, t′ s = 1&ts ≤ ε )d ;
x = ax, v ′ y = ay, t′ = 1, t′ s = 1
ey fy xb (lx, ly) ex fx (rx, ry) (vx, vy)
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 4 / 5
Controllability Assumptions )
Controllability Assumptions )
Andr´ e Platzer (CMU) Differential Game Logic TOCL’15 5 / 5