reachability for continuous and hybrid systems
play

Reachability for Continuous and Hybrid Systems Oded Maler CNRS - - PowerPoint PPT Presentation

Reachability for Continuous and Hybrid Systems Oded Maler CNRS - VERIMAG Grenoble, France RP, September 2009 Preface This talk has two parts The first part presents work done in the early days of hybrid systems research, some 15


  1. Reachability for Continuous and Hybrid Systems Oded Maler CNRS - VERIMAG Grenoble, France RP, September 2009

  2. Preface ◮ This talk has two parts ◮ The first part presents work done in the “early days” of hybrid systems research, some 15 years ago ◮ It is about decidability and undecidability of some reachability problem for a simple type of hybrid automata ◮ This work is interesting and shows relations between computation, geometry and dynamics, but my current opinion is that this direction is not very applicable outside the paper industry ◮ The second part represents my current work in the domain ◮ We approximate reachable states of systems defined by linear and nonlinear differential equations ◮ I think this is a useful direction but I don’t know what I will think about it in 15 years

  3. Reachability Analysis of Dynamical Systems having Piecewise-Constant Derivatives Eugene Asarin Oded Maler Amir Pnueli CNRS - VERIMAG Grenoble, France 1993-1995

  4. Outline of Talk ◮ Some generalities on “linear” hybrid automata and PCD systems ◮ Decidability of reachability problems in the plane ◮ Undecidability in dimension 3 and above by simulating pushdown stacks ◮ Going higher in the arithmetical hierarchy ◮ So what?

  5. A Motivating Example: Buffer Networks ◮ Consider a network of containers/buffers for water/data ◮ Channels can be switched on and off ◮ When a channel is on, its flow rate is a constant ◮ Each combination of open/close valves leads to a different derivatives for the buffer levels, based on the difference between their in- and outflows V 1 c 1 Open 1 A B x 1 = 0 ˙ x 1 = c 1 ˙ x 1 x 2 = − c 3 ˙ x 2 = − c 3 ˙ Close 1 Open 2 Open 2 V 2 c 2 Close 2 Close 2 x 2 Open 1 C D x 1 = − c 2 ˙ x 1 = c 1 − c 2 ˙ x 2 = c 2 − c 3 ˙ x 2 = c 2 − c 3 ˙ c 3 Close 1

  6. “Linear” Hybrid Automata and PCD Systems ◮ A sub-class of hybrid automata ◮ Can be viewed as piecewise-trivial dynamical systems: derivatives are constant in every control state (location) and the evolution is along a straight line ◮ Transition guards (switching surface) and invariants (staying conditions) are linear (hyperplanes, polytopes) ◮ Local continuous evolution needs no numerical analysis; Computing the effect of time passage amounts to quantifier elimination in linear algebra ◮ Investigated a lot by Henzinger et al. (HYTECH), currently supported by the tool PHAVER (G. Frehse) ◮ PCD (piecewise-constant derivative): a sub-class of linear hybrid automata closer in spirit to continuous dynamical systems

  7. PCD (Piecewise-Constant Derivatives) Systems ◮ Dynamical System: H = ( X , f ), X = R d ◮ f : X → X defines differential equation d + x dt = f ( x ) ◮ A trajectory of H starting at x 0 ∈ X is ξ : R + → X s.t. ◮ ξ (0) = x 0 ◮ f ( ξ ( t )) is defined for every t and is equal to the right derivative of ξ ( t ) ◮ PCD: X is partitioned into a final number of polyhedra (regions) and f is constant in each region ◮ Trajectories are thus broken lines

  8. PCDs are Effective ◮ A description of a PCD system: { ( P 1 , c 1 ) , . . . , ( P n , c n ) } ◮ each P i is a convex polyhedron (interesection of linear inequalities) and c i is its corresponding derivative (slope) ◮ Effectiveness: given a PCD description and a rational point x = ξ (0) ◮ There exists ǫ > 0 s.t. we can compute precisely x ′ = ξ (∆) for every ∆, 0 < ∆ t < ǫ ; x ′ = x + c · ∆ ◮ Unlike arbitrary dynamical systems where you can only approximate

  9. Decision Problems for PCD ◮ Point-to-point reachability Reach ( H , x , x ′ ): ◮ Given: a PCD H and x , x ′ ∈ X , ◮ Are there a trajectory ξ and t ≥ 0 such that ξ (0) = x and ξ ( t ) = x ′ ? ◮ Region-to-region reachability R-Reach ( H , P , P ′ ): ◮ Given: a PCD H and two polyhedral sets P , P ′ ⊆ X ◮ Are there two points x ∈ P and x ′ ∈ P ′ such that Reach ( H , x , x ′ ) ?

  10. PCDs on the Plane ◮ Polyhedral partition of the plane into polygons/regions ( P ) ◮ Induced boundary elements: edges ( e ) and vertices ( x ) ◮ A kind of abstract finite alphabet to describe qualitative behaviors as sequences of regions or edges e 2 P 1 P 2 e 1 x 1 e 3 P 3 e 4 x 2 x 3 e 5 e 7 P 5 e 6 P 4

  11. Orientation and Ordering of Boundaries ◮ Edges (and vertices) can be classified as entry and exit according to the relation between the slope c and the the vector e which defines the inequality ◮ Edge e below is exit for c 1 and entry for c 3 c 1 c 3 c 2 e ◮ The whole boundary of a region can be decomposed into two connected sets, entry In ( P ) and exit Out ( p ) ◮ A linear order can be imposed on each of them: Out ( P ) x 1 e 2 e 3 x 2 e 1 c e 4 θ ( x 1) θ ( x 2) ˆ c In ( P )

  12. A Fundamental Property of Planar Systems ◮ Let ξ be any trajectory that intersects Out ( P ) in three consecutive points, x 1 , x 2 and x 3 . Then: x 1 � x 2 implies x 2 � x 3 x 3 x ′ x 3 2 x 1 x 1 x ′ x ′ 2 x ′ 3 3 y x 2 l x 2 y l ◮ The figure shows why it cannot be otherwise as the trajectory must intersect itself ◮ Jordan’s theorem, not true in 3 dimensions

  13. Spirals ◮ Consequently all repetitive behaviors are spirals Contracting: Expanding: x 2 x 2 x 1 x 1 y l y l ◮ The sequences of intersections with an edge is monotonic and you cannot return to an edge you have “abandoned” ◮ Since there are finitely many edges we can conclude: ◮ For every trajectory, the sequence of edges it crosses is ultimately-periodic: e 1 , . . . , e i , ( e i +1 , . . . , e i + j ) ω

  14. Representation (Parametrization) ◮ A representation scheme for an edge e is a pair of vectors v , u and an interval [ l , h ] such that e = { v + λ u : λ ∈ [ l , h ] } h λ e l v u ◮ Consider and entry edge e with ( u , v ) representation and exit edge e ′ with ( u ′ , v ′ ) representation ◮ The corresponding successor function is defined as f e , e ′ ( λ ) = λ ′ iff by entering P at x = ( e , λ ), you exit as x ′ = ( e ′ , λ ′ ) u ′ λ ′ v ′ e ′ e λ v u

  15. Successor Function is Linear ◮ Successor function is well-defined, computable and linear: λ ′ = A e , e ′ λ + B e , e ′ where A e , e ′ = c · a and B e , e ′ = ˆ c · ( v − v ′ ) c · a ′ c · a ′ ◮ Here c is the slope and a and a ′ are the normals to e and e ′ ◮ (Some basic linear algebra, quantifier elimination...) ◮ Predecessor: λ = λ ′ − B e , e ′ A e , e ′ ◮ Moreover: if e ∈ In ( P ) and e ′ ∈ Out ( P ) then A e , e ′ > 0

  16. Signature Successor Function ◮ A cyclic signature: a sequence σ = e 1 , . . . , e k of edges s.t. e 1 = e k λ ′ e λ ◮ The function f σ from e 1 to itself represents the effect on a point going through a cycle (Poincare map) ◮ In our case it is linear f σ ( λ ) = A σ λ + B σ (composition of linear partial functions) ◮ A σ = A e 1 , e 2 · A e 2 , e 3 . . . A e k − 1 , e k ◮ B σ = ( · · · (( B e 1 , e 2 · A e 2 , e 3 + B e 2 , e 3 ) · A e 3 , e 4 + B e 3 , e 4 ) · · · ) · A e k − 1 , e k + B e k − 1 , e k

  17. Intersections of a Spiral and an Edge µ 0 µ 1 µ ∗ ◮ µ i +1 = A σ · µ i + B σ   µ 0 + B σ · n if A σ = 1 σ + B σ · A n ◮ µ n = σ − 1 µ 0 · A n otherwise  A σ − 1 ◮ We can compute µ ∗ = lim n →∞ µ n

  18. The Limit of the Sequence Case Limit A σ = 1 , B σ = 0 µ 0 A σ = 1 , | B σ | > 0 ∞ A σ = 1 , | B σ | < 0 −∞ B σ A σ < 1 1 − A σ B σ A σ > 1 , µ 0 = µ 0 1 − A σ B σ A σ > 1 , µ 0 > ∞ 1 − A σ B σ A σ > 1 , µ 0 < −∞ 1 − A σ

  19. Main Positive Result ◮ An algorithm for deciding Reach ( H , x , x ′ ): ◮ Start “simulating” forward from x ◮ When you encounter a cycle, compute its limit points on all edges and determine whether it is the ultimate cycle (limits on each edge stays inside edge range) ◮ If not, continue simulating until you leave it (in a finite number of iterations) ◮ If it is the ultimate cycle, and x ′ is beyond the limit, the answer is “no” ◮ If x ′ is before the limit then continue simulation until you reach x ′ (“yes”) or bypass it (“no”)

  20. Region-to-Region Reachability (Sketch) ◮ Can be reduced to edge-to-edge reachability ◮ An entry edge interval splits into finitely many exits edges x 2 e 2 x 1 e 3 e 1 e l h ◮ Can build a successor tree and compute a limit along each branch e 1 l ′ u ′ 1 1 l 1 u 1 e 2 l 2 u 2 e 3 l 3 u 3 l 4 u 4 e 4

  21. Can we go to Higher Dimensions? ◮ One one hand: calculating successors can be generalized to higher dimensions (more book-keeping though) ◮ On the other: no Jordan theorem so trajectories are not necessary ultimately-periodic (Chaos et co.) ◮ We show undecidability for 3 dimensions by showing that PCDs can simulate any TM (2PDA) and hence deciding reachability for PCDs solves the halting problem ◮ Interesting “model of computation”

  22. Simulation of Finite-State Automata ◮ Every finite deterministic automaton can be simulated by a 3-dimensional PCD system z = 3 z = 2 q 1 q 2 q 3 z = 1 z y z = 0 x (0 , 0 , 0) q 1 q 2 q 3 Region Defining conditions c = (˙ x , ˙ y , ˙ z ) ( z = 0) ∧ ( y < 1) (0 , 1 , 0) F U ij ( x = i ) ∧ ( y = 1) ∧ ( z < j ) (0 , 0 , 1) ( z = j ) ∧ ( x + ( j − i ) y = j ) ∧ ( y > 0) ( j − i , − 1 , 0) B ij D ( z > 0) ∧ ( y = 0) (0 , 0 , − 1) ◮ Regions U ij and B ij are defined for every i , j such that δ ( q i ) = q j

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend