Automatic Rectangular Refinement of Affine Hybrid Automata Tom Henzinger EPFL Laurent Doyen ULB Jean-François Raskin ULB FORMATS 2005 – Sep 27 th - Uppsala.

Slides:



Advertisements
Similar presentations
Alpha Shapes. Used for Shape Modelling Creates shapes out of point sets Gives a hierarchy of shapes. Has been used for detecting pockets in proteins.
Advertisements

Lecture 24 MAS 714 Hartmut Klauck
Lecture #3; Based on slides by Yinyu Ye
CS6800 Advanced Theory of Computation
Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Timed Automata.
Parosh Aziz Abdulla Pritha Mahata Aletta Nyl é n Uppsala University Downward Closed Language Generators.
Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 13.
ESE601: Hybrid Systems Some tools for verification Spring 2006.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
Robustness and Implementability of Timed Automata Martin De Wulf Laurent Doyen Nicolas Markey Jean-François Raskin Centre Fédéré en Vérification FORMATS-FTRTFT.
Aditya Zutshi Sriram Sankaranarayanan Ashish Tiwari TIMED RELATIONAL ABSTRACTIONS FOR SAMPLED DATA CONTROL SYSTEMS.
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
Main contributions The coefficients of the parametric form of P  Q lie in an extension of which is, in general, of minimal degree. In this extension of,
Multiple Shooting, CEGAR-based Falsification for Hybrid Systems
Vladimir Protasov (Moscow State University) Perron-Frobenius theory for matrix semigroups.
1.2 Row Reduction and Echelon Forms
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
Robust Hybrid and Embedded Systems Design Jerry Ding, Jeremy Gillula, Haomiao Huang, Michael Vitus, and Claire Tomlin MURI Review Meeting Frameworks and.
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
November 21, 2005 Center for Hybrid and Embedded Software Systems Homepage
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Prénom Nom Document Analysis: Linear Discrimination Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
1 8. Safe Query Languages Safe program – its semantics can be at least partially computed on any valid database input. Safety is tied to program verification,
Synergy: A New Algorithm for Property Checking
1 Compositional Verification of Hybrid Systems Using Simulation Relations Doctorate Defense Goran Frehse Radboud Universiteit, Nijmegen, Oct. 10, 2005.
Introduction to Gröbner Bases for Geometric Modeling Geometric & Solid Modeling 1989 Christoph M. Hoffmann.
Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Advances in Hybrid System Theory: Overview Claire J. Tomlin UC Berkeley.
Hybrid Systems a lecture over: Tom Henzinger’s The Theory of Hybrid Automata Anders P. Ravn Aalborg University PhD-reading course November 2005.
November 21, 2005 Center for Hybrid and Embedded Software Systems Engine Hybrid Model A mean value model of the engine.
EE291E - UC BERKELEY EE291E: Hybrid Systems T. John Koo and S. Shankar Sastry Department of EECS University of California at Berkeley Spring 2002
1 Completeness and Complexity of Bounded Model Checking.
Beyond HyTech Presented by: Ben Horowitz and Rupak Majumdar Joint work with Tom Henzinger and Howard Wong-Toi.
Pablo A. Parrilo ETH Zürich Semialgebraic Relaxations and Semidefinite Programs Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
Quantitative Languages Krishnendu Chatterjee, UCSC Laurent Doyen, EPFL Tom Henzinger, EPFL CSL 2008.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
Solving Systems of Linear Equations by Graphing
1 DISTRIBUTION A. Approved for public release; Distribution unlimited. (Approval AFRL PA # 88ABW , 09 April 2014) Reducing the Wrapping Effect.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
Computational Geometry Piyush Kumar (Lecture 5: Linear Programming) Welcome to CIS5930.
Linear Programming Piyush Kumar. Graphing 2-Dimensional LPs Example 1: x y Feasible Region x  0y  0 x + 2 y  2 y  4 x  3 Subject.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Chapter 4 Section 1 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
Dina Workshop Analysing Properties of Hybrid Systems Rafael Wisniewski Aalborg University.
The Lower Bounds of Problems
1 Summary: Design Methods for Algorithms Andreas Klappenecker.
Splitting a Face Point edge already split new vertex two new faces one new vertex six new half-edges.
Lazy Abstraction Jinseong Jeon ARCS, KAIST CS750b, KAIST2/26 References Lazy Abstraction –Thomas A. Henzinger et al., POPL ’02 Software verification.
Chapter 4 Section 1. Objectives 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Solving Systems of Linear Equations by Graphing Decide whether.
ECE/CS 584: Hybrid Automaton Modeling Framework Invariance, Abstractions, Simulation Lecture 04 Sayan Mitra.
The Maximum Traveling Salesman Problem under Polyhedral Norms Alexander Barvinok, David S. Johnson, Gerhard J. Woeginger and Russell Woodroffe Integer.
Reachability for Linear Hybrid Automata Using Iterative Relaxation Abstraction Sumit K. Jha, Bruce H. Krogh, James E. Weimer, Edmund M. Clarke Carnegie.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
Synergy: A New Algorithm for Property Checking Bhargav S. Gulavani (IIT Bombay)‏ Yamini Kannan (Microsoft Research India)‏ Thomas A. Henzinger (EPFL)‏
Tuesday, October 15, 2013 Do Now:. 3-1 Solving Systems of Equations by Graphing Objectives: 1)solve systems of linear equations by graphing 2) Determine.
Relational String Verification Using Multi-track Automata.
ECE/CS 584: Verification of Embedded Computing Systems Timed to Hybrid Automata Sayan Mitra (edited by Yu Wang) Lecture 10.
Parametric Quadratic Optimization Oleksandr Romanko Joint work with Alireza Ghaffari Hadigheh and Tamás Terlaky McMaster University January 19, 2004.
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Object Matching Using a Locally Affine Invariant and Linear Programming Techniques - H. Li, X. Huang, L. He Ilchae Jung.
Arithmetic Constraints and Automata
Discrete Controller Synthesis
Robustness and Implementability of Timed Automata
Systems of three equations with three variables are often called 3-by-3 systems. In general, to find a single solution to any system of equations,
Presentation transcript:

Automatic Rectangular Refinement of Affine Hybrid Automata Tom Henzinger EPFL Laurent Doyen ULB Jean-François Raskin ULB FORMATS 2005 – Sep 27 th - Uppsala

Overview Automatic analysis of affine hybrid systems

Overview Example: Navigation Benchmark {

Overview Automatic analysis of affine hybrid systems Example: Two trajectories {

Overview Automatic analysis of affine hybrid systems Example: Navigation Benchmark { Affine dynamics

Overview Automatic analysis of affine hybrid systems Example: { Affine dynamics Discrete states B2 + A

Some classes of hybrid automata: –Timed automata ( ) –Rectangular automata ( ) –Linear automata ( )Reminder

Some classes of hybrid automata: –Timed automata ( ) –Rectangular automata ( ) –Linear automata ( )Reminder Limit for decidability of Language Emptiness

Reminder Some classes of hybrid automata: –Timed automata ( ) –Rectangular automata ( ) –Linear automata ( ) –Affine automata ( ) –Polynomial automata ( ) –etc. Limit for decidability of Language Emptiness

Reminder Some classes of hybrid automata: –Timed automata ( ) –Rectangular automata ( ) –Linear automata ( ) –Affine automata ( ) –Polynomial automata ( ) –etc. Limit for symbolic computation of Post with HyTech Limit for decidability of Language Emptiness

Methodology Affine automaton A and set of states Bad Check that Reach(A)  Bad = Ø

Methodology Affine dynamics is too complex ? Abstract it ! Affine automaton A and set of states Bad Check that Reach(A)  Bad = Ø

Methodology Affine dynamics is too complex ? Abstract it ! Abstraction is too coarse ? Refine it ! HOW ? Affine automaton A and set of states Bad Check that Reach(A)  Bad = Ø

Methodology Affine dynamics Rectangular dynamics 1. Abstraction: over-approximation

Let ThenMethodology Affine dynamics Rectangular dynamics 1. Abstraction: over-approximation {

Methodology Line l  2. Refinement: split locations by a line cut l 0 3

Methodology Line l  2. Refinement: split locations by a line cut l 0 3

Methodology Abstract Reach(A’)  Bad Ø ? = A’ A Yes Original Automaton Property verified

Methodology Abstract Reach(A’)  Bad Ø ? = A’ A Yes Original Automaton ( Undecidable ) Property verified

Methodology AbstractRefine Reach(A’)  Bad Ø ? = A’ A No Yes Original Automaton ( Undecidable ) Property verified using Reach(A’) using Pre*(Bad)

Refinement 2. Refinement: split locations by a line cut Which location(s) ? –Loc 1 = Locations reachable in the last step –Loc 2 = Reachable locations that can reach Bad –B etter: replace the state space by Loc 2

Refinement 2. Refinement: split locations by a line cut Which location(s) ? –Loc 1 = Locations reachable in the last step –Loc 2 = Reachable locations that can reach Bad –B etter: replace the state space by Loc 2 Which line cut ? –The best cut for some criterion characterizing the goodness of the resulting approximation.

Notations

Notations

Notations l P+P+ P-P- A B

Notations l P+P+ P-P- A B

? Goodness of a cut A good cut should minimize

? Goodness of a cut A good cut should minimize

? … Goodness of a cut A good cut should minimize

? … Goodness of a cut Our choice A good cut should minimize

Finding the optimal cut P

Extremal level sets of f(x,y) P

Extremal level sets of g(x,y) P

Example P Assume

Then any line separating { } and { } is better than any other line.Example P Assume

Example P

Example Any line separating { } and { } is better than any other line. P

Example Any line separating { } and { } is better than any other line. P

Example Thus, for every the best line separates and P

Example Thus, for every the best line separates and P

Example Thus, for every the best line separates and P

Example Thus, for every the best line separates and P

Example P When

Example P the best line cut must separate both from and from

Example P The best line cut must separate both from and from

Example Intersection P The process continues because it is still possible to separate both from and from When an intersection occurs…

Example P

Example P

Example P

Example P

Example Intersection P When a second intersection occurs…

Example Intersection P In this case, we have reached the "limit of separability"

Example An optimal cut P

How to compute the intersection ? P

P We have to find the minimal  such that: (u,v)

How to compute the intersection ? P We have to find the minimal  such that: This is a linear program ! (u,v)

The algorithm Applies in the plane (2D) –Several particular cases

The algorithm Applies in the plane (2D) –Several particular cases What for higher dimension ? –An option: discretize the problem using a grid –Apply a (more) discrete algorithm –The exact solution can be arbitrarily closely approximated

The algorithm Applies in the plane (2D) –Several particular cases What for higher dimension ? –An option: discretize the problem using a grid –Apply a (more) discrete algorithm –The exact solution can be arbitrarily closely approximated N.B.: it is possible to define a general algorithm in nD, but it requires to solve difficult geometrical problems (parametric convex hulls).

The algorithm Applies in the plane (2D) –Several particular cases What for higher dimension ? –An option: discretize the problem using a grid –Apply a (more) discrete algorithm –The exact solution can be arbitrarily closely approximated N.B.: it is possible to define a general algorithm in nD, but it requires to solve difficult geometrical problems (parametric convex hulls).

Navigation benchmark In each location, the dynamics has the form: We cut in the plane v 1 -v 2

Navigation benchmark In each location, the dynamics has the form: We cut in the plane v 1 -v 2

Results NAV 04 NAV 07 Initial states Bad statesGood states

Results: NAV 04 Forward Backward

Results: NAV 04 Forward

Results: NAV 07 Backward

Conclusion Approximations Rectangular Over-approximations

Conclusion Approximations Rectangular Over-approximations Refinements Automatic Optimal split for some criterion (at least in 2D)

Conclusion Approximations Rectangular Over-approximations Refinements Automatic Optimal split for some criterion (at least in 2D) Possible future work Under-approximations Optimal split for some other criterion Combine with other approaches (barrier certificates, ellipsoïds, …)

References [FI04] A. Fehnker and F. Ivancic. Benchmarks for hybrid systems verification. In HSCC 2004, LNCS 2993, pp [Fre05] G. Frehse. Phaver: Algorithmic verification of hybrid systems past hytech. In HSCC 2005, LNCS 3414, pp