Formal Verification and Automated Generation of Invariant Sets

Size: px
Start display at page:

Download "Formal Verification and Automated Generation of Invariant Sets"

Transcription

1 Formal Verification and Automated Generation of Invariant Sets Khalil Ghorbal Carnegie Mellon University Joint work with Andrew Sogokon and André Platzer Toulouse, France June, 2015 K. Ghorbal (CMU, Pittsburgh) 1 VORACE Workshop 1 / 44

2 Cyber-Physical Systems K. Ghorbal (CMU, Pittsburgh) 2 VORACE Workshop 2 / 44

3 Hybrid Systems Init [ ( Sensing: Control: Plant: ) ] Safety Evolution read data from sensors actuate evolve Continuous time Ordinary Differential Equations (ODE) K. Ghorbal (CMU, Pittsburgh) 3 VORACE Workshop 3 / 44

4 Qualitative Analysis of Dynamical Systems ( x 1, ẋ 2 ) = (x 1 x1 3 x 2 x 1 x2 2, x 1 + x 2 x1 2 x 2 x2 3 ) Algebraic - Invariant Equation The solution for x 0 = (1, 0) respects x 1 (t) 2 + x 2 (t) 2 1 = 0 t K. Ghorbal (CMU, Pittsburgh) 4 VORACE Workshop 4 / 44

5 Why Are Invariants Important? Numerical Integration & Qualitative Analysis More precise numerical integration (Geometrical Integration) Better understanding of the dynamics without solving the problem (some invariants represent conserved quantities like momentum or energy) Formal Verification Formal verification for dynamical and hybrid systems Static Analysis (as templates to statically analyze an implementation) Safety, Reachability, Stability K. Ghorbal (CMU, Pittsburgh) 5 VORACE Workshop 5 / 44

6 Problem I. Checking Invariance of Algebraic Equations Given ẋ = ( 2x 2, 2x 1 3x 2 1 ), p(x 0) = 0, is p(x(t)) = 0 for all t? p(x 1, x 2 ) = x x3 1 x2 2 p(x 1, x 2 ) = x 1 x 2 2 K. Ghorbal (CMU, Pittsburgh) 6 VORACE Workshop 6 / 44

7 Problem I. Checking Invariance of Algebraic Equations Given ẋ = ( 2x 2, 2x 1 3x 2 1 ), p(x 0) = 0, is p(x(t)) = 0 for all t? p(x 1, x 2 ) = x x3 1 x2 2 p(x 1, x 2 ) = x 1 x 2 2 K. Ghorbal (CMU, Pittsburgh) 6 VORACE Workshop 6 / 44

8 Problem II. Generate Algebraic Invariant Equations Given ẋ = ( x 1 + 2x 2 1 x 2, x 2 ), how to generate p such that p(x(t)) = 0? K. Ghorbal (CMU, Pittsburgh) 7 VORACE Workshop 7 / 44

9 Problem II. Generate Algebraic Invariant Equations Given ẋ = ( x 1 + 2x 2 1 x 2, x 2 ), how to generate p such that p(x(t)) = 0? p (x1 (0),x 2 (0))(x 1, x 2 ) = (x 2 (0) x 1 (0)x 2 (0) 2 )x 1 x 1 (0)(x 2 x 1 x 2 2 ) = 0 K. Ghorbal (CMU, Pittsburgh) 7 VORACE Workshop 7 / 44

10 Problem II. Generate Algebraic Invariant Equations Given ẋ = ( x 1 + 2x 2 1 x 2, x 2 ), how to generate p such that p(x(t)) = 0? p (x1 (0),x 2 (0))(x 1, x 2 ) = (x 2 (0) x 1 (0)x 2 (0) 2 )x 1 x 1 (0)(x 2 x 1 x 2 2 ) = 0 x 1 x 2 x 1 x 2 2 is an invariant rational function. K. Ghorbal (CMU, Pittsburgh) 7 VORACE Workshop 7 / 44

11 Definitions Gradient p := ( p x 1,..., p x n ) Lie Derivation D f (p) := dp(x(t)) dt = p, f (ẋ = f) Singular Locus SL(p) := {x R n p = 0} = { x R n p = 0 p } = 0 x 1 x n x V R (p) (p(x) = 0) is singular if x SL(p), regular otherwise. K. Ghorbal (CMU, Pittsburgh) 8 VORACE Workshop 8 / 44

12 Outline 1 Context 2 The Checking Problem 3 The Generation Problem 4 Future Avenues K. Ghorbal (CMU, Pittsburgh) 8 VORACE Workshop 8 / 44

13 Notation for S R n is invariant for f S [ẋ = f]s The set S is an invariant set for f Starting with x 0 s.t x 0 S: for all t > 0, x(t) solution of the IVP (ẋ = f, x(0) = x 0 ) is in S N.B. Treating ẋ = f as a program, one can think of the top formula as representing the Hoare triple {S} ẋ = f {S}. K. Ghorbal (CMU, Pittsburgh) 9 VORACE Workshop 9 / 44

14 Notation for S R n is invariant for f S [ẋ = f]s The set S is an invariant set for f Starting with x 0 s.t x 0 S: for all t > 0, x(t) solution of the IVP (ẋ = f, x(0) = x 0 ) is in S N.B. Treating ẋ = f as a program, one can think of the top formula as representing the Hoare triple {S} ẋ = f {S}. K. Ghorbal (CMU, Pittsburgh) 9 VORACE Workshop 9 / 44

15 Notation for S R n is invariant for f S [ẋ = f]s The set S is an invariant set for f Starting with x 0 s.t x 0 S: for all t > 0, x(t) solution of the IVP (ẋ = f, x(0) = x 0 ) is in S N.B. Treating ẋ = f as a program, one can think of the top formula as representing the Hoare triple {S} ẋ = f {S}. K. Ghorbal (CMU, Pittsburgh) 9 VORACE Workshop 9 / 44

16 Lie s Criterion [Platzer, ITP 2012] Necessary and sufficient for smooth invariant manifolds (Lie, 1893). (Lie) p = 0 (D f(p) = 0 p 0) (p = 0) [ẋ = f] (p = 0) x 2 x 2 x 1 p = 0 non-smooth x 1 p = 0 smooth K. Ghorbal (CMU, Pittsburgh) 10 VORACE Workshop 10 / 44

17 Extensions of Lie Contribution Handling certain singularities (points where p = 0) No flow in the problem variables at singularities on the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 f = 0 )) (p = 0) [ẋ = f] (p = 0) Flow at singularities on the variety is directed into the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 p(x + λf) = 0) ) (p = 0) [ẋ = f] (p = 0). K. Ghorbal (CMU, Pittsburgh) 11 VORACE Workshop 11 / 44

18 Extensions of Lie Contribution Handling certain singularities (points where p = 0) No flow in the problem variables at singularities on the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 f = 0 )) (p = 0) [ẋ = f] (p = 0) Flow at singularities on the variety is directed into the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 p(x + λf) = 0) ) (p = 0) [ẋ = f] (p = 0). K. Ghorbal (CMU, Pittsburgh) 11 VORACE Workshop 11 / 44

19 Extensions of Lie Contribution Handling certain singularities (points where p = 0) No flow in the problem variables at singularities on the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 f = 0 )) (p = 0) [ẋ = f] (p = 0) Flow at singularities on the variety is directed into the variety (Lie ) p = 0 ( D f (p) = 0 ( p = 0 p(x + λf) = 0) ) (p = 0) [ẋ = f] (p = 0). K. Ghorbal (CMU, Pittsburgh) 11 VORACE Workshop 11 / 44

20 Extensions of Lie: Lie Handling certain singularities (points where p = 0) Contribution x 2 x 1 Lie Lie Lie K. Ghorbal (CMU, Pittsburgh) 12 VORACE Workshop 12 / 44

21 Extensions of Lie: Lie Contribution Handling certain singularities (points where p = 0) Lie Lie Lie K. Ghorbal (CMU, Pittsburgh) 13 VORACE Workshop 13 / 44

22 First Integral (FI) [Platzer, J. Log. Comput. 2010] Necessary and sufficient for conserved quantities (integrals of motion). D f (p) = 0 (FI) (p = 0) [ẋ = f] (p = 0) x 2 x 2 x 1 p conserved x 1 p not conserved K. Ghorbal (CMU, Pittsburgh) 14 VORACE Workshop 14 / 44

23 Extensions of FI [Sankaranarayanan et al., FMSD 2008] Continuous consecutions (C-c) and polynomial consecutions (P-c) are Darboux polynomials (Darboux, 1878). λ R, D f (p) = λp (C-c) (p = 0) [ẋ = f] (p = 0), (P-c) λ R[x], D f(p) = λp (p = 0) [ẋ = f] (p = 0). K. Ghorbal (CMU, Pittsburgh) 15 VORACE Workshop 15 / 44

24 Extensions of FI [Sankaranarayanan et al., FMSD 2008] ( ) f = (3 x1 2 4, x2 2 + x 1x 2 + 3), p = x x 1x x x 1x 2 + x , D f (p) = (6x 1 4x 2) p }{{} λ x 2 x 1 FI C-c P-c K. Ghorbal (CMU, Pittsburgh) 16 VORACE Workshop 16 / 44

25 Differential Radical Invariants (DRI) [G. et al., TACAS 2014, SAS 2014] Necessary and sufficient for invariant varieties. (DRI) p = 0 N 1 i=0 D(i) f (p) = 0 (p = 0) [ẋ = f] (p = 0) x 2 x 2 x 2 x 1 x 1 x 1 K. Ghorbal (CMU, Pittsburgh) 17 VORACE Workshop 17 / 44

26 Order Relation A B (R A ) (R B ) S A : T A [ẋ = f]s A : T A S B : T B [ẋ = f]s B : T B Partial Order R A R B if and only if A = B and T A is a subtype of T B. R A R B (R A R B and R A R B ) Equivalence. R A R B (R A R B and R A R B ) Strict increase of deductive power K. Ghorbal (CMU, Pittsburgh) 18 VORACE Workshop 18 / 44

27 Algebraic Sets Deductive Hierarchy DRI Lie Lie Lie P-c C-c FI R A R B means everything proved by R A can be proved by R B. no link means R A and R B are incomparable. K. Ghorbal (CMU, Pittsburgh) 19 VORACE Workshop 19 / 44

28 Algebraic Sets Deductive Hierarchy DRI Lie P-c Lie C-c Lie-based Lie FI Darboux-based R A R B means everything proved by R A can be proved by R B. no link means R A and R B are incomparable. K. Ghorbal (CMU, Pittsburgh) 19 VORACE Workshop 19 / 44

29 Square-free Reduction Square-free reduction of a polynomial h = h α 1 1 hα 2 2 hα k k Geometrically V R (h) R V R (SF(h)). SF automated pre-processing step in computer algebra systems Is it a good idea to apply SF for invariance checking? K. Ghorbal (CMU, Pittsburgh) 20 VORACE Workshop 20 / 44

30 Square-free Reduction Square-free reduction of a polynomial SF(h) = h α 1 1 h α 2 2 h α k k Geometrically V R (h) R V R (SF(h)). SF automated pre-processing step in computer algebra systems Is it a good idea to apply SF for invariance checking? K. Ghorbal (CMU, Pittsburgh) 20 VORACE Workshop 20 / 44

31 Square-free Reduction DRI Lie Lie Lie P-c C-c FI K. Ghorbal (CMU, Pittsburgh) 21 VORACE Workshop 21 / 44

32 Square-free Reduction DRI Lie Lie Lie P-c C-c FI SF C-c SF FI K. Ghorbal (CMU, Pittsburgh) 21 VORACE Workshop 21 / 44

33 Square-free Reduction DRI Lie Lie Lie P-c C-c FI SF P-c SF C-c SF FI K. Ghorbal (CMU, Pittsburgh) 21 VORACE Workshop 21 / 44

34 Square-free Reduction DRI SF Lie Lie P-c SF P-c SF Lie Lie C-c SF C-c SF Lie Lie FI SF FI K. Ghorbal (CMU, Pittsburgh) 21 VORACE Workshop 21 / 44

35 Square-free Reduction SF Lie Lie DRI SF DRI P-c SF P-c SF Lie Lie C-c SF C-c SF Lie Lie FI SF FI K. Ghorbal (CMU, Pittsburgh) 21 VORACE Workshop 21 / 44

36 Semi-algebraic Sets So far we have only seen algebraic sets: p = 0 For i p i = 0, we can rewrite using i p2 i = 0 We can do better [SAS 14] What about semi-algebraic sets: Sets of the form p 0 Closed Sets Arbitrary Sets: boolean formulae with polynomial equalities and inequalities K. Ghorbal (CMU, Pittsburgh) 22 VORACE Workshop 22 / 44

37 The Nagumo Theorem Sub-tangent Vector A vector v R n is sub-tangential to a set S R n at x S if lim inf λ 0 + dist (S, x + λv) λ = 0. (dist(s, x) inf y S x y 1) Contingent Cone K x (S): the set of all sub-tangent vectors to a set S at x S. Nagumo s Theorem A closed set S R n is positively invariant under the flow of the system if and only if f(x) K x (S) for all x bdr(s) (boundary of S). K. Ghorbal (CMU, Pittsburgh) 23 VORACE Workshop 23 / 44

38 Contingent Cone of Boolean Formulae K x(s 1) K x(s 2) K x(s 1 S 2) x 2 x 2 x 1 x 2 + x 2 1 = 0 x 2 x 2 1 = 0 ẋ 1 = 1, ẋ 2 = 0 x 1 K. Ghorbal (CMU, Pittsburgh) 24 VORACE Workshop 24 / 44

39 Barrier Certificates Prajna s Thesis (Non-strict) Barrier Certificate ( x R n, D f (p) 0) p 0 is a positive invariant Unsound Barrier Certificate ( x s.t. p(x) = 0, D f (p) 0) p 0 is a positive invariant Strict Barrier Certificate ( x s.t. p(x) = 0, D f (p) < 0) p 0 is a positive invariant K. Ghorbal (CMU, Pittsburgh) 25 VORACE Workshop 25 / 44

40 Differential Invariants (DI) Differential Invariants (DI) Conservative Lifting of Barrier Certificates to Boolean Connectives D(S) ḟ x (DI) S [ẋ = f] S, D(S) ḟ x : substitute each ẋ i in D(S) with f i (x) D(r) = 0 for numbers, D(x) = ẋ for variables, D(a + b) = D(a) + D(b), D(a b) = D(a) b + a D(b), D(a b) D(a) D(b), accordingly for, >, <. (BC) D(S 1 S 2 ) D(S 1 ) D(S 2 ), D(S 1 S 2 ) D(S 1 ) D(S 2 ), ( here is important for soundness) K. Ghorbal (CMU, Pittsburgh) 26 VORACE Workshop 26 / 44

41 Non-smooth Strict Barrier Certificate (NSSBC) Apply Strict Barrier Certificate on Active Boundaries (NSSBC) ( min i=1,...,k ( k i=1 ) ( max p ij = 0 D f min j=1,...,m(i) i=1,...,k ) ( m(i) j=1 p k ij 0 [ẋ = f] i=1 max j=1,...,m(i) p ij m(i) j=1 p ij 0 ) < 0 ). Check Invariance of p 1 0 p 2 0 NSSBC (p 1 < p 2 p 1 = 0 D f (p 1 ) < 0) (p 1 > p 2 p 2 = 0 D f (p 2 ) < 0) (p 1 = p 2 = 0 D f (p 1 ) < 0 D f (p 2 ) < 0) DI D f (p 1 ) 0 D f (p 2 ) 0 K. Ghorbal (CMU, Pittsburgh) 27 VORACE Workshop 27 / 44

42 Liu, Zhan, Zhao (LZZ) Characterization [EMSOFT 2011] Definitions In f (S) {x R n ɛ > 0. t (0, ɛ). x(t) S}, In ( f ) (S) {x R n ɛ > 0. t (0, ɛ). x( t) S}, Characterization An arbitrary set S R n is a positive invariant for f if and only if S In f (S) and S c In ( f ) (S c ) or equivalently In ( f ) (S) S In f (S) In f (S) can be computed using high-order Lie derivatives! K. Ghorbal (CMU, Pittsburgh) 28 VORACE Workshop 28 / 44

43 Overview Proof Rules for Checking Invariance of Semi-algebraic Sets (Closed Semi-algebraic Sets) Nagumo LZZ (Semi-algebraic Sets) NSSBC DRI Lie Lie (Algebraic Sets) DI P-c C-c Lie (Lie) FI (Darboux) K. Ghorbal (CMU, Pittsburgh) 29 VORACE Workshop 29 / 44

44 Experimental Performance: Algebraic Sets 10 Time ( s) per problem Number of problems solved K. Ghorbal (CMU, Pittsburgh) 30 VORACE Workshop 30 / 44

45 Experimental Performance: Semi-algebraic Sets Time ( s) per problem Number of problems solved LZZ vs DI Time ( s) per problem Number of problems solved LZZ vs NSSBC LZZ DI NSSBC K. Ghorbal (CMU, Pittsburgh) 31 VORACE Workshop 31 / 44

46 Outline 1 Context 2 The Checking Problem 3 The Generation Problem 4 Future Avenues K. Ghorbal (CMU, Pittsburgh) 31 VORACE Workshop 31 / 44

47 Overview Template-Based Fix a template: generic polynomials with symbolic coefficients Use sufficient conditions to derive constraints over the coefficients Solve the system In practice: templates of the form p = 0 (algebraic sets) with Darboux condition (D f (p) p ) work for n 10 and d 3. templates of the form p 0 relying on Barrier Certificates (SOSTools) Discrete Abstraction Discrete the space with the signs of a given set of polynomials Relies on sufficient conditions to remove spurious transitions Issue: How to populate and eventually refine the initial set of polynomials K. Ghorbal (CMU, Pittsburgh) 32 VORACE Workshop 32 / 44

48 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

49 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

50 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 2 Start with N = 1 K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

51 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 2 Start with N = 1 3 Find β R such that: D f (h) = βh K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

52 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 2 Start with N = 1 3 Find β R such that: D f (h) = βh D f (h) = α 1 x 1 + α 2 x 2 = β(α 1 x 1 + α 2 x 2 + α 3 ) K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

53 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 2 Start with N = 1 3 Find β R such that: D f (h) = βh D f (h) = α 1 x 1 + α 2 x 2 = β(α 1 x 1 + α 2 x 2 + α 3 ) ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = β 0 0 α β 0 α 2 = β α 3 K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

54 Matrix Representation: Intuition Suppose we have a 2-dimensional ODE (ẋ 1, ẋ 2 ) = (x 1, x 2 ) 1 Start with parametric h of degree 1: h = α 1 x 1 + α 2 x 2 + α 3 2 Start with N = 1 3 Find β R such that: D f (h) = βh D f (h) = α 1 x 1 + α 2 x 2 = β(α 1 x 1 + α 2 x 2 + α 3 ) ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = β 0 0 α β 0 α 2 = β α 3 Study the null space (kernel) of M(β) K. Ghorbal (CMU, Pittsburgh) 33 VORACE Workshop 33 / 44

55 Symbolic Linear Algebra ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = 0 h = α 1 x 1 + α 2 x 2 + α β β β Study the null space (kernel) of M(β) α 1 α 2 α 3 = 0 Max dim of ker of M(β) more freedom for α = (α 1, α 2, α 3 ) Increases the chances of finding first integrals Dually, minimize the rank of M(β) K. Ghorbal (CMU, Pittsburgh) 34 VORACE Workshop 34 / 44

56 Symbolic Linear Algebra ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = 0 h = α 1 x 1 + α 2 x 2 + α β β β Study the null space (kernel) of M(β) α 1 α 2 α 3 = 0 Max dim of ker of M(β) more freedom for α = (α 1, α 2, α 3 ) Increases the chances of finding first integrals Dually, minimize the rank of M(β) K. Ghorbal (CMU, Pittsburgh) 34 VORACE Workshop 34 / 44

57 Symbolic Linear Algebra ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = 0 h = α 1 x 1 + α 2 x 2 + α β β β Study the null space (kernel) of M(β) α 1 α 2 α 3 = 0 Max dim of ker of M(β) more freedom for α = (α 1, α 2, α 3 ) Increases the chances of finding first integrals Dually, minimize the rank of M(β) K. Ghorbal (CMU, Pittsburgh) 34 VORACE Workshop 34 / 44

58 Symbolic Linear Algebra ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = 0 h = α 1 x 1 + α 2 x 2 + α β β β Study the null space (kernel) of M(β) α 1 α 2 α 3 = 0 Max dim of ker of M(β) more freedom for α = (α 1, α 2, α 3 ) Increases the chances of finding first integrals Dually, minimize the rank of M(β) NP-hard [Buss et al. 1999] K. Ghorbal (CMU, Pittsburgh) 34 VORACE Workshop 34 / 44

59 Symbolic Linear Algebra ( 1 + β)α 1 = 0 ( 1 + β)α 2 = 0 (β)α 3 = 0 h = α 1 x 1 + α 2 x 2 + α β β β Study the null space (kernel) of M(β) α 1 α 2 α 3 = 0 Max dim of ker of M(β) more freedom for α = (α 1, α 2, α 3 ) Increases the chances of finding first integrals Dually, minimize the rank of M(β) NP-hard [Buss et al. 1999] h = x 2 (0)x 1 x 1 (0)x 2 K. Ghorbal (CMU, Pittsburgh) 34 VORACE Workshop 34 / 44

60 Discrete Abstraction Discretization Transition system K. Ghorbal (CMU, Pittsburgh) 35 VORACE Workshop 35 / 44

61 Outline 1 Context 2 The Checking Problem 3 The Generation Problem 4 Future Avenues K. Ghorbal (CMU, Pittsburgh) 35 VORACE Workshop 35 / 44

62 Challenges K. Ghorbal (CMU, Pittsburgh) 36 VORACE Workshop 36 / 44

63 Differential-Algebraic Equations (DAE) Verification and Faithful Simulation for cyber-physical systems with DAE K. Ghorbal (CMU, Pittsburgh) 37 VORACE Workshop 37 / 44

64 Differential-Algebraic Equations (DAE) Verification and Faithful Simulation for cyber-physical systems with DAE 0 = F(x, ẋ, t) { ẋ = f(y, x) 0 = g(y, x) Compositional design Tools: Dymola (Dassault Systèmes), Modelica K. Ghorbal (CMU, Pittsburgh) 37 VORACE Workshop 37 / 44

65 V6 Engine Simple Combustion Model (Modelica) Engine Cylinder Simulation K. Ghorbal (CMU, Pittsburgh) 38 VORACE Workshop 38 / 44

66 Combining Static Analysis and Symbolic Computation Invariants Generation for DAE Extends previous work (algebraic approach) Semi-explicit form of index 1 (specific class of DAE) Hybrid Simulation is Hard Well-founded operational semantics (compilation, index reduction) Preserve composionality in presence of mode changes Proper handling of zero-crossing (detection and consistent initialization) Cascades of zero-crossings (sliding modes) Investigate the use of static analysis and symbolic computation K. Ghorbal (CMU, Pittsburgh) 39 VORACE Workshop 39 / 44

67 Combining Static Analysis and Symbolic Computation Invariants Generation for DAE Extends previous work (algebraic approach) Semi-explicit form of index 1 (specific class of DAE) Hybrid Simulation is Hard Well-founded operational semantics (compilation, index reduction) Preserve composionality in presence of mode changes Proper handling of zero-crossing (detection and consistent initialization) Cascades of zero-crossings (sliding modes) Investigate the use of static analysis and symbolic computation K. Ghorbal (CMU, Pittsburgh) 39 VORACE Workshop 39 / 44

68 Combining Static Analysis and Symbolic Computation Invariants Generation for DAE Extends previous work (algebraic approach) Semi-explicit form of index 1 (specific class of DAE) Hybrid Simulation is Hard Well-founded operational semantics (compilation, index reduction) Preserve composionality in presence of mode changes Proper handling of zero-crossing (detection and consistent initialization) Cascades of zero-crossings (sliding modes) Investigate the use of static analysis and symbolic computation K. Ghorbal (CMU, Pittsburgh) 39 VORACE Workshop 39 / 44

69 Thanks for your attention! K. Ghorbal (CMU, Pittsburgh) 40 VORACE Workshop 40 / 44

70 Smooth invariant manifolds (Lie vs DRI) Lie and DRI decide invariance for smooth invariant manifolds. DRI Lie P-c Lie C-c Time ( s) per problem Lie FI Number of problems solved K. Ghorbal (CMU, Pittsburgh) 41 VORACE Workshop 41 / 44

71 Functional invariants (DI vs DRI) DI = and DRI decide invariance of varieties of conserved quantities. DRI Lie P-c Lie C-c Time ( s) per problem Lie FI Number of problems solved K. Ghorbal (CMU, Pittsburgh) 42 VORACE Workshop 42 / 44

72 Singularities at Equilibria (Lie, Lie & Lie vs DRI) Lie, Lie and DRI decide invariance for varieties of with singularities that are equilibrium points. DRI Lie P-c Lie C-c Time ( s) per problem Lie FI Number of problems solved K. Ghorbal (CMU, Pittsburgh) 43 VORACE Workshop 43 / 44

73 Min Max (h 1 > max(h 2,..., h m ) D f (h 1 ) < 0) (h 1 < max(h 2,..., h m ) D f (max(h 2,..., h m )) < 0) (h 1 = max(h 2,..., h m ) D f (h 1 ) < 0 D f (max(h 2,..., h m )) < 0) (g 1 < min(g 2,..., g m ) D f (g 1 ) < 0) (g 1 > min(g 2,..., g m ) D f (min(g 2,..., g m )) < 0) (g 1 = min(g 2,..., g m ) D f (g 1 ) < 0 D f (min(g 2,..., g m )) < 0). K. Ghorbal (CMU, Pittsburgh) 44 VORACE Workshop 44 / 44

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1 Andrew Sogokon 2 André Platzer 1 1. Carnegie Mellon University 2. University of Edinburgh VMCAI, Mumbai,

More information

A Hierarchy of Proof Rules for Checking Positive Invariance of Algebraic and Semi-Algebraic Sets

A Hierarchy of Proof Rules for Checking Positive Invariance of Algebraic and Semi-Algebraic Sets A Hierarchy of Proof Rules for Checking Positive Invariance of Algebraic and Semi-Algebraic Sets Khalil Ghorbal a,, Andrew Sogokon b, André Platzer a a Carnegie Mellon University, Computer Science Department,

More information

Characterizing Algebraic Invariants by Differential Radical Invariants

Characterizing Algebraic Invariants by Differential Radical Invariants Characterizing Algebraic Invariants by Differential Radical Invariants Khalil Ghorbal Carnegie Mellon university Joint work with André Platzer ÉNS Paris April 1st, 2014 K. Ghorbal (CMU) Invited Talk 1

More information

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1 Andrew Sogokon 2 André Platzer 1

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1 Andrew Sogokon 2 André Platzer 1 A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1 Andrew Sogokon 2 André Platzer 1 November 2014 CMU-CS-14-140 School of Computer Science Carnegie Mellon

More information

Vector Barrier Certificates and Comparison Systems

Vector Barrier Certificates and Comparison Systems Vector Barrier Certificates and Comparison Systems Andrew Sogokon 1 Khalil Ghorbal 2 Yong Kiam Tan 1 André Platzer 1 1 - Carnegie Mellon University, Pittsburgh, USA 2 - Inria, Rennes, France 16 July 2018,

More information

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1, Andrew Sogokon 2, and André Platzer 1 1 Carnegie Mellon University, Computer Science Department, Pittsburgh,

More information

Deductive Verification of Continuous Dynamical Systems

Deductive Verification of Continuous Dynamical Systems Deductive Verification of Continuous Dynamical Systems Dept. of Computer Science, Stanford University (Joint work with Ashish Tiwari, SRI International.) 1 Introduction What are Continuous Dynamical Systems?

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

Towards a Mechanised Denotational Semantics for Modelica

Towards a Mechanised Denotational Semantics for Modelica Towards a Mechanised Denotational Semantics for Modelica Simon Foster Bernhard Thiele Jim Woodcock Peter Fritzson Department of Computer Science, University of York PELAB, Linköping University 3rd February

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

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

Characterizing Algebraic Invariants by Differential Radical Invariants

Characterizing Algebraic Invariants by Differential Radical Invariants Characterizing Algebraic Invariants by Differential Radical Invariants Khalil Ghorbal and André Platzer Carnegie Mellon University, Pittsburgh, PA, 15213, USA {kghorbal aplatzer}@cs.cmu.edu Abstract We

More information

Invariance of Conjunctions of Polynomial Equalities for Algebraic Differential Equations

Invariance of Conjunctions of Polynomial Equalities for Algebraic Differential Equations Invariance of Conjunctions of Polynomial Equalities for Algebraic Differential Equations Khalil Ghorbal 1, Andrew Sogokon 2, and André Platzer 1 1 Carnegie Mellon University, Computer Science Department,

More information

Analysis and synthesis: a complexity perspective

Analysis and synthesis: a complexity perspective Analysis and synthesis: a complexity perspective Pablo A. Parrilo ETH ZürichZ control.ee.ethz.ch/~parrilo Outline System analysis/design Formal and informal methods SOS/SDP techniques and applications

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

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

Differential Equation Axiomatization The Impressive Power of Differential Ghosts

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

More information

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

HybridSAL Relational Abstracter

HybridSAL Relational Abstracter HybridSAL Relational Abstracter Ashish Tiwari SRI International, Menlo Park, CA. ashish.tiwari@sri.com Abstract. In this paper, we present the HybridSAL relational abstracter a tool for verifying continuous

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

10. Smooth Varieties. 82 Andreas Gathmann

10. Smooth Varieties. 82 Andreas Gathmann 82 Andreas Gathmann 10. Smooth Varieties Let a be a point on a variety X. In the last chapter we have introduced the tangent cone C a X as a way to study X locally around a (see Construction 9.20). It

More information

Numerical Algorithms as Dynamical Systems

Numerical Algorithms as Dynamical Systems A Study on Numerical Algorithms as Dynamical Systems Moody Chu North Carolina State University What This Study Is About? To recast many numerical algorithms as special dynamical systems, whence to derive

More information

On linear and non-linear equations. (Sect. 1.6).

On linear and non-linear equations. (Sect. 1.6). On linear and non-linear equations. (Sect. 1.6). Review: Linear differential equations. Non-linear differential equations. The Picard-Lindelöf Theorem. Properties of solutions to non-linear ODE. The Proof

More information

A COMPONENT-BASED APPROACH TO HYBRID SYSTEMS SAFETY VERIFICATION

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

More information

Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games

Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games Stability of Feedback Solutions for Infinite Horizon Noncooperative Differential Games Alberto Bressan ) and Khai T. Nguyen ) *) Department of Mathematics, Penn State University **) Department of Mathematics,

More information

CSL361 Problem set 4: Basic linear algebra

CSL361 Problem set 4: Basic linear algebra CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices

More information

(x k ) sequence in F, lim x k = x x F. If F : R n R is a function, level sets and sublevel sets of F are any sets of the form (respectively);

(x k ) sequence in F, lim x k = x x F. If F : R n R is a function, level sets and sublevel sets of F are any sets of the form (respectively); STABILITY OF EQUILIBRIA AND LIAPUNOV FUNCTIONS. By topological properties in general we mean qualitative geometric properties (of subsets of R n or of functions in R n ), that is, those that don t depend

More information

Course Summary Math 211

Course Summary Math 211 Course Summary Math 211 table of contents I. Functions of several variables. II. R n. III. Derivatives. IV. Taylor s Theorem. V. Differential Geometry. VI. Applications. 1. Best affine approximations.

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

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

Deductive Verification

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

More information

Active sets, steepest descent, and smooth approximation of functions

Active sets, steepest descent, and smooth approximation of functions Active sets, steepest descent, and smooth approximation of functions Dmitriy Drusvyatskiy School of ORIE, Cornell University Joint work with Alex D. Ioffe (Technion), Martin Larsson (EPFL), and Adrian

More information

Vector Barrier Certificates and Comparison Systems

Vector Barrier Certificates and Comparison Systems Vector Barrier Certificates and Comparison Systems Andrew Sogokon 1, Khalil Ghorbal 2, Yong Kiam Tan 1, and André Platzer 1 1 Computer Science Department, Carnegie Mellon University, Pittsburgh, USA {asogokon

More information

Lecture Notes of EE 714

Lecture Notes of EE 714 Lecture Notes of EE 714 Lecture 1 Motivation Systems theory that we have studied so far deals with the notion of specified input and output spaces. But there are systems which do not have a clear demarcation

More information

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra Algebraic Varieties Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra Algebraic varieties represent solutions of a system of polynomial

More information

Tame variational analysis

Tame variational analysis Tame variational analysis Dmitriy Drusvyatskiy Mathematics, University of Washington Joint work with Daniilidis (Chile), Ioffe (Technion), and Lewis (Cornell) May 19, 2015 Theme: Semi-algebraic geometry

More information

McGill University Department of Mathematics and Statistics. Ph.D. preliminary examination, PART A. PURE AND APPLIED MATHEMATICS Paper BETA

McGill University Department of Mathematics and Statistics. Ph.D. preliminary examination, PART A. PURE AND APPLIED MATHEMATICS Paper BETA McGill University Department of Mathematics and Statistics Ph.D. preliminary examination, PART A PURE AND APPLIED MATHEMATICS Paper BETA 17 August, 2018 1:00 p.m. - 5:00 p.m. INSTRUCTIONS: (i) This paper

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

How curvature shapes space

How curvature shapes space How curvature shapes space Richard Schoen University of California, Irvine - Hopf Lecture, ETH, Zürich - October 30, 2017 The lecture will have three parts: Part 1: Heinz Hopf and Riemannian geometry Part

More information

Example: feasibility. Interpretation as formal proof. Example: linear inequalities and Farkas lemma

Example: feasibility. Interpretation as formal proof. Example: linear inequalities and Farkas lemma 4-1 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 4. Algebra and Duality Example: non-convex polynomial optimization Weak duality and duality gap The dual is not intrinsic The cone of valid

More information

Constructing Invariants for Hybrid Systems

Constructing Invariants for Hybrid Systems Constructing Invariants for Hybrid Systems Sriram Sankaranarayanan, Henny B. Sipma and Zohar Manna Computer Science Department, Stanford University, Stanford, CA 94305, USA Abstract. We present a new method

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors LECTURE 3 Eigenvalues and Eigenvectors Definition 3.. Let A be an n n matrix. The eigenvalue-eigenvector problem for A is the problem of finding numbers λ and vectors v R 3 such that Av = λv. If λ, v are

More information

Verification Constraint Problems with Strengthening

Verification Constraint Problems with Strengthening Verification Constraint Problems with Strengthening Aaron R. Bradley and Zohar Manna Computer Science Department Stanford University Stanford, CA 94305-9045 {arbrad,manna}@cs.stanford.edu Abstract. The

More information

Abstractions for Hybrid Systems

Abstractions for Hybrid Systems Abstractions for Hybrid Systems Ashish Tiwari (tiwari@csl.sri.com) SRI International, 333 Ravenswood Ave, Menlo Park, CA, U.S.A Abstract. We present a procedure for constructing sound finite-state discrete

More information

The Complete Proof Theory of Hybrid Systems

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

More information

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

Hoare Logic (I): Axiomatic Semantics and Program Correctness

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

More information

x R d, λ R, f smooth enough. Goal: compute ( follow ) equilibrium solutions as λ varies, i.e. compute solutions (x, λ) to 0 = f(x, λ).

x R d, λ R, f smooth enough. Goal: compute ( follow ) equilibrium solutions as λ varies, i.e. compute solutions (x, λ) to 0 = f(x, λ). Continuation of equilibria Problem Parameter-dependent ODE ẋ = f(x, λ), x R d, λ R, f smooth enough. Goal: compute ( follow ) equilibrium solutions as λ varies, i.e. compute solutions (x, λ) to 0 = f(x,

More information

Unique equilibrium states for geodesic flows in nonpositive curvature

Unique equilibrium states for geodesic flows in nonpositive curvature Unique equilibrium states for geodesic flows in nonpositive curvature Todd Fisher Department of Mathematics Brigham Young University Fractal Geometry, Hyperbolic Dynamics and Thermodynamical Formalism

More information

Generation of Basic Semi-algebraic Invariants Using Convex Polyhedra

Generation of Basic Semi-algebraic Invariants Using Convex Polyhedra Generation of Basic Semi-algebraic Invariants Using Convex Polyhedra Generation of Invariant Conjunctions of Polynomial Inequalities Using Convex Polyhedra R. Bagnara 1, E. Rodríguez-Carbonell 2, E. Zaffanella

More information

Economics 204 Fall 2011 Problem Set 2 Suggested Solutions

Economics 204 Fall 2011 Problem Set 2 Suggested Solutions Economics 24 Fall 211 Problem Set 2 Suggested Solutions 1. Determine whether the following sets are open, closed, both or neither under the topology induced by the usual metric. (Hint: think about limit

More information

Change-Of-Bases Abstractions for Non-Linear Systems.

Change-Of-Bases Abstractions for Non-Linear Systems. Change-Of-Bases Abstractions for Non-Linear Systems. Sriram Sankaranarayanan Department of Computer Science University of Colorado, Boulder, CO, USA. srirams@colorado.edu April 19, 2012 Abstract We present

More information

11. Dimension. 96 Andreas Gathmann

11. Dimension. 96 Andreas Gathmann 96 Andreas Gathmann 11. Dimension We have already met several situations in this course in which it seemed to be desirable to have a notion of dimension (of a variety, or more generally of a ring): for

More information

4. Algebra and Duality

4. Algebra and Duality 4-1 Algebra and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.01 4. Algebra and Duality Example: non-convex polynomial optimization Weak duality and duality gap The dual is not intrinsic The cone

More information

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2. APPENDIX A Background Mathematics A. Linear Algebra A.. Vector algebra Let x denote the n-dimensional column vector with components 0 x x 2 B C @. A x n Definition 6 (scalar product). The scalar product

More information

Commutative algebra 19 May Jan Draisma TU Eindhoven and VU Amsterdam

Commutative algebra 19 May Jan Draisma TU Eindhoven and VU Amsterdam 1 Commutative algebra 19 May 2015 Jan Draisma TU Eindhoven and VU Amsterdam Goal: Jacobian criterion for regularity 2 Recall A Noetherian local ring R with maximal ideal m and residue field K := R/m is

More information

An introduction to Birkhoff normal form

An introduction to Birkhoff normal form An introduction to Birkhoff normal form Dario Bambusi Dipartimento di Matematica, Universitá di Milano via Saldini 50, 0133 Milano (Italy) 19.11.14 1 Introduction The aim of this note is to present an

More information

10.34: Numerical Methods Applied to Chemical Engineering. Lecture 19: Differential Algebraic Equations

10.34: Numerical Methods Applied to Chemical Engineering. Lecture 19: Differential Algebraic Equations 10.34: Numerical Methods Applied to Chemical Engineering Lecture 19: Differential Algebraic Equations 1 Recap Differential algebraic equations Semi-explicit Fully implicit Simulation via backward difference

More information

Operational models of piecewise-smooth systems

Operational models of piecewise-smooth systems Operational models of piecewise-smooth systems Andrew Sogokon Carnegie Mellon University Pittsburgh, PA, USA asogokon@cs.cmu.edu Khalil Ghorbal INRIA Rennes, France khalil.ghorbal@inria.fr Taylor T. Johnson

More information

HARTSHORNE EXERCISES

HARTSHORNE EXERCISES HARTSHORNE EXERCISES J. WARNER Hartshorne, Exercise I.5.6. Blowing Up Curve Singularities (a) Let Y be the cusp x 3 = y 2 + x 4 + y 4 or the node xy = x 6 + y 6. Show that the curve Ỹ obtained by blowing

More information

Practice Qualifying Exam Questions, Differentiable Manifolds, Fall, 2009.

Practice Qualifying Exam Questions, Differentiable Manifolds, Fall, 2009. Practice Qualifying Exam Questions, Differentiable Manifolds, Fall, 2009. Solutions (1) Let Γ be a discrete group acting on a manifold M. (a) Define what it means for Γ to act freely. Solution: Γ acts

More information

A Temporal Dynamic Logic for Verifying Hybrid System Invariants

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

More information

Assertions and Measurements for Mixed-Signal Simulation

Assertions and Measurements for Mixed-Signal Simulation Assertions and Measurements for Mixed-Signal Simulation PhD Thesis Thomas Ferrère VERIMAG, University of Grenoble (directeur: Oded Maler) Mentor Graphics Corporation (co-encadrant: Ernst Christen) October

More information

3.1. Derivations. Let A be a commutative k-algebra. Let M be a left A-module. A derivation of A in M is a linear map D : A M such that

3.1. Derivations. Let A be a commutative k-algebra. Let M be a left A-module. A derivation of A in M is a linear map D : A M such that ALGEBRAIC GROUPS 33 3. Lie algebras Now we introduce the Lie algebra of an algebraic group. First, we need to do some more algebraic geometry to understand the tangent space to an algebraic variety at

More information

Models for Control and Verification

Models for Control and Verification Outline Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia Classes of models Well-posed models Difference Equations Nonlinear Ordinary Differential

More information

4 Film Extension of the Dynamics: Slowness as Stability

4 Film Extension of the Dynamics: Slowness as Stability 4 Film Extension of the Dynamics: Slowness as Stability 4.1 Equation for the Film Motion One of the difficulties in the problem of reducing the description is caused by the fact that there exists no commonly

More information

Differential Equation Axiomatization

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

More information

Symplectic Structures in Quantum Information

Symplectic Structures in Quantum Information Symplectic Structures in Quantum Information Vlad Gheorghiu epartment of Physics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A. June 3, 2010 Vlad Gheorghiu (CMU) Symplectic struct. in Quantum

More information

Cylindrical Algebraic Decomposition in Coq

Cylindrical Algebraic Decomposition in Coq Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logroño 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Île-de-France École Polytechnique, Palaiseau

More information

Stabilization and Passivity-Based Control

Stabilization and Passivity-Based Control DISC Systems and Control Theory of Nonlinear Systems, 2010 1 Stabilization and Passivity-Based Control Lecture 8 Nonlinear Dynamical Control Systems, Chapter 10, plus handout from R. Sepulchre, Constructive

More information

where m is the maximal ideal of O X,p. Note that m/m 2 is a vector space. Suppose that we are given a morphism

where m is the maximal ideal of O X,p. Note that m/m 2 is a vector space. Suppose that we are given a morphism 8. Smoothness and the Zariski tangent space We want to give an algebraic notion of the tangent space. In differential geometry, tangent vectors are equivalence classes of maps of intervals in R into the

More information

Inverse Singular Value Problems

Inverse Singular Value Problems Chapter 8 Inverse Singular Value Problems IEP versus ISVP Existence question A continuous approach An iterative method for the IEP An iterative method for the ISVP 139 140 Lecture 8 IEP versus ISVP Inverse

More information

Quantising noncompact Spin c -manifolds

Quantising noncompact Spin c -manifolds Quantising noncompact Spin c -manifolds Peter Hochs University of Adelaide Workshop on Positive Curvature and Index Theory National University of Singapore, 20 November 2014 Peter Hochs (UoA) Noncompact

More information

The moment-lp and moment-sos approaches

The moment-lp and moment-sos approaches The moment-lp and moment-sos approaches LAAS-CNRS and Institute of Mathematics, Toulouse, France CIRM, November 2013 Semidefinite Programming Why polynomial optimization? LP- and SDP- CERTIFICATES of POSITIVITY

More information

Intersection of Ellipsoids

Intersection of Ellipsoids Intersection of Ellipsoids David Eberly, Geometric Tools, Redmond WA 9805 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To view

More information

2012 NCTS Workshop on Dynamical Systems

2012 NCTS Workshop on Dynamical Systems Barbara Gentz gentz@math.uni-bielefeld.de http://www.math.uni-bielefeld.de/ gentz 2012 NCTS Workshop on Dynamical Systems National Center for Theoretical Sciences, National Tsing-Hua University Hsinchu,

More information

fy (X(g)) Y (f)x(g) gy (X(f)) Y (g)x(f)) = fx(y (g)) + gx(y (f)) fy (X(g)) gy (X(f))

fy (X(g)) Y (f)x(g) gy (X(f)) Y (g)x(f)) = fx(y (g)) + gx(y (f)) fy (X(g)) gy (X(f)) 1. Basic algebra of vector fields Let V be a finite dimensional vector space over R. Recall that V = {L : V R} is defined to be the set of all linear maps to R. V is isomorphic to V, but there is no canonical

More information

D-MATH Alessio Savini. Exercise Sheet 4

D-MATH Alessio Savini. Exercise Sheet 4 ETH Zürich Exercise Sheet 4 Exercise 1 Let G, H be two Lie groups and let ϕ : G H be a smooth homomorphism. Show that ϕ has constant rank. Solution: We need to show that for every g G the rank of the linear

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

Structure in Mixed Integer Conic Optimization: From Minimal Inequalities to Conic Disjunctive Cuts

Structure in Mixed Integer Conic Optimization: From Minimal Inequalities to Conic Disjunctive Cuts Structure in Mixed Integer Conic Optimization: From Minimal Inequalities to Conic Disjunctive Cuts Fatma Kılınç-Karzan Tepper School of Business Carnegie Mellon University Joint work with Sercan Yıldız

More information

Optimization over Nonnegative Polynomials: Algorithms and Applications. Amir Ali Ahmadi Princeton, ORFE

Optimization over Nonnegative Polynomials: Algorithms and Applications. Amir Ali Ahmadi Princeton, ORFE Optimization over Nonnegative Polynomials: Algorithms and Applications Amir Ali Ahmadi Princeton, ORFE INFORMS Optimization Society Conference (Tutorial Talk) Princeton University March 17, 2016 1 Optimization

More information

Forecasting Regime Shifts in Natural and Man-made Infrastructure

Forecasting Regime Shifts in Natural and Man-made Infrastructure Forecasting Regime Shifts in Natural and Man-made Infrastructure M.D. Lemmon Department of Electrical Engineering University of Notre Dame, USA UCONN - August, 2014 M.D. Lemmon (ND) Forecasting Regime

More information

Lecture 2: Controllability of nonlinear systems

Lecture 2: Controllability of nonlinear systems DISC Systems and Control Theory of Nonlinear Systems 1 Lecture 2: Controllability of nonlinear systems Nonlinear Dynamical Control Systems, Chapter 3 See www.math.rug.nl/ arjan (under teaching) for info

More information

van Rooij, Schikhof: A Second Course on Real Functions

van Rooij, Schikhof: A Second Course on Real Functions vanrooijschikhof.tex April 25, 2018 van Rooij, Schikhof: A Second Course on Real Functions Notes from [vrs]. Introduction A monotone function is Riemann integrable. A continuous function is Riemann integrable.

More information

CDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes

CDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes Definition Stochastic process X = {X(t), t2 T} is a collection of random variables (rvs); one rv

More information

SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, Irina Kogan North Carolina State University. Supported in part by the

SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, Irina Kogan North Carolina State University. Supported in part by the SIAM Conference on Applied Algebraic Geometry Daejeon, South Korea, 2015 Irina Kogan North Carolina State University Supported in part by the 1 Based on: 1. J. M. Burdis, I. A. Kogan and H. Hong Object-image

More information

GENERATING SEMI-ALGEBRAIC INVARIANTS FOR NON-AUTONOMOUS POLYNOMIAL HYBRID SYSTEMS

GENERATING SEMI-ALGEBRAIC INVARIANTS FOR NON-AUTONOMOUS POLYNOMIAL HYBRID SYSTEMS J Syst Sci Complex (20XX) XX: 1 19 GENERATING SEMI-ALGEBRAIC INVARIANTS FOR NON-AUTONOMOUS POLYNOMIAL HYBRID SYSTEMS WANG Qiuye LI Yangjia XIA Bican ZHAN Naijun DOI: Received: x x 20xx / Revised: x x 20xx

More information

Errata for Vector and Geometric Calculus Printings 1-4

Errata for Vector and Geometric Calculus Printings 1-4 October 21, 2017 Errata for Vector and Geometric Calculus Printings 1-4 Note: p. m (n) refers to page m of Printing 4 and page n of Printings 1-3. p. 31 (29), just before Theorem 3.10. f x(h) = [f x][h]

More information

Abstract Vector Spaces and Concrete Examples

Abstract Vector Spaces and Concrete Examples LECTURE 18 Abstract Vector Spaces and Concrete Examples Our discussion of linear algebra so far has been devoted to discussing the relations between systems of linear equations, matrices, and vectors.

More information

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i 2 = 1 Sometimes we like to think of i = 1 We can treat

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

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

FROM LOCAL TO GLOBAL. In this lecture, we discuss Cayley s theorem on flecnodes and ruled surfaces.

FROM LOCAL TO GLOBAL. In this lecture, we discuss Cayley s theorem on flecnodes and ruled surfaces. FROM LOCAL TO GLOBAL In this lecture, we discuss Cayley s theorem on flecnodes and ruled surfaces. Theorem 0.1. If P is a polynomial in C[z 1, z 2, z 3 ], and if FP vanishes on Z(P), then Z(P) is ruled.

More information

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC 6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC 2003 2003.09.02.10 6. The Positivstellensatz Basic semialgebraic sets Semialgebraic sets Tarski-Seidenberg and quantifier elimination Feasibility

More information

THEODORE VORONOV DIFFERENTIABLE MANIFOLDS. Fall Last updated: November 26, (Under construction.)

THEODORE VORONOV DIFFERENTIABLE MANIFOLDS. Fall Last updated: November 26, (Under construction.) 4 Vector fields Last updated: November 26, 2009. (Under construction.) 4.1 Tangent vectors as derivations After we have introduced topological notions, we can come back to analysis on manifolds. Let M

More information

Phase-field systems with nonlinear coupling and dynamic boundary conditions

Phase-field systems with nonlinear coupling and dynamic boundary conditions 1 / 46 Phase-field systems with nonlinear coupling and dynamic boundary conditions Cecilia Cavaterra Dipartimento di Matematica F. Enriques Università degli Studi di Milano cecilia.cavaterra@unimi.it VIII

More information

Chapter 1. Preliminaries. The purpose of this chapter is to provide some basic background information. Linear Space. Hilbert Space.

Chapter 1. Preliminaries. The purpose of this chapter is to provide some basic background information. Linear Space. Hilbert Space. Chapter 1 Preliminaries The purpose of this chapter is to provide some basic background information. Linear Space Hilbert Space Basic Principles 1 2 Preliminaries Linear Space The notion of linear space

More information

Verification of Hybrid Systems with Ariadne

Verification of Hybrid Systems with Ariadne Verification of Hybrid Systems with Ariadne Davide Bresolin 1 Luca Geretti 2 Tiziano Villa 3 1 University of Bologna 2 University of Udine 3 University of Verona An open workshop on Formal Methods for

More information

Multi-Robotic Systems

Multi-Robotic Systems CHAPTER 9 Multi-Robotic Systems The topic of multi-robotic systems is quite popular now. It is believed that such systems can have the following benefits: Improved performance ( winning by numbers ) Distributed

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