Verification of hybrid systems. Thanks to

Size: px
Start display at page:

Download "Verification of hybrid systems. Thanks to"

Transcription

1 Verification of hybrid systems George J Pappas Departments of ESE and CIS University of Pennsylvania pappasg@eeupennedu HYBRIDGE Summer School on Hybrid Systems : A Formal Paradigm for Safety Critical Embedded Systems Patras, Greece September -4, 004 Thanks to School Organizers Marika di Benedetto Kostas Kyriakopoulos John Lygeros and HYBRIDGE

2 Acknowledgments Postdocs Mohamed Babaali Antoine Girard PhD Students Ali Ahmazadeh George Fainekos Hadas Kress Gazit Hakan Yazarel Michael Zavlanos Collaborators Rajeev Alur, Datta Godbole, Tom Henzinger, Ali Jadbabaie, John Koo, Vijay Kumar, Gerardo Lafferierre, Insup Lee, John Lygeros, Shankar Sastry, Omid Shakernia, Claire Tomlin, Sergio Yovine Support NSF Career, PECASE NSF ITR () NSF EHS ARO MURI DARPA HURT Honeywell Goals for this mini-course Why hybrid systems? Emphasis on some engineering examples Modeling of hybrid systems Emphasis on abstraction and refinement Analysis of hybrid systems Emphasis on algorithmic verification Synthesis of hybrid controllers Emphasis on temporal logic synthesis Warning : All questions and answers are biased and incomplete!

3 Bisimilar linear systems George J Pappas Automatica 39(): December 003 Some references Model checking LTL over controllable linear systems is decidable Paulo Tabuada and George J Pappas Hybrid Systems : Computation and Control, Lecture Notes in Computer Science, Prague, Czech Republic, April 003 Symbolic reachability computations for families of linear vector fields G Lafferriere, G J Pappas, and S Yovine Journal of Symbolic Computation, 3(3):3-53, September 00 Discrete abstractions of hybrid systems RAlur, T Henzinger, G Lafferriere, G Pappas Proceedings of the IEEE, 88():97-984, July 000 Hierarchically consistent control systems George J Pappas, Gerardo Lafferriere, and Shankar Sastry IEEE Transactions on Automatic Control, 45(6):44-60, June 000 O-minimal hybrid systems G Lafferriere, G J Pappas, and S Sastry Mathematics of Control, Signals, and Systems, 3():-, March 000 Outline of lectures Lecture : Thursday, September 3 Examples of hybrid systems and modeling formalisms Transitions systems, temporal logics, abstraction Discrete abstractions of hybrid systems for verification Lecture : Friday, September 4 Applications in motion planning and visibility games 3

4 Why hybrid? Enabling technologies Advances in sensor and actuator technology GPS, control of quantum systems Invasion of powerful microprocessors in physical devices Sophisticated software/hardware on board Networking everywhere Interconnects subsystems 4

5 Emerging applications Latest BMW : 7 networked microprocessors Boeing 777 : 80 networked microprocessors Networked embedded systems Network Controller SW/HW Controller SW/HW Actuator Sensor Actuator Sensor Physical System Physical System 5

6 Networked embedded systems Network Controller SW/HW Controller SW/HW Actuator Sensor Actuator Sensor Physical System Physical System Physical system is continuous, software is discrete Discrete and Continuous Control Theory Continuous systems Stability, control Feedback, robustness Computer Science Transition systems Composition, abstraction Concurrency models Hybrid Systems Software controlled systems Multi-modal systems Embedded real-time systems Multi-agent systems 6

7 Exporting Science Control Theory Continuous systems Stability, control Feedback, robustness Computer Science Transition systems Composition, abstraction Concurrency models Composition Abstraction Concurrency Robustness Feedback Stability Different views Computer science perspective View the physics from the eyes of the software Modeling result : Hybrid automaton Control theory perspective View the software from the eyes of the physics Modeling result : Switched control systems 7

8 Hybrid dynamics Hybrid behavior arises in Hybrid model is a simplification of a larger nonlinear model Quantized control of continuous systems Input and observation sets are finite Logic based switching Software is designed to supervise various dynamics/controllers Partial synchronization of many continuous systems Resource allocation for competing multi-agent systems Hybrid specifications of continuous systems Plant is continuous, but specification is discrete or hybrid Logic based switching 8

9 Nuclear reactor example Without rods With rod With rod T = 0 T 50 T = 0 T 56 T = 0 T 60 Rod and cannot be used simultaneously Once a rod is removed, you cannot use it for 0 minutes Specification : Keep temperature between 50 and 550 degrees If T=550 then either a rod is available or we shutdown the plant Software model of nuclear reactor Rod NoRod Rod Shutdown 9

10 Hybrid model of nuclear reactor T = 50 y = 0 y = 0 Rod T = 550 y 0 NoRod T = 550 y 0 Rod T = 0 T 56 T = 0 T 50 T = 0 T 60 y = y = y = y = y = y = T 50 T = 50 y : = 0 T 550 T = 50 y : = 0 T 50 T = 550 y < 0 y < 0 Analysis : Is shutdown reachable? Algorithmic verification : NO Shutdown T = 0 T 50 y = y = true Conflict Resolution in ATM* 0

11 Conflict Resolution Protocol Cruise until a miles away Change heading by Φ 3 Maintain heading until lateral distance d 4 Change to original heading 5 Change heading by - Φ 6 Maintain heading until lateral distance -d 7 Change to original heading Is this protocol safe? Conflict Resolution Maneuver

12 Computing Unsafe Sets Safe Sets

13 Partial synchronization (Concurrency) The train gate x θ approach raise lower exit Controller System = Train Gate Controller Safety specification : If train is within 0 meters of the crossing, then gate should completely closed Liveness specification : Keep gate open as much as possible 3

14 Train model x 000 far - 50 x 40 x = 000 approach near past x = 0-50 x x 30 x 000 x 0 x -00 exit x = 00 x' [000, ) Gate model θ = 90 raise raising θ = 9 θ = 90 open θ = 0 raise θ 90 lower θ = 90 raise lower raise lowering θ = 9 θ = 0 closed θ = 0 lower θ 0 θ = 0 lower 4

15 Controller model y : = 0 exit true Goingtolower y : = 0 idle y : = 0 Goingtoraise ẏ = approach ẏ = exit ẏ = y d lower true raise y d y : = 0 approach x 000 Synchronized transitions far - 50 x 40 x = 000 approach near past x = 0-50 x x 30 x 000 x 0 x -00 exit x = 00 x' [000, ) y : = 0 exit true Going tolower ẏ = y : = 0 approach idle ẏ = y : = 0 Going to raise exit ẏ = y d lower true raise y d y : = 0 approach 5

16 Verifying the controller x θ approach raise lower exit Controller System = Train Gate Controller Safety specification : Can we avoid the set θ > 0 (-0 x 0)? Parametric HyTech verification : YES if d 49 5 Modeling Issues Research Issues Well posedness, robustness, zenoness Analysis Stability issues, qualitative theory, parametric analysis Verification Algorithmic methods that verify system performance Controller Synthesis Algorithmic methods that design hybrid controllers Simulation Mixed signal simulation, event detection, modularity Code generation From hybrid models to embedded code Complexity Compositionality and hierarchies Tools : HyTech, Checkmate, d/dt, HYSDEL, Stateflow, Charon 6

17 Outline of lectures Lecture : Thursday, September 3 Examples of hybrid systems and modeling formalisms Transitions systems, temporal logics, abstraction Discrete abstractions of hybrid systems for verification Lecture : Friday, September 4 Applications in motion planning and visibility games Transition Systems A transition system T consists of A set of states Q A set of events Σ A set of observations O σ The transition relation q The observation map q = = ( Q, Σ,, O, q o 0 ) o 0 o 0 q 0 σ σ q o 0 q Initial or final states may be incorporated The sets Q, Σ, and O may be infinite Language of T is all sequences of observations σ σ o q3 o q4 7

18 The parking meter A painful example 5p 5p 5p exp act act act act act tick tick tick tick tick tick tick tick 5p States Q ={0,,,,60} Events {tick,5p} Observations {exp,act} A possible string of observations (exp,act,act,act,act,act,exp, ) act A familiar example T Transition System = ( Q, Σ,, O, ) n State set Q = X = R T x k + = Axk + Bu Ty = k Cx k k Label set Σ = U = R Observatio n set O = Y = R Linear Observation Map x = Cx Transition Relation X U X u m x x x = Ax + p Bu 8

19 Transition Systems A region is a subset of states P Q We define the following operators Pre (P) = {q Q p P σ Pre(P) = {q Q σ Σ σ q p} p P σ q p} Post (P) = {q Q p P σ Post(P) = {q Q σ Σ σ p q} p P σ p q} We can recursively define Transition Systems Preσ (P) = Pre n Preσ (P) = Pre σ σ (P) (Pre n- σ (P)) Similarly for the other operators Also * Pre (P) = * Post (P) = U n N U n N Pre n Post (P) n (P) 9

20 Basic safety problems Given transition system T and regions P, S determine Forward Reachability Post ã (P) S= Backward Reachability P Pre ã (S)= Forward reachability algorithm Forward Reachability Algorithm initialize R := P while TRUE do if R S= return UNSAFE ; end if; if Post(R) ò R return SAFE ; end if; R := R Post(R) end while If T is finite, then algorithm terminates (decidability) Complexity : O(n I + m R ) initial states reachable transitions 0

21 Backward reachability algorithm Backward Reachability Algorithm initialize R := S while TRUE do if R P= return UNSAFE ; end if; if Pre(R) ò R return SAFE ; end if; R := R Pre(R) end while If T is infinite, then there is no guarantee of termination Algorithmic issues Representation issues Enumeration for finite sets Symbolic representation for infinite (or finite) sets Operations on sets Boolean operations Pre and Post computations (closure?) Algorithmic termination (decidability) Guaranteed for finite transition systems No guarantee for infinite transition systems

22 More complicated problems More sophisticated properties can be expressed using Linear Temporal Logic (LTL) Computation Tree Logic (CTL) CTL* mu-calculus The basic verification problem Given transition system T, and temporal logic formula ϕ Basic verification problem T =ϕ Two main approaches Model checking : Algorithmic, restrictive Deductive methods : Semi-automated, general

23 Another verification problem Given transition system T, and specification system S Another verification problem L(T) ò L(S) Language inclusion problems The basic synthesis problem Given transition system T, and temporal logic formula ϕ Basic synthesis problem T k C =ϕ Synthesis in computer science assumes disturbances Deep relationship between synthesis and game theory 3

24 Linear temporal logic (informally) Express temporal specifications along sequences Informally Syntax Semantics Eventually p p qqqqqqqqqqqqp Always p p pppppppppppppp If p then next q p í q qqqqqqqqpq p until q puq pppppppppppppppq Linear temporal logic (formally) Linear temporal logic syntax The LTL formulas are defined inductively as follows Atomic propositions All observation symbols p are formulas Boolean operators If ϕ and ϕ are formulas then ϕ ϕ ϕ Temporal operators If ϕ and ϕ are formulas then ϕ U ϕ í ϕ 4

25 Linear temporal logic semantics The LTL formulas are interpreted over infinite (omega) words w = p 0 p p p 3 p 4 (w, i) =p iff p i = p (w, i) =ϕ ϕ iff (w, i) =ϕ or (w, i) =ϕ (w, i) = ϕ iff (w, i) 6 =ϕ (w, i) = í ϕ iff (w, i +) =ϕ (w, i) =ϕ U ϕ j õ i (w, j) =ϕ and i ô k ô j (w, k) =ϕ w =þ iff (w, 0) = ϕ T =þ iff w L(T) w = ϕ Linear temporal logic Syntactic boolean abbreviations Conjunction Implication Equivalence ϕ ϕ = ( ϕ ϕ ) ϕ ϕ = ϕ ϕ ϕ ϕ =(ϕ ϕ ) (ϕ ϕ ) Syntactic temporal abbreviations Eventually Always In 3 steps ϕ = > U ϕ ϕ = ϕ í 3 ϕ = íííϕ 5

26 LTL examples Two processors want to access a critical section Each processor can has three observable states p={incs, outcs, reqcs} p={incs, outcs, reqcs} Mutual exclusion Both processors are not in the critical section at the same time (p = incs p = incs) Starvation freedom If process requests entry, then it eventually enters the critical section p = reqcs p = incs LTL Model Checking Given transition system and LTL formula we have LTL model checking Determine if T =ϕ System verified Counterexample LTL model checking is decidable for finite T Complexity : O((n + m)(k + l) O(k) ) states transitions formula length 6

27 Computation tree logic (informally) Express specifications in computation trees (branching time) Informally Syntax Semantics Inevitably next p í p p p p Possibly always p p q p q p Comparing logics CTL LTL CTL* 7

28 Dealing with complexity Bisimulation Simulation Language Inclusion Language Equivalence Consider two transition systems T and T over same Σ and O T o0 q0 σ σ o0 p0 σ T o 0 q o 0 q p o 0 σ σ σ σ o q3 o q4 o p3 o p4 Languanges are equivalent L( T )=L( ) T 8

29 LTL equivalence Consider two transition systems T and and an LTL formula T Language equivalence If L(T )=L(T ) then T =ϕ T =ϕ Language inclusion If L(T ) ò L(T ) then T =ϕ T =ϕ Language equivalence and inclusion are difficult to check Consider two transition systems Simulation Relations T = ( Q, Σ,, O, ) = ( Q, Σ,, O, ) T over the same set of labels and observations A relation is called a simulation relation if it Respects observations if (q,p) S then q = p S Q Q Respects transitions if (q,p) S and q q', σ σ then p p' for some (q',p') S If a simulation relation exists, then T T 9

30 Game theoretic semantics Simulation is a matching game between the systems T o0 q0 σ σ o0 p0 σ T o 0 q o 0 q p o 0 σ σ σ σ o q3 o q4 o p3 o p4 Check that T but it is not true that T T T The parking meter The parking example 5p 5p 5p exp act act act act act tick tick tick tick tick tick tick tick 5p act A coarser model 5p tick tick 0 exp tick many 5p act S = {(0,0),(,many),, (60,many)} 30

31 Simulation relations Consider two transition systems T and T Simulation implies language inclusion If T ô T then L(T ) ò L(T ) Complexity of L(T ) ò L(T ) O((n + m ) n ) Complexity of T ô T O((n + m )(n + m )) Two important cases Abstraction Refinement T T T T T T T T 3

32 Bisimulation Consider two transition systems T and T Bisimulation T ñ T if T ô T T ô T Bisimulation is a symmetric simulation Strong notion of equivalence for transition systems CTL* (and LTL) equivalence If T ñ T then T =ϕ T =ϕ If T ñ T then L(T )=L(T ) Special quotients Abstraction T / T T T / When is the quotient language equivalent or bisimilar to T? 3

33 Quotient Transition Systems Given a transition system T and an observation preserving partition naturally using Observation Map = ( Q, Σ,, O, ) Q Q T/ = ( Q/, Σ,, O, ), define P = o iff there exists p P with p = o Transition Relation P σ P' iff there exists p P, p' P' with σ p p' Bisimulation Algorithm Quotient system T / always simulates the original system T When does original system T simulate the quotient system T /? σ o σ o 33

34 Bisimulation Algorithm Quotient system T / always simulates the original system T When does original system T simulate the quotient system T /? σ o σ o Bisimulation algorithm Bisimulation Algorithm initialize Q/ ø = {p ø q iff <q>=<p>} while P, P 0 Q/ such that 6= ò P Pre(P 0 )6= ò P 0 ø P := P Pre(P 0 ) P := P \ Pre(P 0 ) Q/ ø := (Q/ ø \{P}) {P,P } end while If T is finite, then algorithm computes coarsest quotient If T is infinite, there is no guarantee of termination 34

35 Relationships Bisimulation Strongest, more properties, easiest to check Simulation Weaker, less properties, easy to check Language Inclusion Weakest, less properties, difficult to check Complexity comparisons Bisimulation O(m á log(n)) Simulation O(m á n) Language Equivalence O(m á n ) 35

36 Outline of lectures Lecture : Thursday, September 3 Examples of hybrid systems and modeling formalisms Transitions systems, temporal logics, abstraction Discrete abstractions of hybrid systems for verification Lecture : Friday, September 4 Applications in motion planning and visibility games Hybrid to discrete Abstraction Discrete T / T T / Hybrid T Goal : Finite quotients of hybrid systems 36

37 Hybrid System Model A hybrid system H =(V, < n,x 0,F,Inv,R) consists of V is a finite set of states < n is the continuous state space X = V â < n is the state space of the hybrid system X 0 ò X is the set of initial states F(l, x) ò< n maps a diff inclusion to each discrete state Inv(l) ò< n maps invariant sets to each discrete state R ò X â X is a relation capturing discontinuous changes Define E = {(l, l 0 ) x Inv(l),x 0 Inv(l 0 )((l, x), (l 0,x 0 )) R} Init(l)={x Inv(l) (l, x) X 0 } Guard(e)={x Inv(l) x 0 Inv(l 0 )((l, x), (l 0,x 0 )) R} Reset(e, x)={x 0 Inv(l 0 ) ((l, x), (l 0,x 0 )) R} An example T = 50 y = 0 y = 0 Rod T = 550 y 0 NoRod T = 550 y 0 Rod T = 0 T 56 T = 0 T 50 T = 0 T 60 y = y = y = y = y = y = T 50 T = 50 y : = 0 T 550 T = 50 y : = 0 T 50 T = 550 y < 0 y < 0 Shutdown T = 0 T 50 y = y = true 37

38 Transitions of Hybrid Systems Hybrid systems can be embedded into transition systems H =(V, < n,x 0,F,Inv,R) T H =(Q, Q 0, Σ,,O,<á >) Q = V â < n Q 0 = X 0 Σ = E {ü} ò Q â Σ â Q Observation set and map depend on desired properties Discrete transitions (l,x )à (l e,x ) iff x Guard(e),x Reset(e, x ) Continuous (time-abstract) transitions (l,x )à (l ü,x ) iff l = l and î õ 0 x(á ):[0,î] < n x(0) = x,x(î)=x, and t [0,î] xç F(l,x(t)) and x(t) Inv(l ) Rectangular hybrid automata Rectangular sets : x 000 V i x i ø c i ø {<, ô, =, õ,>},c i Q far - 50 x 40 x = 000 approach near past x = 0-50 x x 30 x 000 x 0 x -00 exit x = 00 x' [000, ) Rectangular hybrid automata are hybrid systems where are rectangular sets Init(l),Inv(l),F(l, x),guard(e),reset(e, x) i 38

39 Multi-rate automata x = 000 l 3 ẋ = 3 x = 000 l l x = 0 ẋ = ẋ = x 000 x 0 x -00 x = 00 x' = 000 Multi-rate automata are rectangular hybrid automata where are singleton sets Init(l),F(l, x), Reset(e, x) i Timed automata x = 0 l 3 ẋ = x > 9 y : = 0 l ẋ = y > 3 l ẋ = ẏ = ẏ = ẏ = x < 0 y < 5 true x > 0 y > 0 x : = 0 y : = Timed automata are multi-rate automata where for all locations l and all variables F(l, x i )= 39

40 Initialized automata Rectangular hybrid automata are initialized if the following holds: After a discrete transition, if the differential inclusion (equation) for a variable changes, then the variable must be reset to a fixed interval Timed automata are always initialized x 000 far - 50 x 40 x = 000 approach near past x = 0-50 x x 30 x 000 x 0 x -00 exit x = 00 x' [000, ) Bad news Undecidability barriers Consider the class of uninitialized multi-rate automata with n- clock variables, and one two slope variable (with two different rates) The reachability problem is undecidable for this class No algorithmic procedure exists Model checking temporal logic formulas is also undecidable Initalization is necessary for decidability 40

41 Timed automata x = 0 l 3 ẋ = ẏ = x > 9 y : = 0 l ẋ = ẏ = y > 3 l ẋ = ẏ = x < 0 y < 5 true x > 0 y > 0 x : = 0 y : = All timed automata admit a finite bisimulation Hence CTL* model checking is decidable for timed automata Timed automata x = 0 l 3 x > 9 y : = 0 l ẋ = y > 3 l ẋ = ẏ = ẏ = y < 5 true x > 0 y > 0 x : = 0 y : = Approach : Discretize the clock dynamics using region equivalence 4

42 Region equivalence y l 3 x Equivalence classes : 6 corner points 4 open line segments 8 open regions Multi-rate automata x = 000 l 3 ẋ = 3 x = 000 l l x = 0 ẋ = ẋ = x 000 x 0 x -00 x = 00 x' = 000 All initialized multi-rate automata admit a finite bisimulation 4

43 Rectangular automata x = 000 l 3 ẋ = 3 x = 000 l l x = 0 ẋ = ẋ = x 000 x 0 x -00 x = 00 x' = 000 All initialized rectangular automata admit a finite bisimulation Rectangular automata x = 000 l 3 ẋ = 3 x = 000 l l x = 0 ẋ = ẋ = x 000 x 0 x -00 x = 00 x' = 000 All initialized rectangular automata admit a finite bisimulation 43

44 No finite bisimulation Inv y' = 0 0 x 0 y ẋ ẏ 0 x 0 y Inv x' = 0 Bisimulation algorithm never terminates but x 000 far - 50 x 40 x = 000 approach near past x = 0-50 x x 30 x 000 x 0 x -00 exit x = 00 x' [000, ) All initialized rectangular automata admit a finite language equivalence quotient which can be constructed effectively LTL model checking of rectangular automata is decidable 44

45 More complicated dynamics? Sets = {(x,0) 0 x 4} P P = {(x,0) -4 x < 0} P3 = R \(P P ) Dynamics Bisimulation algorithm never terminates!! x = 0x + x = -x + x 0x Basic problems Finite bisimulations of continuous dynamical systems Given a vector field F(x) and a finite partition of Does there exist a finite bisimulation? Can we compute it? n R 45

46 Representation issues Symbolic representation for infinite sets Rectangular sets? Semi-linear? Semi-algebraic? Operations on sets Reminder Boolean (logical) operations Can we compute Pre and Post? Is our representation closed under Pre and Post? Algorithmic termination (decidability) No guarantee for infinite transition systems We need nice alignment of sets and flows Globally finite properties First-order logic Every theory of the reals has an associated language (<,<,+, à, 0, ) Universe Relation Functions Constants Variables : x,x,x 3, TERMS : ATOMIC FORMULAS : Variables, constants, or functions of them x àx +, +, àx 3 Apply the relation and equality to the terms x + x < à, x =,x = x 3 (FIRST ORDER) FORMULAS : Atomic formulas are formulas If are formulas, then ϕ, ϕ ϕ ϕ, ϕ, xϕ, xϕ 46

47 First-order logic Useful languages (<,<,+, à, 0, ) (<,<,+, à, â, 0, ) (<,<,+, à, â,e x, 0, ) x y(x +y õ 0) xax +bx +c =0 t(t õ 0) (y = e t x) A theory of the reals is decidable if there is an algorithm which in a finite number of steps will decide whether a formula is true or not A theory of the reals admits quantifier elimination if there is an algorithm which will eliminate all quantified variables xax +bx +c =0ñb à4ac õ 0 First-order logic Theory Decidable? Quant Elim? (<,<,+, à, 0, ) (<,<,+, à, â, 0, ) (<,<,+, à, â,e x, 0, ) YES YES? YES YES NO (<,<,+,à,â,0,) Tarski s result : Every formula in Eliminate quantified variables Quantifier free formulas can be decided can be decided 47

48 O-Minimal Theories A definable set is Y = {(x,x,,x n ) < n ϕ(x,,x n )} A theory of the reals is called o-minimal if every definable subset of the reals is a finite union of points and intervals Example: Y = {(x) < p(x) õ 0} for polynomial p(x) Recent o-minimal theories (<,<,+,à,0,) Exponential flows (<,<,+,à,â,0,) (<,<,+,à,â,e x,0,) (<,<,+,à,â,fê,0,) (<,<,+,à,â,fê,e x,0,) Spirals? Related to Hilbert s 6th problem Basic answers Finite bisimulations of continuous dynamical systems Consider a vector field X and a finite partition of n R where The flow of the vector field is definable in an o-minimal theory The finite partition is definable in the same o-minimal theory Then a finite bisimulation always exists 48

49 Corollaries (<,<,+,à,0,) Consider continuous systems where Finite partition is polyhedral (semi-linear) Vector fields have linear flows (timed, multi-rate) Then a finite bisimulation exists (<,<,+,à,â,0,) Consider continuous systems where Finite partition is semialgebraic Vector fields have polynomial flows Then a finite bisimulation exists Corollaries (<,<,+,à,â,e x,0,) Consider continuous systems where Finite partition is semi-algebraic Vector fields are linear with real eigenvalues Then a finite bisimulation exists Consider continuous systems where Finite partition is sub-analytic Vector fields are linear with purely imaginary eigenvalues (<,<,+,à,â,fê,0,) Then a finite bisimulation exists 49

50 Corollaries (<,<,+,à,â,fê,e x,0,) Consider continuous systems where Finite partition is semi-algebraic Vector fields are linear with real or imginary eigenvalues Then a finite bisimulation exists x x x x x x Conditions are sufficient but tight Computability Finite bisimulations exist, but can we compute them? Bisimulation Algorithm initialize Q/ ø = {p ø q iff <q>=<p>} while P, P 0 Q/ such that 6= ò P Pre(P 0 )6= ò P 0 ø P := P Pre(P 0 ) P := P \ Pre(P 0 ) Q/ ø := (Q/ ø \{P}) {P,P } end while Need to : Check emptiness Perform boolean operations Compute Pre (or Post) Use (<,<,+,à,â,0,) 50

51 Computing reachable sets Consider a linear system dx =Ax A Q nân dt Rational entries and a semi-algebraic set Y If Then Y={y < n p(y)} Pre(Y)={x < n y tp(y) t õ 0 x = e àta y} Problem? Nilpotent matrices: Nilpotent Linear Systems n õ 0 A n =0 Then flow of linear system is polynomial e àta = Pnà (à ) k t k A k k=0 k! Therefore Pre(Y) completely definable in (<,<,+,à,â,0,) Pre(Y) ={x < n y tp(y) t õ 0 x = Pnà (à ) k t k A k y} k=0 k! 5

52 Diagonalizable, rational eigenvalues Example system : xç =x Compute all states that can reach the set Y = { y=5 } Pre(Y) ={x < y t y =5 t õ 0 x = e àt y} Let s = e àt, then Pre(Y) ={x < y t y =5 õ s õ 0 x = s y} Pre(Y) ={x < 0 <xô 5} Diagonalizable, rational eigenvalues More generally Therefore xç =Ax x(t)=te Λt T à x(0) e àta = â Pn a ijk e àõ tã k ij k= Rescale rational eigenvalues to integer eingenvalues Eliminate negative integer eigenvalues 3 Perform the substitution s = e àt Consider diagonalizable e àta =[ P linear vector fields with real, n rational eigenvalues, and let ay k= ijk be e àõ a ksemi-algebraic t ] ij set Then Pre(Y) is also semi-algebraic (and computable) 5

53 Diagonalizable, imaginary eigenvalues Procedure is similar if system is diagonalizable with purely imaginary, rational eigenvalues Equivalence is obtained by z = cos(t) z = sin(t) Suffices to compute over a period Consider diagonalizable e àta =[ Plinear n a vector k= ijk e àõ k t ] fields with real, rational eigenvalues, and let Y be a semi-algebraic ij set Then Pre(Y) is also semi-algebraic (and computable) Composing all computability results together results in Decidable problems for continuous systems Consider linear vector fields of the form F(x)=Ax where A is rational and nilpotent A is rational, diagonalizable, with rational eigenvalues A is rational, diagonalizable, with purely imaginary, rational eigenvalues Then The reachability problem between semi-algebraic sets is decidable Consider a finite semi-algebraic partition of the state space Then a finite bisimulation always, exists and can be computed 3 Consider a CTL* formula where atomic propositions denote semi-algebraic sets Then CTL* model checking is decidable 53

54 Decidable problems for hybrid systems A hybrid system H is said to be o-minimal if In each discrete state, all relevant sets and the flow of the vector field are definable in the same o-minimal theory After every discrete transition, state is reset to a constant set (forced initialization) All o-minimal hybrid systems admit a finite bisimulation CTL* model checking is decidable for the class of o-minimal hybrid systems Decidable problems for hybrid systems Consider a linear hybrid system H where For each discrete state, all relevant sets are semi-algebraic After every discrete transition, state is reset to a constant semi-algebraic set (forced initialization) 3 In each discrete location, the vector fields are of the form F(x)=Ax where A is rational and nilpotent A is rational, diagonalizable, with rational eigenvalues A is rational, diagonalizable, with purely imaginary, rational eigenvalues Then CTL* model checking is decidable for this class of linear hybrid systems The reachability problem is decidable for such linear hybrid systems 54

55 Outline of lectures Lecture : Thursday, September 3 Examples of hybrid systems and modeling formalisms Transitions systems, temporal logics, abstraction Discrete abstractions of hybrid systems for verification Bisimulations of continuous systems (if time permits) Lecture : Friday, September 4 Applications in motion planning and visibility games Controller synthesis The main (controller) synthesis equation A X B or a more relaxed version A X B Equations can be interpreted over various model types Various semantics of composition and equivalence 55

56 Discrete semantics The main (controller) synthesis equation or a more relaxed version A X B A X B Models : Finite state automata Composition : Equivalence : Order : L(A B) = L(A) I L(X) A B iff L(A) = L(X) A B iff L(A) L(X) Continuous semantics The main (controller) synthesis equation or a more relaxed version A X B A X B Models : Control systems Composition : Feedback composition Equivalence : Asymptotic equivalence Order : Not much 56

57 Notions of equivalence Language equivalence for finite state systems has served us well as a notion of system equivalence for systems which are NOT interacting with other systems Asymptotic equivalence for control systems has served us well as a notion of system equivalence for systems which are NOT interacting with other systems Challenge : Reactive notions of system equivalence Two coffee machines* coffee tea 5c 5c coffee 5c 5c tea 5c tea (5c) 5c coffee (50c) tea (5c) 5c coffee (50c) S S *R Milner, Communicating and mobile systems : the pi-calculus, Cambridge University Press,

58 Two coffee machines coffee tea 5c coffee 5c tea 5c L(S ) = L(S )! 5c 5c S S Nondeterminism! Consider two transition systems Simulation Relations S = ( Q, i,σ, S = ( Q, i,σ, over the same set of labels and observations A relation R Q Q is called a simulation relation if it Respects initial states (i,i ) R ) ) Respects transitions ' q σ q R R ' q σ q If a simulation relation exists, then S S 58

59 Game theoretic semantics Simulation is a matching game between the systems coffee tea 5c coffee 5c tea 5c 5c 5c S S The transition systems are bisimilar iff S S and S S Relationships Simulation CTL Bisimulation CTL * Language Inclusion Reachability Language Equivalence LTL If S S then L(S ) L(S ) If S S then L(S ) = L(S ) Converse statements are true for deterministic systems 59

60 Bi-simulations of control systems* (t) u x (t) = A x (t) + B u (t) + E d (t) y (t) = C x (t) S (t) y L(S ) = {(u (t), y (t)) x (t), d (t) satisfying equations} (t) u x (t) = A x (t) + B u (t) + E d (t) y (t) = C x (t) S (t) y L(S ) = {(u (t), y (t)) x (t), d (t) satisfying equations} *GJ Pappas, G Lafferriere, and S Sastry, Hierarchically Consistent Control Systems, IEEE TAC, June 000 *GJ Pappas, Bisimilar linear systems, Automatica, 003 *P Tabuada and GJ Pappas, Bisimilar control affine systems, Systems and Control Letters, 004 *A van der Schaft, Bisimulations of dynamical systems, Hybrid Systems : Computation and Control, 004 Non-deterministic dynamics x (t) = A x (t) + E d (t) y (t) y (t) = C x (t) S x (t) = A x (t) + E d (t) (t) y (t) = C x (t) S y A relation R is a simulation relation if for all d (t) d (t) x(0) x (t) R d (t) d (t) R x(0) x (t) C x (t) = Cx (t) R is a bi-simulation if converse is true as well 60

61 H-related systems* x (t) = A x (t) + E d (t) y (t) y (t) = C x (t) S x (t) = A x (t) + E d (t) (t) y (t) = C x (t) S y A linear relation (x,hx) is a simulation relation iff for all d H(A + S x + Ed ) = AHx Ed C = CH simulates or is H - related to S d *GJ Pappas, G Lafferriere, and S Sastry, Hierarchically Consistent Control Systems, IEEE TAC, June 000 Deterministic systems x (t) = A x (t) y (t) y (t) = C x (t) S x (t) = A x (t) (t) y (t) = C x (t) S y A linear relation (x,hx) is a simulation relation iff HA = AH C H C = Restrictive! 6

62 Advantage of non-determinism x (t) = A x (t) + E d (t) y (t) y (t) = C x (t) S? S (t) y Given surjective map x = can we construct S simulating? Hx A = HAH C = CH + + E = [HE HAKer(H)] if Ker(H) Ker(C ) *GJ Pappas, G Lafferriere, and S Sastry, Hierarchically Consistent Control Systems, IEEE TAC, June 000 S Two remarks Abstraction is always possible in the class of nondeterministic systems The more you abstract, the more non-determinism you generate 6

63 Bi-simulation is finer x (t) = x (t) x (t) = d (t) y (t) = x (t) z = x z (t) y (t) = d (t) = z (t) S L(S ) = L(S ) S S S S S S When is (x,hx) a bisimulation relation? S Bisimilar linear systems* x (t) = A x (t) + E d (t) y (t) y (t) = C x (t) S x (t) = A x (t) + E d (t) (t) y (t) = C x (t) S y S S Let be H-related to Then the relation (x,hx) is a bi-simulation relation if and only if A Ker(H) Ker(H) + R(E ) *GJ Pappas, Bisimilar linear systems,automatica, 003 *A van der Schaft, Bisimulations of dynamical systems, Hybrid Systems : Computation and Control,

64 Coarsest Bisimulation Find map x = Hx which abstracts as much as possible Thus Ker(H) must be maximal but also must Preserve observations Ker(H) Ker(C ) Preserve transitions A Ker(H) Ker(H) + R(E ) This lead to the well known algorithm Coarsest Bisimulation Algorithm Maximal controlled invariant subspace computation V0 = Ker(C ) Vk + = Vk A (Vk + R(E )) Then V * = V n is the maximal desired subspace Once V* is computed, then pick map x = Hx Ker(H)=V* and construct the H-related system such that 64

65 Similar relationships Simulation Bisimulation Language Inclusion Language Equivalence If S S then L(S ) L(S ) If S S then L(S ) = L(S ) If S S then H(Reach(S,X)) Reach(S,H(X)) Extensions Bi-simulations of nonlinear systems GJ Pappas and SSimic, Consistent abstractions of affine control systems, IEEE TAC 00 P Tabuada and GJ Pappas, Abstractions of Hamiltonian systems, Automatica, 003 P Tabuada and GJ Pappas, Bisimilar control affine systems, Systems and control letters, 003 K Grasee, Admissibility of trajectories in Phi-related systems, MCSS 003 A van der Schaft, Bisimulations of dynamical systems, Hybrid Systems : Computation and Control, 004 Unifying discrete and continuous notions E> Hagverdi, P Tabuada, GJ Pappas, Bisimulations of discrete, continuous, and hybrid systems, Theoretical Computer Science, Submitted AAJulius, AJ van der Schaft, A behavioral framework for compositionality, MTNS 004 Extensions to hybrid systems P Tabuada, GJ Pappas, P Lima, Composing abstractions of hybrid systems, Discrete even dynamic systems, 004 A van der Schaft, Bisimulations of dynamical systems, Hybrid Systems : Computation and Control,

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

An introduction to hybrid systems theory and applications. Thanks to. Goals for this mini-course. Acknowledgments. Some references

An introduction to hybrid systems theory and applications. Thanks to. Goals for this mini-course. Acknowledgments. Some references An introduction to hybrid systems theory and applications Thanks to School Organizers Maurice Heemels Bart De Schutter George J Pappas Departments of ESE and CIS University of Pennsylvania pappasg@eeupennedu

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

ESE 601: Hybrid Systems. Instructor: Agung Julius Teaching assistant: Ali Ahmadzadeh

ESE 601: Hybrid Systems. Instructor: Agung Julius Teaching assistant: Ali Ahmadzadeh ESE 601: Hybrid Systems Instructor: Agung Julius Teaching assistant: Ali Ahmadzadeh Schedule Class schedule : Monday & Wednesday 1500 1630 Towne 305 Office hours : to be discussed (3 hrs/week) Emails:

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

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

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

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

Georgios E. Fainekos, Savvas G. Loizou and George J. Pappas. GRASP Lab Departments of CIS, MEAM and ESE University of Pennsylvania

Georgios E. Fainekos, Savvas G. Loizou and George J. Pappas. GRASP Lab Departments of CIS, MEAM and ESE University of Pennsylvania Georgios E. Fainekos, Savvas G. Loizou and George J. Pappas CDC 2006 Math free Presentation! Lab Departments of CIS, MEAM and ESE University of Pennsylvania Motivation Motion Planning 60 50 40 π 0 π 4

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

Linear Time Logic Control of Discrete-Time Linear Systems

Linear Time Logic Control of Discrete-Time Linear Systems University of Pennsylvania ScholarlyCommons Departmental Papers (ESE) Department of Electrical & Systems Engineering December 2006 Linear Time Logic Control of Discrete-Time Linear Systems Paulo Tabuada

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

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

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

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

A Compositional Approach to Bisimulation of Arenas of Finite State Machines

A Compositional Approach to Bisimulation of Arenas of Finite State Machines A Compositional Approach to Bisimulation of Arenas of Finite State Machines Giordano Pola, Maria D. Di Benedetto and Elena De Santis Department of Electrical and Information Engineering, Center of Excellence

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

Equivalence of dynamical systems by bisimulation

Equivalence of dynamical systems by bisimulation Equivalence of dynamical systems by bisimulation Arjan van der Schaft Department of Applied Mathematics, University of Twente P.O. Box 217, 75 AE Enschede, The Netherlands Phone +31-53-4893449, Fax +31-53-48938

More information

The algorithmic analysis of hybrid system

The algorithmic analysis of hybrid system The algorithmic analysis of hybrid system Authors: R.Alur, C. Courcoubetis etc. Course teacher: Prof. Ugo Buy Xin Li, Huiyong Xiao Nov. 13, 2002 Summary What s a hybrid system? Definition of Hybrid Automaton

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

Symbolic sub-systems and symbolic control of linear systems

Symbolic sub-systems and symbolic control of linear systems Proceedings of the 44th IEEE Conference on Decision and Control, and the European Control Conference 2005 Seville, Spain, December 12-15, 2005 MoA01.4 Symbolic sub-systems and symbolic control of linear

More information

Model checking LTL over controllable linear systems is decidable

Model checking LTL over controllable linear systems is decidable University of Pennsylvania ScholarlyCommons Departmental Papers (ESE) Department of Electrical & Systems Engineering April 2003 Model checking LTL over controllable linear systems is decidable Paulo Tabuada

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

University of Groningen. Bisimulation Theory for Switching Linear Systems Pola, Giordano; van der Schaft, Abraham; Benedetto, Maria D.

University of Groningen. Bisimulation Theory for Switching Linear Systems Pola, Giordano; van der Schaft, Abraham; Benedetto, Maria D. University of Groningen Bisimulation Theory for Switching Linear Systems Pola Giordano; van der Schaft Abraham; Benedetto Maria D Di Published in: Proceedings of the 43rd IEEE Conference on Decision and

More information

Lecture 6: Reachability Analysis of Timed and Hybrid Automata

Lecture 6: Reachability Analysis of Timed and Hybrid Automata University of Illinois at Urbana-Champaign Lecture 6: Reachability Analysis of Timed and Hybrid Automata Sayan Mitra Special Classes of Hybrid Automata Timed Automata ß Rectangular Initialized HA Rectangular

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

Hierarchical Synthesis of Hybrid Controllers from Temporal Logic Specifications

Hierarchical Synthesis of Hybrid Controllers from Temporal Logic Specifications Hierarchical Synthesis of Hybrid Controllers from Temporal Logic Specifications Georgios E. Fainekos 1, Antoine Girard 2, and George J. Pappas 3 1 Department of Computer and Information Science, Univ.

More information

On simulations and bisimulations of general flow systems

On simulations and bisimulations of general flow systems On simulations and bisimulations of general flow systems Jen Davoren Department of Electrical & Electronic Engineering The University of Melbourne, AUSTRALIA and Paulo Tabuada Department of Electrical

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

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

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

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

Geometric Programming Relaxations for Linear System Reachability

Geometric Programming Relaxations for Linear System Reachability Geometric Programg Relaxations for Linear System Reachability Hakan Yazarel and George J. Pappas Abstract One of the main obstacles in the safety analysis of continuous and hybrid systems has been the

More information

Algorithmic Verification of Stability of Hybrid Systems

Algorithmic Verification of Stability of Hybrid Systems Algorithmic Verification of Stability of Hybrid Systems Pavithra Prabhakar Kansas State University University of Kansas February 24, 2017 1 Cyber-Physical Systems (CPS) Systems in which software "cyber"

More information

Omid Shakerniat George J. Pappas4 Shankar Sastryt

Omid Shakerniat George J. Pappas4 Shankar Sastryt Proceedings of the 39 IEEE Conference on Decision and Control Sydney, Australia December, 2000 Semidecidable Controller Synthesis for Classes of Linear Hybrid Systems Omid Shakerniat George J. Pappas4

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

Automata-Theoretic Model Checking of Reactive Systems

Automata-Theoretic Model Checking of Reactive Systems Automata-Theoretic Model Checking of Reactive Systems Radu Iosif Verimag/CNRS (Grenoble, France) Thanks to Tom Henzinger (IST, Austria), Barbara Jobstmann (CNRS, Grenoble) and Doron Peled (Bar-Ilan University,

More information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

Simulation and Bisimulation over Multiple Time Scales in a Behavioral Setting

Simulation and Bisimulation over Multiple Time Scales in a Behavioral Setting 2014 22nd Mediterranean Conference on Control and Automation (MED) University of Palermo. June 16-19, 2014. Palermo, Italy Simulation and Bisimulation over Multiple ime Scales in a Behavioral Setting Anne-Kathrin

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

A brief history of model checking. Ken McMillan Cadence Berkeley Labs

A brief history of model checking. Ken McMillan Cadence Berkeley Labs A brief history of model checking Ken McMillan Cadence Berkeley Labs mcmillan@cadence.com Outline Part I -- Introduction to model checking Automatic formal verification of finite-state systems Applications

More information

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints Chapter 10 Timed Automata In the previous chapter, we have discussed a temporal logic where time was a discrete entities. A time unit was one application of the transition relation of an LTS. We could

More information

Hierarchical Hybrid Symbolic Robot Motion Planning and Control

Hierarchical Hybrid Symbolic Robot Motion Planning and Control Asian Journal of Control, Vol. 00, No. 0, pp. 1 11, Month 2008 Published online in Wiley InterScience (www.interscience.wiley.com) DOI: 10.1002/asjc.0000 Hierarchical Hybrid Symbolic Robot Motion Planning

More information

Hierarchical Control of Piecewise Linear Hybrid Dynamical Systems Based on Discrete Abstractions Λ

Hierarchical Control of Piecewise Linear Hybrid Dynamical Systems Based on Discrete Abstractions Λ Hierarchical Control of Piecewise Linear Hybrid Dynamical Systems Based on Discrete Abstractions Λ Xenofon D. Koutsoukos Xerox Palo Alto Research Center 3333 Coyote Hill Road Palo Alto, CA 94304, USA Tel.

More information

Time-Constrained Temporal Logic Control of Multi-Affine Systems

Time-Constrained Temporal Logic Control of Multi-Affine Systems Time-Constrained Temporal Logic Control of Multi-Affine Systems Ebru Aydin Gol Calin Belta Boston University, Boston, MA 02215, USA e-mail: {ebru,cbelta}@bu.edu Abstract: We consider the problem of controlling

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

Safety and Liveness Properties

Safety and Liveness Properties Safety and Liveness Properties Lecture #6 of Model Checking Joost-Pieter Katoen Lehrstuhl 2: Software Modeling and Verification E-mail: katoen@cs.rwth-aachen.de November 5, 2008 c JPK Overview Lecture

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

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

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

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 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

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

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

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

On o-minimal hybrid systems

On o-minimal hybrid systems "!$#&%('*)+#-,(.0/0!2143(5768'(9(:=*?*?*@BADCFE GIH JLKNMPOQHOQMIRS TVUXWZY[O]\ ^_Ù ^_abcmd^ V%e3B:`,efLgh5i)j%&,lkl!nmh%(5i)+fo6Q)p,('q)p#e%&,r9-sm"t$uB5])+#v/w) x*) y257!m%(5]) fz6o3[1(%e!ch573[!lfz6{.!25

More information

Supervisory Control of Hybrid Systems

Supervisory Control of Hybrid Systems X.D. Koutsoukos, P.J. Antsaklis, J.A. Stiver and M.D. Lemmon, "Supervisory Control of Hybrid Systems, in Special Issue on Hybrid Systems: Theory and Applications, Proceedings of the IEEE, P.J. Antsaklis,

More information

Reasoning about Strategies: From module checking to strategy logic

Reasoning about Strategies: From module checking to strategy logic Reasoning about Strategies: From module checking to strategy logic based on joint works with Fabio Mogavero, Giuseppe Perelli, Luigi Sauro, and Moshe Y. Vardi Luxembourg September 23, 2013 Reasoning about

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

Quotients of Fully Nonlinear Control Systems

Quotients of Fully Nonlinear Control Systems Quotients of Fully Nonlinear Control Systems Paulo Tabuada and George J. Pappas Department of Electrical and Systems Engineering University of Pennsylvania Philadelphia, PA 19104 {tabuadap,pappasg}@seas.upenn.edu

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

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

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

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the Sérgio Campos, Edmund Why? Advantages: No proofs Fast Counter-examples No problem with partial specifications can easily express many concurrency properties Main Disadvantage: State Explosion Problem Too

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

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1 Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1 Borzoo Bonakdarpour and Sandeep S. Kulkarni Software Engineering and Network Systems Laboratory, Department of Computer Science

More information

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking Temporal & Modal Logic E. Allen Emerson Presenter: Aly Farahat 2/12/2009 CS5090 1 Acronyms TL: Temporal Logic BTL: Branching-time Logic LTL: Linear-Time Logic CTL: Computation Tree Logic PLTL: Propositional

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

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

Property Checking of Safety- Critical Systems Mathematical Foundations and Concrete Algorithms

Property Checking of Safety- Critical Systems Mathematical Foundations and Concrete Algorithms Property Checking of Safety- Critical Systems Mathematical Foundations and Concrete Algorithms Wen-ling Huang and Jan Peleska University of Bremen {huang,jp}@cs.uni-bremen.de MBT-Paradigm Model Is a partial

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

Chapter 6: Computation Tree Logic

Chapter 6: Computation Tree Logic Chapter 6: Computation Tree Logic Prof. Ali Movaghar Verification of Reactive Systems Outline We introduce Computation Tree Logic (CTL), a branching temporal logic for specifying system properties. A comparison

More information

DRAFT: March 24, 2006

DRAFT: March 24, 2006 SYMBOLIC MODELS FOR CONTROL SYSTEMS PAULO TABUADA Abstract. In this paper we provide a bridge between the infinite state models used in control theory to describe the evolution of continuous physical processes

More information

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras Introduction to Model Checking Debdeep Mukhopadhyay IIT Madras How good can you fight bugs? Comprising of three parts Formal Verification techniques consist of three parts: 1. A framework for modeling

More information

Modeling and Analysis of Hybrid Systems

Modeling and Analysis of Hybrid Systems Modeling and Analysis of Hybrid Systems Algorithmic analysis for linear hybrid systems Prof. Dr. Erika Ábrahám Informatik 2 - Theory of Hybrid Systems RWTH Aachen University SS 2015 Ábrahám - Hybrid Systems

More information

Verification of temporal properties on hybrid automata by simulation relations

Verification of temporal properties on hybrid automata by simulation relations Proceedings of the 46th IEEE Conference on Decision and Control New Orleans, LA, USA, Dec. 2-4, 2007 Verification of temporal properties on hybrid automata by simulation relations A. D Innocenzo, A.A.

More information

Recent results on Timed Systems

Recent results on Timed Systems Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS berard@lamsade.dauphine.fr Based on joint work with F. Cassez, S. Haddad, D.

More information

V&V MURI Overview Caltech, October 2008

V&V MURI Overview Caltech, October 2008 V&V MURI Overview Caltech, October 2008 Pablo A. Parrilo Laboratory for Information and Decision Systems Massachusetts Institute of Technology Goals!! Specification, design, and certification!! Coherent

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

Overview. overview / 357

Overview. overview / 357 Overview overview6.1 Introduction Modelling parallel systems Linear Time Properties Regular Properties Linear Temporal Logic (LTL) Computation Tree Logic syntax and semantics of CTL expressiveness of CTL

More information

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA Time(d) Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Time and Petri Nets 2 Time Petri Net: Syntax and Semantic

More information

Guest lecturer: Prof. Mark Reynolds, The University of Western Australia

Guest lecturer: Prof. Mark Reynolds, The University of Western Australia Università degli studi di Udine Corso per il dottorato di ricerca: Temporal Logics: Satisfiability Checking, Model Checking, and Synthesis January 2017 Lecture 01, Part 02: Temporal Logics Guest lecturer:

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

Temporal Logic Model Checking

Temporal Logic Model Checking 18 Feb, 2009 Thomas Wahl, Oxford University Temporal Logic Model Checking 1 Temporal Logic Model Checking Thomas Wahl Computing Laboratory, Oxford University 18 Feb, 2009 Thomas Wahl, Oxford University

More information

Approximate Hierarchies of Linear Control Systems

Approximate Hierarchies of Linear Control Systems Approximate Hierarchies of Linear Control Systems Antoine Girard and George J. Pappas Abstract Recently, a hierarchical control approach based on the notion of approximate simulation relations has been

More information

Hierarchically Consistent Control Systems

Hierarchically Consistent Control Systems 1144 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 45, NO. 6, JUNE 2000 Hierarchically Consistent Control Systems George J. Pappas, Member, IEEE, Gerardo Lafferriere, Shankar Sastry, Fellow, IEEE Abstract

More information

THE objective of this paper is to synthesize switching. Synthesis of Reactive Switching Protocols from Temporal Logic Specifications

THE objective of this paper is to synthesize switching. Synthesis of Reactive Switching Protocols from Temporal Logic Specifications Synthesis of Reactive Switching Protocols from Temporal Logic Specifications Jun Liu, Member, IEEE, Necmiye Ozay, Member, IEEE, Ufuk Topcu, Member, IEEE, and Richard M Murray, Fellow, IEEE Abstract We

More information

Approximately bisimilar symbolic models for nonlinear control systems

Approximately bisimilar symbolic models for nonlinear control systems Approximately bisimilar symbolic models for nonlinear control systems Giordano Pola a, Antoine Girard b, Paulo Tabuada a a Department of Electrical Engineering, University of California at Los Angeles,

More information

Diagnosis of Dense-Time Systems using Digital-Clocks

Diagnosis of Dense-Time Systems using Digital-Clocks Diagnosis of Dense-Time Systems using Digital-Clocks Shengbing Jiang GM R&D and Planning Mail Code 480-106-390 Warren, MI 48090-9055 Email: shengbing.jiang@gm.com Ratnesh Kumar Dept. of Elec. & Comp. Eng.

More information

Alternating-Time Temporal Logic

Alternating-Time Temporal Logic Alternating-Time Temporal Logic R.Alur, T.Henzinger, O.Kupferman Rafael H. Bordini School of Informatics PUCRS R.Bordini@pucrs.br Logic Club 5th of September, 2013 ATL All the material in this presentation

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

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

2. Elements of the Theory of Computation, Lewis and Papadimitrou, Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping

More information

Verification of Polynomial Interrupt Timed Automata

Verification of Polynomial Interrupt Timed Automata Verification of Polynomial Interrupt Timed Automata Béatrice Bérard 1, Serge Haddad 2, Claudine Picaronny 2, Mohab Safey El Din 1, Mathieu Sassolas 3 1 Université P. & M. Curie, LIP6 2 ENS Cachan, LSV

More information

arxiv: v1 [cs.sy] 26 Mar 2012

arxiv: v1 [cs.sy] 26 Mar 2012 Time-Constrained Temporal Logic Control of Multi-Affine Systems Ebru Aydin Gol Calin Belta Boston University, Boston, MA 02215, USA e-mail: {ebru,cbelta}@bu.edu arxiv:1203.5683v1 [cs.sy] 26 Mar 2012 Abstract:

More information

Partial model checking via abstract interpretation

Partial model checking via abstract interpretation Partial model checking via abstract interpretation N. De Francesco, G. Lettieri, L. Martini, G. Vaglini Università di Pisa, Dipartimento di Ingegneria dell Informazione, sez. Informatica, Via Diotisalvi

More information

arxiv:math/ v1 [math.lo] 5 Mar 2007

arxiv:math/ v1 [math.lo] 5 Mar 2007 Topological Semantics and Decidability Dmitry Sustretov arxiv:math/0703106v1 [math.lo] 5 Mar 2007 March 6, 2008 Abstract It is well-known that the basic modal logic of all topological spaces is S4. However,

More information

Design of Distributed Systems Melinda Tóth, Zoltán Horváth

Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Publication date 2014 Copyright 2014 Melinda Tóth, Zoltán Horváth Supported by TÁMOP-412A/1-11/1-2011-0052

More information

Bisimulation relations for dynamical, control, and hybrid systems

Bisimulation relations for dynamical, control, and hybrid systems University of Pennsylvania ScholarlyCommons Departmental Papers (ESE) Department of Electrical & Systems Engineering September 2005 Bisimulation relations for dynamical, control, and hybrid systems Esfandiar

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