The Complete Proof Theory of Hybrid Systems Andr e Platzer - - PowerPoint PPT Presentation

the complete proof theory of hybrid systems
SMART_READER_LITE
LIVE PREVIEW

The Complete Proof Theory of Hybrid Systems Andr e Platzer - - PowerPoint PPT Presentation

The Complete Proof Theory of Hybrid Systems 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) The Complete


slide-1
SLIDE 1

The Complete Proof Theory of Hybrid Systems

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) The Complete Proof Theory of Hybrid Systems LICS 1 / 29

slide-2
SLIDE 2

Hybrid Systems: e.g., Car Control

Challenge (Hybrid Systems)

Fixed rule describing state evolution with both Continuous dynamics (differential equations) Discrete dynamics (control decisions)

1 2 3 4 t 2 1 1 2 a 1 2 3 4 t 0.5 1.0 1.5 2.0 2.5 3.0 v 1 2 3 4 t 1 2 3 4 5 6 z

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 2 / 29

slide-3
SLIDE 3

Hybrid Systems: e.g., Car Control

Challenge (Hybrid Systems)

Fixed rule describing state evolution with both Continuous dynamics (differential equations) Discrete dynamics (control decisions)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 2 / 29

slide-4
SLIDE 4

Successful Hybrid Systems Proofs

far neg cor rec fsa

* 1 [SB := ((amax / b + 1) * ep * v + (v ^ 2 - d ^ 2) / (2 * b) + ((amax / b + 1) * amax * ep ^ 2) / 2)] 7 17 6 [?d >= 0 & do ^ 2 - d ^ 2 <= 2 * b * (m - mo) & vdes >= 0] 5 [vdes := *] 4 [d := *] 3 [m := *] 2 [mo := m] [do := d] 8 [state := brake] 10 [?v <= vdes] 13 [?v >= vdes] 22 31 21 [{z‘ = v, v‘ = a, t‘ = 1, v >= 0 & t <= ep}] 18 28 17 [a := -b] 12 24 11 [?a >= 0 & a <= amax] [a := *] 15 14 [?a <= 0 & a >= -b] [a := *] 19 [t := 0] * [?m - z <= SB | state = brake] [?m - z >= SB & state != brake]

x y c

 

c

  • x

e n t r y e x i t

  • y

c

  • x1

x2 y1 y2 d ω e ¯ ϑ ̟

c

  • x
  • y
  • z

x Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 3 / 29

slide-5
SLIDE 5

Successful Hybrid Systems Proofs

ey fy xb (lx, ly) ex fx (rx, ry) (vx, vy)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 3 / 29

slide-6
SLIDE 6

Proof theory: hybrid = continuous = discrete

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 4 / 29

slide-7
SLIDE 7

Differential Dynamic Logic for Hybrid Systems

differential dynamic logic

dL = FOLR z v M v2 ≤ 2b(M − z)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 5 / 29

slide-8
SLIDE 8

Differential Dynamic Logic for Hybrid Systems

differential dynamic logic

dL = FOLR + DL + HP v2 ≤ 2b v2 ≤ 2b v2 ≤ 2b C → [ if(z > SB) a := −b; z′′ = a

  • hybrid program

] v2 ≤ 2b

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 5 / 29

slide-9
SLIDE 9

Differential Dynamic Logic for Hybrid Systems

differential dynamic logic

dL = FOLR + DL + HP v2 ≤ 2b v2 ≤ 2b v2 ≤ 2b C → [ if(z > SB) a := −b; z′′ = a

  • hybrid program

] v2 ≤ 2b Initial condition System dynamics Post condition

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 5 / 29

slide-10
SLIDE 10

Differential Dynamic Logic dL: Syntax

Definition (Hybrid program α)

x := θ | ?H | x′ = f (x) & H | α ∪ β | α; β | α∗

Definition (dL Formula φ)

θ1 ≥ θ2 | ¬φ | φ ∧ ψ | ∀x φ | ∃x φ | [α]φ | αφ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 6 / 29

slide-11
SLIDE 11

Differential Dynamic Logic dL: Syntax

Definition (Hybrid program α)

x := θ | ?H | x′ = f (x) & H | α ∪ β | α; β | α∗

Definition (dL Formula φ)

θ1 ≥ θ2 | ¬φ | φ ∧ ψ | ∀x φ | ∃x φ | [α]φ | αφ Discrete Assign Test Condition Differential Equation Nondet. Choice Seq. Compose Nondet. Repeat All Reals Some Reals All Runs Some Runs

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 6 / 29

slide-12
SLIDE 12

Differential Dynamic Logic dL: Semantics

Definition (Hybrid program α)

ρ(x := θ) = {(v, w) : w = v except [ [x] ]w = [ [θ] ]v} ρ(?H) = {(v, v) : v | = H} ρ(x′ = f (x)) = {(ϕ(0), ϕ(r)) : ϕ | = x′ = f (x) for some duration r} ρ(α ∪ β) = ρ(α) ∪ ρ(β) ρ(α; β) = ρ(β) ◦ ρ(α) ρ(α∗) =

  • n∈N

ρ(αn)

Definition (dL Formula φ)

v | = θ1 ≥ θ2 iff [ [θ1] ]v ≥ [ [θ2] ]v v | = [α]φ iff w | = φ for all w with (v, w) ∈ ρ(α) v | = αφ iff w | = φ for some w with (v, w) ∈ ρ(α) v | = ∀x φ iff w | = φ for all w that agree with v except for x v | = ∃x φ iff w | = φ for some w that agrees with v except for x v | = φ ∧ ψ iff v | = φ and v | = ψ v | = ¬φ iff v | = φ does not hold

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 7 / 29

slide-13
SLIDE 13

Differential Dynamic Logic dL: Axiomatization

[:=] [x := θ]φ(x) ↔ φ(θ) [?] [?H]φ ↔ (H → φ) [′] [x′ = f (x)]φ ↔ ∀t≥0 [x := y(t)]φ (y′(t) = f (y)) [∪] [α ∪ β]φ ↔ [α]φ ∧ [β]φ [;] [α; β]φ ↔ [α][β]φ [∗] [α∗]φ ↔ φ ∧ [α][α∗]φ K [α](φ → ψ) → ([α]φ → [α]ψ) I [α∗](φ → [α]φ) → (φ → [α∗]φ) C [α∗]∀v>0 (ϕ(v) → αϕ(v − 1)) → ∀v (ϕ(v) → α∗∃v≤0 ϕ(v))

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 8 / 29

slide-14
SLIDE 14

Differential Dynamic Logic dL: Axiomatization

G φ [α]φ MP φ → ψ φ ψ ∀ φ ∀x φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 8 / 29

slide-15
SLIDE 15

Differential Dynamic Logic dL: Axiomatization

G φ [α]φ MP φ → ψ φ ψ ∀ φ ∀x φ B ∀x [α]φ → [α]∀x φ (x ∈ α) V φ → [α]φ (FV (φ) ∩ BV (α) = ∅)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 8 / 29

slide-16
SLIDE 16

Differential Dynamic Logic dL: Axiomatization x′

0 = 1

[&] [x′ = f (x) & H]φ ↔ [x′ = f (x)]

  • φ
  • t

x H w φ x

= f ( x ) r

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-17
SLIDE 17

Differential Dynamic Logic dL: Axiomatization x′

0 = 1

[&] [x′ = f (x) & H]φ ↔ [x′ = f (x)]

  • φ
  • t

x H w ¬φ x

= f ( x ) r

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-18
SLIDE 18

Differential Dynamic Logic dL: Axiomatization x′

0 = 1

[&] [x′ = f (x) & H]φ ↔ [x′ = f (x)]

  • [x′ = −f (x)](H) → φ
  • t

x H w ¬φ ¬H revert flow, check H backwards x

= f ( x ) r

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-19
SLIDE 19

Differential Dynamic Logic dL: Axiomatization x′

0 = 1

[&] [x′ = f (x) & H]φ ↔ [x′ = f (x)]

  • [x′ = −f (x)](H) → φ
  • t

x H w ¬H revert flow, check H backwards x

= f ( x ) r x′ = −f (x)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-20
SLIDE 20

Differential Dynamic Logic dL: Axiomatization x′

0 = 1

[&] [x′ = f (x) & H]φ ↔ ∀t0=x0[x′ = f (x)]

  • [x′ = −f (x)](x0 ≥ t0 → H) → φ
  • t

x H w revert flow, time x0; check H backwards x

= f ( x ) t0 = x0 r x′ = −f (x)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-21
SLIDE 21

“There and Back Again” Axiom of dL

[&] [x′ = f (x) & H]φ ↔ ∀t0=x0[x′ = f (x)]

  • [x′ = −f (x)](x0 ≥ t0 → H) → φ
  • t

x H w revert flow, time x0; check H backwards x

= f ( x ) t0 = x0 r x′ = −f (x)

Lemma

Evolution domain axiomatizable

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 9 / 29

slide-22
SLIDE 22

Soundness

Theorem (Soundness)

dL calculus is sound, i.e., all provable dL formulas are valid: ⊢ φ implies φ What about the converse?

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 10 / 29

slide-23
SLIDE 23

Soundness

Theorem (Soundness)

dL calculus is sound, i.e., all provable dL formulas are valid: ⊢ φ implies φ What about the converse? (s := s + 2n + 1; n := n + 1)∗

  • s = n2

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 10 / 29

slide-24
SLIDE 24

Soundness

Theorem (Soundness)

dL calculus is sound, i.e., all provable dL formulas are valid: ⊢ φ implies φ What about the converse? (s := s + 2n + 1; n := n + 1)∗

  • s = n2

x′ = 5

  • x(t) = 5t + x0

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 10 / 29

slide-25
SLIDE 25

Soundness

Theorem (Soundness)

dL calculus is sound, i.e., all provable dL formulas are valid: ⊢ φ implies φ What about the converse? (s := s + 2n + 1; n := n + 1)∗

  • s = n2

x′ = 5

  • x(t) = 5t + x0

x′ = x

  • x(t) = x0et

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 10 / 29

slide-26
SLIDE 26

Soundness

Theorem (Soundness)

dL calculus is sound, i.e., all provable dL formulas are valid: ⊢ φ implies φ What about the converse? (s := s + 2n + 1; n := n + 1)∗

  • s = n2

x′ = 5

  • x(t) = 5t + x0

x′ = x

  • x(t) = x0et

x′′ = −x

  • x(t) = x0 cos t + x′

0 sin t

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 10 / 29

slide-27
SLIDE 27

Continuous Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline

φ iff TautFOD ⊢ φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 11 / 29

slide-28
SLIDE 28

Continuous Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline

φ iff TautFOD ⊢ φ FOD = FOL + [x′ = f (x)]F

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 11 / 29

slide-29
SLIDE 29

Continuous Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline

φ iff TautFOD ⊢ φ

Corollary (Proof-theoretical Alignment)

proving hybrid systems = proving continuous dynamical systems!

Corollary (Compositionality)

hybrid systems can be verified by recursive decomposition

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 11 / 29

slide-30
SLIDE 30

Discrete Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline

φ iff TautFOD ⊢ φ

Theorem (Relative Completeness / Discrete)

dL calculus is a sound & complete axiomatization of hybrid systems relative to discrete dynamics.

Proof Outline

φ iff TautDL ⊢ φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 12 / 29

slide-31
SLIDE 31

Discrete Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline

φ iff TautFOD ⊢ φ

Theorem (Relative Completeness / Discrete)

dL calculus is a sound & complete axiomatization of hybrid systems relative to discrete dynamics.

Proof Outline

φ iff TautDL ⊢ φ

Corollary (Complete Proof-theoretical Alignment)

hybrid = continuous = discrete

Corollary (Interdisciplinary Integrability)

“Discrete computer science + continuous control are integrable”

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 12 / 29

slide-32
SLIDE 32

Proof of “hybrid = continuous = discrete”

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 13 / 29

slide-33
SLIDE 33

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F t t0 x 1

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-34
SLIDE 34

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F [(x := x + hx 4)

]F t t0 x 1 4 2 h = 4

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-35
SLIDE 35

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F ⇒ [(x := x + hx 4)

]F t t0 x 1 ¬F 4 2 h = 4

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-36
SLIDE 36

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F [(x := x + hx 4)

]F t t0 x 1 ¬F 4 h = 4 2 4 6 1 1.5 2.25 3.375 h = 2

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-37
SLIDE 37

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F [(x := x + hx 4)

]F t t0 x 1 ¬F 4 h = 4 2 4 6 h = 2 1 2 3 4 5 6 1 1.25 1.56 1.95 2.44 3.05 3.81 4.76 h = 1

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-38
SLIDE 38

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F [(x := x + hx 4)

]F t t0 x 1 ¬F 4 h = 4 2 4 6 h = 2 1 2 3 4 5 6 h = 1 h = 1

2

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-39
SLIDE 39

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F vs. [(x := x + hx 4)

]F t t0 x 1 ¬F 4 h = 4 2 4 6 h = 2 1 2 3 4 5 6 h = 1 h = 1

2

e

t 4 Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-40
SLIDE 40

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F ⇒ [(x := x + hx 4)

]F t t0 x 1 ¬F 4 h = 4 2 4 6 h = 2 1 2 3 4 5 6 h = 1 h = 1

2

e

t 4 Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-41
SLIDE 41

Continuous Dynamics = Discrete Dynamics

[x′ = x 4]F ⇐ [(x := x + hx 4)

]F t t0 x 1 ¬F ¬F 4 h = 4 2 4 6 h = 2 1 2 3 4 5 6 h = 1 h = 1

2

e

t 4 Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 14 / 29

slide-42
SLIDE 42

Discrete Euler Approximation Axiom ← − ∆

← − ∆ [x′ = f (x)]F ← ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗]F

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 15 / 29

slide-43
SLIDE 43

Discrete Euler Approximation Axiom ← − ∆

← − ∆ [x′ = f (x)]F ← ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗]F

Example (Insufficient, not global)

x2 + y2 ≤ 1.1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1.1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 15 / 29

slide-44
SLIDE 44

Discrete Euler Approximation Axiom ← − ∆

← − ∆ [x′ = f (x)]F ← ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗]F (closed)

Example (Unsound for open F, only in closure)

x = 1 ∧ y = 0 → [x′ = y, y′ = −x](x ≤ 0 → x2 + y2 > 1)

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 15 / 29

slide-45
SLIDE 45

Discrete Euler Approximation Axiom ← − ∆

← − ∆ [x′ = f (x)]F ← ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗]F (closed)

Example (Insufficient, not global)

x2 + y2 ≤ 1.1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1.1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 15 / 29

slide-46
SLIDE 46

Discrete Euler Approximation Axiom − → ∆ t′ = −1

− → ∆ [x′ = f (x)]F → ∀t≥0 ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗](t ≥ 0 → F)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 16 / 29

slide-47
SLIDE 47

Discrete Euler Approximation Axiom − → ∆ t′ = −1

− → ∆ [x′ = f (x)]F → ∀t≥0 ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗](t ≥ 0 → F)

Example (Converse unsound for open F ← − ∆ for closed F)

x = 1 ∧ y = 0 → [x′ = y, y′ = −x](x ≤ 0 → x2 + y2 > 1)

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 16 / 29

slide-48
SLIDE 48

Discrete Euler Approximation Axiom − → ∆ t′ = −1

− → ∆ [x′ = f (x)]F → ∀t≥0 ∃h0>0 ∀0<h<h0 [(x := x + hf (x))∗](t ≥ 0 → F) (open)

Example (Unsound for closed F, only holds in the limit)

x2 + y2 = 1 → [x′ = y, y′ = −x]x2 + y2 = 1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 16 / 29

slide-49
SLIDE 49

Discrete Euler Approximation Axiom ← → ∆ t′ = −1

← → ∆ [x′ = f (x)]F ↔ ∀t≥0∃ε>0∃h0>0∀0<h<h0[(x := x+hf (x))∗]

  • t≥0→¬Uε(¬F)
  • Andr´

e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 17 / 29

slide-50
SLIDE 50

Discrete Euler Approximation Axiom ← → ∆ t′ = −1

← → ∆ [x′ = f (x)]F ↔ ∀t≥0∃ε>0∃h0>0∀0<h<h0[(x := x+hf (x))∗]

  • t≥0→¬Uε(¬F)
  • Example ()

x2 + y2 < 1.1 → [x′ = y, y′ = −x]x2 + y2 < 1.1

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 17 / 29

slide-51
SLIDE 51

Discrete Euler Approximation Axiom ← → ∆ t′ = −1

← → ∆ [x′ = f (x)]F ↔ ∀t≥0∃ε>0∃h0>0∀0<h<h0[(x := x+hf (x))∗]

  • t≥0→¬Uε(¬F)
  • Example (Insufficient for closed F)

x2 + y2 ≤ 1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 17 / 29

slide-52
SLIDE 52

Discrete Euler Approximation Axiom ← → ∆ t′ = −1

← → ∆ [x′ = f (x)]F (open) ↔ ∀t≥0∃ε>0∃h0>0∀0<h<h0[(x := x+hf (x))∗]

  • t≥0→¬Uε(¬F)
  • Example (Insufficient for closed F)

x2 + y2 ≤ 1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 17 / 29

slide-53
SLIDE 53

← → ∆ Proof: Partial Covering for Solution, Approximation

2 4 6 8 20 20 40 60 80 100

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 18 / 29

slide-54
SLIDE 54

← → ∆ Proof: Partial Covering for Solution, Approximation

2 4 6 8 20 20 40 60 80 100

domain for error bound covering of neighborhoods has finite subcovering since x([0, t]) compact

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 18 / 29

slide-55
SLIDE 55

← → ∆ Proof: Partial Covering for Solution, Approximation

2 4 6 8 20 20 40 60 80 100

domain for error bound covering of neighborhoods has finite subcovering since x([0, t]) compact ⇒ ε neighborhoods safe

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 18 / 29

slide-56
SLIDE 56

← → ∆ axiom for open F, but F may be closed

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 19 / 29

slide-57
SLIDE 57

Discrete Euler Approximation Axiom ← → ∆ x′

0 = −1

← → ∆ [x′ = f (x)]F (open) ↔ ∀t≥0∃ε>0∃h0>0∀0<h<h0[(x := x+hf (x))∗]

  • t≥0→¬Uε(¬F)
  • Example (Insufficient for closed F)

x2 + y2 ≤ 1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 20 / 29

slide-58
SLIDE 58

Closed Discrete Completeness (derivable)

˚ U [x′ = f (x)]F ↔ ∀ˇ ε>0 [x′ = f (x)]Uˇ

ε(F)

( ⇐ B,V,G,K)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 21 / 29

slide-59
SLIDE 59

Closed Discrete Completeness (derivable)

˚ U [x′ = f (x)]F ↔ ∀ˇ ε>0 [x′ = f (x)]Uˇ

ε(F)

( ⇐ B,V,G,K)

Example (Closed Quantified Open)

x2 + y2 ≤ 1 → [x′ = y, y′ = −x]x2 + y2 ≤ 1

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 21 / 29

slide-60
SLIDE 60

Closed Discrete Completeness (derivable)

˚ U [x′ = f (x)]F ↔ ∀ˇ ε>0 [x′ = f (x)]Uˇ

ε(F)

( ⇐ B,V,G,K)

Example (Closed Quantified Open)

x2 + y2 ≤ 1 → [x′ = y, y′ = −x]∀ˇ ε>0 x2 + y2 < 1 + ˇ ε

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 21 / 29

slide-61
SLIDE 61

Closed Discrete Completeness (derivable)

˚ U [x′ = f (x)]F ↔ ∀ˇ ε>0 [x′ = f (x)]Uˇ

ε(F)

( ⇐ B,V,G,K)

Example (Closed Quantified Open)

x2 + y2 ≤ 1 → ∀ˇ ε>0 [x′ = y, y′ = −x]x2 + y2 < 1 + ˇ ε

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 21 / 29

slide-62
SLIDE 62

← → ∆ axiom for open/closed F, but otherwise?

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 22 / 29

slide-63
SLIDE 63

Locally Closed Discrete Completeness (derivable)

Example (Locally Closed Open, Closed)

O ∧ C → [x′ = y, y′ = −x](O ∧ C)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 23 / 29

slide-64
SLIDE 64

Locally Closed Discrete Completeness (derivable)

[]∧ [α](O ∧ C) ↔ [α]O ∧ [α]C ( ⇐ K)

Example (Locally Closed Open, Closed)

O ∧ C → [x′ = y, y′ = −x](O ∧ C)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 23 / 29

slide-65
SLIDE 65

Locally Closed Discrete Completeness (derivable)

[]∧ [α](O ∧ C) ↔ [α]O ∧ [α]C ( ⇐ K)

Example (Locally Closed Open, Closed)

O ∧ C → [x′ = y, y′ = −x]O ∧ [x′ = y, y′ = −x]C

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 23 / 29

slide-66
SLIDE 66

Semialgebraic Discrete Completeness (derivable)

ˇ U [x′ = f (x)](O ∨ C) ↔ ∀ˇ ε>0 [x′ = f (x)](O ∨ Uˇ

ε(C))

( ⇐ B,V,G,K)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 24 / 29

slide-67
SLIDE 67

Semialgebraic Discrete Completeness (derivable)

ˇ U [x′ = f (x)](O ∨ C) ↔ ∀ˇ ε>0 [x′ = f (x)](O ∨ Uˇ

ε(C))

( ⇐ B,V,G,K)

Example ((Open ∨ Closed) Quantified Open)

O ∨ C → [x′ = y, y′ = −x](O ∨ C)

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 24 / 29

slide-68
SLIDE 68

Semialgebraic Discrete Completeness (derivable)

ˇ U [x′ = f (x)](O ∨ C) ↔ ∀ˇ ε>0 [x′ = f (x)](O ∨ Uˇ

ε(C))

( ⇐ B,V,G,K)

Example ((Open ∨ Closed) Quantified Open)

O ∨ C → [x′ = y, y′ = −x](O ∨ ∀ˇ ε>0 Uˇ

ε(C))

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 24 / 29

slide-69
SLIDE 69

Semialgebraic Discrete Completeness (derivable)

ˇ U [x′ = f (x)](O ∨ C) ↔ ∀ˇ ε>0 [x′ = f (x)](O ∨ Uˇ

ε(C))

( ⇐ B,V,G,K)

Example ((Open ∨ Closed) Quantified Open)

O ∨ C → [x′ = y, y′ = −x]∀ˇ ε>0 (O ∨ Uˇ

ε(C))

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 24 / 29

slide-70
SLIDE 70

Semialgebraic Discrete Completeness (derivable)

ˇ U [x′ = f (x)](O ∨ C) ↔ ∀ˇ ε>0 [x′ = f (x)](O ∨ Uˇ

ε(C))

( ⇐ B,V,G,K)

Example ((Open ∨ Closed) Quantified Open)

O ∨ C → ∀ˇ ε>0 [x′ = y, y′ = −x](O ∨ Uˇ

ε(C))

10 5 5 x 5 5 10 y 2 4 6 8 10 12 t 10 5 5 10 x y

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 24 / 29

slide-71
SLIDE 71

← → ∆ axiom for semialgebraic F, but otherwise?

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 25 / 29

slide-72
SLIDE 72

Discrete Completeness

Theorem (Relative Completeness / Continuous)

dL calculus is a sound & complete axiomatization of hybrid systems relative to differential equations.

Proof Outline 6p

φ implies TautFOD ⊢ φ

Theorem (Relative Completeness / Discrete)

dL calculus +← → ∆ is a sound & complete axiomatization of hybrid systems relative to discrete dynamics.

Proof Outline +5p

φ implies TautDL ⊢ φ

Proof Sketch.

Talked about 0-order semialgebraic Paper proves ∀, ∃ . . . Paper proves [α], α with hybrid system α . . . Paper proves nesting . . .

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 26 / 29

slide-73
SLIDE 73

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-74
SLIDE 74

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-75
SLIDE 75

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-76
SLIDE 76

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-77
SLIDE 77

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-78
SLIDE 78

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-79
SLIDE 79

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-80
SLIDE 80

Equi-expressibility

Theorem (Equi-expressibility)

dL (constructively) expressible in FOD and in DL: ∀ ∀φ ∃ ∃φ♭ ∈ FOD φ ↔ φ♭ ∀ ∀φ ∃ ∃φ# ∈ DL φ ↔ φ# hybrid discrete continuous

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 27 / 29

slide-81
SLIDE 81

Relative Decidability

Theorem (Relative Decidability)

Validity of dL sentences is decidable relative to FOD or DL.

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 28 / 29

slide-82
SLIDE 82

The Complete Proof Theory of Hybrid Systems

differential dynamic logic

dL = DL + HP [α]φ φ α

proof-theoretical alignment

hybrid = continuous = discrete

System Continuous Discrete Hybrid

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 29 / 29

slide-83
SLIDE 83

The Complete Proof Theory of Hybrid Systems

differential dynamic logic

dL = DL + HP [α]φ φ α

proof-theoretical alignment

hybrid = continuous = discrete

System Continuous Discrete Hybrid Hybrid Theory Discrete Theory Contin. Theory

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 29 / 29

slide-84
SLIDE 84

Andr´ e Platzer. The complete proof theory of hybrid systems. LICS, pages 541–550. IEEE 2012. Andr´ e Platzer. Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics. Springer, 2010. Andr´ e Platzer. Differential dynamic logic for hybrid systems.

  • J. Autom. Reas., 41(2):143–189, 2008.

Andr´ e Platzer. Differential-algebraic dynamic logic for differential-algebraic programs.

  • J. Log. Comput., 35(1): 309–352, 2010.

Andr´ e Platzer and Edmund M. Clarke. The image computation problem in hybrid systems model checking. In A. Bemporad, A. Bicchi, and G. Buttazzo, editors, HSCC, volume 4416 of LNCS, pages 473–486. Springer, 2007.

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-85
SLIDE 85

Proof by Symbolic Decomposition

v w x := f (x)φ x := f (x) φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-86
SLIDE 86

Proof by Symbolic Decomposition

v w x := f (x)φ φf (x)

x

x := f (x) φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-87
SLIDE 87

Proof by Symbolic Decomposition

v w x := f (x)φ φf (x)

x

x := f (x) φ v w x′ = f (x)φ x′ = f (x) φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-88
SLIDE 88

Proof by Symbolic Decomposition

v w x := f (x)φ φf (x)

x

x := f (x) φ v w x′ = f (x)φ ∃t≥0 x := yx(t)φ x′ = f (x) φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-89
SLIDE 89

Proof by Symbolic Decomposition

v w x := f (x)φ φf (x)

x

x := f (x) φ v w x′ = f (x)φ ∃t≥0 x := yx(t)φ x′ = f (x) φ x := yx(t)

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-90
SLIDE 90

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ α φ β φ α ∪ β

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-91
SLIDE 91

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-92
SLIDE 92

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β v s w α; β [α; β]φ α [β]φ β φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-93
SLIDE 93

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β v s w α; β [α; β]φ [α][β]φ α [β]φ β φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-94
SLIDE 94

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β v s w α; β [α; β]φ [α][β]φ α [β]φ β φ v w α∗ [α∗]φ α φ → [α]φ α α φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-95
SLIDE 95

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β v s w α; β [α; β]φ [α][β]φ α [β]φ β φ v w α∗ [α∗]φ φ α φ → [α]φ α α φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1

slide-96
SLIDE 96

Proof by Symbolic Decomposition

v w1 w2 [α ∪ β]φ [α]φ ∧ [β]φ α φ β φ α ∪ β v s w α; β [α; β]φ [α][β]φ α [β]φ β φ v w α∗ [α∗]φ ∀cl(φ → [α]φ) ∧ φ α φ → [α]φ α α φ

Andr´ e Platzer (CMU) The Complete Proof Theory of Hybrid Systems LICS 1 / 1