robustness in real time systems
play

Robustness in real-time systems Nicolas Markey LSV, CNRS & ENS - PowerPoint PPT Presentation

Robustness in real-time systems Nicolas Markey LSV, CNRS & ENS Cachan, France SIES11 June 15, 2011 Verification of (real-time) computerized systems system: property: Always safe model-checking algorithm yes/no Verification of


  1. Robustness in real-time systems Nicolas Markey LSV, CNRS & ENS Cachan, France SIES’11 – June 15, 2011

  2. Verification of (real-time) computerized systems system: property: Always safe model-checking algorithm yes/no

  3. Verification of (real-time) computerized systems system: property: Always safe model-checking algorithm t ≤ 5 yes/no

  4. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, Example

  5. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, Example x y

  6. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example x x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 y :=0 y ≥ 2 , y :=0 y

  7. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  8. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  9. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  10. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  11. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  12. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  13. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  14. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  15. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  16. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  17. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  18. Timed automata Timed automata (AD90) A timed automaton is made of a transition system, a set of clocks, a labelling of transitions with timing informations. Example y 2 x ≤ 2 , x :=0 x =0 ∧ y ≥ 2 x =1 1 y :=0 y ≥ 2 , y :=0 x 0 1 2

  19. Region automata Example

  20. Region automata Example Theorem (AD90) Reachability (and 휔 -regular properties) in timed automata can be checked in exponential time (and are PSPACE-complete).

  21. Analysing timed automata in practice symbolic algorithms (using zones) efficient implementations (Uppaal, Kronos, ...)

  22. Outline of the presentation Introduction – Timed automata 1 Robustness issues in timed automata 2 Several approaches 3 Tube semantics Probabilistic semantics Sampled semantics Enlarged semantics 4 A different approach Checking robustness against enlargement Making timed automata robust Conclusions and perspectives 5

  23. Outline of the presentation Introduction – Timed automata 1 Robustness issues in timed automata 2 Several approaches 3 Tube semantics Probabilistic semantics Sampled semantics Enlarged semantics 4 A different approach Checking robustness against enlargement Making timed automata robust Conclusions and perspectives 5

  24. Robustness issues in timed automata Zeno behaviours y x < 1 ∧ y < 1 1 x :=0 y =1 x 0 1

  25. Robustness issues in timed automata Zeno behaviours y x < 1 ∧ y < 1 1 x :=0 y =1 x 0 1 Theorem (AD90) Checking 휔 -regular properties under x =1 , tick non-Zenoness requirement can be x :=0 done in exponential time. x ≤ 1

  26. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  27. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  28. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  29. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  30. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  31. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  32. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  33. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  34. Robustness issues in timed automata Convergence phenomena (CHR02) z > 0 y :=0 y =1 x =1 x :=0 z :=0 x ≤ 1 x ≤ 1 x ≤ 1 y 1 x 0 1

  35. Robustness issues in timed automata Strict timing constraints r :=0 r :=0 풫 id r ==0 r = id x id :=0 x id :=0 x id :=0 x id > 2 x id ≤ 2 r := id Theorem (KLL + 97) When P 1 and P 2 run in parallel (sharing variable r ), the state where both of them are in is not reachable. But this property is lost when x id > 2 is replaced with x id ≥ 2.

  36. Robustness issues in timed automata Strict timing constraints r :=0 r :=0 풫 id r ==0 r = id x id :=0 x id :=0 x id :=0 x id > 2 x id ≤ 2 r := id Theorem (KLL + 97) When P 1 and P 2 run in parallel (sharing variable r ), the state where both of them are in is not reachable. But this property is lost when x id > 2 is replaced with x id ≥ 2.

  37. Robustness issues in timed automata Strict timing constraints r :=0 r :=0 풫 id r ==0 r = id x id :=0 x id :=0 x id :=0 x id > 2 x id ≤ 2 r := id Theorem (KLL + 97) When P 1 and P 2 run in parallel (sharing variable r ), the state where both of them are in is not reachable. But this property is lost when x id > 2 is replaced with x id ≥ 2.

  38. Robustness issues in timed automata Imprecision on clock values (ACS10) 2 t.u. frame 0 frame 1 frame 2 frame 3 frame 4 frame 5 encod. 0 encod. 1 encod. 2 encod. 3 encod. 4 2 t.u.

  39. Robustness issues in timed automata Imprecision on clock values (ACS10) 2 t.u. frame 0 frame 1 frame 2 frame 3 frame 4 frame 5 encod. 0 encod. 1 encod. 2 encod. 3 encod. 4 2 + 휖

  40. Outline of the presentation Introduction – Timed automata 1 Robustness issues in timed automata 2 Several approaches 3 Tube semantics Probabilistic semantics Sampled semantics Enlarged semantics 4 A different approach Checking robustness against enlargement Making timed automata robust Conclusions and perspectives 5

  41. Several solutions have been proposed... Tube semantics (GHJ97) discards behaviours that have too strict constraints; only consider traces whose neighbouring traces are accepted; safety is decidable.

  42. Several solutions have been proposed... Tube semantics (GHJ97) discards behaviours that have too strict constraints; only consider traces whose neighbouring traces are accepted; safety is decidable. Probabilistic semantics (BBBB07) defines a measure on traces; discards unlikely behaviours; safety is decidable.

  43. Several solutions have been proposed... Sampled semantics (HMP92,AKY10) actions are taken only at integer multiples of 휏 ; conceptually simpler to handle, but checking safety still takes exponential time; Samplability A timed automaton 풜 is samplable if there exists 휏 > 0 s.t. 풜 exhibits similar (untimed) behaviours under the classical semantics as under the 휏 -sampled semantics. Theorem (AKY10) Samplability is decidable.

Recommend


More recommend