Combining Deduction and Algebraic Constraints for Hybrid System Analysis

Size: px
Start display at page:

Download "Combining Deduction and Algebraic Constraints for Hybrid System Analysis"

Transcription

1 Combining Deduction and Algebraic Constraints for Hybrid System Analysis André Platzer University of Oldenburg, Department of Computing Science, Germany Verify 07 at CADE 07 André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 1 / 23

2 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 1 / 23

3 Deductively Verifying Hybrid Systems André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23

4 Deductively Verifying Hybrid Systems Hybrid Systems continuous evolution along differential equations + discrete change z v t André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23

5 Deductively Verifying Hybrid Systems Hybrid Systems continuous evolution along differential equations + discrete change Standard paradigm: model checking HyTech, Checkate, PHAVer,... find bugs Verification is difficult, because of numerical issues, numerical approximation termination of abstraction refinement unbounded regions Parameter SB = 10000? André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23 v z t

6 Deductively Verifying Hybrid Systems Hybrid Systems continuous evolution along differential equations + discrete change differential dynamic logic dl = DL + HP André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23

7 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23

8 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 2 / 23

9 Differential Logic dl: Syntax Definition (Hybrid program α) x = f (x) (continuous evolution) x := θ (discrete jump)?χ (conditional execution) α; β (seq. composition) α β (nondet. choice) α (nondet. repetition) André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 3 / 23

10 Differential Logic dl: Syntax Definition (Hybrid program α) x = f (x) (continuous evolution) x := θ (discrete jump)?χ (conditional execution) α; β (seq. composition) α β (nondet. choice) α (nondet. repetition) ETCS (ctrl ; drive) ctrl (?A z SB; a := b) (?A z SB; a :=...) drive z = a André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 3 / 23

11 Differential Logic dl: Syntax Definition (Formulas φ),,,, x, x, =,, +, (R-first-order part) [α]φ, α φ (dynamic part) ψ [(ctrl ; drive) ] z A All trains respect A system safe André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 3 / 23

12 Differential Logic dl: Semantics Definition (Formulas φ) φ v [α]φ φ φ α-transitions André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 4 / 23

13 Differential Logic dl: Semantics Definition (Formulas φ) v α φ φ α-transitions André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 4 / 23

14 Verification Calculus for Differential Logic dl Dynamic Rules 11 dynamic rules (D1) φ ψ?φ ψ (D5) φ α; α φ α φ (D2) φ ψ [?φ]ψ (D6) φ [α; α ]φ [α ]φ (D9) t 0 ( χ x := y x x = θ & χ φ (D3) α φ β φ α β φ (D7) α β φ α; β φ (D10) t 0 ( χ [x := y [x = θ & χ]φ (D4) [α]φ [β]φ [α β]φ (D8) φ θ x x := θ φ (D11) p [α ](p [α]p) [α ]p André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 5 / 23

15 Verification Calculus for dl Propositional/Quantifier Rules 9 propositional rules + 4 quantifier rules (P1) (P2) (P3) (F1) (F2) φ φ, ψ φ ψ (P4) (P7) φ φ ψ φ ψ φ φ ψ φ, ψ (P5) (P8) φ φ ψ φ ψ φ ψ φ ψ (P6) (P9) φ ψ φ ψ φ φ QE( x i (Γ i i )) QE( x i (F3) (Γ i i )) Γ, x φ QE( x Γ, x φ i (Γ i i )) QE( x i (F4) (Γ i i )) Γ, x φ Γ, x φ André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 6 / 23

16 Concise Theory! But End of the Story? André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 6 / 23

17 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 6 / 23

18 Analysing European Train Control System (ETCS) ψ [(ctrl ; drive) ] z A ctrl (?A z < SB; a := b) (?A z SB; a := 0) drive τ := 0; z = v, v = a, τ = 1 & v 0 τ ε André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 7 / 23

19 Analysing European Train Control System (ETCS) provable automatically using invariant! ψ [(ctrl ; drive) ] z A ctrl (?A z < SB; a := b) (?A z SB; a := 0) drive τ := 0; z = v, v = a, τ = 1 & v 0 τ ε... p, A z SB v 2 2b(A εv z) p, A z SB t 0 ( τ := t τ ε z := vt + p, A z SB τ := 0 t 0 ( τ := t + τ τ ε p, A z SB τ := 0 [z = v, v = 0, τ = 1 & p t 0 ( v := bt + v v 0 z := b 2 t2 + vt + z; v := bt + v p) p, A z SB a := 0 τ := 0 [z = v, v = a, τ p [z = v, v = b & v 0]p p, A z SB a := 0 [drive]p p a := b [drive]p p [?A z SB; a := 0][drive]p p [ctrl][drive]p p [ctrl ; drive]p André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 7 / 23

20 Full European Train Control System (ETCS) system : ( ) poll; (negot (speedcontrol; atp; move)) init : drive := 0; brake := 1 poll : SB := v 2 d 2 2b + ( a max b + 1 )( a max 2 ε2 + εv ) ; ST := negot : (?m z > ST ) (?m z ST ; rbc) rbc : (vdes := ;?vdes > 0) (state := brake) ( d old := d; m old := m; m := ; d := ;?d 0 dold 2 d 2 2b(m m old ) ) speedctrl : (?state ( = brake; a := b)?state = drive; ( (?v vdes ; a := ;? b a a max ) (?v v des ; a := ;?0 > a b) )) atp : (?m z SB; a := b) (?m z > SB) move : t := 0; {ż = v, v = a, ṫ = 1, (v 0 t ε)} André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 8 / 23

21 Full European Train Control System (ETCS) system : not provable automatically! ( 52 user interactions! ) poll; (negot (speedcontrol; atp; move)) init : drive := 0; brake := 1 poll : SB := v 2 d 2 2b + ( a max b + 1 )( a max 2 ε2 + εv ) ; ST := negot : (?m z > ST ) (?m z ST ; rbc) rbc : (vdes := ;?vdes > 0) (state := brake) ( d old := d; m old := m; m := ; d := ;?d 0 dold 2 d 2 2b(m m old ) ) speedctrl : (?state ( = brake; a := b)?state = drive; ( (?v vdes ; a := a max ) (?v v des ; a := b) )) atp : (?m z SB; a := b) (?m z > SB) move : t := 0; {ż = v, v = a, ṫ = 1, (v 0 t ε)} André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify 07 8 / 23

22 Full European Train Control System (ETCS) state = 0, 2 * b * (m - z) >= v ^ 2 - d ^ 2, v >= 0, d >= 0, v >= 0, ep > 0, b > 0, amax > 0, d >= 0 ==> v <= vdes -> \forall R a_3; ( a_3 >= 0 & a_3 <= amax -> ( m - z <= (amax / b + 1) * ep * v + (v ^ 2 - d ^ 2) / (2 * b) + (amax / b + 1) * amax * ep ^ 2 / 2 -> \forall R t0; ( t0 >= 0 -> \forall R ts0; (0 <= ts0 & ts0 <= t0 -> -b * ts0 + v >= 0 & ts0 + 0 <= ep) -> 2 * b * (m - 1 / 2 * (-b * t0 ^ * t0 * v + 2 * z)) >= (-b * t0 + v) ^ 2 - d ^ 2 & -b * t0 + v >= 0 & d >= 0)) & ( m - z > (amax / b + 1) * ep * v + (v ^ 2 - d ^ 2) / (2 * b) + (amax / b + 1) * amax * ep ^ 2 / 2 -> \forall R t2; ( t2 >= 0 -> \forall R ts2; (0 <= ts2 & ts2 <= t2 -> a_3 * ts2 + v >= 0 & ts2 + 0 <= ep) -> 2 * b * (m - 1 / 2 * (a_3 * t2 ^ * t2 * v + 2 * z)) >= (a_3 * t2 + v) ^ 2 - d ^ 2 & a_3 * t2 + v >= 0 & d >= 0))) André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

23 Practice Seems Disturbingly Bad! André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

24 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

25 odular Combination of Provers Deductive Prover ψ [α]φ R-Algebraic Elimination QE(Φ) Φ André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

26 odular Combination of Provers Deductive Prover ψ [α]φ key R-Algebraic Elimination QE(Φ) Φ André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

27 odular Combination of Provers Deductive Prover ψ [α]φ QE(key) key R-Algebraic Elimination QE(Φ) Φ André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

28 Tableaux Procedure for dl while t a b l e a u x T has open b r a n c h e s do B := s e l e c t B r a n c h (T) ( B nondeterminism ) := selectode (B) ( nondeterminism ) F := s e l e c t F o r m u l a s (B,) ( F nondeterminism ) i f = f o r e g r o u n d then B2 := r e s u l t o f a p p l y i n g a D r u l e or P r u l e to F i r e p l a c e B by B2 i n T e l s e send key F to background d e c i s i o n p r o c e d u r e QE r e c e i v e r e s u l t R from QE a p p l y a r u l e F3 F4 to T with QE r e s u l t R end i f end while André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

29 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

30 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ B branch selection André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

31 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ mode selection André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

32 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ F formula selection André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

33 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ no nondeterminism from closing substitutions André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

34 Tableaux Procedure for dl: Nondeterminisms Deductive Prover B ψ [α]φ F R-Algebraic Elimination QE(Φ) Φ uninterpreted FOL interpreted dl uninterpreted symbols interpreted symbols close by substitution close by arithmetic close needs backtracking equivalent QE elimination closing is cheap arithmetic is O(2 2n ) André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

35 Nondeterminisms in Branch Selection harmless because no closing substitutions B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

36 Nondeterminisms in Formula Selection In principle: simple Φ closes Ψ Φ closes B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

37 Nondeterminisms in Formula Selection In principle: simple Φ closes Ψ Φ closes In practice: irrelevant formulas distract QE considerably Partially necessary ETCS constraint: SB v 2 ( a ) ( a ) 2b + b ε2 + εv B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

38 Nondeterminisms in Formula Selection In principle: simple Φ closes Ψ Φ closes In practice: irrelevant formulas distract QE considerably B ψ [α]φ F t > 0, a + 1/tv 0, ε t, t 0, m z v 2 /(2b) + (a/b + 1)(a/2ε 2 + εv), 2b(m z) v 2, v 0, 2b(m z 0 ) v0 2, v 0 0, ε 0, b > 0, a 0 (at + v) 2 2b(m 1/2(at 2 + 2tv + 2z)) 24h André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

39 Nondeterminisms in Formula Selection In principle: simple Φ closes Ψ Φ closes In practice: irrelevant formulas distract QE considerably B ψ [α]φ F t > 0, a + 1/tv 0, ε t, t 0, m z v 2 /(2b) + (a/b + 1)(a/2ε 2 + εv), 2b(m z) v 2, v 0, 2b(m z 0 ) v0 2, v 0 0, (initial state) ε 0, b > 0, a 0 (at + v) 2 2b(m 1/2(at 2 + 2tv + 2z)) 24h André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

40 Nondeterminisms in Formula Selection In principle: simple Φ closes Ψ Φ closes In practice: irrelevant formulas distract QE considerably t > 0, a + 1/tv 0, ε t, t 0, m z v 2 /(2b) + (a/b + 1)(a/2ε 2 + εv), 2b(m z) v 2, v 0, B ψ [α]φ 1s F ε 0, b > 0, a 0 (at + v) 2 2b(m 1/2(at 2 + 2tv + 2z)) André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

41 Nondeterminisms in ode Selection In principle: only background closure, anything could close B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

42 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

43 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

44 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate B ψ [α]φ F eager: infeasible André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

45 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate B ψ [α]φ F lazy: waste eager: infeasible André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

46 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate B ψ [α]φ F lazy: waste eager: infeasible André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

47 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate Syntactic representational redundancy B ψ [α]φ F ψ v 2 2b(m z) ψ (z 0 v 0) ψ v 2 2b(m z) (z 0 v 0) redundant duplication or case distinction improvement? André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

48 Nondeterminisms in ode Selection In principle: only background closure, anything could close In practice: some QE never terminate Syntactic representational redundancy Semantic representational redundancy B ψ [α]φ F b v 2 /(2m 2z) m z z < m v 2 2b(m z) valid reduction but perfectly useless ( proof loops) André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

49 How to Navigate among Nondeterminisms? André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

50 Proof Strategy Priorities for Formula Selection accept QE if variable eliminated ensures progress and termination 1 arithmetic rules if variable eliminated 2 propositional rules P1 P4, P8 P9 on modalities 3 dynamic rules 4 splitting rules P5 P7 on modalities 5 arithmetic rules if variable eliminated 6 propositional rules P1 P9 on first-order formulas B ψ [α]φ F André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

51 Iterative Background Closure (IBC) Strategy B ψ [α]φ F background timeout André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

52 Iterative Background Closure (IBC) Strategy B ψ [α]φ F background timeout Periodical background arithmetic with increasing timeout after split Avoid splitting in average case Split prohibitively complicated cases André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

53 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

54 Full European Train Control System system : ( ) poll; (negot (speedcontrol; atp; move)) init : drive := 0; brake := 1 poll : SB := v 2 d 2 2b + ( a max b + 1 )( a max 2 ε2 + εv ) ; ST := negot : (?m z > ST ) (?m z ST ; rbc) rbc : (vdes := ;?vdes > 0) (state := brake) ( d old := d; m old := m; m := ; d := ;?d 0 dold 2 d 2 2b(m m old ) ) speedctrl : (?state ( = brake; a := b)?state = drive; ( (?v vdes ; a := ;? b a a max ) (?v v des ; a := ;?0 > a b) )) atp : (?m z SB; a := b) (?m z > SB) move : t := 0; {ż = v, v = a, ṫ = 1, (v 0 t ε)} André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

55 Full European Train Control System provable automatically with IBC! only 1 ( 52 user interaction + reduced verification) time! system : poll; (negot (speedcontrol; atp; move)) init : drive := 0; brake := 1 poll : SB := v 2 d 2 2b + ( a max b + 1 )( a max 2 ε2 + εv ) ; ST := negot : (?m z > ST ) (?m z ST ; rbc) rbc : (vdes := ;?vdes > 0) (state := brake) ( d old := d; m old := m; m := ; d := ;?d 0 dold 2 d 2 2b(m m old ) ) speedctrl : (?state ( = brake; a := b)?state = drive; ( (?v vdes ; a := a max ) (?v v des ; a := b) )) atp : (?m z SB; a := b) (?m z > SB) move : t := 0; {ż = v, v = a, ṫ = 1, (v 0 t ε)} André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

56 Preliminary Experimental Results Case Study Interactions IBC No IBC ETCS-binary 1 89s >8h ETCS-binary 2 <89s 1184s ETCS-binary 3 <89s 30s ETCS s ETCS 2 500s ETCS s ETCS-optimal 2 >3h ETCS-binary 1 89s ETCS s ETCS 2 271s Water tank 1 4.7s André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

57 Outline 1 otivation 2 Differential Logic dl Syntax Semantics Verification Calculus 3 Analysis of the European Train Control System 4 Combining Deduction and Algebraic Constraints Nondeterminisms in Branch Selection Nondeterminisms in Formula Selection Nondeterminisms in ode Selection Iterative Background Closure Strategy 5 Experimental Results 6 Conclusions & Future Work André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

58 Future Work ore experimental evaluation ore examples (currently: 4) Effect of strategy variations Guide variable selection André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

59 Conclusions differential dynamic logic dl = DL + HP Deductively verify hybrid systems Practical perspective Surprisingly challenging nondeterminism Tremendous impact of Iterative Background Closure (IBC) Train control (ETCS) verification Verification tool HyKeY André Platzer (University of Oldenburg) Combining Deduction & Algebraic Constraints / Hybrid Systems Verify / 23

KeYmaera: A Hybrid Theorem Prover for Hybrid Systems

KeYmaera: A Hybrid Theorem Prover for Hybrid Systems KeYmaera: A Hybrid Theorem Prover for Hybrid Systems André Platzer Jan-David Quesel University of Oldenburg, Department of Computing Science, Germany International Joint Conference on Automated Reasoning,

More information

A Temporal Dynamic Logic for Verifying Hybrid System Invariants

A Temporal Dynamic Logic for Verifying Hybrid System Invariants A Temporal Dynamic Logic for Verifying Hybrid System Invariants André Platzer 1,2 1 University of Oldenburg, Department of Computing Science, Germany 2 Carnegie Mellon University, Computer Science Department,

More information

The Complete Proof Theory of Hybrid Systems

The Complete Proof Theory of Hybrid Systems 0.2 The Complete Proof Theory of Hybrid Systems André Platzer aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA 0.5 0.4 0.3 0.2 0.1 1.0 0.8 0.6 0.4 André Platzer

More information

Dynamic logic for Hybrid systems

Dynamic logic for Hybrid systems Differential Dynamic Logic for Verifying Parametric Hybrid Systems by Andre Platzer presented by Hallstein Asheim Hansen 15th April 2008 Hallstein Asheim Hansen Slide 1 An example of a hybrid system: Thermostat

More information

Combining Deduction and Algebraic Constraints for Hybrid System Analysis

Combining Deduction and Algebraic Constraints for Hybrid System Analysis Combining Deduction and Algebraic Constraints for Hybrid System Analysis André Platzer University of Oldenburg, Department of Computing Science, Germany platzer@informatik.uni-oldenburg.de Abstract. We

More information

Using Theorem Provers to Guarantee Closed-Loop Properties

Using Theorem Provers to Guarantee Closed-Loop Properties Using Theorem Provers to Guarantee Closed-Loop Properties Nikos Aréchiga Sarah Loos André Platzer Bruce Krogh Carnegie Mellon University April 27, 2012 Aréchiga, Loos, Platzer, Krogh (CMU) Theorem Provers

More information

Differential Dynamic Logic for Verifying Parametric Hybrid Systems

Differential Dynamic Logic for Verifying Parametric Hybrid Systems Differential Dynamic Logic for Verifying Parametric Hybrid Systems André Platzer University of Oldenburg, Department of Computing Science, Germany Carnegie Mellon University, Computer Science Department,

More information

Differential Dynamic Logic for Hybrid Systems

Differential Dynamic Logic for Hybrid Systems J Autom Reasoning (2008) 41:143-189 DOI 10.1007/s10817-008-9103-8 Differential Dynamic Logic for Hybrid Systems André Platzer Received: 23 August 2007 / Accepted: 27 June 2008 c Springer Science + Business

More information

Logics of Dynamical Systems

Logics of Dynamical Systems c 2012 IEEE. 2012 27th Annual ACM/IEEE Symposium on Logic in Computer Science Logics of Dynamical Systems (Invited Paper) André Platzer Computer Science Department Carnegie Mellon University Pittsburgh,

More information

AVACS Automatic Verification and Analysis of Complex Systems REPORTS. of SFB/TR 14 AVACS. Editors: Board of SFB/TR 14 AVACS

AVACS Automatic Verification and Analysis of Complex Systems REPORTS. of SFB/TR 14 AVACS. Editors: Board of SFB/TR 14 AVACS AVACS Automatic Verification and Analysis of Complex Systems REPORTS of SFB/TR 14 AVACS Editors: Board of SFB/TR 14 AVACS Differential Dynamic Logic for Verifying Parametric Hybrid Systems by André Platzer

More information

05: Dynamical Systems & Dynamic Axioms

05: Dynamical Systems & Dynamic Axioms 0.2 05: Dynamical Systems & Dynamic Axioms 15-424: Foundations of Cyber-Physical Systems André Platzer aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA 0.5 0.4

More information

February 2017 CMU-CS JKU-CIS School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213

February 2017 CMU-CS JKU-CIS School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 Change and Delay Contracts for Hybrid System Component Verification Andreas Müller 2 Stefan Mitsch 1 Werner Retschitzegger 2 Wieland Schwinger 2 André Platzer 1 February 2017 CMU-CS-17-100 JKU-CIS-2017-01

More information

Lecture Notes on Proofs & Arithmetic

Lecture Notes on Proofs & Arithmetic 15-424: Foundations of Cyber-Physical Systems Lecture Notes on Proofs & Arithmetic André Platzer Carnegie Mellon University Lecture 9 1 Introduction Lecture 8 on Events & Delays discussed and developed

More information

Differential Refinement Logic

Differential Refinement Logic Differential Refinement Logic Sarah M. Loos Computer Science Department Carnegie Mellon University sloos@cs.cmu.edu André Platzer Computer Science Department Carnegie Mellon University aplatzer@cs.cmu.edu

More information

Logic and Compositional Verification of Hybrid Systems

Logic and Compositional Verification of Hybrid Systems Logic and Compositional Verification of Hybrid Systems (Invited Tutorial) André Platzer Carnegie Mellon University, Computer Science Department, Pittsburgh, PA, USA aplatzer@cs.cmu.edu Abstract. Hybrid

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

22: Axioms & Uniform Substitutions

22: Axioms & Uniform Substitutions 0.2 22: Axioms & Uniform Substitutions 15-424: Foundations of Cyber-Physical Systems André Platzer aplatzer@cs.cmu.edu Computer Science Department Carnegie Mellon University, Pittsburgh, PA The Secret

More information

Trace Diagnostics using Temporal Implicants

Trace Diagnostics using Temporal Implicants Trace Diagnostics using Temporal Implicants ATVA 15 Thomas Ferrère 1 Dejan Nickovic 2 Oded Maler 1 1 VERIMAG, University of Grenoble / CNRS 2 Austrian Institute of Technology October 14, 2015 Motivation

More information

Recitation 4: Eventful Tactical KeYmaera X Proofs /15-624/ Logical Foundations of Cyber-Physical Systems

Recitation 4: Eventful Tactical KeYmaera X Proofs /15-624/ Logical Foundations of Cyber-Physical Systems Recitation 4: Eventful Tactical KeYmaera X Proofs 15-424/15-624/15-824 Logical Foundations of Cyber-Physical Systems 1 Announcements Notes by: Brandon Bohrer Edits by: Yong Kiam Tan (yongkiat@cs.cmu.edu)

More information

A Temporal Dynamic Logic for Verifying Hybrid System Invariants

A Temporal Dynamic Logic for Verifying Hybrid System Invariants A Temporal Dynamic Logic for Verifying Hybrid System Invariants André Platzer University of Oldenburg, Department of Computing Science, Germany Carnegie Mellon University, Computer Science Department,

More information

Model Checking: An Introduction

Model Checking: An Introduction Model Checking: An Introduction Meeting 3, CSCI 5535, Spring 2013 Announcements Homework 0 ( Preliminaries ) out, due Friday Saturday This Week Dive into research motivating CSCI 5535 Next Week Begin foundations

More information

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Computation Tree Logic (CTL) & Basic Model Checking Algorithms Computation Tree Logic (CTL) & Basic Model Checking Algorithms Martin Fränzle Carl von Ossietzky Universität Dpt. of Computing Science Res. Grp. Hybride Systeme Oldenburg, Germany 02917: CTL & Model Checking

More information

Lecture Notes on Loop Variants and Convergence

Lecture Notes on Loop Variants and Convergence 15-414: Bug Catching: Automated Program Verification Lecture Notes on Loop Variants and Convergence Matt Fredrikson Ruben Martins Carnegie Mellon University Lecture 9 1 Introduction The move to total correctness

More information

A Hybrid, Dynamic Logic for Hybrid-Dynamic Information Flow

A Hybrid, Dynamic Logic for Hybrid-Dynamic Information Flow A Hybrid, Dynamic Logic for Hybrid-Dynamic Information Flow Brandon Bohrer and André Platzer Logical Systems Lab Computer Science Department Carnegie Mellon University LICS 18 1 / 21 Outline: Hybrid {Dynamics,

More information

Lecture Notes on Differential Equations & Differential Invariants

Lecture Notes on Differential Equations & Differential Invariants 15-424: Foundations of Cyber-Physical Systems Lecture Notes on Differential Equations & Differential Invariants André Platzer Carnegie Mellon University Lecture 10 1 Introduction Lecture 5 on Dynamical

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

arxiv: v1 [cs.sy] 2 May 2016

arxiv: v1 [cs.sy] 2 May 2016 Formal Verification of Obstacle Avoidance and Navigation of Ground Robots arxiv:1605.00604v1 [cs.sy] 2 May 2016 Stefan Mitsch, Khalil Ghorbal, David Vogelbacher, André Platzer Abstract The safety of mobile

More information

Lecture Notes on Invariants for Arbitrary Loops

Lecture Notes on Invariants for Arbitrary Loops 15-414: Bug Catching: Automated Program Verification Lecture Notes on Invariants for Arbitrary Loops Matt Fredrikson Ruben Martins Carnegie Mellon University Lecture 5 1 Introduction The previous lecture

More information

Agent-Based HOL Reasoning 1

Agent-Based HOL Reasoning 1 Agent-Based HOL Reasoning 1 Alexander Steen Max Wisniewski Christoph Benzmüller Freie Universität Berlin 5th International Congress on Mathematical Software (ICMS 2016) 1 This work has been supported by

More information

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Developing Modal Tableaux and Resolution Methods via First-Order Resolution Developing Modal Tableaux and Resolution Methods via First-Order Resolution Renate Schmidt University of Manchester Reference: Advances in Modal Logic, Vol. 6 (2006) Modal logic: Background Established

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

Differential Equation Axiomatization The Impressive Power of Differential Ghosts

Differential Equation Axiomatization The Impressive Power of Differential Ghosts Differential Equation Axiomatization The Impressive Power of Differential Ghosts arxiv:180201226v2 [cslo] 1 May 2018 André Platzer Abstract Yong Kiam Tan We prove the completeness of an axiomatization

More information

A Logic of Proofs for Differential Dynamic Logic

A Logic of Proofs for Differential Dynamic Logic A Logic of Proofs for Differential Dynamic Logic Toward Independently Checkable Proof Certificates for Dynamic Logics Nathan Fulton Institute for Software Research Carnegie Mellon University, Pittsburgh

More information

Decision procedure for Default Logic

Decision procedure for Default Logic Decision procedure for Default Logic W. Marek 1 and A. Nerode 2 Abstract Using a proof-theoretic approach to non-monotone reasoning we introduce an algorithm to compute all extensions of any (propositional)

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

Mathematical Logic Propositional Logic - Tableaux*

Mathematical Logic Propositional Logic - Tableaux* Mathematical Logic Propositional Logic - Tableaux* Fausto Giunchiglia and Mattia Fumagalli University of Trento *Originally by Luciano Serafini and Chiara Ghidini Modified by Fausto Giunchiglia and Mattia

More information

Final Exam /614 Bug Catching: Automated Program Verification Matt Fredrikson André Platzer. December 17, 2017

Final Exam /614 Bug Catching: Automated Program Verification Matt Fredrikson André Platzer. December 17, 2017 Final Exam 15-414/614 Bug Catching: Automated Program Verification Matt Fredrikson André Platzer December 17, 2017 Name: Andrew ID: André Platzer aplatzer Instructions This exam is closed-book with one

More information

A COMPONENT-BASED APPROACH TO HYBRID SYSTEMS SAFETY VERIFICATION

A COMPONENT-BASED APPROACH TO HYBRID SYSTEMS SAFETY VERIFICATION A COMPONENT-BASED APPROACH TO HYBRID SYSTEMS SAFETY VERIFICATION Andreas Müller andreas.mueller@jku.at Werner Retschitzegger werner.retschitzegger@jku.at Wieland Schwinger wieland.schwinger@jku.at Johannes

More information

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

From pre-models to models

From pre-models to models From pre-models to models normalization by Heyting algebras Olivier HERMANT 18 Mars 2008 Deduction System : natural deduction (NJ) first-order logic: function and predicate symbols, logical connectors:,,,,

More information

Fixed-point elimination in Heyting algebras 1

Fixed-point elimination in Heyting algebras 1 1/32 Fixed-point elimination in Heyting algebras 1 Silvio Ghilardi, Università di Milano Maria João Gouveia, Universidade de Lisboa Luigi Santocanale, Aix-Marseille Université TACL@Praha, June 2017 1 See

More information

Implementing Proof Systems for the Intuitionistic Propositional Logic

Implementing Proof Systems for the Intuitionistic Propositional Logic Implementing Proof Systems for the Intuitionistic Propositional Logic Veronica Zammit Supervisor: Dr. Adrian Francalanza Faculty of ICT University of Malta May 27, 2011 Submitted in partial fulfillment

More information

Propositional Logic: Review

Propositional Logic: Review Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or

More information

Hoare Logic: Reasoning About Imperative Programs

Hoare Logic: Reasoning About Imperative Programs Hoare Logic: Reasoning About Imperative Programs COMP1600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2018 Programming Paradigms Functional. (Haskell, SML, OCaml,... ) main paradigm:

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

An Introduction to Modal Logic III

An Introduction to Modal Logic III An Introduction to Modal Logic III Soundness of Normal Modal Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, October 24 th 2013 Marco Cerami

More information

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson A Theorem Prover for Intuitionistic Propositional Logic Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson Introduction Semantics and Syntax Sequent Rules Implementation Experimental Results Contents

More information

Hoare Logic: Reasoning About Imperative Programs

Hoare Logic: Reasoning About Imperative Programs Hoare Logic: Reasoning About Imperative Programs COMP1600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2017 Catch Up / Drop in Lab When Fridays, 15.00-17.00 Where N335, CSIT Building

More information

DryVR: Data-driven verification and compositional reasoning for automotive systems

DryVR: Data-driven verification and compositional reasoning for automotive systems DryVR: Data-driven verification and compositional reasoning for automotive systems Chuchu Fan, Bolun Qi, Sayan Mitra, Mahesh Viswannathan University of Illinois at Urbana-Champaign CAV 2017, Heidelberg,

More information

Notes. Corneliu Popeea. May 3, 2013

Notes. Corneliu Popeea. May 3, 2013 Notes Corneliu Popeea May 3, 2013 1 Propositional logic Syntax We rely on a set of atomic propositions, AP, containing atoms like p, q. A propositional logic formula φ Formula is then defined by the following

More information

Classical Program Logics: Hoare Logic, Weakest Liberal Preconditions

Classical Program Logics: Hoare Logic, Weakest Liberal Preconditions Chapter 1 Classical Program Logics: Hoare Logic, Weakest Liberal Preconditions 1.1 The IMP Language IMP is a programming language with an extensible syntax that was developed in the late 1960s. We will

More information

Tactical contract composition for hybrid system component verification

Tactical contract composition for hybrid system component verification International Journal on Software Tools for Technology Transfer (2018) 20:615 643 https://doi.org/10.1007/s10009-018-0502-9 FASE 2017 Tactical contract composition for hybrid system component verification

More information

Lecture Notes on Software Model Checking

Lecture Notes on Software Model Checking 15-414: Bug Catching: Automated Program Verification Lecture Notes on Software Model Checking Matt Fredrikson André Platzer Carnegie Mellon University Lecture 19 1 Introduction So far we ve focused on

More information

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Deductive Verification

Deductive Verification Deductive Verification Mooly Sagiv Slides from Zvonimir Rakamaric First-Order Logic A formal notation for mathematics, with expressions involving Propositional symbols Predicates Functions and constant

More information

3-Valued Abstraction-Refinement

3-Valued Abstraction-Refinement 3-Valued Abstraction-Refinement Sharon Shoham Academic College of Tel-Aviv Yaffo 1 Model Checking An efficient procedure that receives: A finite-state model describing a system A temporal logic formula

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

Logics for Compact Hausdorff Spaces via de Vries Duality

Logics for Compact Hausdorff Spaces via de Vries Duality Logics for Compact Hausdorff Spaces via de Vries Duality Thomas Santoli ILLC, Universiteit van Amsterdam June 16, 2016 Outline Main goal: developing a propositional calculus for compact Hausdorff spaces

More information

Inverting Proof Systems for Secrecy under OWA

Inverting Proof Systems for Secrecy under OWA Inverting Proof Systems for Secrecy under OWA Giora Slutzki Department of Computer Science Iowa State University Ames, Iowa 50010 slutzki@cs.iastate.edu May 9th, 2010 Jointly with Jia Tao and Vasant Honavar

More information

Analysis of a Boost Converter Circuit Using Linear Hybrid Automata

Analysis of a Boost Converter Circuit Using Linear Hybrid Automata Analysis of a Boost Converter Circuit Using Linear Hybrid Automata Ulrich Kühne LSV ENS de Cachan, 94235 Cachan Cedex, France, kuehne@lsv.ens-cachan.fr 1 Introduction Boost converter circuits are an important

More information

Semantics for Propositional Logic

Semantics for Propositional Logic Semantics for Propositional Logic An interpretation (also truth-assignment, valuation) of a set of propositional formulas S is a function that assigns elements of {f,t} to the propositional variables in

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University SAT ALGORITHMS AND APPLICATIONS nik@cschalmersse Chalmers University of Technology and Göteborg University Empirically Successful Classical Automated Reasoning a CADE-20 Workshop 22nd - 23th July, 2005

More information

Towards Lightweight Integration of SMT Solvers

Towards Lightweight Integration of SMT Solvers Towards Lightweight Integration of SMT Solvers Andrei Lapets Boston University Boston, USA lapets@bu.edu Saber Mirzaei Boston University Boston, USA smirzaei@bu.edu 1 Introduction A large variety of SMT

More information

A Complete Uniform Substitution Calculus for Differential Dynamic Logic

A Complete Uniform Substitution Calculus for Differential Dynamic Logic J Autom Reasoning (2017) 59:219-265 DOI 10.1007/s10817-016-9385-1 A Complete Uniform Substitution Calculus for Differential Dynamic Logic André Platzer Received: 23 December 2015 / Accepted: 29 July 2016

More information

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen   Anthony Hall GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen www.cs.ucl.ac.uk/staff/j.bowen/gs03 Anthony Hall GS03 W1 L3 Predicate Logic 12 January 2007 1 Overview The need for extra structure

More information

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Université de Lorraine, LORIA, CNRS, Nancy, France Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Introduction Linear logic introduced by Girard both classical and intuitionistic separate

More information

03 Propositional Logic II

03 Propositional Logic II Martin Henz February 12, 2014 Generated on Wednesday 12 th February, 2014, 09:49 1 Review: Syntax and Semantics of Propositional Logic 2 3 Propositional Atoms and Propositions Semantics of Formulas Validity,

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Efficient Robust Monitoring for STL

Efficient Robust Monitoring for STL 100 120 Efficient Robust Monitoring for STL Alexandre Donzé 1, Thomas Ferrère 2, Oded Maler 2 1 University of California, Berkeley, EECS dept 2 Verimag, CNRS and Grenoble University May 28, 2013 Efficient

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

More information

Lecture Notes on Linear Logic

Lecture Notes on Linear Logic Lecture Notes on Linear Logic 15-816: Modal Logic Frank Pfenning Lecture 23 April 20, 2010 1 Introduction In this lecture we will introduce linear logic [?] in its judgmental formulation [?,?]. Linear

More information

First-order resolution for CTL

First-order resolution for CTL First-order resolution for Lan Zhang, Ullrich Hustadt and Clare Dixon Department of Computer Science, University of Liverpool Liverpool, L69 3BX, UK {Lan.Zhang, U.Hustadt, CLDixon}@liverpool.ac.uk Abstract

More information

VeriPhy: Verified Controller Executables from Verified Cyber-Physical System Models

VeriPhy: Verified Controller Executables from Verified Cyber-Physical System Models Abstract VeriPhy: Verified Controller Executables from Verified Cyber-Physical System Models Brandon Bohrer Carnegie Mellon University USA Magnus O. Myreen Chalmers University of Technology Sweden We present

More information

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics Introduction Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010 Arnd Poetzsch-Heffter ( Software Technology Group Fachbereich

More information

ILP = Logic, CS, ML Stop counting, start reasoning

ILP = Logic, CS, ML Stop counting, start reasoning ILP = Logic, CS, ML Stop counting, start reasoning Gilles Richard AOC team The story so far Several actors K. Brouwer K. Godel J. Herbrand A. Colmerauer R. Kowalski S. Muggleton L. Brouwer (1881-1966)

More information

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information

Intelligent Agents. Formal Characteristics of Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University

Intelligent Agents. Formal Characteristics of Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University Intelligent Agents Formal Characteristics of Planning Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University Extensions to the slides for chapter 3 of Dana Nau with contributions by

More information

Propositional Logic: Syntax

Propositional Logic: Syntax Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic

More information

3.17 Semantic Tableaux for First-Order Logic

3.17 Semantic Tableaux for First-Order Logic 3.17 Semantic Tableaux for First-Order Logic There are two ways to extend the tableau calculus to quantified formulas: using ground instantiation using free variables Tableaux with Ground Instantiation

More information

Pretending to be an SMT Solver with Vampire (and How We Do Instantiation)

Pretending to be an SMT Solver with Vampire (and How We Do Instantiation) Pretending to be an SMT Solver with Vampire (and How We Do Instantiation) Giles Reger 1, Martin Suda 2, and Andrei Voronkov 1,2 1 School of Computer Science, University of Manchester, UK 2 TU Wien, Vienna,

More information

Modal and Temporal Logics

Modal and Temporal Logics Modal and Temporal Logics Colin Stirling School of Informatics University of Edinburgh July 23, 2003 Why modal and temporal logics? 1 Computational System Modal and temporal logics Operational semantics

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1

Proseminar on Semantic Theory Fall 2013 Ling 720 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1 (1) A Summary of What We ve Done So Far for PL a. We ve given a purely syntactic characterization of valid inference in

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today The first part of the course will

More information

System Description: ara An Automatic Theorem Prover for Relation Algebras

System Description: ara An Automatic Theorem Prover for Relation Algebras System Description: ara An Automatic Theorem Prover for Relation Algebras Carsten Sinz Symbolic Computation Group, WSI for Computer Science, Universität Tübingen, D-72076 Tübingen, Germany sinz@informatik.uni-tuebingen.de

More information

Topics in Verification AZADEH FARZAN FALL 2017

Topics in Verification AZADEH FARZAN FALL 2017 Topics in Verification AZADEH FARZAN FALL 2017 Last time LTL Syntax ϕ ::= true a ϕ 1 ϕ 2 ϕ ϕ ϕ 1 U ϕ 2 a AP. ϕ def = trueu ϕ ϕ def = ϕ g intuitive meaning of and is obt Limitations of LTL pay pay τ τ soda

More information

Hoare Logic (I): Axiomatic Semantics and Program Correctness

Hoare Logic (I): Axiomatic Semantics and Program Correctness Hoare Logic (I): Axiomatic Semantics and Program Correctness (Based on [Apt and Olderog 1991; Gries 1981; Hoare 1969; Kleymann 1999; Sethi 199]) Yih-Kuen Tsay Dept. of Information Management National Taiwan

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

More information

Automated Synthesis of Tableau Calculi

Automated Synthesis of Tableau Calculi Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound

More information

Basic Algebraic Logic

Basic Algebraic Logic ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings

More information

The Assignment Axiom (Hoare)

The Assignment Axiom (Hoare) The Assignment Axiom (Hoare) Syntax: V := E Semantics: value of V in final state is value of E in initial state Example: X:=X+ (adds one to the value of the variable X) The Assignment Axiom {Q[E/V ]} V

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (this lecture, Part I) Chapter 7.5 (next lecture, Part II) Next lecture topic: First-order

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

Differential Equation Axiomatization

Differential Equation Axiomatization The Impressive Power of Differential Ghosts Abstract André Platzer Computer Science Department Carnegie Mellon University aplatzer@cscmuedu We prove the completeness of an axiomatization for differential

More information

Fundamentals of Software Engineering

Fundamentals of Software Engineering Fundamentals of Software Engineering First-Order Logic Ina Schaefer Institute for Software Systems Engineering TU Braunschweig, Germany Slides by Wolfgang Ahrendt, Richard Bubel, Reiner Hähnle (Chalmers

More information

Logic. Propositional Logic: Syntax. Wffs

Logic. Propositional Logic: Syntax. Wffs Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

A Refined Tableau Calculus with Controlled Blocking for the Description Logic SHOI

A Refined Tableau Calculus with Controlled Blocking for the Description Logic SHOI A Refined Tableau Calculus with Controlled Blocking for the Description Logic Mohammad Khodadadi, Renate A. Schmidt, and Dmitry Tishkovsky School of Computer Science, The University of Manchester, UK Abstract

More information