efficient parameter synthesis using optimized state
play

Efficient Parameter Synthesis Using Optimized State Exploration - PowerPoint PPT Presentation

MeFoSyLoMa December 15th, 2017 Crteil-Universit, Crteil Efficient Parameter Synthesis Using Optimized State Exploration Strategies Hoang Gia NGUYEN Joint work with: tienne Andr, Laure Petrucci LIPN, Universit Paris 13, CNRS,


  1. MeFoSyLoMa December 15th, 2017 Créteil-Université, Créteil Efficient Parameter Synthesis Using Optimized State Exploration Strategies Hoang Gia NGUYEN Joint work with: Étienne André, Laure Petrucci LIPN, Université Paris 13, CNRS, France Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 1 / 28

  2. Outline Outline Context 1 2 Parametric Zone Inclusion Exploration Orders for Parametric Zone Inclusion 3 Implementation and Experiments 4 Conclusions 5 Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 2 / 28

  3. Context Outline Context 1 2 Parametric Zone Inclusion Exploration Orders for Parametric Zone Inclusion 3 Implementation and Experiments 4 Conclusions 5 Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 3 / 28

  4. Context Parametric Verification of Real-Time Systems Parametric Verification of Real-Time Systems Verification techniques used for critical systems, timed systems where a failure or a too late answer can lead to dramatic consequences! such as: 1 Systems incompletely specified: some timing delays may not be known yet, or may change 2 Verifying system for numerous values of constants requires a very long time, or even infinite ⇒ Use parameterised techniques, by using parameters instead of constants, then one can check many values at the same time, but also synthesize good valuations of these timing constants Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 4 / 28

  5. Context Parametric Timed Automata (PTA) Parametric Timed Automata (PTA) PTA are a formalism to model and verify concurrent real-time systems [Alur et al., 1993] Invariant : Invariant : Invariant : Invariant : Guard : Guard : x < 5 x < p 1 True True x > p 2 x > 1 L1 L2 L1 L2 Reset : Reset : x := 0 x := 0 Timed Automata-TA PTA x: Clock p 1 / p 2 : Parameters allow to represent unknown values Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 5 / 28

  6. Context Parametric Timed Automata (PTA) Parametric Timed Automata (PTA) PTA are a formalism to model and verify concurrent real-time systems [Alur et al., 1993] x < 5 x > 1 L1 L2 x := 0 With p 1 = 5 and p 2 = 1 Invariant : Invariant : Guard : x < p 1 True x < 1 x > p 2 x > 5 L1 L2 L1 L2 Reset : x := 0 x := 0 With p 1 = 1 and p 2 = 5 PTA System Behaviour depends on the values of parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 5 / 28

  7. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 y > 2p 1 l 1 l 2 y ≤ p 2 l 3 A PTA example Example: a part of a parameterized version of the FDDI case study of [Herbreteau and Tran, 2015] Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  8. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 0 y > 2p 1 l 1 l 2 y ≤ p 2 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  9. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 y > 2p 1 l 1 l 2 l 2 l 2 s 1 y > 2p 1 y ≤ p 2 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  10. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 1 s 2 y > 2p 1 l 1 l 1 True l 2 l 2 s 1 y > 2p 1 y ≤ p 2 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  11. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 1 s 2 y > 2p 1 l 1 True l 2 l 2 s 1 y > 2p 1 y ≤ p 2 l 3 s 3 2p 1 < y ≤ p 2 l 3 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  12. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 1 s 2 y > 2p 1 l 1 True l 2 l 2 l 2 l 2 s 1 s 4 y > 2p 1 True y ≤ p 2 l 3 s 3 2p 1 < y ≤ p 2 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  13. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 1 s 2 y > 2p 1 l 1 True l 2 l 2 l 2 s 1 s 4 y > 2p 1 True y ≤ p 2 l 3 l 3 s 3 s 5 2p 1 < y ≤ p 2 y ≤ p 2 l 3 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  14. Context Parametric Zone Graph (PZG) Parametric Zone Graph (PZG) l 0 s 0 True l 0 l 1 s 2 y > 2p 1 l 1 True l 2 l 2 l 2 s 1 s 4 y > 2p 1 True y ≤ p 2 l 3 l 3 s 3 s 5 2p 1 < y ≤ p 2 y ≤ p 2 l 3 Parametric Zone Graph - PZG A PTA example Symbolic state: a symbolic state is a pair made of a location, and an attached parametric zone (constraint) Parametric zone: is a set of valuations defined by conjunctions of constraints on clocks and parameters Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 6 / 28

  15. Parametric Zone Inclusion Outline Context 1 2 Parametric Zone Inclusion Exploration Orders for Parametric Zone Inclusion 3 Implementation and Experiments 4 Conclusions 5 Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 7 / 28

  16. Parametric Zone Inclusion Objective Objective Problem: the order in which we select the states has a huge impact on the efficiency Goal of this work: perform reachability synthesis, i.e., find valuations for which a given location is reachable; to do this, we use the parametric zone graph → Find efficient exploration order strategies Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 8 / 28

  17. Parametric Zone Inclusion Objective Objective (cont.) 2 popular exploration orders for model checking algorithms 1 Depth-first search - DFS 2 Breadth-first search - BFS Many authors (e. g., [Behrmann et al., 2000, Behrmann, 2005]) showed that using BFS is much more efficient than DFS for checking reachability properties in TAs ⇒ modify and optimize the breadth-first search ( BFS ) Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 9 / 28

  18. Parametric Zone Inclusion Parametric Zone Inclusion Illustration Parametric Zone Inclusion Illustration s 0 l 0 s 0 l 0 True True l 0 l 0 y > 2p 1 l 1 l 2 y ≤ p 2 l 3 Without parametric zone With parametric zone inclusion inclusion A PTA example Parametric zone inclusion : is an optimization technique relying on the parametric zone graph to speed up the parametric model checking Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 10 / 28

  19. Parametric Zone Inclusion Parametric Zone Inclusion Illustration Parametric Zone Inclusion Illustration s 0 l 0 s 0 l 0 True True l 0 y > 2p 1 l 1 s 1 l 2 s 1 l 2 y > 2p 1 y > 2p 1 l 2 l 2 y ≤ p 2 l 3 Without parametric zone With parametric zone inclusion inclusion A PTA example Parametric zone inclusion : is an optimization technique relying on the parametric zone graph to speed up the parametric model checking Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 10 / 28

  20. Parametric Zone Inclusion Parametric Zone Inclusion Illustration Parametric Zone Inclusion Illustration s 0 l 0 s 0 l 0 True True l 0 s 2 l 1 s 2 l 1 True True y > 2p 1 l 1 l 1 s 1 l 2 s 1 l 2 y > 2p 1 y > 2p 1 l 2 y ≤ p 2 l 3 Without parametric zone With parametric zone inclusion inclusion A PTA example Parametric zone inclusion : is an optimization technique relying on the parametric zone graph to speed up the parametric model checking Hoang Gia NGUYEN (Paris 13) State Exploration Optimization December 15th, 2017 10 / 28

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