Dynamic Doxastic Differential Dynamic Logic (d4L) for Belief-Aware Cyber Physical Systems
João G. Martins1,2, André Platzer2, João Leite1
1
(Belief)
1 2
(Belief) Dynamic Doxastic Differential Dynamic Logic (d4L) for - - PowerPoint PPT Presentation
(Belief) Dynamic Doxastic Differential Dynamic Logic (d4L) for Belief-Aware Cyber Physical Systems Joo G. Martins 1,2 , Andr Platzer 2 , Joo Leite 1 1 2 1 Cyber-Physical Systems (CPS) Continuous movement Discrete control 2
João G. Martins1,2, André Platzer2, João Leite1
1
1 2
2
3
altitude Control Action
4
Information Control Action
5
6
ctrl; phys
Arithmetic operators: +, -, ✕, ÷ Propositions: <, ≤, >, ≥, = Connectives: ∧, ∨, →, ¬ Quantifiers: ∀, ∃
7
F G G G model m
e l model
F → [model] G
8
9
x’ = f(x) ?F α* x := Θ α; β α ∪ β
10
autopilot := 1 x’ = f(x) ?F α* α; β α ∪ β
11
alt’ = yvel ?F α* x := Θ α; β α ∪ β
12
x’ = f(x) yvel := 1; alt’ = yvel ?F α* x := Θ α ∪ β
13
x’ = f(x) yvel := 1 ∪ yvel := -1 ?F α* x := Θ α; β
14
x’ = f(x) ?yvel < 1 α* x := Θ α; β α ∪ β
15
x := Θ x’ = f(x) α; β ?F (autopilot := 1 - autopilot)* α ∪ β
16
L H L L
L L
17
Universal Existential
Logical Dynamic Doxastic
Universe Reals Transitions Possible worlds
18
?alt > 10; yinput := -1 ?B(alt > 10); yinput := -1
19
20
L(α) x := Θ x’ = f(x) α; β ?F α ∪ β α* Learning as a program “Unified” language of change xp := Θ α; β ?F α ∪ β
21
Observable action α or β: but which? α; L(α)
L(α ∪ β) L(α)
22
Transition-based change Doxastic change A A A A A A
L(A)
Physical world Possible worlds A L(A)
23
B A B A A B
Multiple possible worlds
State variable: alt Real world Possible worlds Perception
24
Doxastic variable: altp Belief: B(altp > 10)
25
Perfect sensor L(?altp = alt) Imperfect sensor L(?|altp - alt| < ε) L(altp := alt)
26
xp := Θ α ; β α ∪ β ?F
C ⊢ [L(xp := Θ)] F(xp) C ⊢ F(Θ) Sound rule
27
C ⊢ [L(α ; β)] F C ⊢ [L(α) ; L(β)] F Sound rule
28
C ⊢ [L(?F)]G C ⊢ B(F) → G Sound rule CB, CP, CR ⊢ [L(?F)]G CB, CR ⊢ B(F) → G Sound rule
29
Possibility Learned Context Current
30
L(?high ∪ ?low) L(?high) ∪ L(?low) L(α ∪ β) ≠ L(α) ∪ L(β)
31
C ⊢ [α ∪ β] F C ⊢ [α] F ∧ [β] F
Traditional choice rules C ⊢ ⟨α ∪ β⟩ F C ⊢ ⟨α⟩ F ∨ ⟨β⟩ F No longer work Need case distinction
Sound rules
32
C ⊢ [L(α ∪ β)] B(F) C ⊢ [L(α)] B(F) ∧ [L(β)] B(F) C ⊢ ⟨L(α ∪ β)⟩ P(F) C ⊢ ⟨L(α)⟩ P(F) ∨ ⟨L(β)⟩ P(F)
Most conservative of:
[]B, []P, ⟨⟩B ⟨⟩P
33
Theorem: the calculus for belief change is sound. Theorem: the calculus for world change is sound. [1]
[1] Platzer, A.: Differential dynamic logic for hybrid systems. J. Autom. Reas. 41(2), 143–189 (2008)
34
Desired altitude
real altitude perceived altitude
= 0
pre → [(obs; btctrl; phys)*] safe
35
36
T > 0 ∧ alt > 0 ∧ ε > 0 → [( L(?altp - alt < ε); ?B(altp - T - ε > 0); yv := -1 ∪ ?P(altp - T - ε ≤ 0); yv := 1 t := 0; t’ = 1, alt’ = yv & t < T )*] alt > 0
btctrl phys
37
T > 0 ∧ alt > 0 ∧ ε > 0 → [( L(?altp - alt < ε); ?B(altp - T - ε > 0); yv := -1 ∪ ?P(altp - T - ε ≤ 0); yv := 1 t := 0; t’ = 1, alt’ = yv & t < T )*] alt > 0
btctrl phys
38
Relies on modal resolution of nondeterminism
Changes arithmetic
Theoretical
Practical
39
40
41
42
CB, CP, CR ⊢ [L(?F)]G CB, CR ⊢ B(F) → G Hard to know which P to keep
¬F P F F P ¬F
VS
43
Ba(F) → [Lb(α)] Ba(F) Desired axiom Impossible in Kripke models No calculus, but easy semantics
44
x := * ≡ x’ =1; x’ = -1 Nondeterministic assignment Nondeterministic doxastic assignment xp := * L(xp := *; ?F(xp))
45
Action model/Epistemic actions [A,e]G ↔ ⋀eRf [A,f]G Conjunction of all possible worlds
46
C ⊢ [L(x := Θ; β(x))] F C ⊢ [L(x := Θ) ; L(β(x))] F Unsound proof rule C ⊢ [L(x := Θ; β(x))] F C ⊢ [L(x := Θ) ; L(β(xp))] F Still unsound proof rule
47