17: Game Proofs & Separations
Logical Foundations of Cyber-Physical Systems
Logical Foundations of Cyber-Physical Systems
André Platzer
André Platzer
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 1 / 25
Logical Foundations of Cyber-Physical Systems Andr Platzer Andr - - PowerPoint PPT Presentation
17: Game Proofs & Separations Logical Foundations of Cyber-Physical Systems Andr Platzer Logical Foundations of Cyber-Physical Systems Andr Platzer Andr Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 1 / 25
André Platzer
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 1 / 25
1
2
3
4
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 2 / 25
1
2
3
4
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 2 / 25
Game Proofs & Separations
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 3 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 4 / 25
[e] ]
x
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 5 / 25
p(·)
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 6 / 25
1
2
3
4
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 6 / 25
p(·)
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 7 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 8 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 8 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 9 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 9 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 9 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 9 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 9 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 10 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 10 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 10 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 10 / 25
1
2
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 11 / 25
1
2
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 11 / 25
1∀
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 12 / 25
2
1
1
1-complete for discrete α
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 13 / 25
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é Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 13 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 14 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 14 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 14 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
con x≥0 ⊢ ∃nx<n+1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
con
R
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
con
R
:=
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
con
R
:=
R
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
→R
con
R
:=
R
R
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 15 / 25
Fixpoint style proof technique
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
Fixpoint style proof technique
US
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
Fixpoint style proof technique
∪,d
US
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
Fixpoint style proof technique
:=
∪,d
US
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
Fixpoint style proof technique
R
:=
∪,d
US
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
Fixpoint style proof technique
R
:=
∪,d
US
∗,∀,MP
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 16 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
;,d
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
′
;,d
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
:= ∀x (0≤x<1∨x := 1¬∃t≥0x := x+t¬p(x)∨p(x−1)→p(x))→(true→p(x)) ′
;,d
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
R
:= ∀x (0≤x<1∨x := 1¬∃t≥0x := x+t¬p(x)∨p(x−1)→p(x))→(true→p(x)) ′
;,d
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
∗0 ≤ x < 1
Fixpoint style proof technique
R
:= ∀x (0≤x<1∨x := 1¬∃t≥0x := x+t¬p(x)∨p(x−1)→p(x))→(true→p(x)) ′
;,d
∪
US
∗
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
1
2
3
4
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 17 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 18 / 25
5 10 15 20 0.3 0.2 0.1 0.1 0.2 0.3
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 18 / 25
dy ∈ Y&z ∈ Z | α ∪β | α;β | α∗ | αd
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 19 / 25
dy ∈ Y&z ∈ Z | α ∪β | α;β | α∗ | αd
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 19 / 25
dy ∈ Y&z ∈ Z | α ∪β | α;β | α∗ | αd
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 19 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 20 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 20 / 25
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 21 / 25
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 21 / 25
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 21 / 25
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 21 / 25
dy ∈ B&z ∈ B}
1 + y2 2 ≤ 1
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 21 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
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
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
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
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
R
[:=]
DGI1≤x3 ⊢ [x′ = −1+2y+z& dy ∈ I&z ∈ I]1≤x3
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
R
[:=]
DGI1≤x3 ⊢ [x′ = −1+2y+z& dy ∈ I&z ∈ I]1≤x3
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F DGIl−m2>0 ⊢ [m′ = My,l′ = Lz& dy∈B&z∈B]l−m2>0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
[:=]
DGIl−m2>0 ⊢ [m′ = My,l′ = Lz& dy∈B&z∈B]l−m2>0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
R
[:=]
DGIl−m2>0 ⊢ [m′ = My,l′ = Lz& dy∈B&z∈B]l−m2>0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Z]F
du ∈ U&v ∈ V]F → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]F
R
[:=]
DGIl−m2>0 ⊢ [m′ = My,l′ = Lz& dy∈B&z∈B]l−m2>0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 22 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
d−2≤y≤2&−1≤z≤11− x2 − u2 ≥ 0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
d−2≤y≤2&−1≤z≤11− x2 − u2 ≥ 0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
d−2≤y≤2&−1≤z≤11− x2 − u2 ≥ 0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
dy ∈ Y&z ∈ Zg ≥ 0
du ∈ U&v ∈ V]P → [x′ = f(x,y,z)& dy ∈ Y&z ∈ Z]P
d−2≤y≤2&−1≤z≤11− x2 − u2 ≥ 0
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 23 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 24 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 24 / 25
1
2
3
4
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 24 / 25
d radical challenge yet smooth extension
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 25 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 25 / 25
André Platzer (CMU) LFCPS/17: Game Proofs & Separations LFCPS/17 25 / 25