Algorithmic Verification of Stability of Hybrid Systems

Size: px
Start display at page:

Download "Algorithmic Verification of Stability of Hybrid Systems"

Transcription

1 Algorithmic Verification of Stability of Hybrid Systems Pavithra Prabhakar Kansas State University University of Kansas February 24,

2 Cyber-Physical Systems (CPS) Systems in which software "cyber" interacts with the "physical" world Medical Devices Automotive Robotics Software controlled physical systems Aeronautics Cruise control, lane assistants Pacemakers, infusion pumps Process control 2

3 Cyber-Physical Systems (CPS) Enhanced safety, security and efficiency through sophisticated functionalities Autonomous cars Smart Grids Smart Buildings 3

4 Cyber-Physical Systems (CPS) Enhanced safety, security and efficiency through sophisticated functionalities Autonomous cars Smart Grids Smart Buildings Safety Critical Systems Incorrect functioning can be disastrous Tesla s self driving car accident The New York Times Source: Florida traffic crash report 3

5 Cyber-Physical Systems (CPS) Enhanced safety, security and efficiency through sophisticated functionalities Autonomous cars Smart Grids Smart Buildings Safety Critical Systems Incorrect functioning can be disastrous Tesla s self driving car accident The New York Times Source: Florida traffic crash report Grand Challenge How do we build and deploy reliable CPS? 3

6 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory 4

7 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory Plant ẋ = f(x, u) y = h(x) u y Control u = g(y) 4

8 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory Plant ẋ = f(x, u) y = h(x) Vehicle dynamics, heart, u y Control u = g(y) 4

9 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory Plant ẋ = f(x, u) y = h(x) Vehicle dynamics, heart, u y Control u = g(y) Digital Logic, Software 4

10 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory u Plant ẋ = f(x, u) y = h(x) Control u = g(y) y Vehicle dynamics, heart, Hybrid Systems Systems with mixed discrete and continuous behaviors Digital Logic, Software 4

11 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory u Plant ẋ = f(x, u) y = h(x) Control u = g(y) y Vehicle dynamics, heart, Hybrid Systems Systems with mixed discrete and continuous behaviors Digital Logic, Software 4

12 Hybrid Systems Rigorous techniques for CPS verification through hybrid systems theory u Plant ẋ = f(x, u) y = h(x) Control u = g(y) y Vehicle dynamics, heart, Hybrid Systems Systems with mixed discrete and continuous behaviors Digital Logic, Software 4

13 Formal verification Given a hybrid system model and a formal specification, a verification algorithm generates a proof that the model satisfies the specification 5

14 Formal verification Given a hybrid system model and a formal specification, a verification algorithm generates a proof that the model satisfies the specification Examples of formal verification problems: 5

15 Formal verification Given a hybrid system model and a formal specification, a verification algorithm generates a proof that the model satisfies the specification Examples of formal verification problems: (Safety) Does an air-traffic collision avoidance protocol ensure minimum separation between the aircraft? 5

16 Formal verification Given a hybrid system model and a formal specification, a verification algorithm generates a proof that the model satisfies the specification Examples of formal verification problems: (Safety) Does an air-traffic collision avoidance protocol ensure minimum separation between the aircraft? (Stability) Does a cruise control bring the velocity of the vehicle to a desired velocity, and maintain it there in the presence of small disturbances? 5

17 Hybrid Systems 6

18 Cruise control and an automatic gearbox CRUISE CONTROLLER Continuous controller Integral K q Z (v d v)dv v d + Proportional K q (v d v) + + T GEARBOX v = pr qt M v Automatic gearbox K q q! high! low Discrete controller Goal of the cruise control: Drive the vehicle velocity to a desired velocity, and maintain it there in the presence of uphills and downhills. 7

19 Automatic gearbox: a hybrid system

20 Automatic gearbox: a hybrid system

21 Automatic gearbox: a hybrid system Variables x = E TI E = v d v Di erence between desired and current velocity T I Integral part of the torque

22 Automatic gearbox: a hybrid system E TI Variables x = Dynamics E = v d v Di erence between desired and current velocity Ė = p q Mr K qe p q Mr T I T I Integral part of the torque T I = K q E

23 Automatic gearbox: a hybrid system ẋ = A 1 x ẋ = A 2 x ẋ = A 3 x ẋ = A 4 x E TI Variables x = Dynamics E = v d v Di erence between desired and current velocity Ė = p q Mr K qe p q Mr T I T I Integral part of the torque T I = K q E

24 Automatic gearbox: a hybrid system E = 1 p 1! high E = 1 p 2! high E = 1 p 3! high ẋ = A 1 x ẋ = A 2 x ẋ = A 3 x ẋ = A 4 x E = 1 p 2! low E = 1 p 3! low E = 1 p 4! low E TI Variables x = Dynamics E = v d v Di erence between desired and current velocity Ė = p q Mr K qe p q Mr T I T I Integral part of the torque T I = K q E

25 Automatic gearbox: a hybrid system E = 1 p 1! high E = 1 p 2! high E = 1 p 3! high ẋ = A 1 x ẋ = A 2 x ẋ = A 3 x ẋ = A 4 x E = 1 p 2! low E = 1 p 3! low E = 1 p 4! low Trajectories Executions T I T I 3 to 4 2 to 3 1 to 2 x 3 x 2 0 E x 1 0 x 0 E 4 to 3 3 to 2 2 to 1

26 Stability 10

27 Stability Small perturbations in the initial state lead to small deviations in the system behavior 11

28 Stability Small perturbations in the initial state lead to small deviations in the system behavior 11

29 Stability Small perturbations in the initial state lead to small deviations in the system behavior 11

30 Stability Small perturbations in the initial state lead to small deviations in the system behavior Stable 11

31 Stability Small perturbations in the initial state lead to small deviations in the system behavior Stable 11

32 Stability Small perturbations in the initial state lead to small deviations in the system behavior Stable 11

33 Stability Small perturbations in the initial state lead to small deviations in the system behavior Stable 11

34 Stability Small perturbations in the initial state lead to small deviations in the system behavior Stable Unstable 11

35 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 12

36 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 12

37 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 12

38 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 12

39 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 12

40 Lyapunov Stability (LS) A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that for every execution σ starting from B δ (0), σ B ε (0). 0 8 >0, 9 >0, [( (0) 2 B (0)) )8t( (t) 2 B (0))] 12

41 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to

42 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to

43 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to

44 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to

45 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to 0. 0 A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. 13

46 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to 0. 0 A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. 13

47 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to 0. 0 A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. Global asymptotic stability 13

48 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to 0. 0 A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. Global asymptotic stability 13

49 (Global) Asymptotic Stability (AS) A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from B δ (0) converges to 0. 0 A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. Global asymptotic stability Asymptotic stability 13

50 Challenges in Stability Verification for Hybrid Systems 14

51 Stability analysis Linear dynamical systems y y x x

52 Stability analysis Linear dynamical systems y y x x Stable Stable

53 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable

54 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable Linear hybrid systems y x

55 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable Linear hybrid systems y x Stable

56 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable Linear hybrid systems y y x x Stable

57 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable Linear hybrid systems y y x x Stable Unstable

58 Stability analysis Linear dynamical systems y x y x Stability can be determined by eigen values analysis Stable Stable Linear hybrid systems y y Eigen value analysis does not suffice for switched linear system x x Stable Unstable

59 Lyapunov s second method ẋ = F (x) Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Decreases along any F (x) apple 0 8x V y x 16

60 Lyapunov s second method ẋ = F (x) Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Decreases along any F (x) apple 0 8x V y x 16

61 Lyapunov s second method ẋ = F (x) Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Decreases along any F (x) apple 0 8x V y x 16

62 Lyapunov s second method ẋ = F (x) Template based automated search Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Choose a template Polynomial with coefficients as parameters Encode (a relaxation) of the constraints as a sum-ofsquare programming problem Use existing tools for SOS Decreases along any F (x) apple 0 8x V y x 16

63 Lyapunov s second method ẋ = F (x) Template based automated search Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Choose a template Polynomial with coefficients as parameters Encode (a relaxation) of the constraints as a sum-ofsquare programming problem Use existing tools for SOS Decreases along any F (x) apple 0 8x V Shortcomings: Success depends crucially on the choice of the template The current methods provide no insight into the reason for the failure, when a template fails to prove stability No guidance regarding the choice of the next template y x 16

64 Lyapunov s second method ẋ = F (x) Template based automated search Lyapunov function: Continuously differentiable V : R n! R + Positive definite V (x) 0 8x Choose a template Polynomial with coefficients as parameters Encode (a relaxation) of the constraints as a sum-ofsquare programming problem Use existing tools for SOS Decreases along any F (x) apple 0 8x V Shortcomings: Success depends crucially on the choice of the template The current methods provide no insight into the reason for the failure, when a template fails to prove stability No guidance regarding the choice of the next template y x A CEGAR framework 16

65 Counter-example guided abstraction refinement 17

66 Abstraction Safety Analysis 18

67 Abstraction Safety Analysis 18

68 Abstraction Safety Analysis 18

69 Abstraction Safety Analysis 18

70 Abstraction Safety Analysis 18

71 Abstraction Safety Analysis 18

72 Abstraction Safety Analysis 18

73 Abstraction Safety Analysis 18

74 Abstraction Safety Analysis Every trajectory corresponds to a path in the graph 18

75 Abstraction Safety Analysis Every trajectory corresponds to a path in the graph Absence of a path from green to red node implies safety 18

76 Abstraction Safety Analysis Every trajectory corresponds to a path in the graph Absence of a path from green to red node implies safety 19

77 Abstraction Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph Absence of a path from green to red node implies safety 19

78 Abstraction Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety 19

79 Abstraction Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! 19

80 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

81 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

82 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

83 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

84 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

85 Refinement Safety Analysis The above system is safe Every trajectory corresponds to a path in the graph The abstract graph has a counter-example Absence of a path from green to red node implies safety Right abstractions are hard to find! Refine by analyzing the abstract counter-example 20

86 Counter-example guided abstraction refinement Concrete System Abstraction Relation Abstract Refine Abstract System Analysis Results No Property Model-Check No Validate Yes Abstract Counter-example Yes Property satisfied Property violated CEGAR for discrete systems [Kurshan et al. 93, Clarke et al. 00, Ball et al. 02] CEGAR for hybrid systems safety verification [Alur et al 03, Clarke et al 03, Prabhakar et al 13] 21

87 Counter-example guided abstraction refinement Concrete System Abstraction Relation Abstract Refine Abstract System Analysis Results No Property Model-Check No Validate Yes Abstract Counter-example Yes Property satisfied Property violated CEGAR for discrete systems [Kurshan et al. 93, Clarke et al. 00, Ball et al. 02] CEGAR for hybrid systems safety verification [Alur et al 03, Clarke et al 03, Prabhakar et al 13] Template based search CEGAR framework Success depends crucially on the choice of the template Systematically iterate over the abstract systems No insight into the reason for the failure, when a template fails to prove stability Returns a counter-example in the case that the abstraction fails No guidance regarding the choice of the next template The counter-example can be used to guide the choice of the next abstraction 21

88 AVERIST: An Algorithmic VERIfier for STability Global Asymptotic Stability Analyzer Linear/Non- Linear Hybrid Automaton Hybridization Local Asymptotic Stability Analyzer Quantitative Predicate Abstraction GLPK Stability Zone Computation Model-Checking NetworkX Stable/ Unstable Region Stability Analysis Validation Refinement Z3 PPL Tool webpage: 22

89 Abstraction based analysis: Lyapunov and asymptotic stability 23

90 Quantitative Predicate Abstraction p 3 p 2 p 1 p 2 p 1 C B p 4 D E F A p 3 p 6 p 5 p 6 p 4 p 5 24

91 Quantitative Predicate Abstraction p 3 p 2 p 1 p 2 p 1 C B p 4 D E F A p 3 p 6 p 5 p 6 p 4 p 5 p 1 p 2 w(e) = d 2 d 2 d 1 d 1 24

92 Quantitative Predicate Abstraction p 3 p 2 C B p 1 w 2 p 2 w 1 p 1 w 6 p 4 D E F A p 3 p 6 p 5 p 6 w 3 p 4 p 5 w 4 w 5 p 1 p 2 w(e) = d 2 d 2 d 1 d 1 24

93 Quantitative Predicate Abstraction p 3 p 2 C B p 1 w 2 p 2 w 1 p 1 w 6 p 4 D E F A p 3 p 6 p 5 p 6 w 3 p 4 p 5 w 4 w 5 Weights capture information d 2 d 1 p 1 p 2 w(e) = d 2 d 1 about distance to the origin along the executions 24

94 Weighted Graph Construction p 2 p 2 p 2 p 3 p 3 p p 1 1 p 1 p 3 p 4 p 4 p 4 p p 1/2 2 1 p p 3 p 1 p 3 p 1 p 3 p 1 1 p p 4 1/2 1 p

95 Higher Dimensions 26

96 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. 26

97 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p 2 p 1 d 2 d 1 w(e) = d 2 d 1 26

98 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p 2 p 1 z d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x 26

99 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p z 1 p ~ b 2 ~a d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x 26

100 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p z 1 p ~ b 2 ~a d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x 26

101 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p z 1 p ~ b 2 ~a ~ b+~c ~a +~c d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x 26

102 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p z 1 p ~ b 2 ~a ~ b+~c ~a +~c d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x 26

103 Higher Dimensions The weighted graph construction has a bisimulation like property for 2D. p z 1 p ~ b 2 ~a ~ b+~c ~a +~c d 2 d 1 ~ b ~a w(e) = d 2 d 1 y x sup v 2 v 1 t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't 26

104 Soundness of Quantitative Predicate Abstraction Theorem An n dimensional PCD is Lyapunov stable if there are no edges with infinite weights and the weighted graph does not contain any cycles with product of weights on the edges greater than 1 Abstraction based model-checking of stability of hybrid systems. P. Prabhakar, M. G. Soto. CAV 13 27

105 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' 28

106 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' sup v 2 v 1 t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't 28

107 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't 28

108 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 V ai x c i t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't 28

109 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 V ai x c i t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't ' 2 P 28

110 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 V ai x c i t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't ' 2 P 28

111 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 V ai x c i t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't ' 2 P V ai ' c i 28

112 Polyhedral Inclusion Dynamics Constant derivative ẋ = ' Polyhedral inclusion dynamics ẋ 2 P P is a polyhedral set sup v 2 v 1 V ai x c i t 0,v 1 2 f 1,v 2 2 f 2,v 2 = v 1 + 't ' 2 P V ai ' c i V ai (v 2 v 1 ) c i t 28

113 Switched Systems 29

114 Switched Systems p 3 p 1 29

115 Switched Systems p 3 p 4 p 2 p 1 29

116 Switched Systems p 3 v 1 p 4 p 2 p 1 29

117 Switched Systems p 3 v 1 p 4 p 2 p 1 The invariants associated with modes may overlap unbounded number of switching in a region A straight forward encoding of the reachability relation will lead to an infinite number of constraints We use certain decompositions into strongly connect components to reduce it to a finite number of constraints 29

118 So far. Construct weighted graph (Quantitative Predicate Abstraction) Check that the weighted graph has no cycle with product of weight >=1 If such a cycle exists, it is a counter-example 30

119 CEGAR for Stability 31

120 Counter-example If the abstract system fails to prove stability, then it returns a counterexample. 32

121 Counter-example If the abstract system fails to prove stability, then it returns a counterexample. p p 3 p 1 A cycle with product of weight greater than 1 1 p

122 Counter-example If the abstract system fails to prove stability, then it returns a counterexample. p p 3 p 1 A cycle with product of weight greater than 1 1 p 4 2 Need to check if it is spurious can the system follow the cycle to exhibit trajectories which diverge 32

123 Counter-example If the abstract system fails to prove stability, then it returns a counterexample. p p 3 p 1 A cycle with product of weight greater than 1 1 p 4 2 Need to check if it is spurious can the system follow the cycle to exhibit trajectories which diverge Validation checking spuriousness is not a bounded model-checking problem 32

124 Validation 33

125 Validation p 1 p 2 p 3 p 4 p k 1 p 1 33

126 Validation p 1 p 2 p 3 p 4 p k 1 p 1 33

127 Validation p 1 p 2 p 3 p 4 p k 1 p 1 x 1 x 2 x 3 x 4 x k 1 x k 33

128 Validation p 1 p 2 p 3 p 4 p k 1 p 1 x 1 x 2 x 3 x 4 x k 1 x k Theorem A counter example p 1! p 2! p 3!! p 1 is valid if and only if 9 >1:x 1 P 1 x 2 P 2 x 3... P k x k ^ x k = x 1 33

129 Validation and Refinement Summary 34

130 Validation and Refinement Summary Refinement essentially tries to ``eliminate the abstract counterexample (ACE) 34

131 Validation and Refinement Summary Refinement essentially tries to ``eliminate the abstract counterexample (ACE) If the ACE is spurious, we perform a forward computation to find the reach sets along the ACE 34

132 Validation and Refinement Summary Refinement essentially tries to ``eliminate the abstract counterexample (ACE) If the ACE is spurious, we perform a forward computation to find the reach sets along the ACE The spuriousness of the ACE ensures that in a finite number of iterations the corresponding reach set becomes empty and we refine (similar to the safety case) 34

133 Validation and Refinement Summary Refinement essentially tries to ``eliminate the abstract counterexample (ACE) If the ACE is spurious, we perform a forward computation to find the reach sets along the ACE The spuriousness of the ACE ensures that in a finite number of iterations the corresponding reach set becomes empty and we refine (similar to the safety case) Some improvements can be obtained by examining the ACE further to determine if it in fact has no infinite executions 34

134 Validation and Refinement Summary Refinement essentially tries to ``eliminate the abstract counterexample (ACE) If the ACE is spurious, we perform a forward computation to find the reach sets along the ACE The spuriousness of the ACE ensures that in a finite number of iterations the corresponding reach set becomes empty and we refine (similar to the safety case) Some improvements can be obtained by examining the ACE further to determine if it in fact has no infinite executions Counterexample guided abstraction refinement for stability analysis P. Prabhakar, M. G. Soto. CAV 16 34

135 Hybridization 35

136 Reachability relation computation is hard! Linear dynamical systems ẋ ẏ a = c b d x y A very important class of control system 36

137 Reachability relation computation is hard! Linear dynamical systems ẋ ẏ a = c b d x y A very important class of control system Reach(P 1,P,P 2 )={(s 1,s 2 ) s 1 2 P 1,s 2 2 P 2,s 1 P s2 } 36

138 Reachability relation computation is hard! Linear dynamical systems ẋ ẏ a = c b d x y A very important class of control system Reach(P 1,P,P 2 )={(s 1,s 2 ) s 1 2 P 1,s 2 2 P 2,s 1 P s2 } Solution is an exponential function 36

139 Reachability relation computation is hard! Linear dynamical systems ẋ ẏ a = c b d x y A very important class of control system Reach(P 1,P,P 2 )={(s 1,s 2 ) s 1 2 P 1,s 2 2 P 2,s 1 P s2 } Solution is an exponential function Need a representation on which optimization can be performed 36

140 Reachability relation computation is hard! Linear dynamical systems ẋ ẏ a = c b d x y A very important class of control system Reach(P 1,P,P 2 )={(s 1,s 2 ) s 1 2 P 1,s 2 2 P 2,s 1 P s2 } Solution is an exponential function Need a representation on which optimization can be performed Approximation methods [Girard et al., Frehse et al., PP] 36

141 Arbitrary switching of two linear systems y y p 2 x x q 1 q 2 p 1 The invariants associated with modes may overlap unbounded number of switching in a region Tools based on symbolic state space exploration do not reach a fixpoint 37

142 Hybridization 38

143 Hybridization Broad approach 38

144 Hybridization Broad approach Partition the state-space into a finite number of regions 38

145 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics 38

146 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics Rectangular dynamics, Polyhedral dynamics for Linear dynamics [Puri et al, Bogomolov et al] 38

147 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics Rectangular dynamics, Polyhedral dynamics for Linear dynamics [Puri et al, Bogomolov et al] Linear dynamics for non-linear dynamics [Asarin et al, Dang et al] 38

148 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics Rectangular dynamics, Polyhedral dynamics for Linear dynamics [Puri et al, Bogomolov et al] Linear dynamics for non-linear dynamics [Asarin et al, Dang et al] Crucial parts state-space partition and the choice of the abstract dynamics 38

149 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics Rectangular dynamics, Polyhedral dynamics for Linear dynamics [Puri et al, Bogomolov et al] Linear dynamics for non-linear dynamics [Asarin et al, Dang et al] Crucial parts state-space partition and the choice of the abstract dynamics Polyhedra inclusion dynamics and conical partitions 38

150 Hybridization Broad approach Partition the state-space into a finite number of regions Abstract the dynamics in each region by a simpler dynamics Rectangular dynamics, Polyhedral dynamics for Linear dynamics [Puri et al, Bogomolov et al] Linear dynamics for non-linear dynamics [Asarin et al, Dang et al] Crucial parts state-space partition and the choice of the abstract dynamics Polyhedra inclusion dynamics and conical partitions Hybridization for Stability Analysis of Switched Linear Systems P. Prabhakar, M. G. Soto. HSCC 16 38

151 Linear to Polyhedral Inclusion Dynamics z =(x, y) y x Linear Dynamics ż = Az ẋ = 2x 4y ẏ = 20x 2y 39

152 Linear to Polyhedral Inclusion Dynamics z =(x, y) y R x apple 0 y 0 y x x Linear Dynamics ż = Az ẋ = 2x 4y ẏ = 20x 2y 39

153 Linear to Polyhedral Inclusion Dynamics z =(x, y) y R x apple 0 y 0 y x x Linear Dynamics ż = Az Polyhedral Inclusion Dynamics ż 2 P ẋ = 2x 4y ẏ = 20x 2y P = {Az z 2 R} 39

154 Linear to Polyhedral Inclusion Dynamics z =(x, y) y R x apple 0 y 0 y x P x Linear Dynamics ż = Az Polyhedral Inclusion Dynamics ż 2 P ẋ = 2x 4y ẏ = 20x 2y P = {Az z 2 R} 39

155 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable 40

156 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable The set of executions of Poly(H, S) is a super set of the executions of H 40

157 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable The set of executions of Poly(H, S) is a super set of the executions of H Stability is preserved by over-approximation 40

158 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable The set of executions of Poly(H, S) is a super set of the executions of H Stability is preserved by over-approximation Conical partitions do not ensure bounded error approximation of the reachability relation 40

159 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable The set of executions of Poly(H, S) is a super set of the executions of H Stability is preserved by over-approximation Conical partitions do not ensure bounded error approximation of the reachability relation However, they ensure bounded error approximation of the scaling 40

160 Soundness of the construction Theorem (Hybridization and stability preservation): Let H be a switched linear system, and let Poly(H,S) be the hybridized polyhedral hybrid system with respect to a partition S. If Poly(H, S) is Lyapunov (asymptotically) stable, then H is Lyapunov (asymptotically) stable The set of executions of Poly(H, S) is a super set of the executions of H Stability is preserved by over-approximation Conical partitions do not ensure bounded error approximation of the reachability relation However, they ensure bounded error approximation of the scaling The approximation algorithm is complete for asymptotically stable linear dynamical systems 40

161 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes th degree polynomial returned, but no 8th degree polynomial LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF 41

162 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes th degree polynomial returned, but no 8th degree polynomial LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF 41

163 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes th degree polynomial returned, but no 8th degree polynomial LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF 41

164 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes th degree polynomial returned, but no 8th degree polynomial LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF 41

165 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 6th degree polynomial returned, but no 8th degree polynomial SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF AVERIST SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes 2 16 Prove stability in many more cases than Stabhyli The verification time increases slower with respect to the number of regions as compared to the degree of the polynomial Abstraction computation is parallelizable Stabhyli can handle non-linear hybrid systems 41

166 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 6th degree polynomial returned, but no 8th degree polynomial SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF AVERIST SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes 2 16 Prove stability in many more cases than Stabhyli The verification time increases slower with respect to the number of regions as compared to the degree of the polynomial Abstraction computation is parallelizable Stabhyli can handle non-linear hybrid systems 41

167 Experiments AVERIST STABHYLI Template based search suffers from numerical instability Dimension/ name Regions Runtime Proved Stability Degree LF found Runtime 2D AS Yes 6 Yes 8 6th degree polynomial returned, but no 8th degree polynomial SS4 1 9 <1 Yes SS <1 Yes SS Yes D AS Yes SS Yes 2 Yes 75 SS Yes 2 Yes 15 LF found for arbitrary switched system, but not for restricted switched system Common LF found, but no multiple LF AVERIST SS Yes 2 Yes 138 4D AS Yes 2 12 SS Yes SS Yes SS Yes AS 9 out No 4 Yes 34 SS Yes SS Yes 2 16 Prove stability in many more cases than Stabhyli The verification time increases slower with respect to the number of regions as compared to the degree of the polynomial Abstraction computation is parallelizable Stabhyli can handle non-linear hybrid systems 41

168 AVERIST: An Algorithmic VERIfier for STability Global Asymptotic Stability Analyzer Linear/Non- Linear Hybrid Automaton Hybridization Local Asymptotic Stability Analyzer Quantitative Predicate Abstraction GLPK Stability Zone Computation Model-Checking NetworkX Stable/ Unstable Region Stability Analysis Validation Refinement Z3 PPL Tool webpage: 42

169 Global asymptotic stability 43

170 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. 44

171 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem 44

172 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem An Algorithmic Approach to Global Asymptotic Stability Verification of Hybrid Systems P. Prabhakar, M. G. Soto. EMSOFT 16 44

173 Region Stability (RS) A hybrid system is Region Stable with respect to a region R if every execution of the system eventually reaches R R Region Stability is a CTL property: All executions eventually reach R AFR 45

174 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 46

175 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 1: The weighted graph captures the information of the executions which remain within a center region (here, ABCDEF) 46

176 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 1: The weighted graph captures the information of the executions which remain within a center region (here, ABCDEF) 46

177 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 1: The weighted graph captures the information of the executions which remain within a center region (here, ABCDEF) Note: All executions starting within the center region do not remain within the center region, even if the system is stable 46

178 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 47

179 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 2: A Lyapunov/asymptotic stability proof provides a stability zone within the center region such that the executions starting from the stability zone will remain within the center region 47

180 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 2: A Lyapunov/asymptotic stability proof provides a stability zone within the center region such that the executions starting from the stability zone will remain within the center region 47

181 Global asymptotic stability (GAS) p 2 p 1/2 2 3/2 p 3 p 1 p 3 p 1 p 4 3/2 p 4 1/2 Observation 2: A Lyapunov/asymptotic stability proof provides a stability zone within the center region such that the executions starting from the stability zone will remain within the center region Note: The longest distance an execution can traverse w.r.t the initial point is at most 3/2 times 47

182 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem 48

183 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem Check if the system is asymptotically stable 48

184 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem Check if the system is asymptotically stable If yes, compute a stability zone 48

185 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem Check if the system is asymptotically stable If yes, compute a stability zone Check if the system is region stable with respect to the stability zone 48

186 Global asymptotic stability (GAS) A hybrid system is GAS if it is Lyapunov stable and every execution of the system starting from any initial state will converge to the origin. Broad Approach: Decompose the GAS verification problem to an AS verification problem and a RS verification problem Check if the system is asymptotically stable If yes, compute a stability zone Check if the system is region stable with respect to the stability zone If yes, then the system is GAS 48

187 Stability zone computation for the gearbox Center region T I 3 to 4 2 to 3 1 to 2 0 E Stability zone 4 to 3 3 to 2 2 to 1 49

188 Conclusion Global Asymptotic Stability Analyzer Linear/Non- Linear Hybrid Automaton Hybridization Local Asymptotic Stability Analyzer Quantitative Predicate Abstraction GLPK Stability Zone Computation Model-Checking NetworkX Stable/ Unstable Region Stability Analysis Validation Refinement Z3 PPL Tool webpage: 50

189 Future Work Stabilizing controller synthesis using the algorithmic approach Solve quantitative games Compositional analysis of stability Compose input-output stability notions Extensions to nonlinear dynamics Hybridization to linear systems with inputs 51

190 Future Work Stabilizing controller synthesis using the algorithmic approach Solve quantitative games Compositional analysis of stability Compose input-output stability notions Extensions to nonlinear dynamics Hybridization to linear systems with inputs Acknowledgements: Miriam Garcia Soto (IMDEA) Geir Dullerud (UIUC) Mahesh Viswanathan (UIUC) Jun Liu (Univ. Waterloo) Richard Murray (Caltech) Marie Curie Career Integration Grant NSF CAREER Award ONR Young Investigator Award 51

Counterexample Guided Abstraction Refinement for Stability Analysis

Counterexample Guided Abstraction Refinement for Stability Analysis Counterexample Guided Abstraction Refinement for Stability Analysis Pavithra Prabhakar 1 and Miriam García Soto 2 1 Kansas State University, Manhattan, KS, USA pprabhakar@ksu.edu 2 IMDEA Software Institute

More information

Bisimulations for Input-Output Stability of Hybrid Systems

Bisimulations for Input-Output Stability of Hybrid Systems Bisimulations for Input-Output Stability of Hybrid Systems Pavithra Prabhakar Computing and Information Sciences Kansas State University Manhattan, KS, USA pprabhakar@ksu.edu Jun Liu Applied Mathematics

More information

Abstraction based Model-Checking of Stability of Hybrid Systems

Abstraction based Model-Checking of Stability of Hybrid Systems Abstraction based Model-Checking of Stability of Hybrid Systems Pavithra Prabhakar and Miriam Garcia Soto IMDEA Software Institute Abstract. In this paper, we present a novel abstraction technique and

More information

CEGAR:Counterexample-Guided Abstraction Refinement

CEGAR:Counterexample-Guided Abstraction Refinement CEGAR: Counterexample-guided Abstraction Refinement Sayan Mitra ECE/CS 584: Embedded System Verification November 13, 2012 Outline Finite State Systems: Abstraction Refinement CEGAR Validation Refinment

More information

Static-Dynamic Analysis of Security Metrics

Static-Dynamic Analysis of Security Metrics Static-Dynamic Analysis of Security Metrics for Cyber-Physical Systems Sayan Mitra (PI), Geir Dullerud (co-pi), Swarat Chaudhuri (co-pi) University of Illinois at Urbana Champaign NSA SoS Quarterly meeting,

More information

Verifying Safety Properties of Hybrid Systems.

Verifying Safety Properties of Hybrid Systems. Verifying Safety Properties of Hybrid Systems. Sriram Sankaranarayanan University of Colorado, Boulder, CO. October 22, 2010. Talk Outline 1. Formal Verification 2. Hybrid Systems 3. Invariant Synthesis

More information

Automata-theoretic analysis of hybrid systems

Automata-theoretic analysis of hybrid systems Automata-theoretic analysis of hybrid systems Madhavan Mukund SPIC Mathematical Institute 92, G N Chetty Road Chennai 600 017, India Email: madhavan@smi.ernet.in URL: http://www.smi.ernet.in/~madhavan

More information

Stability and Stabilization of polynomial dynamical systems. Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder

Stability and Stabilization of polynomial dynamical systems. Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder Stability and Stabilization of polynomial dynamical systems Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder Proving Asymptotic Stability: Lyapunov Functions Lyapunov Function:

More information

Software Verification using Predicate Abstraction and Iterative Refinement: Part 1

Software Verification using Predicate Abstraction and Iterative Refinement: Part 1 using Predicate Abstraction and Iterative Refinement: Part 1 15-414 Bug Catching: Automated Program Verification and Testing Sagar Chaki November 28, 2011 Outline Overview of Model Checking Creating Models

More information

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Bounded Model Checking with SAT/SMT Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Recap: Symbolic Model Checking with BDDs Method used by most industrial strength model checkers:

More information

Symbolic Control of Incrementally Stable Systems

Symbolic Control of Incrementally Stable Systems Symbolic Control of Incrementally Stable Systems Antoine Girard Laboratoire Jean Kuntzmann, Université Joseph Fourier Grenoble, France Workshop on Formal Verification of Embedded Control Systems LCCC,

More information

Abstractions and Decision Procedures for Effective Software Model Checking

Abstractions and Decision Procedures for Effective Software Model Checking Abstractions and Decision Procedures for Effective Software Model Checking Prof. Natasha Sharygina The University of Lugano, Carnegie Mellon University Microsoft Summer School, Moscow, July 2011 Lecture

More information

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata Modeling & Control of Hybrid Systems Chapter 7 Model Checking and Timed Automata Overview 1. Introduction 2. Transition systems 3. Bisimulation 4. Timed automata hs check.1 1. Introduction Model checking

More information

Testing System Conformance for Cyber-Physical Systems

Testing System Conformance for Cyber-Physical Systems Testing System Conformance for Cyber-Physical Systems Testing systems by walking the dog Rupak Majumdar Max Planck Institute for Software Systems Joint work with Vinayak Prabhu (MPI-SWS) and Jyo Deshmukh

More information

Discrete abstractions of hybrid systems for verification

Discrete abstractions of hybrid systems for verification Discrete abstractions of hybrid systems for verification George J. Pappas Departments of ESE and CIS University of Pennsylvania pappasg@ee.upenn.edu http://www.seas.upenn.edu/~pappasg DISC Summer School

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

Abstraction-based synthesis: Challenges and victories

Abstraction-based synthesis: Challenges and victories Abstraction-based synthesis: Challenges and victories Majid Zamani Hybrid Control Systems Group Electrical Engineering Department Technische Universität München December 14, 2015 Majid Zamani (TU München)

More information

Lecture 8 Receding Horizon Temporal Logic Planning & Finite-State Abstraction

Lecture 8 Receding Horizon Temporal Logic Planning & Finite-State Abstraction Lecture 8 Receding Horizon Temporal Logic Planning & Finite-State Abstraction Ufuk Topcu Nok Wongpiromsarn Richard M. Murray AFRL, 26 April 2012 Contents of the lecture: Intro: Incorporating continuous

More information

Hybrid systems and computer science a short tutorial

Hybrid systems and computer science a short tutorial Hybrid systems and computer science a short tutorial Eugene Asarin Université Paris 7 - LIAFA SFM 04 - RT, Bertinoro p. 1/4 Introductory equations Hybrid Systems = Discrete+Continuous SFM 04 - RT, Bertinoro

More information

Multi-Modal Control of Systems with Constraints

Multi-Modal Control of Systems with Constraints Multi-Modal Control of Systems with Constraints WeM12-3 T. John Koo Department of EECS University of California Berkeley, CA 9720 koo@eecs.berkeley.edu George J. Pappas Department of EE University of Pennsylvania

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

Automatic Generation of Polynomial Invariants for System Verification

Automatic Generation of Polynomial Invariants for System Verification Automatic Generation of Polynomial Invariants for System Verification Enric Rodríguez-Carbonell Technical University of Catalonia Talk at EPFL Nov. 2006 p.1/60 Plan of the Talk Introduction Need for program

More information

Verification and Synthesis. Using Real Quantifier Elimination. Ashish Tiwari, SRI Intl. Verif. and Synth. Using Real QE: 1

Verification and Synthesis. Using Real Quantifier Elimination. Ashish Tiwari, SRI Intl. Verif. and Synth. Using Real QE: 1 Verification and Synthesis Using Real Quantifier Elimination Thomas Sturm Max-Planck-Institute for Informatik Saarbrucken, Germany sturm@mpi-inf.mpg.de Ashish Tiwari SRI International Menlo Park, USA tiwari@csl.sri.com

More information

APPROXIMATE SIMULATION RELATIONS FOR HYBRID SYSTEMS 1. Antoine Girard A. Agung Julius George J. Pappas

APPROXIMATE SIMULATION RELATIONS FOR HYBRID SYSTEMS 1. Antoine Girard A. Agung Julius George J. Pappas APPROXIMATE SIMULATION RELATIONS FOR HYBRID SYSTEMS 1 Antoine Girard A. Agung Julius George J. Pappas Department of Electrical and Systems Engineering University of Pennsylvania Philadelphia, PA 1914 {agirard,agung,pappasg}@seas.upenn.edu

More information

Time-Aware Abstractions in HybridSal

Time-Aware Abstractions in HybridSal Time-Aware Abstractions in HybridSal Ashish Tiwari SRI International, Menlo Park, CA Abstract. HybridSal is a tool for enabling verification of hybrid systems using infinite bounded model checking and

More information

ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies. Calin Belta

ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies. Calin Belta ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies Provable safety for animal inspired agile flight Calin Belta Hybrid and Networked Systems (HyNeSs) Lab Department of

More information

Lecture 6 Verification of Hybrid Systems

Lecture 6 Verification of Hybrid Systems Lecture 6 Verification of Hybrid Systems Ufuk Topcu Nok Wongpiromsarn Richard M. Murray AFRL, 25 April 2012 Outline: A hybrid system model Finite-state abstractions and use of model checking Deductive

More information

Semi-decidable Synthesis for Triangular Hybrid Systems

Semi-decidable Synthesis for Triangular Hybrid Systems Semi-decidable Synthesis for Triangular Hybrid Systems Omid Shakernia 1, George J. Pappas 2, and Shankar Sastry 1 1 Department of EECS, University of California at Berkeley, Berkeley, CA 94704 {omids,sastry}@eecs.berkeley.edu

More information

Preface. Motivation and Objectives

Preface. Motivation and Objectives Preface Motivation and Objectives In control theory, complex models of physical processes, such as systems of differential or difference equations, are usually checked against simple specifications, such

More information

Global Analysis of Piecewise Linear Systems Using Impact Maps and Surface Lyapunov Functions

Global Analysis of Piecewise Linear Systems Using Impact Maps and Surface Lyapunov Functions IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 48, NO 12, DECEMBER 2003 2089 Global Analysis of Piecewise Linear Systems Using Impact Maps and Surface Lyapunov Functions Jorge M Gonçalves, Alexandre Megretski,

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

Symbolic Reachability Analysis of Lazy Linear Hybrid Automata. Susmit Jha, Bryan Brady and Sanjit A. Seshia

Symbolic Reachability Analysis of Lazy Linear Hybrid Automata. Susmit Jha, Bryan Brady and Sanjit A. Seshia Symbolic Reachability Analysis of Lazy Linear Hybrid Automata Susmit Jha, Bryan Brady and Sanjit A. Seshia Traditional Hybrid Automata Traditional Hybrid Automata do not model delay and finite precision

More information

Synthesizing from Components: Building from Blocks

Synthesizing from Components: Building from Blocks Synthesizing from Components: Building from Blocks Ashish Tiwari SRI International 333 Ravenswood Ave Menlo Park, CA 94025 Joint work with Sumit Gulwani (MSR), Vijay Anand Korthikanti (UIUC), Susmit Jha

More information

An Introduction to Hybrid Systems Modeling

An Introduction to Hybrid Systems Modeling CS620, IIT BOMBAY An Introduction to Hybrid Systems Modeling Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS620: New Trends in IT: Modeling and Verification of Cyber-Physical

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

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

Switching Protocol Synthesis for Temporal Logic Specifications

Switching Protocol Synthesis for Temporal Logic Specifications Switching Protocol Synthesis for Temporal Logic Specifications Jun Liu, Necmiye Ozay, Ufuk Topcu, and Richard M. Murray Abstract We consider the problem of synthesizing a robust switching controller for

More information

540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL Algorithmic Analysis of Nonlinear Hybrid Systems

540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL Algorithmic Analysis of Nonlinear Hybrid Systems 540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL 1998 Algorithmic Analysis of Nonlinear Hybrid Systems Thomas A. Henzinger, Pei-Hsin Ho, Howard Wong-Toi Abstract Hybrid systems are digital

More information

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Sanjit A. Seshia and Randal E. Bryant Computer Science Department Carnegie Mellon University Verifying Timed Embedded Systems

More information

Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems

Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems Alberto Puggelli DREAM Seminar - November 26, 2013 Collaborators and PIs:

More information

Approximation Metrics for Discrete and Continuous Systems

Approximation Metrics for Discrete and Continuous Systems University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science May 2007 Approximation Metrics for Discrete Continuous Systems Antoine Girard University

More information

Ranking Verification Counterexamples: An Invariant guided approach

Ranking Verification Counterexamples: An Invariant guided approach Ranking Verification Counterexamples: An Invariant guided approach Ansuman Banerjee Indian Statistical Institute Joint work with Pallab Dasgupta, Srobona Mitra and Harish Kumar Complex Systems Everywhere

More information

Control of Sampled Switched Systems using Invariance Analysis

Control of Sampled Switched Systems using Invariance Analysis 1st French Singaporean Workshop on Formal Methods and Applications Control of Sampled Switched Systems using Invariance Analysis Laurent Fribourg LSV - ENS Cachan & CNRS Laurent Fribourg Lsv - ENS Cachan

More information

Parametric Verification and Test Coverage for Hybrid Automata Using the Inverse Method

Parametric Verification and Test Coverage for Hybrid Automata Using the Inverse Method Parametric Verification and Test Coverage for Hybrid Automata Using the Inverse Method Laurent Fribourg and Ulrich Kühne LSV ENS de Cachan, 94235 Cachan, France {kuehne,fribourg}@lsv.ens-cachan.fr Abstract.

More information

Information Flow Analysis via Path Condition Refinement

Information Flow Analysis via Path Condition Refinement Information Flow Analysis via Path Condition Refinement Mana Taghdiri, Gregor Snelting, Carsten Sinz Karlsruhe Institute of Technology, Germany FAST September 16, 2010 KIT University of the State of Baden-Wuerttemberg

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

Synthesis of Switching Protocols from Temporal Logic Specifications

Synthesis of Switching Protocols from Temporal Logic Specifications Submitted, 2012 American Control Conference (ACC) http://www.cds.caltech.edu/~murray/papers DRAFT 1 Synthesis of Switching Protocols from Temporal Logic Specifications Jun Liu, Necmiye Ozay, Ufuk Topcu,

More information

Work in Progress: Reachability Analysis for Time-triggered Hybrid Systems, The Platoon Benchmark

Work in Progress: Reachability Analysis for Time-triggered Hybrid Systems, The Platoon Benchmark Work in Progress: Reachability Analysis for Time-triggered Hybrid Systems, The Platoon Benchmark François Bidet LIX, École polytechnique, CNRS Université Paris-Saclay 91128 Palaiseau, France francois.bidet@polytechnique.edu

More information

Verification of analog and mixed-signal circuits using hybrid systems techniques

Verification of analog and mixed-signal circuits using hybrid systems techniques FMCAD, November 2004, Austin Verification of analog and mixed-signal circuits using hybrid systems techniques Thao Dang, Alexandre Donze, Oded Maler VERIMAG Grenoble, France Plan 1. Introduction 2. Verification

More information

Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification

Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification Optimization-based Modeling and Analysis Techniques for Safety-Critical Software Verification Mardavij Roozbehani Eric Feron Laboratory for Information and Decision Systems Department of Aeronautics and

More information

Formal verification of One Dimensional Time Triggered Velocity PID Controllers Kenneth Payson 12/09/14

Formal verification of One Dimensional Time Triggered Velocity PID Controllers Kenneth Payson 12/09/14 Formal verification of One Dimensional Time Triggered Velocity PID Controllers 12/09/14 1: Abstract This paper provides a formal proof of the safety of a time triggered velocity PID controller that are

More information

Synthesis of Reactive Switching Protocols from Temporal Logic Specifications

Synthesis of Reactive Switching Protocols from Temporal Logic Specifications 1 Synthesis of Reactive Switching Protocols from Temporal Logic Specifications Jun Liu, Necmiye Ozay, Ufuk Topcu, and Richard M. Murray Abstract We propose formal means for synthesizing switching protocols

More information

Lecture 7 Synthesis of Reactive Control Protocols

Lecture 7 Synthesis of Reactive Control Protocols Lecture 7 Synthesis of Reactive Control Protocols Richard M. Murray Nok Wongpiromsarn Ufuk Topcu California Institute of Technology AFRL, 25 April 2012 Outline Review: networked control systems and cooperative

More information

arxiv: v2 [cs.sy] 16 Jun 2011

arxiv: v2 [cs.sy] 16 Jun 2011 CONTROLLER SYNTHESIS FOR SAFETY AND REACHABILITY VIA APPROXIMATE BISIMULATION ANTOINE GIRARD arxiv:1010.4672v2 [cs.sy] 16 Jun 2011 Abstract. In this paper, we consider the problem of controller design

More information

as support functions [18] and polynomials [34].

as support functions [18] and polynomials [34]. Decomposed Reachability Analysis for Nonlinear Systems Xin Chen University of Colorado, Boulder, CO xinchen@colorado.edu Sriram Sankaranarayanan University of Colorado, Boulder, CO srirams@colorado.edu

More information

Compositionally Analyzing a Proportional-Integral Controller Family

Compositionally Analyzing a Proportional-Integral Controller Family Compositionally Analyzing a Proportional-Integral Controller Family Ashish Tiwari Abstract We define always eventually region stability and then formulate the absolute always eventually region stability

More information

Revisiting Synthesis of GR(1) Specifications

Revisiting Synthesis of GR(1) Specifications Revisiting Synthesis of GR(1) Specifications Uri Klein & Amir Pnueli Courant Institute of Mathematical Sciences, NYU Haifa Verification Conference, October 2010 What Is Synthesis? Rather than implement

More information

1 Lyapunov theory of stability

1 Lyapunov theory of stability M.Kawski, APM 581 Diff Equns Intro to Lyapunov theory. November 15, 29 1 1 Lyapunov theory of stability Introduction. Lyapunov s second (or direct) method provides tools for studying (asymptotic) stability

More information

SENSE: Abstraction-Based Synthesis of Networked Control Systems

SENSE: Abstraction-Based Synthesis of Networked Control Systems SENSE: Abstraction-Based Synthesis of Networked Control Systems Mahmoud Khaled, Matthias Rungger, and Majid Zamani Hybrid Control Systems Group Electrical and Computer Engineering Technical University

More information

An Introduction to Hybrid Systems Modeling

An Introduction to Hybrid Systems Modeling CS620, IIT BOMBAY An Introduction to Hybrid Systems Modeling Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS620: New Trends in IT: Modeling and Verification of Cyber-Physical

More information

Formally Analyzing Adaptive Flight Control

Formally Analyzing Adaptive Flight Control Formally Analyzing Adaptive Flight Control Ashish Tiwari SRI International 333 Ravenswood Ave Menlo Park, CA 94025 Supported in part by NASA IRAC NRA grant number: NNX08AB95A Ashish Tiwari Symbolic Verification

More information

A new Abstraction-Refinement based Verifier for Modular Linear Hybrid Automata and its Implementation

A new Abstraction-Refinement based Verifier for Modular Linear Hybrid Automata and its Implementation A new Abstraction-Refinement based Verifier for Modular Linear Hybrid Automata and its Implementation Hao Ren 1 (ren@iastate.edu), Jing Huang 2 (freescaler@live.com), Shengbing Jiang 3 (shengbing.jiang@gm.com)

More information

Counterexample-Guided Abstraction Refinement

Counterexample-Guided Abstraction Refinement Counterexample-Guided Abstraction Refinement Edmund Clarke Orna Grumberg Somesh Jha Yuan Lu Helmut Veith Seminal Papers in Verification (Reading Group) June 2012 O. Rezine () Verification Reading Group

More information

arxiv: v1 [cs.fl] 25 Nov 2018

arxiv: v1 [cs.fl] 25 Nov 2018 Real-Time Systems Modeling and Analysis Lakhan Shiva Kamireddy [0000 0001 6007 5408] University of Colorado, Boulder CO 80302, USA {lakhan.kamireddy}@colorado.edu arxiv:1811.10083v1 [cs.fl] 25 Nov 2018

More information

Receding Horizon Temporal Logic Planning

Receding Horizon Temporal Logic Planning 1 Receding Horizon Temporal Logic Planning Tichaorn Wongpiromsarn, Ufu Topcu, and Richard M. Murray Abstract We present a methodology for automatic synthesis of embedded control software that incorporates

More information

Double Header. Model Checking. Model Checking. Overarching Plan. Take-Home Message. Spoiler Space. Topic: (Generic) Model Checking

Double Header. Model Checking. Model Checking. Overarching Plan. Take-Home Message. Spoiler Space. Topic: (Generic) Model Checking Double Header Model Checking #1 Two Lectures Model Checking SoftwareModel Checking SLAM and BLAST Flying Boxes It is traditional to describe this stuff (especially SLAM and BLAST) with high-gloss animation

More information

A Decidable Class of Planar Linear Hybrid Systems

A Decidable Class of Planar Linear Hybrid Systems A Decidable Class of Planar Linear Hybrid Systems Pavithra Prabhakar, Vladimeros Vladimerou, Mahesh Viswanathan, and Geir E. Dullerud University of Illinois at Urbana-Champaign. Abstract. The paper shows

More information

Lecture 9 Synthesis of Reactive Control Protocols

Lecture 9 Synthesis of Reactive Control Protocols Lecture 9 Synthesis of Reactive Control Protocols Nok Wongpiromsarn Singapore-MIT Alliance for Research and Technology Richard M. Murray and Ufuk Topcu California Institute of Technology EECI, 16 May 2012

More information

Software Verification with Abstraction-Based Methods

Software Verification with Abstraction-Based Methods Software Verification with Abstraction-Based Methods Ákos Hajdu PhD student Department of Measurement and Information Systems, Budapest University of Technology and Economics MTA-BME Lendület Cyber-Physical

More information

Symbolic Trajectory Evaluation (STE): Orna Grumberg Technion, Israel

Symbolic Trajectory Evaluation (STE): Orna Grumberg Technion, Israel Symbolic Trajectory Evaluation (STE): Automatic Refinement and Vacuity Detection Orna Grumberg Technion, Israel Marktoberdort 2007 1 Agenda Model checking Symbolic Trajectory Evaluation Basic Concepts

More information

Approximately Bisimilar Finite Abstractions of Stable Linear Systems

Approximately Bisimilar Finite Abstractions of Stable Linear Systems Approximately Bisimilar Finite Abstractions of Stable Linear Systems Antoine Girard Université Joseph Fourier Laboratoire de Modélisation et Calcul B.P. 53, 38041 Grenoble, France Antoine.Girard@imag.fr

More information

Determining the Existence of DC Operating Points in Circuits

Determining the Existence of DC Operating Points in Circuits Determining the Existence of DC Operating Points in Circuits Mohamed Zaki Department of Computer Science, University of British Columbia Joint work with Ian Mitchell and Mark Greenstreet Nov 23 nd, 2009

More information

Approximate Bisimulations for Constrained Linear Systems

Approximate Bisimulations for Constrained Linear Systems Approximate Bisimulations for Constrained Linear Systems Antoine Girard and George J Pappas Abstract In this paper, inspired by exact notions of bisimulation equivalence for discrete-event and continuous-time

More information

Ranked Predicate Abstraction for Branching Time. Complete, Incremental, and Precise

Ranked Predicate Abstraction for Branching Time. Complete, Incremental, and Precise : Complete, Incremental, and Precise Harald Fecher 1 Michael Huth 2 1 Christian-Albrechts-University at Kiel, Germany 2 Imperial College London, United Kingdom Beijing, ATVA 2006 Main Issues Foundation

More information

EML5311 Lyapunov Stability & Robust Control Design

EML5311 Lyapunov Stability & Robust Control Design EML5311 Lyapunov Stability & Robust Control Design 1 Lyapunov Stability criterion In Robust control design of nonlinear uncertain systems, stability theory plays an important role in engineering systems.

More information

ESE601: Hybrid Systems. Introduction to verification

ESE601: Hybrid Systems. Introduction to verification ESE601: Hybrid Systems Introduction to verification Spring 2006 Suggested reading material Papers (R14) - (R16) on the website. The book Model checking by Clarke, Grumberg and Peled. What is verification?

More information

Nonlinear Control as Program Synthesis (A Starter)

Nonlinear Control as Program Synthesis (A Starter) Nonlinear Control as Program Synthesis (A Starter) Sicun Gao MIT December 15, 2014 Preliminaries Definition (L RF ) L RF is the first-order language over the reals that allows arbitrary numerically computable

More information

EE C128 / ME C134 Feedback Control Systems

EE C128 / ME C134 Feedback Control Systems EE C128 / ME C134 Feedback Control Systems Lecture Additional Material Introduction to Model Predictive Control Maximilian Balandat Department of Electrical Engineering & Computer Science University of

More information

Chapter III. Stability of Linear Systems

Chapter III. Stability of Linear Systems 1 Chapter III Stability of Linear Systems 1. Stability and state transition matrix 2. Time-varying (non-autonomous) systems 3. Time-invariant systems 1 STABILITY AND STATE TRANSITION MATRIX 2 In this chapter,

More information

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr Semantic Equivalences and the Verification of Infinite-State Systems Richard Mayr Department of Computer Science Albert-Ludwigs-University Freiburg Germany Verification of Infinite-State Systems 1 c 2004

More information

Bisimilar Finite Abstractions of Interconnected Systems

Bisimilar Finite Abstractions of Interconnected Systems Bisimilar Finite Abstractions of Interconnected Systems Yuichi Tazaki and Jun-ichi Imura Tokyo Institute of Technology, Ōokayama 2-12-1, Meguro, Tokyo, Japan {tazaki,imura}@cyb.mei.titech.ac.jp http://www.cyb.mei.titech.ac.jp

More information

Resilient Formal Synthesis

Resilient Formal Synthesis Resilient Formal Synthesis Calin Belta Boston University CDC 2017 Workshop: 30 years of the Ramadge-Wonham Theory of Supervisory Control: A Retrospective and Future Perspectives Outline Formal Synthesis

More information

DYNAMICAL SYSTEMS

DYNAMICAL SYSTEMS 0.42 DYNAMICAL SYSTEMS Week Lecture Notes. What is a dynamical system? Probably the best way to begin this discussion is with arguably a most general and yet least helpful statement: Definition. A dynamical

More information

ENES 489p. Verification and Validation: Logic and Control Synthesis

ENES 489p. Verification and Validation: Logic and Control Synthesis 11/18/14 1 ENES 489p Verification and Validation: Logic and Control Synthesis Mumu Xu mumu@umd.edu November 18, 2014 Institute for Systems Research Aerospace Engineering University of Maryland, College

More information

Integrating Induction, Deduction and Structure for Synthesis

Integrating Induction, Deduction and Structure for Synthesis Integrating Induction, Deduction and Structure for Synthesis Sanjit A. Seshia Associate Professor EECS Department UC Berkeley Students & Postdocs: S. Jha, W.Li, A. Donze, L. Dworkin, B. Brady, D. Holcomb,

More information

A Counterexample-Guided Approach to Parameter Synthesis for Linear Hybrid Automata

A Counterexample-Guided Approach to Parameter Synthesis for Linear Hybrid Automata A Counterexample-Guided Approach to Parameter Synthesis for Linear Hybrid Automata Goran Frehse 1, Sumit Kumar Jha 2, and Bruce H. Krogh 3 1 Verimag (UJF-CNRS-INPG), 2, av. de Vignate, 38610 Gières, France

More information

Model Checking, Theorem Proving, and Abstract Interpretation: The Convergence of Formal Verification Technologies

Model Checking, Theorem Proving, and Abstract Interpretation: The Convergence of Formal Verification Technologies Model Checking, Theorem Proving, and Abstract Interpretation: The Convergence of Formal Verification Technologies Tom Henzinger EPFL Three Verification Communities Model checking: -automatic, but inefficient

More information

Automated Formal Synthesis of Digital Controllers for State-Space Physical Plants CAV 2017

Automated Formal Synthesis of Digital Controllers for State-Space Physical Plants CAV 2017 Automated Formal Synthesis of Digital Controllers for State-Space Physical Plants CAV 2017 Artifact * Alessandro Abate, Iury Bessa, Dario Cattaruzza, Lucas Cordeiro, Cristina David, Pascal Kesseli, Daniel

More information

Hybrid Automata and ɛ-analysis on a Neural Oscillator

Hybrid Automata and ɛ-analysis on a Neural Oscillator Hybrid Automata and ɛ-analysis on a Neural Oscillator A. Casagrande 1 T. Dreossi 2 C. Piazza 2 1 DMG, University of Trieste, Italy 2 DIMI, University of Udine, Italy Intuitively... Motivations: Reachability

More information

Compositionally Analyzing a Proportional-Integral Controller Family

Compositionally Analyzing a Proportional-Integral Controller Family 2 5th IEEE Conference on Decision and Control and European Control Conference (CDC-ECC) Orlando, FL, USA, December 2-5, 2 Compositionally Analyzing a Proportional-Integral Controller Family Ashish Tiwari

More information

Static Program Analysis using Abstract Interpretation

Static Program Analysis using Abstract Interpretation Static Program Analysis using Abstract Interpretation Introduction Static Program Analysis Static program analysis consists of automatically discovering properties of a program that hold for all possible

More information

Synthesizing Switching Logic using Constraint Solving

Synthesizing Switching Logic using Constraint Solving Synthesizing Switching Logic using Constraint Solving Ankur Taly 1, Sumit Gulwani 2, and Ashish Tiwari 3 1 Computer Science Dept., Stanford University ataly@stanford.edu 2 Microsoft Research, Redmond,

More information

Copyrighted Material. 1.1 Large-Scale Interconnected Dynamical Systems

Copyrighted Material. 1.1 Large-Scale Interconnected Dynamical Systems Chapter One Introduction 1.1 Large-Scale Interconnected Dynamical Systems Modern complex dynamical systems 1 are highly interconnected and mutually interdependent, both physically and through a multitude

More information

Finite-State Model Checking

Finite-State Model Checking EECS 219C: Computer-Aided Verification Intro. to Model Checking: Models and Properties Sanjit A. Seshia EECS, UC Berkeley Finite-State Model Checking G(p X q) Temporal logic q p FSM Model Checker Yes,

More information

Step Simulation Based Verification of Nonlinear Deterministic Hybrid System

Step Simulation Based Verification of Nonlinear Deterministic Hybrid System Step Simulation Based Verification of Nonlinear Deterministic Hybrid System Ratnesh Kumar, Professor, IEEE Fellow PhD Student: Hao Ren Electrical and Computer Engineering Iowa State University Verification

More information

Semi-asynchronous. Fault Diagnosis of Discrete Event Systems ALEJANDRO WHITE DR. ALI KARIMODDINI OCTOBER

Semi-asynchronous. Fault Diagnosis of Discrete Event Systems ALEJANDRO WHITE DR. ALI KARIMODDINI OCTOBER Semi-asynchronous Fault Diagnosis of Discrete Event Systems ALEJANDRO WHITE DR. ALI KARIMODDINI OCTOBER 2017 NC A&T State University http://www.ncat.edu/ Alejandro White Semi-asynchronous http://techlav.ncat.edu/

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

Adaptive Dynamic Inversion Control of a Linear Scalar Plant with Constrained Control Inputs

Adaptive Dynamic Inversion Control of a Linear Scalar Plant with Constrained Control Inputs 5 American Control Conference June 8-, 5. Portland, OR, USA ThA. Adaptive Dynamic Inversion Control of a Linear Scalar Plant with Constrained Control Inputs Monish D. Tandale and John Valasek Abstract

More information

Progress on Reachability Analysis of Hybrid Systems Using Predicate Abstraction

Progress on Reachability Analysis of Hybrid Systems Using Predicate Abstraction University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science April 2003 Progress on Reachability Analysis of Hybrid Systems Using Predicate Abstraction

More information

Non-linear Interpolant Generation and Its Application to Program Verification

Non-linear Interpolant Generation and Its Application to Program Verification Non-linear Interpolant Generation and Its Application to Program Verification Naijun Zhan State Key Laboratory of Computer Science, Institute of Software, CAS Joint work with Liyun Dai, Ting Gan, Bow-Yaw

More information