Recent results on Timed Systems

Size: px
Start display at page:

Download "Recent results on Timed Systems"

Transcription

1 Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS Based on joint work with F. Cassez, S. Haddad, D. Lime, O.H. Roux VECoS 08, July 2nd /28

2 System General context Communication protocol Automated System... Formal specification, Algorithm, source code... Properties Reachability Response time... 2/28

3 System General context Communication protocol Automated System... Modelling expressiveness, concision Models Formal specification, Algorithm, source code... Properties Reachability Response time... Formulas or models 2/28

4 System General context Communication protocol Automated System... Modelling expressiveness, concision Models Formal specification, Algorithm, source code... Properties Reachability Response time... Formulas or models Verification Control Equivalence 2/28

5 System Communication protocol Automated System... General context Timed Models Modelling expressiveness, concision Models Formal specification, Algorithm, source code... Properties Reachability Response time... Timed Logics Formulas or models Verification Control Equivalence 2/28

6 Why add time? The gas burner example [ACHH93] The gas burner may leak and : each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s stop Leaking Not leaking start Is it possible that the gas burner leaks during a time greater than 1 20 of the global time after the first 60s? Timed features are needed in the model and in the properties: Instead of observing a sequence of events a 1 a 2... observe a sequence of alternating events and delays: a 1 d 1 a 2 d /28

7 Why add time? The gas burner example [ACHH93] The gas burner may leak and : each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s stop Leaking Not leaking start Is it possible that the gas burner leaks during a time greater than 1 20 of the global time after the first 60s? Timed features are needed in the model and in the properties: Instead of observing a sequence of events a 1 a 2... observe a sequence of alternating events and delays: a 1 d 1 a 2 d /28

8 Outline Timed Models Comparing timed automata and time Petri nets Conclusion 4/28

9 Outline Timed Models Comparing timed automata and time Petri nets Conclusion 5/28

10 Timed models and their semantics A Timed Model is obtained from a classical one by introducing delay transitions, with a dense or discrete time: either by adding clocks or (a particular case) by associating firing intervals with transitions. Semantics: a Timed Transition System Act alphabet of actions, T = (S, s 0, E) transition system S set of configurations, s0 initial configuration, E S Act S contains action transitions: s a s, instantaneous execution of a delay transitions: s d s, time elapsing for d time units. 6/28

11 Timed models and their semantics A Timed Model is obtained from a classical one by introducing delay transitions, with a dense or discrete time: either by adding clocks or (a particular case) by associating firing intervals with transitions. Semantics: a Timed Transition System Act alphabet of actions, T time domain contained in R 0, T = (S, s 0, E) timed transition system S set of configurations, s0 initial configuration, E S (Act T) S contains action transitions: s a s, instantaneous execution of a delay transitions: s d s, time elapsing for d time units. 6/28

12 Adding clocks: timed automata a variation of [Alur Dill 1990] The gas burner as a timed automaton each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s Leaking x 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking x is a real valued clock, invariant x 1 is associated with state Leaking, x 30 and x 1 are guards and x := 0 is a reset. Configuration: (q, v) where q {L, NL} and v a value of clock x. An execution: (L, [0]) 0.3 (L, [0.3]) stop (NL, [0]) 35 (NL, [35]) start (L, [0]) Not expressive enough for the property: Is it possible that the gas burner leaks during a time greater than 1 of the global time after the first 60s? 20 7/28

13 Adding clocks: timed automata a variation of [Alur Dill 1990] The gas burner as a timed automaton each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s Leaking x 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking x is a real valued clock, invariant x 1 is associated with state Leaking, x 30 and x 1 are guards and x := 0 is a reset. Configuration: (q, v) where q {L, NL} and v a value of clock x. An execution: (L, [0]) 0.3 (L, [0.3]) stop (NL, [0]) 35 (NL, [35]) start (L, [0]) Not expressive enough for the property: Is it possible that the gas burner leaks during a time greater than 1 of the global time after the first 60s? 20 7/28

14 Adding clocks: timed automata a variation of [Alur Dill 1990] The gas burner as a timed automaton each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s Leaking x 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking x is a real valued clock, invariant x 1 is associated with state Leaking, x 30 and x 1 are guards and x := 0 is a reset. Configuration: (q, v) where q {L, NL} and v a value of clock x. An execution: (L, [0]) 0.3 (L, [0.3]) stop (NL, [0]) 35 (NL, [35]) start (L, [0]) Not expressive enough for the property: Is it possible that the gas burner leaks during a time greater than 1 of the global time after the first 60s? 20 7/28

15 Adding clocks: timed automata a variation of [Alur Dill 1990] The gas burner as a timed automaton each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s Leaking x 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking x is a real valued clock, invariant x 1 is associated with state Leaking, x 30 and x 1 are guards and x := 0 is a reset. Configuration: (q, v) where q {L, NL} and v a value of clock x. An execution: (L, [0]) 0.3 (L, [0.3]) stop (NL, [0]) 35 (NL, [35]) start (L, [0]) Not expressive enough for the property: Is it possible that the gas burner leaks during a time greater than 1 of the global time after the first 60s? 20 7/28

16 Adding clocks: timed automata a variation of [Alur Dill 1990] The gas burner as a timed automaton each time leaking is detected, it is repaired or stopped in less than 1s two leaking periods are separated by at least 30s Leaking x 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking x is a real valued clock, invariant x 1 is associated with state Leaking, x 30 and x 1 are guards and x := 0 is a reset. Configuration: (q, v) where q {L, NL} and v a value of clock x. An execution: (L, [0]) 0.3 (L, [0.3]) stop (NL, [0]) 35 (NL, [35]) start (L, [0]) Not expressive enough for the property: Is it possible that the gas burner leaks during a time greater than 1 of the global time after the first 60s? 20 7/28

17 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 8/28

18 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x 8/28

19 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x 8/28

20 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 8/28

21 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 0.5 [ ] 8/28

22 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 0.5 [ ] [ x:= ] 8/28

23 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 0.5 [ ] [ x:= ] 8/28

24 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 0.5 [ ] [ x:= ] 8/28

25 Semantics of timed automata A geometric view with two clocks x et y x 2, x := 0 y = 1, y := 0 x = 0, y = 2 y 2 x 1 x := 0 y 2, y := 0 y x [ 0 0 ] [ ] [ y:=0 1 0 ] 0.5 [ ] [ x:= ] 8/28

26 Adding time intervals on transitions Example : Time Petri Nets [Merlin 1974] Server t 2, b, [2, 2] (maintenance)... Clients t 1, a, [1, + [ (service) Configuration: (M, v) for a marking M and a transition valuation v Markings : M 0 = (2, 1), M 1 = (1, 1), M 2 = (1, 0) Valuation of transition t: time elapsed since t was last enabled, if t is not enabled. Classical semantics: when a firing occurs, an enabled transition is newly enabled if it was disabled after the token consumption or if it is the transition fired. An execution: (M 0,[0,0]) 1.3 (M 0,[1.3,1.3]) a (M 1,[0,0]) 2 (M 1,[2,2]) b (M 2,[, ]) 9/28

27 Adding time intervals on transitions Example : Time Petri Nets [Merlin 1974] Server t 2, b, [2, 2] (maintenance)... Clients t 1, a, [1, + [ (service) Configuration: (M, v) for a marking M and a transition valuation v Markings : M 0 = (2, 1), M 1 = (1, 1), M 2 = (1, 0) Valuation of transition t: time elapsed since t was last enabled, if t is not enabled. Classical semantics: when a firing occurs, an enabled transition is newly enabled if it was disabled after the token consumption or if it is the transition fired. An execution: (M 0,[0,0]) 1.3 (M 0,[1.3,1.3]) a (M 1,[0,0]) 2 (M 1,[2,2]) b (M 2,[, ]) 9/28

28 Adding time intervals on transitions Example : Time Petri Nets [Merlin 1974] Server t 2, b, [2, 2] (maintenance)... Clients t 1, a, [1, + [ (service) Configuration: (M, v) for a marking M and a transition valuation v Markings : M 0 = (2, 1), M 1 = (1, 1), M 2 = (1, 0) Valuation of transition t: time elapsed since t was last enabled, if t is not enabled. Classical semantics: when a firing occurs, an enabled transition is newly enabled if it was disabled after the token consumption or if it is the transition fired. An execution: (M 0,[0,0]) 1.3 (M 0,[1.3,1.3]) a (M 1,[0,0]) 2 (M 1,[2,2]) b (M 2,[, ]) 9/28

29 Adding time intervals on transitions Example : Time Petri Nets [Merlin 1974] Server t 2, b, [2, 2] (maintenance)... Clients t 1, a, [1, + [ (service) Configuration: (M, v) for a marking M and a transition valuation v Markings : M 0 = (2, 1), M 1 = (1, 1), M 2 = (1, 0) Valuation of transition t: time elapsed since t was last enabled, if t is not enabled. Classical semantics: when a firing occurs, an enabled transition is newly enabled if it was disabled after the token consumption or if it is the transition fired. An execution: (M 0,[0,0]) 1.3 (M 0,[1.3,1.3]) a (M 1,[0,0]) 2 (M 1,[2,2]) b (M 2,[, ]) 9/28

30 Other timed models and timed logics The gas burner as a linear hybrid automaton Leaking x 1 ẏ = 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking ẏ = 0 Add a stopwatch y and a clock z which are never reset and use these variables in a CTL-like formula: AG(z 60 20y z) the gas burner always leaks during a time less than or equal to 1 20 of the global time after the first 60s. Timed temporal logics have been defined to extend Linear Temporal Logic LTL and Computational Tree Logic CTL. 10/28

31 Other timed models and timed logics The gas burner as a linear hybrid automaton Leaking x 1 ẏ = 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking ẏ = 0 Add a stopwatch y and a clock z which are never reset and use these variables in a CTL-like formula: AG(z 60 20y z) the gas burner always leaks during a time less than or equal to 1 20 of the global time after the first 60s. Timed temporal logics have been defined to extend Linear Temporal Logic LTL and Computational Tree Logic CTL. 10/28

32 Other timed models and timed logics The gas burner as a linear hybrid automaton Leaking x 1 ẏ = 1 x 1, stop, x := 0 x 30, start, x := 0 Not leaking ẏ = 0 Add a stopwatch y and a clock z which are never reset and use these variables in a CTL-like formula: AG(z 60 20y z) the gas burner always leaks during a time less than or equal to 1 20 of the global time after the first 60s. Timed temporal logics have been defined to extend Linear Temporal Logic LTL and Computational Tree Logic CTL. 10/28

33 Verification is often not possible Reachability of a control state is undecidable for linear hybrid automata [Alur et al. 1995]. but can sometimes be done Reachability of a control state for timed automata is PSPACE-complete [Alur, Dill 1990]. Several tools have been developed and applied to case studies, in spite of the high complexity:... Kronos and UppAal for timed automata HCMC and HyTech for linear hybrid automata (semi-algorithms) TSMV for automata with duration (discrete time) Romeo and TINA, for time Petri nets 11/28

34 Verification is often not possible Reachability of a control state is undecidable for linear hybrid automata [Alur et al. 1995]. but can sometimes be done Reachability of a control state for timed automata is PSPACE-complete [Alur, Dill 1990]. Several tools have been developed and applied to case studies, in spite of the high complexity:... Kronos and UppAal for timed automata HCMC and HyTech for linear hybrid automata (semi-algorithms) TSMV for automata with duration (discrete time) Romeo and TINA, for time Petri nets 11/28

35 Verification is often not possible Reachability of a control state is undecidable for linear hybrid automata [Alur et al. 1995]. but can sometimes be done Reachability of a control state for timed automata is PSPACE-complete [Alur, Dill 1990]. Several tools have been developed and applied to case studies, in spite of the high complexity:... Kronos and UppAal for timed automata HCMC and HyTech for linear hybrid automata (semi-algorithms) TSMV for automata with duration (discrete time) Romeo and TINA, for time Petri nets 11/28

36 Outline Timed Models Comparing timed automata and time Petri nets Conclusion 12/28

37 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: 13/28

38 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: if s a 1 s 1 s 2 13/28

39 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: if s 1 a s 1 then s 2 ε s 2 ε ε ε... a... 13/28

40 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: if s 1 a s 1 if s 1 d s 1 then s 2 ε s 2 ε s 2 ε ε... a... 13/28

41 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: if s 1 a s 1 if s 1 d s 1 then s 2 ε s 2 ε then s 2 d 1 s d 2 k ε ε... a... ε ε... d 2... with Σd i = d 13/28

42 Which equivalence relation? between two timed transition systems T 1 = (S 1, s 0 1, E 1 ) and T 2 = (S 2, s 0 2, E 2 ) Language equivalence T 1 and T 2 are language-equivalent if they accept the same sets of timed observation sequences (with respect to accepting conditions). Weak timed bisimulation With an alphabet Act containing an internal action ε, the systems T 1 and T 2 are weaky timed bisimilar if there is an equivalence relation on S 1 S 2 such that s 0 1 and s 0 2 are equivalent and: if s 1 a s 1 if s 1 d s 1 then s 2 ε s 2 ε then s 2 d 1 s d 2 k ε ε... a... and vice versa. ε ε... d 2... with Σd i = d 13/28

43 A global view of timed transition systems Discrete part Control states/transitions Timed part Valuations Discrete part: TPNs are more expressive than TA Unbounded TPNs can represent an infinite number of discrete states. Timed part: TA are more expressive than TPNs In TPNs, transitions are controlled by a single clock, clock reset is associated with newly enabled transitions, lazy behaviour in not possible. For weak timed bisimilarity Bounded-TPN W TA [Cassez, Roux 2004] (and Bounded-TPN TPN). 14/28

44 A global view of timed transition systems Discrete part Control states/transitions Timed part Valuations Discrete part: TPNs are more expressive than TA Unbounded TPNs can represent an infinite number of discrete states. Timed part: TA are more expressive than TPNs In TPNs, transitions are controlled by a single clock, clock reset is associated with newly enabled transitions, lazy behaviour in not possible. For weak timed bisimilarity Bounded-TPN W TA [Cassez, Roux 2004] (and Bounded-TPN TPN). 14/28

45 A global view of timed transition systems Discrete part Control states/transitions Timed part Valuations Discrete part: TPNs are more expressive than TA Unbounded TPNs can represent an infinite number of discrete states. Timed part: TA are more expressive than TPNs In TPNs, transitions are controlled by a single clock, clock reset is associated with newly enabled transitions, lazy behaviour in not possible. For weak timed bisimilarity Bounded-TPN W TA [Cassez, Roux 2004] (and Bounded-TPN TPN). 14/28

46 Back to semantics A timing property of TPNs Time elapsing does not disable transition firing. For the following TA, there is no (weakly timed) bisimilar TPN [BCHLR 2005]. x 1, a Three questions: Investigate the power of reset (memory policy) in TPNs : when should a transition be newly enabled? What about comparing the models with language equivalence? What is the maximal subclass of TA for which there exists a bisimilar TPN? 15/28

47 Back to semantics A timing property of TPNs Time elapsing does not disable transition firing. For the following TA, there is no (weakly timed) bisimilar TPN [BCHLR 2005]. x 1, a Three questions: Investigate the power of reset (memory policy) in TPNs : when should a transition be newly enabled? What about comparing the models with language equivalence? What is the maximal subclass of TA for which there exists a bisimilar TPN? 15/28

48 Reset in TPNs (1) We consider three semantics For a transition enabled after a firing: Intermediate (classical) semantics (I): the transition is newly enabled if it was disabled after the consuming step or if it is the fired transition. Atomic semantics (A): the transition is newly enabled if it was disabled before the firing or if it is the fired transition. Persistent atomic semantics (PA): the transition is newly enabled if it was disabled before the firing. 16/28

49 Reset in TPNs (1) We consider three semantics For a transition enabled after a firing: Intermediate (classical) semantics (I): the transition is newly enabled if it was disabled after the consuming step or if it is the fired transition. Atomic semantics (A): the transition is newly enabled if it was disabled before the firing or if it is the fired transition. Persistent atomic semantics (PA): the transition is newly enabled if it was disabled before the firing. p 2 t 2, b, [2, 2] p 1 t 1, a, [1, + [ 16/28

50 Reset in TPNs (1) We consider three semantics For a transition enabled after a firing: Intermediate (classical) semantics (I): the transition is newly enabled if it was disabled after the consuming step or if it is the fired transition. Atomic semantics (A): the transition is newly enabled if it was disabled before the firing or if it is the fired transition. Persistent atomic semantics (PA): the transition is newly enabled if it was disabled before the firing. p 2 t 2, b, [2, 2] (2p 1 + p 2,[0,0]) 1.3 (2p 1 + p 2,[1.3,1.3]) a p 1 t 1, a, [1, + [ 16/28

51 Reset in TPNs (1) We consider three semantics For a transition enabled after a firing: Intermediate (classical) semantics (I): the transition is newly enabled if it was disabled after the consuming step or if it is the fired transition. Atomic semantics (A): the transition is newly enabled if it was disabled before the firing or if it is the fired transition. Persistent atomic semantics (PA): the transition is newly enabled if it was disabled before the firing. p 2 t 2, b, [2, 2] (2p 1 + p 2,[0,0]) 1.3 (2p 1 + p 2,[1.3,1.3]) a p 1 t 1, a, [1, + [ (I): (p 1 + p 2,[0,0]) 2 (p 1 + p 2,[2,2]) (A): (p 1 + p 2,[0,1.3]) 0.7 (p 1 + p 2,[0.7,2]) b (p 1,[, ]) (PA):(p 1 + p 2,[1.3,1.3]) a (p 2,[,1.3]) 16/28

52 Reset in TPNs (2) Why alternative semantics? (PA) is closer to the semantics of TA (A) or (PA) are sometimes more convenient than (I): p Component t, c, I Observer t 1, a, I 1 t 2, b, I 2 For e.g. instantaneous multicast, (PA) is more convenient than (A) or (I): diffusion source clients t, d, [1, 1] 17/28

53 Reset in TPNs: results (PA) semantics is the most expressive [BCHLR ATVA 2005] TPN(I) W TPN (A) W TPN (PA) (PA) is strictly more expressive than (A): TPN(A) < W TPN (PA). For the following TPN with (PA) semantics, there is no bisimlar TPN with (A) semantics. t, ε, [0, 1[ For Bounded-TPNs with upper-closed intervals, the three semantics are equivalent: for any such net in TPN (PA), there exists a net in TPN (I) which is bisimilar. 18/28

54 Comparing with language equivalence TPNs and TA are equally expressive [BCHLR FORMATS 2005] Proof Bounded-TPN = L TA It consists in the construction of a TPN accepting the same language as a given timed automaton A, and involves constructions of subnets encoding atomic constraints and clock reset. A transition e : q 1 g,a,r q 2, with g = g 1 g 2, is simulated by a subnet of the form: 19/28

55 Comparing with language equivalence TPNs and TA are equally expressive [BCHLR FORMATS 2005] Proof Bounded-TPN = L TA It consists in the construction of a TPN accepting the same language as a given timed automaton A, and involves constructions of subnets encoding atomic constraints and clock reset. A transition e : q 1 g,a,r q 2, with g = g 1 g 2, is simulated by a subnet of the form: 19/28

56 Comparing with language equivalence TPNs and TA are equally expressive [BCHLR FORMATS 2005] Proof Bounded-TPN = L TA It consists in the construction of a TPN accepting the same language as a given timed automaton A, and involves constructions of subnets encoding atomic constraints and clock reset. A transition e : q 1 g,a,r q 2, with g = g 1 g 2, is simulated by a subnet of the form: P q1 t e, a, [0, [ r 1 r n endr, ε, [0, 0] P q2 N g1 N reset N g2 19/28

57 Characterisation of TA bisimilar to TPNs Find TA wb the maximal subclass of TA for which there is a bisimilar TPN The characterisation is expressed with topological properties of the region automaton, used for analysis of a timed automaton. 20/28

58 Characterisation of TA bisimilar to TPNs Find TA wb the maximal subclass of TA for which there is a bisimilar TPN The characterisation is expressed with topological properties of the region automaton, used for analysis of a timed automaton. 20/28

59 Characterisation of TA bisimilar to TPNs Find TA wb the maximal subclass of TA for which there is a bisimilar TPN The characterisation is expressed with topological properties of the region automaton, used for analysis of a timed automaton. Timed automaton Discrete part Control states/transitions Timed part Valuations 20/28

60 Characterisation of TA bisimilar to TPNs Find TA wb the maximal subclass of TA for which there is a bisimilar TPN The characterisation is expressed with topological properties of the region automaton, used for analysis of a timed automaton. Timed automaton Discrete part Control states/transitions Timed part Valuations Quotient Abstract time 20/28

61 Characterisation of TA bisimilar to TPNs Find TA wb the maximal subclass of TA for which there is a bisimilar TPN The characterisation is expressed with topological properties of the region automaton, used for analysis of a timed automaton. Timed automaton Discrete part Control states/transitions Timed part Valuations Quotient Region automaton Discrete part Control states/transitions Abstract time 20/28

62 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x 21/28

63 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x Equivalent valuations satisfy the same constraints x k 21/28

64 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

65 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

66 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

67 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

68 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

69 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

70 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

71 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

72 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

73 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

74 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

75 Quotient: a geometric view with two clocks x and y and maximal constant m = 2 y 2 region R defined by I x =]0; 1[, I y =]1; 2[ frac(x) > frac(y) 1 R Time successor of R I x = [1; 1], I y =]1; 2[ x Action successor of R with y := 0 I x =]0; 1[, I y = [0; 0] Equivalent valuations satisfy the same constraints x k Equivalent valuations respect time elapsing 21/28

76 Region automaton: example q 0 x 1 x 1, a, y := 0 q 1 x 1 x 1, y = 0, b q 2 22/28

77 Region automaton: example q 0 x 1 x 1, a, y := 0 q 1 x 1 x 1, y = 0, b q 2 y x 22/28

78 Region automaton: example q 0 x 1 x 1, a, y := 0 q 1 x 1 x 1, y = 0, b q 2 y 1 q x q 0 q 0 22/28

79 Region automaton: example q 0 x 1 x 1, a, y := 0 q 1 x 1 x 1, y = 0, b q 2 y q 0 a q x q 0 a q 1 q 0 a q 1 22/28

80 Region automaton: example q 0 x 1 x 1, a, y := 0 q 1 x 1 x 1, y = 0, b q 2 y q 0 a q 1 q 1 q x q 0 a q 1 q 1 q 1 q 0 a q 1 b q 2 22/28

81 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) if R is reachable then 23/28

82 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) if R is reachable then for all R s.t. R closure(r) R is reachable 23/28

83 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) (b) e if R is reachable then for all R s.t. R closure(r) R is reachable if R is reachable and R e 23/28

84 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) if R is reachable then for all R s.t. R closure(r) R is reachable (b) e if R is reachable and R e then min(r) e e 23/28

85 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) if R is reachable then for all R s.t. R closure(r) R is reachable (b) e if R is reachable and R e then min(r) e e (c) if R is reachable and min(r) e then e 23/28

86 The maximal subclass TA wb contains all timed automata where transitions have a unique label and: (a) if R is reachable then for all R s.t. R closure(r) R is reachable (b) e if R is reachable and R e then min(r) e e (c) e if R is reachable and min(r) e then for all R s.t. R closure(r) R e e 23/28

87 The maximal subclass TA wb (cont.) Sketch of the proof For a timed automaton A in TAwb, conditions (a), (b) and (c) hold in (a variant of) the region automaton. For a TPN N with rational constants i/g, weakly timed bisimilar to A, we consider a region automaton R(g, ), based on an infinite grid with granularity g. We prove an extended property called uniform bisimulation, which implies conditions (a), (b), (c) for R(g, ). The conditions are then lifted from R(g, ) to R(1, ) and then to some R(1,K). Conversely, if conditions (a), (b) and (c) hold for a timed automaton A then we can build: a TPN N with integer constants and size exponential w.r.t. the size of A, a TPN N with rational constants and size linear w.r.t. the size of A. 24/28

88 The maximal subclass TA wb (cont.) Sketch of the proof For a timed automaton A in TAwb, conditions (a), (b) and (c) hold in (a variant of) the region automaton. For a TPN N with rational constants i/g, weakly timed bisimilar to A, we consider a region automaton R(g, ), based on an infinite grid with granularity g. We prove an extended property called uniform bisimulation, which implies conditions (a), (b), (c) for R(g, ). The conditions are then lifted from R(g, ) to R(1, ) and then to some R(1,K). Conversely, if conditions (a), (b) and (c) hold for a timed automaton A then we can build: a TPN N with integer constants and size exponential w.r.t. the size of A, a TPN N with rational constants and size linear w.r.t. the size of A. 24/28

89 Illustration of second construction 25/28

90 Outline Timed Models Comparing timed automata and time Petri nets Conclusion 26/28

91 Conclusion Comparing Time Petri nets and Timed Automata can be useful for practical purposes: the tools developed for both models are available via translation, provides a better view of the behaviour of timed models, creates a fruitful relation between the two communities. Perspectives compare unfolding techniques for nets of timed automata and time Petri nets (work in progress in the DOTS project), study control problems and game theory for timed models, specify non-interference and covert channel detection for timed systems, consider other quantitative extensions with costs or probabilities. 27/28

92 Conclusion Comparing Time Petri nets and Timed Automata can be useful for practical purposes: the tools developed for both models are available via translation, provides a better view of the behaviour of timed models, creates a fruitful relation between the two communities. Perspectives compare unfolding techniques for nets of timed automata and time Petri nets (work in progress in the DOTS project), study control problems and game theory for timed models, specify non-interference and covert channel detection for timed systems, consider other quantitative extensions with costs or probabilities. 27/28

93 Thank you 28/28

Comparison of Different Semantics for Time Petri Nets

Comparison of Different Semantics for Time Petri Nets Comparison of Different Semantics for Time Petri Nets B. Bérard 1, F. Cassez 2, S. Haddad 1, Didier Lime 3, O.H. Roux 2 1 LAMSADE, Paris, France E-mail: {beatrice.berard serge.haddad}@lamsade.dauphine.fr

More information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA Time(d) Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Time and Petri Nets 2 Time Petri Net: Syntax and Semantic

More information

Verification of Polynomial Interrupt Timed Automata

Verification of Polynomial Interrupt Timed Automata Verification of Polynomial Interrupt Timed Automata Béatrice Bérard 1, Serge Haddad 2, Claudine Picaronny 2, Mohab Safey El Din 1, Mathieu Sassolas 3 1 Université P. & M. Curie, LIP6 2 ENS Cachan, LSV

More information

Timed Automata VINO 2011

Timed Automata VINO 2011 Timed Automata VINO 2011 VeriDis Group - LORIA July 18, 2011 Content 1 Introduction 2 Timed Automata 3 Networks of timed automata Motivation Formalism for modeling and verification of real-time systems.

More information

Weak Time Petri Nets strike back!

Weak Time Petri Nets strike back! Weak Time Petri Nets strike back! Pierre-Alain Reynier 1, and Arnaud Sangnier 2, 1 LIF, Université Aix-Marseille & CNRS, France pierre-alain.reynier@lif.univ-mrs.fr 2 Dipartimento di Informatica, Università

More information

Time and Timed Petri Nets

Time and Timed Petri Nets Time and Timed Petri Nets Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr DISC 11, June 9th 2011 1 Time and Petri Nets 2 Timed Models 3 Expressiveness 4 Analysis 1/36 Outline 1 Time

More information

Weak Time Petri Nets strike back!

Weak Time Petri Nets strike back! Weak Time Petri Nets strike back! Pierre-Alain Reynier 1 and Arnaud Sangnier 2, 1 LIF, Université Aix-Marseille & CNRS, France pierre-alain.reynier@lif.univ-mrs.fr 2 Dipartimento di Informatica, Università

More information

Timed Petri Nets and Timed Automata: On the Discriminating Power of Zeno Sequences

Timed Petri Nets and Timed Automata: On the Discriminating Power of Zeno Sequences Timed Petri Nets and Timed Automata: On the Discriminating Power of Zeno Sequences Patricia Bouyer 1, Serge Haddad 2, Pierre-Alain Reynier 1 1 LSV, CNRS & ENS Cachan, France 2 LAMSADE, CNRS & Université

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

The Verification of Real Time Systems using the TINA Tool

The Verification of Real Time Systems using the TINA Tool Proceedings of the 17th World Congress The International Federation of Automatic Control The Verification of Real Time Systems using the TINA Tool Pedro M. Gonzalez del Foyo Jose Reinaldo Silva Dept. Of

More information

models, languages, dynamics Eugene Asarin PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics LIAFA - University Paris Diderot and CNRS

models, languages, dynamics Eugene Asarin PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics LIAFA - University Paris Diderot and CNRS models, s, LIAFA - University Paris Diderot and CNRS PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics Context A model for verification of real-time systems Invented by Alur and Dill in early

More information

Parametric model-checking of time Petri nets with stopwatches using the state-class graph

Parametric model-checking of time Petri nets with stopwatches using the state-class graph Parametric model-checking of time Petri nets with stopwatches using the state-class graph Louis-Marie Traonouez, Didier Lime, and Olivier H. Roux Institute of Research in Communications and Cybernetics

More information

Lecture 6: Reachability Analysis of Timed and Hybrid Automata

Lecture 6: Reachability Analysis of Timed and Hybrid Automata University of Illinois at Urbana-Champaign Lecture 6: Reachability Analysis of Timed and Hybrid Automata Sayan Mitra Special Classes of Hybrid Automata Timed Automata ß Rectangular Initialized HA Rectangular

More information

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr Semantic Equivalences and the Verification of Infinite-State Systems Richard Mayr Department of Computer Science Albert-Ludwigs-University Freiburg Germany Verification of Infinite-State Systems 1 c 2004

More information

Liveness in L/U-Parametric Timed Automata

Liveness in L/U-Parametric Timed Automata Liveness in L/U-Parametric Timed Automata Étienne André and Didier Lime [AL17] Université Paris 13, LIPN and École Centrale de Nantes, LS2N Highlights, 14 September 2017, London, England Étienne André

More information

Undecidability Results for Timed Automata with Silent Transitions

Undecidability Results for Timed Automata with Silent Transitions Fundamenta Informaticae XXI (2001) 1001 1025 1001 IOS Press Undecidability Results for Timed Automata with Silent Transitions Patricia Bouyer LSV, ENS Cachan, CNRS, France bouyer@lsv.ens-cachan.fr Serge

More information

TCTL model-checking of Time Petri Nets

TCTL model-checking of Time Petri Nets 1 TCTL model-checking of Time Petri Nets Hanifa Boucheneb 1, Guillaume Gardey 2,3 and Olivier H. Roux 2 Affiliations : 1 : École polytechnique de Montréal, C.P. 6079, succ. Centre-ville Montréal H3C3A7

More information

Specification and Model Checking of Temporal Properties in Time Petri Nets and Timed Automata

Specification and Model Checking of Temporal Properties in Time Petri Nets and Timed Automata Specification and Model Checking of Temporal Properties in Time Petri Nets and Timed Automata WOJCIECH PENCZEK ICS PAS, Warsaw, Poland joint work with Agata Półrola University of Lodz, Poland Many thanks

More information

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16 Béatrice Bérard Serge Haddad Mathieu Sassolas Verification on Interrupt Timed Automata Research Report LSV-09-16 July 2009 Verification on Interrupt Timed Automata Béatrice Bérard 1, Serge Haddad 2, Mathieu

More information

Weak Time Petri Nets strike back!

Weak Time Petri Nets strike back! Weak Time Petri Nets strike back! Pierre-Alain Reynier 1, and Arnaud Sangnier 2, 1 LIF, Université Aix-Marseille & CNRS, France pierre-alain.reynier@lif.univ-mrs.fr 2 Dipartimento di Informatica, Università

More information

State Space Computation and Analysis of Time Petri Nets

State Space Computation and Analysis of Time Petri Nets Theory and Practice of Logic Programming 1 State Space Computation and Analysis of Time Petri Nets GUILLAUME GARDEY and OLIVIER H. ROUX and OLIVIER F.ROUX IRCCyN (Institut de Recherche en Communication

More information

for System Modeling, Analysis, and Optimization

for System Modeling, Analysis, and Optimization Fundamental Algorithms for System Modeling, Analysis, and Optimization Stavros Tripakis UC Berkeley EECS 144/244 Fall 2013 Copyright 2013, E. A. Lee, J. Roydhowdhury, S. A. Seshia, S. Tripakis All rights

More information

Time Petri Nets. Miriam Zia School of Computer Science McGill University

Time Petri Nets. Miriam Zia School of Computer Science McGill University Time Petri Nets Miriam Zia School of Computer Science McGill University Timing Specifications Why is time introduced in Petri nets? To model interaction between activities taking into account their start

More information

Hybrid systems and computer science a short tutorial

Hybrid systems and computer science a short tutorial Hybrid systems and computer science a short tutorial Eugene Asarin Université Paris 7 - LIAFA SFM 04 - RT, Bertinoro p. 1/4 Introductory equations Hybrid Systems = Discrete+Continuous SFM 04 - RT, Bertinoro

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata Modeling & Control of Hybrid Systems Chapter 7 Model Checking and Timed Automata Overview 1. Introduction 2. Transition systems 3. Bisimulation 4. Timed automata hs check.1 1. Introduction Model checking

More information

Polynomial Interrupt Timed Automata

Polynomial Interrupt Timed Automata Polynomial Interrupt Timed Automata Béatrice Bérard 1,4, Serge Haddad 2,4,5, Claudine Picaronny 2,4,5, Mohab Safey El Din 1,4,5, and Mathieu Sassolas 3 1 Sorbonne Université, Université P. & M. Curie,

More information

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models 4. Petri Nets Introduction Different Classes of Petri Net Petri net properties Analysis of Petri net models 1 Petri Nets C.A Petri, TU Darmstadt, 1962 A mathematical and graphical modeling method. Describe

More information

Model Checking Real-Time Systems

Model Checking Real-Time Systems Model Checking Real-Time Systems Patricia Bouyer, Uli Fahrenberg, Kim G. Larsen, Nicolas Markey, Joël Ouaknine, and James Worrell Abstract This chapter surveys timed automata as a formalism for model checking

More information

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Sanjit A. Seshia and Randal E. Bryant Computer Science Department Carnegie Mellon University Verifying Timed Embedded Systems

More information

Formal Verification of Real-time Systems with Preemptive Scheduling

Formal Verification of Real-time Systems with Preemptive Scheduling Formal Verification of Real-time Systems with Preemptive Scheduling Didier Lime, Olivier Henri Roux To cite this version: Didier Lime, Olivier Henri Roux. Formal Verification of Real-time Systems with

More information

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints Chapter 10 Timed Automata In the previous chapter, we have discussed a temporal logic where time was a discrete entities. A time unit was one application of the transition relation of an LTS. We could

More information

An Introduction to Hybrid Systems Modeling

An Introduction to Hybrid Systems Modeling CS620, IIT BOMBAY An Introduction to Hybrid Systems Modeling Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS620: New Trends in IT: Modeling and Verification of Cyber-Physical

More information

A Translation Based Method for the Timed Analysis of Scheduling Extended Time Petri Nets

A Translation Based Method for the Timed Analysis of Scheduling Extended Time Petri Nets A Translation Based Method for the Timed Analysis of Scheduling Extended Time Petri Nets Didier Lime and Olivier (H.) Roux IRCCyN (Institut de Recherche en Communication et Cybernétique de Nantes) 1, rue

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany Real-Time Systems Lecture 15: The Universality Problem for TBA 2013-06-26 15 2013-06-26 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: Extended Timed

More information

Lecture 11: Timed Automata

Lecture 11: Timed Automata Real-Time Systems Lecture 11: Timed Automata 2014-07-01 11 2014-07-01 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: DC (un)decidability This Lecture:

More information

Language Emptiness of Continuous-Time Parametric Timed Automata

Language Emptiness of Continuous-Time Parametric Timed Automata Language Emptiness of Continuous-Time Parametric Timed Automata Nikola Beneš 1, Peter Bezděk 1, Kim G. Larsen 2, and Jiří Srba 2 1 Faculty of Informatics, Masaryk University Brno, Czech Republic 2 Department

More information

Petri Nets Tutorial, Parametric Verification (session 3)

Petri Nets Tutorial, Parametric Verification (session 3) Petri Nets Tutorial, Parametric Verification (session 3) Étienne André, Didier Lime, Wojciech Penczek, Laure Petrucci Etienne.Andre@lipn.univ-paris13.fr LIPN, Université Paris 13 Didier.Lime@ec-nantes.fr

More information

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main Real-Time Systems Lecture 10: Timed Automata 2013-06-04 10 2013-06-04 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: PLC, PLC automata This Lecture:

More information

Petri Nets (for Planners)

Petri Nets (for Planners) Petri (for Planners) B. Bonet, P. Haslum... from various places... ICAPS 2011 & Motivation Petri (PNs) is formalism for modelling discrete event systems Developed by (and named after) C.A. Petri in 1960s

More information

Modelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University

Modelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University Modelling Real-Time Systems Henrik Ejersbo Jensen Aalborg University Hybrid & Real Time Systems Control Theory Plant Continuous sensors actuators Task TaskTask Controller Program Discrete Computer Science

More information

Hourglass Automata. Yuki Osada, Tim French, Mark Reynolds, and Harry Smallbone

Hourglass Automata. Yuki Osada, Tim French, Mark Reynolds, and Harry Smallbone Hourglass Automata Yuki Osada, Tim French, Mark Reynolds, and Harry Smallbone The University of Western Australia. yuki.osada@research.uwa.edu.au, {tim.french,mark.reynolds}@uwa.edu.au, 21306592@student.uwa.edu.au

More information

Discrete abstractions of hybrid systems for verification

Discrete abstractions of hybrid systems for verification Discrete abstractions of hybrid systems for verification George J. Pappas Departments of ESE and CIS University of Pennsylvania pappasg@ee.upenn.edu http://www.seas.upenn.edu/~pappasg DISC Summer School

More information

Timed Automata with Observers under Energy Constraints

Timed Automata with Observers under Energy Constraints Timed Automata with Observers under Energy Constraints Patricia Bouyer-Decitre Uli Fahrenberg Kim G. Larsen Nicolas Markey LSV, CNRS & ENS Cachan, France Aalborg Universitet, Danmark /9 Introduction The

More information

Automated Verification of a Parametric Real-Time Program: The ABR Conformance Protocol

Automated Verification of a Parametric Real-Time Program: The ABR Conformance Protocol Automated Verification of a Parametric Real-Time Program: The ABR Conformance Protocol Béatrice Bérard and Laurent Fribourg LSV Ecole Normale Supérieure de Cachan & CNRS 61 av. Pdt. Wilson - 94235 Cachan

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

More information

Formally Correct Monitors for Hybrid Automata. Verimag Research Report n o TR

Formally Correct Monitors for Hybrid Automata. Verimag Research Report n o TR Formally Correct Monitors for Hybrid Automata Goran Frehse, Nikolaos Kekatos, Dejan Nickovic Verimag Research Report n o TR-2017-5 September 20, 2017 Verimag, University of Grenoble Alpes, Grenoble, France.

More information

Robust Controller Synthesis in Timed Automata

Robust Controller Synthesis in Timed Automata Robust Controller Synthesis in Timed Automata Ocan Sankur LSV, ENS Cachan & CNRS Joint with Patricia Bouyer, Nicolas Markey, Pierre-Alain Reynier. Ocan Sankur (ENS Cachan) Robust Control in Timed Automata

More information

Robustness of Time Petri Nets under architectural constraints

Robustness of Time Petri Nets under architectural constraints Robustness of Time Petri Nets under architectural constraints S. Akshay 1,2, Loïc Hélouët 1, Claude Jard 1,2, Didier Lime 3 and Olivier H. Roux 3 1 INRIA/IRISA Rennes, France 2 ENS Cachan Bretagne, Rennes,

More information

MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable

MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable SynCop 2014 1st International Workshop on Synthesis of Continuous Parameters Karin Quaas University of Leipzig 6th April 2014 Outline

More information

The algorithmic analysis of hybrid system

The algorithmic analysis of hybrid system The algorithmic analysis of hybrid system Authors: R.Alur, C. Courcoubetis etc. Course teacher: Prof. Ugo Buy Xin Li, Huiyong Xiao Nov. 13, 2002 Summary What s a hybrid system? Definition of Hybrid Automaton

More information

Discrete Event Systems Exam

Discrete Event Systems Exam Computer Engineering and Networks Laboratory TEC, NSG, DISCO HS 2016 Prof. L. Thiele, Prof. L. Vanbever, Prof. R. Wattenhofer Discrete Event Systems Exam Friday, 3 rd February 2017, 14:00 16:00. Do not

More information

Symbolic Unfolding of Parametric Stopwatch Petri Nets

Symbolic Unfolding of Parametric Stopwatch Petri Nets Formal Methods in System Design manuscript No. (will be inserted by the editor) Symbolic Unfolding of Parametric Stopwatch Petri Nets Claude Jard Didier Lime Olivier H. Roux Louis-Marie Traonouez Received:

More information

On simulations and bisimulations of general flow systems

On simulations and bisimulations of general flow systems On simulations and bisimulations of general flow systems Jen Davoren Department of Electrical & Electronic Engineering The University of Melbourne, AUSTRALIA and Paulo Tabuada Department of Electrical

More information

Reachability Results for Timed Automata with Unbounded Data Structures

Reachability Results for Timed Automata with Unbounded Data Structures Acta Informatica manuscript No. (will be inserted by the editor) Reachability Results for Timed Automata with Unbounded Data Structures Ruggero Lanotte Andrea Maggiolo-Schettini Angelo Troina Received:

More information

On decision problems for timed automata

On decision problems for timed automata On decision problems for timed automata Olivier Finkel Equipe de Logique Mathématique, U.F.R. de Mathématiques, Université Paris 7 2 Place Jussieu 75251 Paris cedex 05, France. finkel@logique.jussieu.fr

More information

MODEL CHECKING TIMED SAFETY INSTRUMENTED SYSTEMS

MODEL CHECKING TIMED SAFETY INSTRUMENTED SYSTEMS TKK Reports in Information and Computer Science Espoo 2008 TKK-ICS-R3 MODEL CHECKING TIMED SAFETY INSTRUMENTED SYSTEMS Jussi Lahtinen ABTEKNILLINEN KORKEAKOULU TEKNISKA HÖGSKOLAN HELSINKI UNIVERSITY OF

More information

When are Timed Automata Determinizable?

When are Timed Automata Determinizable? When are Timed Automata Determinizable? Christel Baier 1, Nathalie Bertrand 2, Patricia Bouyer 3, and Thomas Brihaye 4 1 Technische Universität Dresden, Germany 2 INRIA Rennes Bretagne Atlantique, France

More information

Automata-theoretic Decision of Timed Games

Automata-theoretic Decision of Timed Games Automata-theoretic Decision of Timed Games Marco Faella a, Salvatore La Torre b, Aniello Murano a a Università degli Studi di Napoli Federico II, 80126 Napoli {faella, murano}@na.infn.it b Università degli

More information

arxiv:cs/ v1 [cs.lo] 8 Dec 2005

arxiv:cs/ v1 [cs.lo] 8 Dec 2005 Alternating Timed Automata S lawomir Lasota 1 and Igor Walukiewicz 2 1 Institute of Informatics, Warsaw University Banacha 2, 02-097 Warszawa arxiv:cs/0512031v1 [cs.lo] 8 Dec 2005 2 LaBRI, Université Bordeaux-1

More information

540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL Algorithmic Analysis of Nonlinear Hybrid Systems

540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL Algorithmic Analysis of Nonlinear Hybrid Systems 540 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 43, NO. 4, APRIL 1998 Algorithmic Analysis of Nonlinear Hybrid Systems Thomas A. Henzinger, Pei-Hsin Ho, Howard Wong-Toi Abstract Hybrid systems are digital

More information

TIMED automata, introduced by Alur and Dill in [3], have

TIMED automata, introduced by Alur and Dill in [3], have 1 Language Inclusion Checking of Timed Automata with Non-Zenoness Xinyu Wang, Jun Sun, Ting Wang, and Shengchao Qin Abstract Given a timed automaton P modeling an implementation and a timed automaton S

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Timed Automata: Semantics, Algorithms and Tools

Timed Automata: Semantics, Algorithms and Tools Timed Automata: Semantics, Algorithms and Tools Johan Bengtsson and Wang Yi Uppsala University {johanb,yi}@it.uu.se Abstract. This chapter is to provide a tutorial and pointers to results and related work

More information

Topics in Timed Automata

Topics in Timed Automata 1/32 Topics in Timed Automata B. Srivathsan RWTH-Aachen Software modeling and Verification group 2/32 Timed Automata A theory of timed automata R. Alur and D. Dill, TCS 94 2/32 Timed Automata Language

More information

An Efficient Method for Computing Exact State Space of Petri Nets With Stopwatches

An Efficient Method for Computing Exact State Space of Petri Nets With Stopwatches Electronic Notes in Theoretical Computer Science 144 (2006) 59 77 www.elsevier.com/locate/entcs An Efficient Method for Computing Exact State Space of Petri Nets With Stopwatches Morgan Magnin 1 IRCCyN,

More information

The Minimal Cost Reachability Problem in Priced Timed Pushdown Systems

The Minimal Cost Reachability Problem in Priced Timed Pushdown Systems The Minimal Cost Reachability Problem in Priced Timed Pushdown Systems Parosh Aziz Abdulla, Mohamed Faouzi Atig, and Jari Stenman Uppsala University, Sweden Abstract. This paper introduces the model of

More information

Some techniques and results in deciding bisimilarity

Some techniques and results in deciding bisimilarity Some techniques and results in deciding bisimilarity Petr Jančar Dept of Computer Science Technical University Ostrava (FEI VŠB-TU) Czech Republic www.cs.vsb.cz/jancar Talk at the Verification Seminar,

More information

Laboratoire Spécification & Vérification. Language Preservation Problems in Parametric Timed Automata. Étienne André and Nicolas Markey

Laboratoire Spécification & Vérification. Language Preservation Problems in Parametric Timed Automata. Étienne André and Nicolas Markey Language Preservation Problems in Parametric Timed Automata Étienne André and Nicolas Markey June 2015 Research report LSV-15-05 (Version 1) Laboratoire Spécification & Vérification École Normale Supérieure

More information

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata Control Synthesis of Discrete Manufacturing Systems using Timed Finite utomata JROSLV FOGEL Institute of Informatics Slovak cademy of Sciences ratislav Dúbravská 9, SLOVK REPULIC bstract: - n application

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

Dense-Timed Pushdown Automata

Dense-Timed Pushdown Automata Dense-Timed Pushdown Automata Parosh Aziz Abdulla Uppsala University Sweden Mohamed Faouzi Atig Uppsala University Sweden Jari Stenman Uppsala University Sweden Abstract We propose a model that captures

More information

From Time Petri Nets to Timed Automata: An Untimed Approach

From Time Petri Nets to Timed Automata: An Untimed Approach From Time Petri Nets to Timed Automata: An Untimed Approach Davide D Aprile 1, Susanna Donatelli 1, Arnaud Sangnier 2, and Jerem Sproston 1 1 Dipartimento di Informatica, Università di Torino, 10149 Torino,

More information

New Complexity Results for Some Linear Counting Problems Using Minimal Solutions to Linear Diophantine Equations

New Complexity Results for Some Linear Counting Problems Using Minimal Solutions to Linear Diophantine Equations New Complexity Results for Some Linear Counting Problems Using Minimal Solutions to Linear Diophantine Equations (Extended Abstract) Gaoyan Xie, Cheng Li and Zhe Dang School of Electrical Engineering and

More information

arxiv:cs/ v2 [cs.lo] 24 Aug 2006

arxiv:cs/ v2 [cs.lo] 24 Aug 2006 Alternating Timed Automata S lawomir Lasota 1 and Igor Walukiewicz 2 arxiv:cs/0512031v2 [cs.lo] 24 Aug 2006 1 Institute of Informatics, Warsaw University Banacha 2, 02-097 Warszawa 2 LaBRI, Université

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

A Canonical Contraction for Safe Petri Nets

A Canonical Contraction for Safe Petri Nets A Canonical Contraction for Safe Petri Nets Thomas Chatain and Stefan Haar INRIA & LSV (CNRS & ENS Cachan) 6, avenue du Président Wilson 935 CACHAN Cedex, France {chatain, haar}@lsvens-cachanfr Abstract

More information

Computing Accumulated Delays in Real-time Systems

Computing Accumulated Delays in Real-time Systems Computing Accumulated Delays in Real-time Systems P~jeev Alur 1, Costas Courcoubetis u *, Thomas A. Henzinger 3 ** i AT&T Bell Laboratories, Murray Hill 2 Department of Computer Science, University of

More information

Simplification of finite automata

Simplification of finite automata Simplification of finite automata Lorenzo Clemente (University of Warsaw) based on joint work with Richard Mayr (University of Edinburgh) Warsaw, November 2016 Nondeterministic finite automata We consider

More information

Flat counter automata almost everywhere!

Flat counter automata almost everywhere! Flat counter automata almost everywhere! Jérôme Leroux and Grégoire Sutre Projet Vertecs, IRISA / INRIA Rennes, FRANCE Équipe MVTsi, CNRS / LABRI, FRANCE Counter-automata verification A simple counter-automata:

More information

An Efficient Translation of Timed-Arc Petri Nets to Networks of Timed Automata

An Efficient Translation of Timed-Arc Petri Nets to Networks of Timed Automata An Efficient Translation of TimedArc Petri Nets to Networks of Timed Automata Joakim Byg, Kenneth Yrke Jørgensen, and Jiří Srba Department of Computer Science Aalborg University Selma Lagerlöfs Vej 300

More information

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

More information

On Reachability for Hybrid Automata over Bounded Time

On Reachability for Hybrid Automata over Bounded Time On Reachability for Hybrid Automata over Bounded Time Thomas Brihaye, Laurent Doyen 2, Gilles Geeraerts 3, Joël Ouaknine 4, Jean-François Raskin 3, and James Worrell 4 Université de Mons, Belgium 2 LSV,

More information

Automata-theoretic analysis of hybrid systems

Automata-theoretic analysis of hybrid systems Automata-theoretic analysis of hybrid systems Madhavan Mukund SPIC Mathematical Institute 92, G N Chetty Road Chennai 600 017, India Email: madhavan@smi.ernet.in URL: http://www.smi.ernet.in/~madhavan

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang Timed Automata Semantics, Algorithms and Tools Zhou Huaiyang Agenda } Introduction } Timed Automata } Formal Syntax } Operational Semantics } Verification Problems } Symbolic Semantics & Verification }

More information

From Stochastic Processes to Stochastic Petri Nets

From Stochastic Processes to Stochastic Petri Nets From Stochastic Processes to Stochastic Petri Nets Serge Haddad LSV CNRS & ENS Cachan & INRIA Saclay Advanced Course on Petri Nets, the 16th September 2010, Rostock 1 Stochastic Processes and Markov Chains

More information

Time Petri Nets with Dynamic Firing Dates: Semantics and Applications

Time Petri Nets with Dynamic Firing Dates: Semantics and Applications Time Petri Nets with Dynamic Firing Dates: Semantics and Applications Silvano Dal Zilio 1,2, Lukasz Fronc 1,2, Bernard Berthomieu 1,2, and François Vernadat 1,3 arxiv:1404.7067v1 [cs.lo] 28 Apr 2014 1

More information

Formal Specification and Verification of Task Time Constraints for Real-Time Systems

Formal Specification and Verification of Task Time Constraints for Real-Time Systems 1 Formal Specification and Verification of Task Time Constraints for Real-Time Systems Ning Ge, Marc Pantel and Xavier Crégut University of Toulouse, IRIT/INPT 2 rue Charles Camichel, BP 7122, 31071 Toulouse

More information

Decision Problems for Parametric Timed Automata

Decision Problems for Parametric Timed Automata Decision Problems for Parametric Timed Automata Étienne André 1,2, Didier Lime 1, and Olivier H. Roux 1 1 École Centrale de Nantes, IRCCyN, CNRS, UMR 6597, France 2 Université Paris 13, Sorbonne Paris

More information

models based on maximality semantics present concurrent actions differently from choice [11], because of non atomicity of actions. These models advoca

models based on maximality semantics present concurrent actions differently from choice [11], because of non atomicity of actions. These models advoca Maximality-based Region Graph: a Novel Alternative Riadh MATMAT Ilham KITOUNI Souad GUELLATI D-Eddine SAIDOUNI, MISC Laboratory, Constantine 2 University, 25000, Algeria {matmat; kitouni; guellati; saidouni}@misc-umc.org

More information

Controller Synthesis for MTL Specifications

Controller Synthesis for MTL Specifications Controller Synthesis for MTL Specifications Patricia Bouyer, Laura Bozzelli, and Fabrice Chevalier LSV, CNRS & ENS Cachan, France {bouyer,bozzelli,chevalie}@lsv.ens-cachan.fr Abstract. We consider the

More information

Abstracting real-valued parameters in parameterised boolean equation systems

Abstracting real-valued parameters in parameterised boolean equation systems Department of Mathematics and Computer Science Formal System Analysis Research Group Abstracting real-valued parameters in parameterised boolean equation systems Master Thesis M. Laveaux Supervisor: dr.

More information

The Downward-Closure of Petri Net Languages

The Downward-Closure of Petri Net Languages The Downward-Closure of Petri Net Languages Peter Habermehl 1, Roland Meyer 1, and Harro Wimmel 2 1 LIAFA, Paris Diderot University & CNRS e-mail: {peter.habermehl,roland.meyer}@liafa.jussieu.fr 2 Department

More information

Partial Order Reductions for Timed Systems

Partial Order Reductions for Timed Systems Partial Order Reductions for Timed Systems Johan Bengtsson 1 Bengt Jonsson 1 Johan Lilius 2 Wang Yi 1 1 Department of Computer Systems, Uppsala University, Sweden. Email: {bengt,johanb,yi}@docs.uu.se 2

More information

Verification of Linear Duration Invariants by Model Checking CTL Properties

Verification of Linear Duration Invariants by Model Checking CTL Properties UNU-IIST International Institute for Software Technology Verification of Linear Duration Invariants by Model Checking CTL Properties Miaomiao Zhang, Dang Van Hung and Zhiming Liu June 2008 UNU-IIST Report

More information

Spiking Neural Networks as Timed Automata

Spiking Neural Networks as Timed Automata Spiking Neural Networks as Timed Automata Giovanni Ciatto 1,2, Elisabetta De Maria 2, and Cinzia Di Giusto 2 1 Università di Bologna, Italy 2 Université Côté d Azur, CNRS, I3S, France Abstract In this

More information

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1 Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1 Borzoo Bonakdarpour and Sandeep S. Kulkarni Software Engineering and Network Systems Laboratory, Department of Computer Science

More information