Reachability of Hybrid Systems using Support Functions over Continuous Time

Size: px
Start display at page:

Download "Reachability of Hybrid Systems using Support Functions over Continuous Time"

Transcription

1 Reachability of Hybrid Systems using Support Functions over Continuous Time Goran Frehse, Alexandre Donzé, Scott Cotton, Rajarshi Ray, Olivier Lebeltel, Rajat Kateja, Manish Goyal, Rodolfo Ripado, Thao Dang, Oded Maler Université Grenoble 1 Joseph Fourier / CNRS Verimag, France Colas Le Guernic DGA, France Antoine Girard Laboratoire Jean Kuntzmann, France GIPSA Seminar, Grenoble, April 22,

2 Outline!! Hybrid Systems and Reachability!! Reachability with Support Functions! Computing with High-Dimensional Sets!! Approximation in Space-Time! Reducing the Number of Sets! Measuring the Approximation Error!! SpaceEx Development Platform 2

3 Hybrid Systems - Semantics!! Continous/Discrete Behaviour! evolution with time according to ODE dynamics! dynamics can switch (instantaneous)! state can jump (instantaneous) x (t) x (t) x (t) 3

4 Modeling Hybrid Systems!! Example: Bouncing Ball! ball with mass m and position x in free fall! bounces when it hits the ground at x = 0! initially at position x and at rest x F g 0 4

5 Hybrid Automaton Model location freefall invariant flow 5

6 !! States over Time Example: Bouncing Ball position x x 0 x (t) x (t) x (t) x (t) x (t) time t velocity v 0 v (t) v (t) v (t) v (t) v (t) time t 6

7 Example: Bouncing Ball!! States over States = State-Space View position x x x (t) behavior from single initial state x (t) x (t) 0 velocity v 7

8 Example: Bouncing Ball!! Reachability in State-Space position x behaviors from set of initial states = reachable states velocity v 8

9 Application: Reachability in Model Based Design Plant Model Controller Synthesis Simulation Reachability Deployment 9

10 Example: Controlled Helicopter Photo by Andrew P Clarke!! 28-dim model of a Westland Lynx helicopter! 8-dim model of flight dynamics! 20-dim continuous H! controller for disturbance rejection! stiff, highly coupled dynamics S. Skogestad and I. Postlethwaite, Multivariable Feedback Control: Analysis and Design. John Wiley & Sons,

11 Simulation vs Reachability!! Simulation! approximative sample of single behavior! over finite time!! Reachability! over-approximative set-valued cover of all behaviors! over finite or infinite time simulation run vertical speed reachable states over time 11

12 Simulation vs Reachability!! Simulation! deterministic! resolve nondet. using Monte Carlo etc.! scalable for nonlinear dyn.!! Reachability! nondeterministic! continuous disturbances...! implementation tolerances...! scalable for linear dynamics 1000 simulations vertical speed Reachable set equiv. >2 28 corner case simulations 12

13 Example: Controlled Helicopter!! Comparing two controllers subject to continuous disturbance 13

14 Outline!! Hybrid Systems and Reachability!! Reachability with Support Functions!! Approximation in Space-Time!! SpaceEx Development Platform 14

15 Hybrid Automata with Affine Dynamics!! linear differential equations!! can be highly nondeterministic:! additive inputs u,wmodel continuous disturbances (noise etc.) Key: find approximation that is efficient but accurate for a large number of continuous variables 15

16 Time Elapse Computation!! Continuous time elapse for affine dynamics! efficient, scalable! approximation without accumulation of approximation error (wrapping effect)!! Much heritage from prior work! Chutinan, Krogh. HSCC 99! Asarin, Bournez, Dang, Maler. HSCC 00! Girard. HSCC 05! Le Guernic, Girard. HSCC 06, CAV 09 16

17 Affine Dynamics!! linear terms plus inputs U:!! solution: matrix exponential factors influence of inputs (stable system forgets the past) 17

18 From Time-Discretization to Reach!! States in discrete time: X 3"#... integral over inputs X "# X 2"# X 0 Reach(X 0 ) " 2" 3" 0 t need to cover also states in between! 18

19 From Time-Discretization to Reach!! Cover in discrete time: $ [2",3"]... $ [0,"] $ [",2"] X 0 Reach(X 0 ) 0 " 2" 3" t Minkowski sum = pointwise sum of sets 19

20 From Time-Discretization to Reach!! 1st order Taylor approximation!! different bounds on the remainder actual trajectory CAV 11: Complex Polytope CAV 11 LeGuernic 10 LeGuernic,Girard 09 20

21 Operations on Convex Sets Polyhedra Operators Constraints Vertices Zonotopes Support F. Convex hull Affine transform +/ Minkowski sum Intersection Le Guernic, Girard. CAV 09 21

22 !! Support Function R n R Support Functions! direction d position of supporting halfspace! exact set representation x * support vector P d 0 22

23 Support Functions!! black box representation of a convex set!! implementation: function objects direction vector Support Function tangent hyperplane 23

24 Support Functions!! black box representation of a convex set!! implementation: function objects direction vector Support Function 24

25 Support Functions!! black box representation of a convex set!! implementation: function objects direction vector Support Function Support Function 25

26 Computing with Support Functions!! Simple Operations (Le Guernic, Girard. CAV 09)! Linear Transform:! O(n 2 ) incl. existential quantification! Minkowski sum:! O(1)! Convex hull:! O(1) 26

27 Example: Switched Oscillator!! Switched oscillator! 2 continuous variables! 4 discrete states! similar to many circuits (Buck converters, )!! plus linear filter! m continuous variables! dampens output signal!! affine dynamics! total 2 + m continuous variables 27

28 Example: Switched Oscillator!! Low number of directions sufficient?! here: 6 state variables 12 box constraints (axis directions) 72 octagonal constraints (± x i ± x j ) 28

29 Example: Switched Oscillator!! Scalability Measurements:! fixpoint reached in O(nm 2 ) time! box constraints: O(n 3 )! octagonal constraints: O(n 5 ) 29

30 Outline!! Hybrid Systems and Reachability!! Reachability with Support Functions!! Approximation in Space-Time!! SpaceEx Development Platform 30

31 Flowpipe Reachable States over Time y flowpipe relatively easy to compute at discrete time points initial states x 31

32 Approximation with Template Polyhedra y template polyhedron covers time interval x!asarin, Dang, Maler, CAV 02!Girard, HSCC 05!Le Guernic, Girard, CAV 09!Frehse et al. CAV 11 initial states 32

33 Approximation with Template Polyhedra start from convex hull compensate for curvature 33

34 Approximation with Template Polyhedra y template polyhedra cover flowpipe x 34

35 Problem 1: Too many sets y sets intersect with guard guard x 35

36 Problem 1: Too many sets!! Jumps: Exponential increase in the number of sets! case studies: 10x 100x per jump y convex hull clustering (expensive) x 36

37 Problem 2: Quantify error y approximation error x four sources of error... 37

38 Problem 2: Quantify error (2)! bloating error (curvature estimation) (1)! template error (distance to convex hull) (3) convexity error (unknown) 38

39 Problem 2: Quantify error y straight line trajectories non-convex reach set It s not just curvature... x 39

40 Problem 2: Quantify error y t x convex hull over any interval incurs error 40

41 Problem 2: Quantify error y (3)! convexity error x 41

42 Problem 2: Quantify error y (4)! clustering error (hard) x 42

43 Goals!! Reduce the number of convex sets!! Measure the total error 1)! template error 2)! bloating error 3)! convexity error directional error 4)! clustering error 43

44 Approximation in Space-Time y Improve the approximation by adding time... x 44

45 Approximation in Space-Time y x 45

46 Approximation in Space-Time y x 46

47 Approximation in Space-Time y t x approximation constant over time interval 47

48 Approximation in Space-Time y x approximation pointwise in time (convex sets) t 48

49 Support Sampling!! interval bound on support function in template directions interval bound on support function 49

50 Support Sampling!! bounds support function in all directions!! bounds Hausdorff distance bound on approximation error worst-case points within sampling direction with worst error 50

51 Flowpipe Sampling y support in d d x t compute support at discrete time points t 51

52 Flowpipe Sampling - Interpolation!! 1st order Taylor approx. CAV 11 support in d upper bound lower bound t!! independent time scales! per direction!! parallelizeable piecewise linear scalar functions 52

53 Flowpipe Sampling - Convexification y support in d d support sampling at each t x t infinite union of template polyhedra (one for each t) t 53

54 Flowpipe Sampling - Convexification y non-template polyhedron support in d d concave piece x t finite union of non-template polyhedra (one for each concave piece) template, bloating & convexity error measurable t 54

55 Flowpipe Sampling - Convexification support in d linear constraint in space-time bloating & convexity error flowpipe samplings need to be concave for every direction t 55

56 Flowpipe Sampling - Clustering support in d concave envelope bloating, convexity & clustering error convex hull = concave envelope (efficient for pwl functions) t 56

57 Flowpipe Sampling - Clustering!! for given error, minimize number of convex sets! equiv. number of concave pieces upper bound lower bound 57

58 Flowpipe Sampling - Clustering!! for given error, minimize number of convex sets! equiv. number of concave pieces lower bound + error desired error upper bound lower bound 58

59 Flowpipe Sampling - Clustering lower bound + error desired error any function inside gap is -!conservative upper bound -!within desired error upper bound 59

60 Flowpipe Sampling - Clustering lower bound + error upper bound find inflection intervals: every pw concave function must cut pieces here (cannot drive a car from left to right without making two left turns) 60

61 Flowpipe Sampling - Clustering lower bound + error upper bound 2 inflection intervals: at least 3 concave pieces combining inflection intervals over all directions = graph coloring problem 61

62 Example: Bouncing Ball Clustering up to total error 0.1 = 8 pieces 62

63 Example: Bouncing Ball Clustering up to total error 1.0 = 2 pieces 63

64 Example: Bouncing Ball CAV 11 HSCC 13 64

65 !! 28 state variables + clock Example: Helicopter CAV 11: 1440 sets in 5.9s 1440 time steps 65

66 !! 28 state variables + clock Example: Helicopter CAV 11: 32 sets in 15.2s (4.8s clustering) time steps, median

67 Example: Overhead Crane!! 4 state variables, error < 0.05 angular velocity 369 sets, 0.15s 15 sets, 0.28s position 67

68 Example: Overhead Crane!! 4 state variables, error < angular velocity 1108 sets, 0.36s 32 sets, 0.46s position 68

69 Performance Comparison CAV 11 HSCC 13 Time Sets Time Sets Helicopter (29) Helicopter 2 (29) Bouncing Ball (3) Bouncing Ball w. Inputs (3) Three-Tank (3) Overhead Crane (4)

70 Outline!! Hybrid Systems and Reachability!! Reachability with Support Functions!! Approximation in Space-Time!! SpaceEx Development Platform 70

71 SpaceEx Verification Platform!! Analysis of Hybrid Systems! Reachability! Monitoring! Simulation!! Open Source: spaceex.imag.fr! proprietary polyhedra library! number type is templated (substitute your own)! interfaces to linear programming solvers (GLPK,PPL), Parma Polyhedra Library, ode solvers (CVODES) 71

72 SpaceEx Model Editor Networks of Hybrid Automata!real-values variables!odes 72

73 SpaceEx Model Editor Connect components in block diagrams!templates, nesting 73

74 SpaceEx Web Interface Browser-based GUI!2D/3D output!runs remotely 74

75 SpaceEx Reachability Algorithms PHAVer!constant dynamics (LHA)!formally sound and exact Support Function Algo!many continuous variables!low discrete complexity Simulation!nonlinear dynamics!based on CVODE 75

76 !! Reachability with 100+ variables Conclusions! convex sets as support functions!! Convexification with semitemplate data structures! total approximation error measurable!! Ongoing Work! abstraction refinement (directions)! extension to nonlinear dynamics spaceex.imag.fr 76

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No 643921. TOOLS INTEGRATION UnCoVerCPS toolchain Goran Frehse, UGA Xavier

More information

Techniques and Tools for Hybrid Systems Reachability Analysis

Techniques and Tools for Hybrid Systems Reachability Analysis which is funded by the German Research Council (DFG). Techniques and Tools for Hybrid Systems Reachability Analysis Stefan Schupp Johanna Nellen Erika Ábrahám RiSE4CPS, Heidelberg, Germany April 23, 2017

More information

An Introduction to SpaceEx v0.8

An Introduction to SpaceEx v0.8 An Introduction to SpaceEx v0.8 Goran Frehse Université Grenoble 1 Joseph Fourier - Verimag Centre Équation, 2 av. de Vignate, 38610 Gières, France goran.frehse@imag.fr December 2, 2010 Abstract This document

More information

Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis

Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis Antoine Girard 1 and Colas Le Guernic 2 1 Laboratoire Jean Kuntzmann, Université Joseph Fourier Antoine.Girard@imag.fr, 2 VERIMAG,

More information

Efficient Bounded Reachability Computation for Rectangular Automata

Efficient Bounded Reachability Computation for Rectangular Automata Efficient Bounded Reachability Computation for Rectangular Automata Xin Chen, Erika Ábrahám, and Goran Frehse RWTH Aachen University, Germany Université Grenoble Joseph Fourier - Verimag, France Abstract.

More information

User manual. December 12, 2016

User manual. December 12, 2016 User manual December 12, 2016 Contents 1 Introduction 2 2 Getting started 2 2.1 Dependencies............................. 2 2.2 Installation.............................. 3 2.2.1 Configuration.........................

More information

Eliminating Spurious Transitions in Reachability with Support Functions

Eliminating Spurious Transitions in Reachability with Support Functions Eliminating Spurious Transitions in Reachability with Support Functions Goran Frehse Université Grenoble 1 Joseph Fourier - Verimag Centre Equation, 2 av. de Vignate 3861 Gières, France goran.frehse@imag.fr

More information

Model Checking for Hybrid Systems

Model Checking for Hybrid Systems Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University Hybrid Dynamic Systems Models Dynamic systems with both continuous & discrete state variables Continuous-State Systems differential

More information

Computing Reachable Sets : An Introduction

Computing Reachable Sets : An Introduction 1 Computing Reachable Sets : An Introduction Oded Maler Abstract This paper provides a tutorial introduction to reachability computation, a new class of computational techniques developed in order to export

More information

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Massimo Benerecetti and Marco Faella Università di Napoli Federico II, Italy Abstract. We consider the problem

More information

Lecture 9: Reachability

Lecture 9: Reachability Lecture 9: Reachability Outline of Lecture Reachability General Transition Systems Algorithms for Reachability Safety through Reachability Backward Reachability Algorithm Given hybrid automaton H : set

More information

HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems

HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems Stanley Bak and Parasara Sridhar Duggirala DISTRIBUTION A: Approved for public release; distribution unlimited (#88ABW-2016-2897).

More information

Formal Analysis of Timing Effects on Closed-loop Properties of Cyber Physical Systems

Formal Analysis of Timing Effects on Closed-loop Properties of Cyber Physical Systems Formal Analysis of Timing Effects on Closed-loop Properties of Cyber Physical Systems Arne Hamann, Corporate Research, Robert Bosch GmbH Joint work with: Matthias Wöhrle (Bosch), Goran Frehse (Université

More information

Applied Integer Programming

Applied Integer Programming Applied Integer Programming D.S. Chen; R.G. Batson; Y. Dang Fahimeh 8.2 8.7 April 21, 2015 Context 8.2. Convex sets 8.3. Describing a bounded polyhedron 8.4. Describing unbounded polyhedron 8.5. Faces,

More information

Forward inner-approximated reachability of non-linear continuous systems

Forward inner-approximated reachability of non-linear continuous systems Forward inner-approximated reachability of non-linear continuous systems Eric Goubault 1 Sylvie Putot 1 1 LIX, Ecole Polytechnique - CNRS, Université Paris-Saclay HSCC, Pittsburgh, April 18, 2017 ric Goubault,

More information

Calcul d Atteignabilité des systèmes hybrides avec des fonctions de support

Calcul d Atteignabilité des systèmes hybrides avec des fonctions de support Calcul d Atteignabilité des systèmes hybrides avec des fonctions de support Rajarshi Ray To cite this version: Rajarshi Ray. Calcul d Atteignabilité des systèmes hybrides avec des fonctions de support.

More information

Hybrid Systems Analysis of Periodic Control Systems using Continuization

Hybrid Systems Analysis of Periodic Control Systems using Continuization Hybrid Systems Analysis of Periodic Control Systems using Continuization Stanley Bak Air Force Research Lab Information Directorate June 2015 DISTRIBUTION A. Approved for public release; Distribution unlimited.

More information

Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems. Scott D. Stoller

Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems. Scott D. Stoller Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems Scott D. Stoller 2014 Annual Safe and Secure Systems and Software Symposium (S5) 1 Simplex Architecture Simplex Architecture

More information

Extensions of the algorithm to deal with hybrid systems, controller synthesis and continuous disturbances are described in section 4 along with severa

Extensions of the algorithm to deal with hybrid systems, controller synthesis and continuous disturbances are described in section 4 along with severa Approximate Reachability Analysis of Piecewise-Linear Dynamical Systems? Eugene Asarin 1, Olivier Bournez 2, Thao Dang 1, and Oded Maler 1 1 Verimag, Centre Equation, 2, av. de Vignate, 38610 Gieres, France

More information

XSpeed: Accelerating Reachability Analysis on Multi-core Processors

XSpeed: Accelerating Reachability Analysis on Multi-core Processors XSpeed: Accelerating Reachability Analysis on Multi-core Processors Rajarshi Ray 1, Amit Gurung 1, Binayak Das 1, Ezio Bartocci 2, Sergiy Bogomolov 3, and Radu Grosu 2 1 National Institute of Technology

More information

COMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2)

COMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2) COMP331/557 Chapter 2: The Geometry of Linear Programming (Bertsimas & Tsitsiklis, Chapter 2) 49 Polyhedra and Polytopes Definition 2.1. Let A 2 R m n and b 2 R m. a set {x 2 R n A x b} is called polyhedron

More information

Modeling and Analysis of Hybrid Systems

Modeling and Analysis of Hybrid Systems Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid Systems RWTH Aachen University Szeged, Hungary, 27 September - 06 October 2017 Ábrahám

More information

Modeling and Analysis of Hybrid Systems

Modeling and Analysis of Hybrid Systems Modeling and Analysis of Hybrid Systems 6. Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid Systems RWTH Aachen University Szeged, Hungary, 27 September - 06 October 2017 Ábrahám

More information

Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes

Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes Proceedings of the 7th World Congress The International Federation of Automatic Control Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes Matthias Althoff Olaf Stursberg

More information

Symbolic Model Checking of Hybrid Systems using Template Polyhedra

Symbolic Model Checking of Hybrid Systems using Template Polyhedra Symbolic Model Checking of Hybrid Systems using Template Polyhedra Sriram Sankaranarayanan 1, Thao Dang 2 and Franjo Ivančić 1 1. NEC Laboratories America, Princeton, NJ, USA. 2. Verimag, Grenoble, France.

More information

High-Level Hybrid Systems Analysis with Hypy

High-Level Hybrid Systems Analysis with Hypy High-Level Hybrid Systems Analysis with Hypy Stanley Bak, Sergiy Bogomolov, Christian Schilling Air Force Research Lab (AFRL), IST Austria, University of Freiburg ARCH 2016 DISTRIBUTION A. Approved for

More information

Efficient Representation and Computation of Reachable Sets for Hybrid Systems

Efficient Representation and Computation of Reachable Sets for Hybrid Systems Efficient Representation and Computation of Reachable Sets for Hybrid Systems Olaf Stursberg 1 and Bruce H. Krogh 2 1 University of Dortmund Germany olaf.stursberg@uni-dortmund.de 2 Dept. of Electrical

More information

CONTEXT-DEPENDENT REACHABILITY ANALYSIS

CONTEXT-DEPENDENT REACHABILITY ANALYSIS The present work was submitted to the LuFG Theory of Hybrid Systems MASTER OF SCIENCE THESIS CONTEXT-DEPENDENT REACHABILITY ANALYSIS FOR HYBRID AUTOMATA Justin Winkens Examiners: Prof. Dr. Erika Ábrahám

More information

maximize c, x subject to Ax b,

maximize c, x subject to Ax b, Lecture 8 Linear programming is about problems of the form maximize c, x subject to Ax b, where A R m n, x R n, c R n, and b R m, and the inequality sign means inequality in each row. The feasible set

More information

Language Overview for PHAVer version 0.35

Language Overview for PHAVer version 0.35 Language Overview for PHAVer version 0.35 Goran Frehse June 22, 2006 We have tried to construct a textual input language that is as user friendly as possible, while keeping the parser simple. In the syntax,

More information

Edge unfolding Cut sets Source foldouts Proof and algorithm Complexity issues Aleksandrov unfolding? Unfolding polyhedra.

Edge unfolding Cut sets Source foldouts Proof and algorithm Complexity issues Aleksandrov unfolding? Unfolding polyhedra. Unfolding polyhedra Ezra Miller University of Minnesota ezra@math.umn.edu University of Nebraska 27 April 2007 Outline 1. Edge unfolding 2. Cut sets 3. Source foldouts 4. Proof and algorithm 5. Complexity

More information

GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems

GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems Hallstein A. Hansen 1 and Gerardo Schneider 2 1 Buskerud University College, Kongsberg, Norway Hallstein.Asheim.Hansen@hibu.no 2 Dept.

More information

Formal Verification of Hybrid Systems Using CheckMate: A Case Study

Formal Verification of Hybrid Systems Using CheckMate: A Case Study Formal Verification of Hybrid Systems Using CheckMate: A Case Study B. Izaias Silva and Bruce H. Krogh Dept. of Electrical and Computer Engineering Carnegie Mellon University Pittsburgh, PA 15213-3890

More information

Temporal Logic Control of Discrete-Time Piecewise Affine Systems

Temporal Logic Control of Discrete-Time Piecewise Affine Systems IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 57, NO. 6, JUNE 2012 1491 Temporal Logic Control of Discrete-Time Piecewise Affine Systems Boyan Yordanov, Member, IEEE, Jana Tůmová, Ivana Černá, Jiří Barnat,

More information

Simplex Algorithm in 1 Slide

Simplex Algorithm in 1 Slide Administrivia 1 Canonical form: Simplex Algorithm in 1 Slide If we do pivot in A r,s >0, where c s

More information

Computational Techniques for Hybrid System Verification

Computational Techniques for Hybrid System Verification 64 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 48, NO 1, JANUARY 2003 Computational Techniques for Hybrid System Verification Alongkrit Chutinan Bruce H Krogh, Fellow, IEEE Abstract This paper concerns

More information

Lecture 5: Properties of convex sets

Lecture 5: Properties of convex sets Lecture 5: Properties of convex sets Rajat Mittal IIT Kanpur This week we will see properties of convex sets. These properties make convex sets special and are the reason why convex optimization problems

More information

Abstract Acceleration of General Linear Loops

Abstract Acceleration of General Linear Loops Abstract Acceleration of General Linear Loops Bertrand Jeannet, Peter Schrammel, Sriram Sankaranarayanan Principles of Programming Languages, POPL 14 San Diego, CA Motivation and Challenge Motivation Inferring

More information

AVERIST: An Algorithmic Verifier for Stability

AVERIST: An Algorithmic Verifier for Stability Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 317 (2015) 133 139 www.elsevier.com/locate/entcs AVERIST: An Algorithmic Verifier for Stability Pavithra Prabhakar

More information

Symbolic and Statistical Model Checking in UPPAAL

Symbolic and Statistical Model Checking in UPPAAL Symbolic and Statistical Model Checking in UPPAAL Alexandre David Kim G. Larsen Marius Mikucionis, Peter Bulychev, Axel Legay, Dehui Du, Guangyuan Li, Danny B. Poulsen, Amélie Stainer, Zheng Wang CAV11,

More information

Distributed Autonomous Systems (Benchmark Proposal)

Distributed Autonomous Systems (Benchmark Proposal) EPiC Series in Computing Volume XXX, 2017, Pages 1 12 ARCH17. 4th International Workshop on Applied Verification of Continuous and Hybrid Systems Distributed Autonomous Systems (Benchmark Proposal) Hoang-Dung

More information

Flow*: An Analyzer for Non-linear Hybrid Systems

Flow*: An Analyzer for Non-linear Hybrid Systems Flow*: An Analyzer for Non-linear Hybrid Systems Xin Chen 1,ErikaÁbrahám 1, and Sriram Sankaranarayanan 2, 1 RWTH Aachen University, Germany {xin.chen,abraham}@cs.rwth-aachen.de 2 University of Colorado,

More information

Verified Switched Control System Design using Real- Time Hybrid Systems Reachability

Verified Switched Control System Design using Real- Time Hybrid Systems Reachability Verified Switched Control System Design using Real- Time Hybrid Systems Reachability Stanley Bak, Taylor Johnson, Marco Caccamo, Lui Sha Air Force Research Lab Information Directorate Rome, NY 1 Cyber-Physical

More information

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg COMPUTER AIDED GEOMETRIC DESIGN Thomas W. Sederberg January 31, 2011 ii T. W. Sederberg iii Preface This semester is the 24 th time I have taught a course at Brigham Young University titled, Computer Aided

More information

Applications of Program analysis in Model-Based Design

Applications of Program analysis in Model-Based Design Applications of Program analysis in Model-Based Design Prahlad Sampath (Prahlad.Sampath@mathworks.com) 2018 by The MathWorks, Inc., MATLAB, Simulink, Stateflow, are registered trademarks of The MathWorks,

More information

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Combinatorial Geometry & Topology arising in Game Theory and Optimization Combinatorial Geometry & Topology arising in Game Theory and Optimization Jesús A. De Loera University of California, Davis LAST EPISODE... We discuss the content of the course... Convex Sets A set is

More information

Convex Optimization Lecture 2

Convex Optimization Lecture 2 Convex Optimization Lecture 2 Today: Convex Analysis Center-of-mass Algorithm 1 Convex Analysis Convex Sets Definition: A set C R n is convex if for all x, y C and all 0 λ 1, λx + (1 λ)y C Operations that

More information

Curves and Fractal Dimension

Curves and Fractal Dimension Claude Tricot Curves and Fractal Dimension With a Foreword by Michel Mendes France With 163 Illustrations Springer-Verlag New York Berlin Heidelberg London Paris Tokyo Hong Kong Barcelona Budapest Contents

More information

Chapter 4 Concepts from Geometry

Chapter 4 Concepts from Geometry Chapter 4 Concepts from Geometry An Introduction to Optimization Spring, 2014 Wei-Ta Chu 1 Line Segments The line segment between two points and in R n is the set of points on the straight line joining

More information

Introduction to Modern Control Systems

Introduction to Modern Control Systems Introduction to Modern Control Systems Convex Optimization, Duality and Linear Matrix Inequalities Kostas Margellos University of Oxford AIMS CDT 2016-17 Introduction to Modern Control Systems November

More information

Lecture 2: August 31

Lecture 2: August 31 10-725/36-725: Convex Optimization Fall 2016 Lecture 2: August 31 Lecturer: Lecturer: Ryan Tibshirani Scribes: Scribes: Lidan Mu, Simon Du, Binxuan Huang 2.1 Review A convex optimization problem is of

More information

Symbolic Model Checking of Hybrid Systems Using Template Polyhedra

Symbolic Model Checking of Hybrid Systems Using Template Polyhedra Symbolic Model Checking of Hybrid Systems Using Template Polyhedra Sriram Sankaranarayanan 1,ThaoDang 2, and Franjo Ivančić 1 1 NEC Laboratories America, Princeton, NJ, USA 2 Verimag, Grenoble, France

More information

FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS

FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS Bong-Jun Yang*, Parikshit Dutta*, Insoek Hwang** *Optimal Synthesis Inc., **School of Aeronautics and Astronautics, Purdue University Keywords:

More information

CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Spring 2018 Convex Sets Instructor: Shaddin Dughmi Outline 1 Convex sets, Affine sets, and Cones 2 Examples of Convex Sets 3 Convexity-Preserving Operations

More information

Lecture 2 Convex Sets

Lecture 2 Convex Sets Optimization Theory and Applications Lecture 2 Convex Sets Prof. Chun-Hung Liu Dept. of Electrical and Computer Engineering National Chiao Tung University Fall 2016 2016/9/29 Lecture 2: Convex Sets 1 Outline

More information

Generating and Analyzing Symbolic Traces of Simulink/Stateflow Models

Generating and Analyzing Symbolic Traces of Simulink/Stateflow Models Generating and Analyzing Symbolic Traces of Simulink/Stateflow Models Aditya Kanade 1, Rajeev Alur 1, Franjo Ivančić 2, S. Ramesh 3, Sriram Sankaranarayanan 2, and K.C. Shashidhar 3 1. University of Pennsylvania,

More information

Lecture 2: August 29, 2018

Lecture 2: August 29, 2018 10-725/36-725: Convex Optimization Fall 2018 Lecturer: Ryan Tibshirani Lecture 2: August 29, 2018 Scribes: Adam Harley Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer: These notes have

More information

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function

More information

Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems

Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems 1 Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems Inseok Hwang 1, Dušan M. Stipanović 2, and Claire J. Tomlin 3 1 Assistant Professor, School

More information

Linear programming and duality theory

Linear programming and duality theory Linear programming and duality theory Complements of Operations Research Giovanni Righini Linear Programming (LP) A linear program is defined by linear constraints, a linear objective function. Its variables

More information

LP Geometry: outline. A general LP. minimize x c T x s.t. a T i. x b i, i 2 M 1 a T i x = b i, i 2 M 3 x j 0, j 2 N 1. where

LP Geometry: outline. A general LP. minimize x c T x s.t. a T i. x b i, i 2 M 1 a T i x = b i, i 2 M 3 x j 0, j 2 N 1. where LP Geometry: outline I Polyhedra I Extreme points, vertices, basic feasible solutions I Degeneracy I Existence of extreme points I Optimality of extreme points IOE 610: LP II, Fall 2013 Geometry of Linear

More information

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that ( Shelling (Bruggesser-Mani 1971) and Ranking Let be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that. a ranking of vertices

More information

Solver for Projectagons

Solver for Projectagons Coho Solver: A Efficient and Robust Linear Program Solver for Projectagons Chao Yan, Mark Greenstreet and Marius Laza Abstract. We present a novel implementation of the Simplex algorithm for solving linear

More information

Contents. Preface... VII. Part I Classical Topics Revisited

Contents. Preface... VII. Part I Classical Topics Revisited Contents Preface........................................................ VII Part I Classical Topics Revisited 1 Sphere Packings........................................... 3 1.1 Kissing Numbers of Spheres..............................

More information

1.2 Numerical Solutions of Flow Problems

1.2 Numerical Solutions of Flow Problems 1.2 Numerical Solutions of Flow Problems DIFFERENTIAL EQUATIONS OF MOTION FOR A SIMPLIFIED FLOW PROBLEM Continuity equation for incompressible flow: 0 Momentum (Navier-Stokes) equations for a Newtonian

More information

Linear Programming in Small Dimensions

Linear Programming in Small Dimensions Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional

More information

Reducing Clocks in Timed Automata while Preserving Bisimulation

Reducing Clocks in Timed Automata while Preserving Bisimulation Reducing Clocks in Timed Automata while Preserving Bisimulation Shibashis Guha Chinmay Narayan S. Arun-Kumar Indian Institute of Technology Delhi {shibashis, chinmay, sak}@cse.iitd.ac.in arxiv:1404.6613v2

More information

Lecture 2. Decidability and Verification

Lecture 2. Decidability and Verification Lecture 2. Decidability and Verification model temporal property Model Checker yes error-trace Advantages Automated formal verification, Effective debugging tool Moderate industrial success In-house groups:

More information

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets. Instructor: Shaddin Dughmi CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 4: Convex Sets Instructor: Shaddin Dughmi Announcements New room: KAP 158 Today: Convex Sets Mostly from Boyd and Vandenberghe. Read all of

More information

A Study on Run Time Assurance for Complex Cyber Physical Systems

A Study on Run Time Assurance for Complex Cyber Physical Systems A Study on Run Time Assurance for Complex Cyber Physical Systems Matthew Clark, Xenofon Koutsoukos, Ratnesh Kumar, Insup Lee, George Pappas, Lee Pike, Joseph Porter, Oleg Sokolsky April 18, 2013 1 Contents

More information

Postprint.

Postprint. http://www.diva-portal.org Postprint This is the accepted version of a paper presented at The 12th IEEE International Conference on Embedded Software and Systems (ICESS 2015), August 24-26, New York, USA.

More information

3D Modeling Parametric Curves & Surfaces

3D Modeling Parametric Curves & Surfaces 3D Modeling Parametric Curves & Surfaces Shandong University Spring 2012 3D Object Representations Raw data Point cloud Range image Polygon soup Solids Voxels BSP tree CSG Sweep Surfaces Mesh Subdivision

More information

Interprocedurally Analysing Linear Inequality Relations

Interprocedurally Analysing Linear Inequality Relations Interprocedurally Analysing Linear Inequality Relations Helmut Seidl, Andrea Flexeder and Michael Petter Technische Universität München, Boltzmannstrasse 3, 85748 Garching, Germany, {seidl, flexeder, petter}@cs.tum.edu,

More information

PHAVer: algorithmic verification of hybrid systems past HyTech

PHAVer: algorithmic verification of hybrid systems past HyTech Int J Softw Tools Technol Transfer (2008) 10:263 279 DOI 10.1007/s10009-007-0062-x REGULAR CONTRIBUTION PHAVer: algorithmic verification of hybrid systems past HyTech Goran Frehse Published online: 8 January

More information

Computer Graphics Curves and Surfaces. Matthias Teschner

Computer Graphics Curves and Surfaces. Matthias Teschner Computer Graphics Curves and Surfaces Matthias Teschner Outline Introduction Polynomial curves Bézier curves Matrix notation Curve subdivision Differential curve properties Piecewise polynomial curves

More information

Outreach Lecture: Polytopes

Outreach Lecture: Polytopes Outreach Lecture: Polytopes Darrell Allgaier (Grove City College), David Perkinson (Reed College), Sarah Ann Stewart (North Central College), John Thurber (Eastern Oregon University) Abstract This is an

More information

ECE 600, Dr. Farag, Summer 09

ECE 600, Dr. Farag, Summer 09 ECE 6 Summer29 Course Supplements. Lecture 4 Curves and Surfaces Aly A. Farag University of Louisville Acknowledgements: Help with these slides were provided by Shireen Elhabian A smile is a curve that

More information

Apprenticeship Learning for Reinforcement Learning. with application to RC helicopter flight Ritwik Anand, Nick Haliday, Audrey Huang

Apprenticeship Learning for Reinforcement Learning. with application to RC helicopter flight Ritwik Anand, Nick Haliday, Audrey Huang Apprenticeship Learning for Reinforcement Learning with application to RC helicopter flight Ritwik Anand, Nick Haliday, Audrey Huang Table of Contents Introduction Theory Autonomous helicopter control

More information

Intersecting Simple Surfaces. Dr. Scott Schaefer

Intersecting Simple Surfaces. Dr. Scott Schaefer Intersecting Simple Surfaces Dr. Scott Schaefer 1 Types of Surfaces Infinite Planes Polygons Convex Ray Shooting Winding Number Spheres Cylinders 2/66 Infinite Planes Defined by a unit normal n and a point

More information

Lagrangian methods for approximating the viability kernel in high-dimensional systems

Lagrangian methods for approximating the viability kernel in high-dimensional systems Lagrangian methods for approximating the viability kernel in high-dimensional systems John N. Maidens a 1, Shahab Kaynama a 1, Ian M. Mitchell b, Meeko M. K. Oishi c, Guy A. Dumont a a Electrical and Computer

More information

Efficient Symbolic Representation of Convex Polyhedra in High-Dimensional Spaces

Efficient Symbolic Representation of Convex Polyhedra in High-Dimensional Spaces Efficient Symbolic Representation of Convex Polyhedra in High-Dimensional Spaces Bernard Boigelot and Isabelle Mainz Institut Montefiore, B28, Université de Liège, B-4000 Liège, Belgium {Bernard.Boigelot,

More information

Action Language Verifier, Extended

Action Language Verifier, Extended Action Language Verifier, Extended Tuba Yavuz-Kahveci 1, Constantinos Bartzis 2, and Tevfik Bultan 3 1 University of Florida 2 Carnegie Mellon University 3 UC, Santa Barbara 1 Introduction Action Language

More information

Cuts from Proofs: A Complete and Practical Technique for Solving Linear Inequalities over Integers

Cuts from Proofs: A Complete and Practical Technique for Solving Linear Inequalities over Integers Cuts from Proofs: A Complete and Practical Technique for Solving Linear Inequalities over Integers Isil Dillig, Thomas Dillig, and Alex Aiken Computer Science Department Stanford University Linear Arithmetic

More information

Convex Geometry arising in Optimization

Convex Geometry arising in Optimization Convex Geometry arising in Optimization Jesús A. De Loera University of California, Davis Berlin Mathematical School Summer 2015 WHAT IS THIS COURSE ABOUT? Combinatorial Convexity and Optimization PLAN

More information

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013 3D Modeling Parametric Curves & Surfaces Shandong University Spring 2013 3D Object Representations Raw data Point cloud Range image Polygon soup Surfaces Mesh Subdivision Parametric Implicit Solids Voxels

More information

Convex sets and convex functions

Convex sets and convex functions Convex sets and convex functions Convex optimization problems Convex sets and their examples Separating and supporting hyperplanes Projections on convex sets Convex functions, conjugate functions ECE 602,

More information

Convex sets and convex functions

Convex sets and convex functions Convex sets and convex functions Convex optimization problems Convex sets and their examples Separating and supporting hyperplanes Projections on convex sets Convex functions, conjugate functions ECE 602,

More information

An Abstract Domain for Certifying Neural Networks. Department of Computer Science

An Abstract Domain for Certifying Neural Networks. Department of Computer Science An Abstract Domain for Certifying Neural Networks Gagandeep Singh Timon Gehr Markus Püschel Martin Vechev Department of Computer Science Adversarial input perturbations Neural network f 8 I " Neural network

More information

Continuous Collision Detection and Physics

Continuous Collision Detection and Physics Continuous Collision Detection and Physics Erwin Coumans, Sony Computer Entertainment August 2005, Draft revision 5 0 Overview A novel approach to Angular and Linear Continuous Collision Detection is presented.

More information

A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications

A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications Dipartimento di Elettronica, Informazione e Bioingegneria A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications Maria Prandini maria.prandini@polimi.it

More information

Convex Sets (cont.) Convex Functions

Convex Sets (cont.) Convex Functions Convex Sets (cont.) Convex Functions Optimization - 10725 Carlos Guestrin Carnegie Mellon University February 27 th, 2008 1 Definitions of convex sets Convex v. Non-convex sets Line segment definition:

More information

Lecture 4: Linear Programming

Lecture 4: Linear Programming COMP36111: Advanced Algorithms I Lecture 4: Linear Programming Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2017 18 Outline The Linear Programming Problem Geometrical analysis The Simplex

More information

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville Curves and Surfaces Shireen Elhabian and Aly A. Farag University of Louisville February 21 A smile is a curve that sets everything straight Phyllis Diller (American comedienne and actress, born 1917) Outline

More information

1 Real-Time Reachability for Verified Simplex Design

1 Real-Time Reachability for Verified Simplex Design 1 Real-Time Reachability for Verified Simplex Design TAYLOR T. JOHNSON, University of Texas at Arlington STANLEY BAK, Air Force Research Laboratory MARCO CACCAMO, University of Illinois at Urbana-Champaign

More information

This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course?

This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course? Lec4 Page 1 Lec4p1, ORF363/COS323 This lecture: Convex optimization Convex sets Convex functions Convex optimization problems Why convex optimization? Why so early in the course? Instructor: Amir Ali Ahmadi

More information

Interval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships

Interval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships Interval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships Liqian Chen 1,2 Antoine Miné 3,2 Ji Wang 1 Patrick Cousot 2,4 1 National Lab. for Parallel and Distributed Processing, Changsha,

More information

PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD

PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD International Journal of Foundations of Computer Science c World Scientific Publishing Company PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD LAURENT FRIBOURG Laboratoire

More information

Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems

Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems Jacob Roll Department of Electrical Engineering Linköping University, S-581 83 Linköping, Sweden WWW: http://www.control.isy.liu.se

More information

Lecture 2 - Introduction to Polytopes

Lecture 2 - Introduction to Polytopes Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.

More information

Figure 2.1: An example of a convex set and a nonconvex one.

Figure 2.1: An example of a convex set and a nonconvex one. Convex Hulls 2.1 Definitions 2 Convexity is the key to understanding and simplifying geometry, and the convex hull plays a role in geometry akin to the sorted order for a collection of numbers. So what

More information