decidable compositions of o minimal automata
play

Decidable Compositions of O-Minimal Automata Alberto Casagrande 1 , - PowerPoint PPT Presentation

Hybrid Systems and Automata Composing Automata Conclusions Decidable Compositions of O-Minimal Automata Alberto Casagrande 1 , 2 Pietro Corvaja 1 Carla Piazza 1 Bud Mishra 3 , 4 1 DIMI, Univ. di Udine, Udine, Italy 2 Institute of Applied


  1. Hybrid Systems and Automata Composing Automata Conclusions Decidable Compositions of O-Minimal Automata Alberto Casagrande 1 , 2 Pietro Corvaja 1 Carla Piazza 1 Bud Mishra 3 , 4 1 DIMI, Univ. di Udine, Udine, Italy 2 Institute of Applied Genomics, Udine, Italy. 3 Courant Institute, NYU, New York, USA 4 NYU School of Medicine, New York, USA

  2. Hybrid Systems and Automata Composing Automata Conclusions Hybrid Systems Many real systems have a double nature. They: evolve in a continuous way are ruled by a discrete system We call such systems hybrid systems and we can formalize them using hybrid automata

  3. Hybrid Systems and Automata Composing Automata Conclusions Hybrid Automata - Intuitively A hybrid automaton H is a finite state automaton with continuous variables Z Reset ( e )[ Z, Z ′ ]; Act ( e )[ Z ] v v ′ Dyn ( v )[ Z, Z ′ , T ] Dyn ( v ′ )[ Z, Z ′ , T ] Inv ( v )[ Z ] Inv ( v ′ )[ Z ] Reset ( e ′ )[ Z, Z ′ ]; Act ( e ′ )[ Z ] A state is a pair � v , r � where r is an evaluation for Z

  4. Hybrid Systems and Automata Composing Automata Conclusions Hybrid Automata - Semantics v v ′ f ( t ′ ) s r Definition (Continuous Transition) there exists a continuous f : R + �→ R k such that r = f ( 0 ) , s = f ( t ) , � v , r � t and for each t ′ ∈ [ 0 , t ] the formulæ − → C � v , s � ⇐ ⇒ Inv ( v )[ f ( t ′ )] Dyn ( v )[ r , f ( t ′ ) , t ′ ] and hold

  5. Hybrid Systems and Automata Composing Automata Conclusions Hybrid Automata - Semantics v ′ v r s Definition (Discrete Transition) � v , λ, v ′ � ∈ E and Act ( � v , λ, v ′ � )[ r ] , Inv ( v )[ r ] , � v ,λ, v ′ � → D � v ′ , s � � v , r � − − − − ⇐ ⇒ Reset ( � v , λ, v ′ � )[ r , s ] , and Inv ( v ′ )[ s ] hold

  6. Hybrid Systems and Automata Composing Automata Conclusions Decidable Classes Question Can we automatically verify hybrid automaton properties? Not even reachability is decidable in general Many decidable classes have been defined: Timed automata, Multi-rated automata, Rectangular automata, O-minimal automata, Semi-algebraic Constant Reset automata Observation Decidability results are usually obtained by quotients, e.g., Bisimulation and Simulation

  7. Hybrid Systems and Automata Composing Automata Conclusions Semi-Algebraic O-Minimal Hybrid Automata Definition (Semi-Algebraic Theory) First-order polynomial formulæ over the reals ( R , 0 , 1 , ∗ , + , > ) Example ∃ T ≥ 0 ( Z ′ = T 2 − T + Z ∧ 1 ≤ Z ≤ 2 ) Definition An hybrid automaton H is semi-algebraic o-minimal if: H is o-minimal (mainly means constant resets) Dyn , Inv , Reset , and Act are semi-algebraic

  8. Hybrid Systems and Automata Composing Automata Conclusions Constant Resets v ′ v r 1 r 2

  9. Hybrid Systems and Automata Composing Automata Conclusions Constant Resets v ′ v r 1 r 2

  10. Hybrid Systems and Automata Composing Automata Conclusions Constant Resets v ′ v r 1 r 2 ∀ Z ′ ( Reset ( e )[ r 1 , Z ′ ] ↔ Reset ( e )[ r 2 , Z ′ ])

  11. Hybrid Systems and Automata Composing Automata Conclusions Semi-Algebraic O-Minimal Automata Properties - I Constant resets imply that: Acyclic paths are enough for reachability e 3 e 2 = e 4 e 1 e 5

  12. Hybrid Systems and Automata Composing Automata Conclusions Semi-Algebraic O-Minimal Automata Properties - II Constant resets and semi-algebraic formulæ allow us to reduce reachability to satisfiability of first-order formulæ over ( R , 0 , 1 , ∗ , + , > ) � Reachable [ Z , Z ′ ] ≡ ∃ T ≥ 0 ( Reach ph [ Z , Z ′ , T ]) ph ∈ Ph where Ph is the set of all acyclic paths and Reach ph [ Z , Z ′ , T ] means that Z reaches Z ′ in time T through ph First-order formulæ over ( R , 0 , 1 , ∗ , + , > ) are decidable [Tarski]

  13. Hybrid Systems and Automata Composing Automata Conclusions How to Increase Expressivity? We need to relax constant resets We could try to define ad-hoc conditions (e.g., at least one constant reset along each cycle) What if we compose semi-algebraic o-minimal automata? Compositionality is important both in modeling and in verification Is reachability still decidable?

  14. Hybrid Systems and Automata Composing Automata Conclusions Example ˙ ˙ Z a = − 1 Z b = − 1 Z a = 0 Z b = 0 √ √ Z ′ a = 1 Z a ∈ [0 , 1] � � Z ′ b = 2 Z b ∈ 0 , 2 H b H a To formalize the overall system, we may perform parallel composition of components

  15. Hybrid Systems and Automata Composing Automata Conclusions Example Z a = 0 ∧ Z b = 0; √ a = 1 ∧ Z ′ Z ′ b = 2 e e a ,e b ˙ Z a = − 1 ∧ Z a = 0; ˙ Z b = 0; Z b = − 1 √ Z ′ a = 1 ∧ Z ′ b = Z b a = Z a ∧ Z ′ Z ′ b = 2 Z a ∈ [0 , 1] ∧ √ � � Z b ∈ 0 , 2 e e a ,v b e v a ,e b H a × H b Decidability is not preserved by composition [Miller]

  16. Hybrid Systems and Automata Composing Automata Conclusions Parallel Composition of Hybrid Automata Definition Let H a and H b be two hybrid automata over distinct variables. The parallel composition of H a and H b is the hybrid automaton H a ⊗ H b , where: we consider all the variables of H a and H b the locations are the cartesian product of the locations each edge represents either one edge in one of the two components or one edge in each component Dyn , Inv , and Act are trivially defined as conjunctions Reset are conjunctions of either one reset and one identity or two resets

  17. Hybrid Systems and Automata Composing Automata Conclusions Composition of Semi-Algebraic O-Minimal Automata The product of semi-algebraic o-minimal automata: is not a semi-algebraic o-minimal automata also identity resets are involved may have infinite simulation quotient we cannot use quotients for reachability

  18. Hybrid Systems and Automata Composing Automata Conclusions Reachability in Parallel Composition Let us consider H a × H b , i.e., two automata ( s a , s b ) reaches ( f a , f b ) iff there exists a time t such that: s a reaches f a in time t in H a and s b reaches f b in the same time in H b

  19. Hybrid Systems and Automata Composing Automata Conclusions Reachability in Parallel Composition Let us consider H a × H b , i.e., two automata ( s a , s b ) reaches ( f a , f b ) iff there exists a time t such that: s a reaches f a in time t in H a and s b reaches f b in the same time in H b We can reduce reachability on the composition to: study timed reachability on each component 1 intersect the results 2

  20. Hybrid Systems and Automata Composing Automata Conclusions Reachability in Parallel Composition Let us consider H a × H b , i.e., two automata ( s a , s b ) reaches ( f a , f b ) iff there exists a time t such that: s a reaches f a in time t in H a and s b reaches f b in the same time in H b We can reduce reachability on the composition to: study timed reachability on each component 1 intersect the results 2 We already know that we cannot use quotients Let us try with first-order formulæ

  21. Hybrid Systems and Automata Composing Automata Conclusions Timed Reachability on Semi-Algebraic O-Minimal s reaches f from in time t in H iff there exists an acyclic path ph leading from f to s in time tp s f there are cycles which can be added to ph which can be covered once in time ct 1 , ct 2 , . . . t = th + n 1 ∗ ct 1 + n 2 ∗ ct 2 + . . . , with n 1 , n 2 , . . . natural

  22. Hybrid Systems and Automata Composing Automata Conclusions Timed Reachability on Semi-Algebraic O-Minimal s reaches f from in time t in H iff there exists an acyclic path ph leading from f to s in time tp s f there are cycles which can be added to ph s f which can be covered once in time ct 1 , ct 2 , . . . t = th + n 1 ∗ ct 1 + n 2 ∗ ct 2 + . . . , with n 1 , n 2 , . . . natural

  23. Hybrid Systems and Automata Composing Automata Conclusions Timed Reachability on Semi-Algebraic O-Minimal s reaches f from in time t in H iff there exists an acyclic path ph leading from f to s in time tp s f there are cycles which can be added to ph s f which can be covered once in time ct 1 , ct 2 , . . . t = th + n 1 ∗ ct 1 + n 2 ∗ ct 2 + . . . , with n 1 , n 2 , . . . natural

  24. Hybrid Systems and Automata Composing Automata Conclusions Technicalities - Cycles We have a cycle only when we cross twice the same edge, since we need to use twice the same reset e 2 e 2 e 4 e 1 = e 6 e 3 e 5 e 1 e 3 An acyclic path A simple cycle

  25. Hybrid Systems and Automata Composing Automata Conclusions Technicalities - Path Decomposition Each path is a composition of an acyclic path and a finite set of simple cycles e 3 = e ′ ¯ 2 e 1 e 2 e 3 ⊕ e ′ = e 4 = e 2 = e ′ e 2 = ¯ ¯ 2 1 e 1 = e 1 ¯ e 5 = e 3 ¯ e ′ 1 = e ′ 3 = e 2

  26. Hybrid Systems and Automata Composing Automata Conclusions Back to Timed Reachability If s reaches f in H through an acyclic path ph and { cy 1 , cy 2 , . . . , cy k } are the simple cycles augmentable to ph , then s can reach f in H in time t ∈ Time ( ph ) with Time ( ph ) = { t | t = tp + n 1 ∗ tc 1 + · · · + n k ∗ tc k } where tp ∈ T ( ph ) , tc i ∈ T ( cy i ) , and n i ∈ N This is a linear formula involving both semi-algebraic (roots of polynomials) and integer variables

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