real time model checking
play

Real-time Model Checking Timed Temporal Logics Nicolas M ARKEY - PowerPoint PPT Presentation

Real-time Model Checking Timed Temporal Logics Nicolas M ARKEY Lav. Sp ecification & V erification CNRS & ENS Cachan France March 3, 2010 (Quantitative) Model checking system: property: Always ( safe )


  1. Timed words vs. timed state sequences Example x ≤ 2 y > 0 a , b , y := 0 x := 0 y ≤ 2 c , x := 0 x ≥ 2 a , y := 0 continuous semantics x = 0 y = 0 pointwise semantics

  2. Timed words vs. timed state sequences Example x ≤ 2 y > 0 a , b , y := 0 x := 0 y ≤ 2 c , x := 0 x ≥ 2 a , y := 0 continuous semantics x = 1 . 5 y = 0 pointwise semantics a 1 . 5

  3. Timed words vs. timed state sequences Example x ≤ 2 y > 0 a , b , y := 0 x := 0 y ≤ 2 c , x := 0 x ≥ 2 a , y := 0 continuous semantics x = 0 y = 1 . 3 pointwise semantics a b 1 . 5 2 . 8

  4. Timed words vs. timed state sequences Example x ≤ 2 y > 0 a , b , y := 0 x := 0 y ≤ 2 c , x := 0 x ≥ 2 a , y := 0 continuous semantics x = 2 . 6 y = 0 pointwise semantics a b a 1 . 5 2 . 8 5 . 4

  5. Timed words vs. timed state sequences Example x ≤ 2 y > 0 a , b , y := 0 x := 0 y ≤ 2 c , x := 0 x ≥ 2 a , y := 0 continuous semantics x = 0 y = 1 . 3 pointwise semantics a b a c 1 . 5 2 . 8 5 . 4 6 . 7

  6. Timed logics in the pointwise framework Definition MTL ∋ ϕ ::= | ¬ ϕ | ϕ ∨ ϕ | ϕ U I ϕ where ranges over { , , ... } and I is an interval with bounds in Q + ∪ { + ∞} .

  7. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I .

  8. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I . Example a U [ 2 , 3 ] c 0 1 2 ( init , 0 ) ( a , 0 . 6 ) ( a , 1 . 2 ) ( c , 2 . 1 )

  9. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I . Example F ( b ∧ ⊥ U [ 1 , 1 ] a ) 0 1 2 ( init , 0 ) ( b , 0 . 8 ) ( b , 1 . 3 ) ( a , 2 . 3 )

  10. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I . Example F [ 2 , 2 ] c 0 1 2 ( init , 0 ) ( b , 0 . 9 ) ( c , 2 )

  11. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I . Example def F [ 2 , 2 ] c = F = 2 c 0 1 2 ( init , 0 ) ( b , 0 . 9 ) ( c , 2 )

  12. Timed logics in the pointwise framework Definition Pointwise semantics of MTL: over π = ( w i , t i ) i with t 0 = 0: π, i | = ϕ U I ψ iff there exists some j > 0 s.t. – π, i + j | = ψ , – π, i + k | = ϕ for all 0 < k < j , – t i + j − t i ∈ I . Example F [ 2 , 2 ] c �≡ F = 1 F = 1 c 0 1 2 ( init , 0 ) ( b , 0 . 9 ) ( c , 2 )

  13. Timed logics in the pointwise framework Definition TPTL ∋ ϕ ::= | x ∼ c | ¬ ϕ | ϕ ∨ ϕ | ϕ U ϕ | x . ϕ where ranges over { , , ... } , x ranges over a set of formula clocks, c ∈ Q + and ∼ ∈ { <, ≤ , = , ≥ , > } .

  14. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c

  15. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c π, i , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ

  16. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c π, i , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, i , τ | = ϕ U ψ iff there exists some j > 0 s.t. – π, i + j , τ + t i + j − t i | = ψ , – π, i + k , τ + t i + k − t i | = ϕ for all 0 < k < j .

  17. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c π, i , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, i , τ | = ϕ U ψ iff there exists some j > 0 s.t. – π, i + j , τ + t i + j − t i | = ψ , – π, i + k , τ + t i + k − t i | = ϕ for all 0 < k < j . Example x . ( a U ( c ∧ x ∈ [ 2 , 3 ])) 0 1 2 ( init , 0 ) ( a , 0 . 6 ) ( a , 1 . 2 ) ( c , 2 . 1 )

  18. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c π, i , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, i , τ | = ϕ U ψ iff there exists some j > 0 s.t. – π, i + j , τ + t i + j − t i | = ψ , – π, i + k , τ + t i + k − t i | = ϕ for all 0 < k < j . Example F ( b ∧ x . ( ⊥ U ( a ∧ x = 1 ))) 0 1 2 ( init , 0 ) ( a , 0 . 6 ) ( b , 1 . 1 ) ( a , 2 . 1 )

  19. Timed logics in the pointwise framework Definition Pointwise semantics of TPTL: over π = ( w i , t i ) i with t 0 = 0, under some clock valuation τ : : π, i , τ | = x ∼ c iff τ ( x ) ∼ c π, i , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, i , τ | = ϕ U ψ iff there exists some j > 0 s.t. – π, i + j , τ + t i + j − t i | = ψ , – π, i + k , τ + t i + k − t i | = ϕ for all 0 < k < j . Example x . F ( a ∧ F ( b ∧ x ≤ 1 )) 0 1 2 ( init , 0 ) ( a , 0 . 5 ) ( b , 0 . 9 ) ( c , 2 )

  20. Timed logics in the continuous framework Definition Continuous semantics of MTL: over π : R + → { , , ... } : π, t | = ϕ U I ψ iff there exists some u > 0 s.t. – π, t + u | = ψ , – π, t + v | = ϕ for all 0 < v < u , – u ∈ I .

  21. Timed logics in the continuous framework Definition Continuous semantics of MTL: over π : R + → { , , ... } : π, t | = ϕ U I ψ iff there exists some u > 0 s.t. – π, t + u | = ψ , – π, t + v | = ϕ for all 0 < v < u , – u ∈ I . π, t | = p iff p ∈ π ( t )

  22. Timed logics in the continuous framework Definition Continuous semantics of MTL: over π : R + → { , , ... } : π, t | = ϕ U I ψ iff there exists some u > 0 s.t. – π, t + u | = ψ , – π, t + v | = ϕ for all 0 < v < u , – u ∈ I . π, t | = p iff p ∈ π ( t ) Example 0 1 2 ( ∨ ) U ≤ 2

  23. Timed logics in the continuous framework Definition Continuous semantics of MTL: over π : R + → { , , ... } : π, t | = ϕ U I ψ iff there exists some u > 0 s.t. – π, t + u | = ψ , – π, t + v | = ϕ for all 0 < v < u , – u ∈ I . π, t | = p iff p ∈ π ( t ) Example 0 1 2 F = 2

  24. Timed logics in the continuous framework Definition Continuous semantics of MTL: over π : R + → { , , ... } : π, t | = ϕ U I ψ iff there exists some u > 0 s.t. – π, t + u | = ψ , – π, t + v | = ϕ for all 0 < v < u , – u ∈ I . π, t | = p iff p ∈ π ( t ) Example 0 1 2 ≡ F = 1 ( F = 1 ) F = 2

  25. Timed logics in the continuous framework Definition Continuous semantics of TPTL: over π : R + → { , , ... } : π, t , τ | = x ∼ c iff τ ( x ) ∼ c

  26. Timed logics in the continuous framework Definition Continuous semantics of TPTL: over π : R + → { , , ... } : π, t , τ | = x ∼ c iff τ ( x ) ∼ c π, t , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ

  27. Timed logics in the continuous framework Definition Continuous semantics of TPTL: over π : R + → { , , ... } : π, t , τ | = x ∼ c iff τ ( x ) ∼ c π, t , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, t , τ | = ϕ U ψ iff there exists some u > 0 s.t. – π, t + u , τ + u − t | = ψ , – π, i + k , τ + v − t | = ϕ for all 0 < v < u .

  28. Timed logics in the continuous framework Definition Continuous semantics of TPTL: over π : R + → { , , ... } : π, t , τ | = x ∼ c iff τ ( x ) ∼ c π, t , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, t , τ | = ϕ U ψ iff there exists some u > 0 s.t. – π, t + u , τ + u − t | = ψ , – π, i + k , τ + v − t | = ϕ for all 0 < v < u . Example 0 1 2 x . (( ∨ ) U ( ∧ x ≤ 2 )

  29. Timed logics in the continuous framework Definition Continuous semantics of TPTL: over π : R + → { , , ... } : π, t , τ | = x ∼ c iff τ ( x ) ∼ c π, t , τ | = x . ϕ iff π, i , τ [ x ← 0 ] | = ϕ π, t , τ | = ϕ U ψ iff there exists some u > 0 s.t. – π, t + u , τ + u − t | = ψ , – π, i + k , τ + v − t | = ϕ for all 0 < v < u . Example 0 1 2 x . F ( ∧ F ( ∧ x ≤ 2 ))

  30. Relative expressiveness of TPTL and MTL Lemma MTL can be translated into TPTL. Proof. ϕ U I ψ ≡ x . ϕ U ( ψ ∧ x ∈ I ) .

  31. Relative expressiveness of TPTL and MTL Lemma MTL can be translated into TPTL. Proof. ϕ U I ψ ≡ x . ϕ U ( ψ ∧ x ∈ I ) . Conversely, consider the following TPTL formula: � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) It characterizes the following pattern: 0 1 2 green red blue

  32. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green          G ⇒        

  33. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green red blue  F [ 0 , 1 ] ∧ F [ 1 , 2 ]         G ⇒        

  34. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green red blue  F [ 0 , 1 ] ∧ F [ 1 , 2 ]     ∨     G ⇒ F [ 0 , 1 ] ( ∧ F [ 0 , 1 ] )        

  35. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green red blue  F [ 0 , 1 ] ∧ F [ 1 , 2 ]     ∨     G ⇒ F [ 0 , 1 ] ( ∧ F [ 0 , 1 ] )        

  36. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green red blue = 1  F [ 0 , 1 ] ∧ F [ 1 , 2 ]     ∨     G ⇒ F [ 0 , 1 ] ( ∧ F [ 0 , 1 ] )  ∨       F [ 0 , 1 ] ( F ( 0 , 1 ) ∧ F = 1 ) 

  37. Relative expressiveness of TPTL and MTL � � . G ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) 0 1 2 green red blue = 1  F [ 0 , 1 ] ∧ F [ 1 , 2 ]     ∨     G ⇒ F [ 0 , 1 ] ( ∧ F [ 0 , 1 ] )  ∨       F [ 0 , 1 ] ( F ( 0 , 1 ) ∧ F = 1 )  Remark This translation is only valid in the continuous semantics

  38. Relative expressiveness of TPTL and MTL Theorem TPTL is strictly more expressive than MTL. Refs: [1] Bouyer, Chevalier, M. On the Expressiveness of TPTL and MTL (2005).

  39. Relative expressiveness of TPTL and MTL Theorem TPTL is strictly more expressive than MTL. Proof. In the pointwise semantics: G � ⇒ x . F ( ∧ F ( ∧ x ≤ 2 )) � cannot be expressed in MTL. In both semantics: ϕ = x . F ( ∧ x ≤ 1 ∧ G ( x ≤ 1 ⇒ ¬ )) cannot be expressed in MTL. Refs: [1] Bouyer, Chevalier, M. On the Expressiveness of TPTL and MTL (2005).

  40. Outline of the talk Introduction 1 Extending temporal logics with real-time constraints 2 Continuous and pointwise semantics Expressiveness issues Model checking timed linear-time logics 3 Undecidability of MTL and TPTL Decidable fragments Model checking timed branching-time logics 4 Conclusions and open problems 5

  41. MTL model-checking Theorem MTL model-checking and satisfiability are undecidable under the continuous semantics. Refs: [1] Alur, Henzinger. Real-time logics: Complexity and expressiveness (1990).

  42. MTL model-checking Theorem MTL model-checking and satisfiability are undecidable under the continuous semantics. Proof. Encode the halting problem of a Turing machine: One time-unit = one configuration of the Turing machine Refs: [1] Alur, Henzinger. Real-time logics: Complexity and expressiveness (1990).

  43. MTL model-checking Theorem MTL model-checking and satisfiability are undecidable under the continuous semantics. Proof. Encode the halting problem of a Turing machine: One time-unit = one configuration of the Turing machine n + 1 n + 2 n 0 0 1 1 0 0 0 1 0 0 tape head tape head Refs: [1] Alur, Henzinger. Real-time logics: Complexity and expressiveness (1990).

  44. MTL model-checking Theorem MTL model-checking and satisfiability are undecidable under the continuous semantics. Proof. Encode the halting problem of a Turing machine: One time-unit = one configuration of the Turing machine n + 1 n + 2 n = 1 = 1 Refs: [1] Alur, Henzinger. Real-time logics: Complexity and expressiveness (1990).

  45. MTL model-checking Theorem MTL model-checking and satisfiability are undecidable under the continuous semantics. Proof. Encode the halting problem of a Turing machine: One time-unit = one configuration of the Turing machine n + 1 n + 2 n = 1 = 1 G [( ∧ ¬ ( U ) ∧ ¬ (( ¬ ∧ ¬ ) U )) ⇔ F = 1 ] ∧ ... Refs: [1] Alur, Henzinger. Real-time logics: Complexity and expressiveness (1990).

  46. MTL model-checking Remark This reduction requires continuous semantics, or the use of past-time modalities: n + 1 n + 2 n Refs: [1] Ouaknine, Worrell. On the decidability of Metric Temporal Logic (2005). [2] Ouaknine, Worrell. On Metric Temporal Logic and faulty Turing machines (2006).

  47. MTL model-checking Remark This reduction requires continuous semantics, or the use of past-time modalities: n + 1 n + 2 n = 1 = 1 Refs: [1] Ouaknine, Worrell. On the decidability of Metric Temporal Logic (2005). [2] Ouaknine, Worrell. On Metric Temporal Logic and faulty Turing machines (2006).

  48. MTL model-checking Remark This reduction requires continuous semantics, or the use of past-time modalities: n + 1 n + 2 n = 1 “insertion errors” = 1 Refs: [1] Ouaknine, Worrell. On the decidability of Metric Temporal Logic (2005). [2] Ouaknine, Worrell. On Metric Temporal Logic and faulty Turing machines (2006).

  49. MTL model-checking Remark This reduction requires continuous semantics, or the use of past-time modalities: n + 1 n + 2 n = 1 “insertion errors” = 1 Theorem Under pointwise semantics, MTL model-checking and satisfiability are undecidable over infinite timed words; are decidable (with non-primitive recursive complexity) over finite timed words. Refs: [1] Ouaknine, Worrell. On the decidability of Metric Temporal Logic (2005). [2] Ouaknine, Worrell. On Metric Temporal Logic and faulty Turing machines (2006).

  50. Metric Interval Temporal Logic Definition MITL is the fragment of MTL where punctuality is not allowed: MITL ∋ ϕ ::= | ¬ ϕ | ϕ ∨ ϕ | ϕ U I ϕ where ranges over { , , ... } and I is a non-punctual interval with bounds in Q + ∪ { + ∞} . Refs: [1] Alur, Feder, Henzinger. The benefits of relaxing punctuality (1991).

  51. Metric Interval Temporal Logic Definition MITL is the fragment of MTL where punctuality is not allowed: MITL ∋ ϕ ::= | ¬ ϕ | ϕ ∨ ϕ | ϕ U I ϕ where ranges over { , , ... } and I is a non-punctual interval with bounds in Q + ∪ { + ∞} . Example G ( ⇒ F [ 1 , 2 ] ) is an MITL formula; G ( ⇒ F = 1 ) is not. Refs: [1] Alur, Feder, Henzinger. The benefits of relaxing punctuality (1991).

  52. Metric Interval Temporal Logic Definition MITL is the fragment of MTL where punctuality is not allowed: MITL ∋ ϕ ::= | ¬ ϕ | ϕ ∨ ϕ | ϕ U I ϕ where ranges over { , , ... } and I is a non-punctual interval with bounds in Q + ∪ { + ∞} . Example G ( ⇒ F [ 1 , 2 ] ) is an MITL formula; G ( ⇒ F = 1 ) is not. Theorem MITL model checking and satisfiability are EXPSPACE-complete. Refs: [1] Alur, Feder, Henzinger. The benefits of relaxing punctuality (1991).

  53. (Co)Flat MTL Definition CoFlatMTL is the fragment of MTL defined as: CoFlatMTL ∋ ϕ ::= | ¬ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ U I ϕ | ϕ U J ψ | ϕ R I ϕ | ψ R J ϕ where ranges over { , ... } , , I ranges over bounded intervals with bounds in Q , J ranges over intervals with bounds in Q ∪ { + ∞} , and ψ ranges over MITL. Refs: [1] Bouyer, M., Ouaknine, Worrell. The Cost of Punctuality (2007).

  54. (Co)Flat MTL Definition CoFlatMTL is the fragment of MTL defined as: CoFlatMTL ∋ ϕ ::= | ¬ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ U I ϕ | ϕ U J ψ | ϕ R I ϕ | ψ R J ϕ Remark CoFlatMTL is not closed under negation. Refs: [1] Bouyer, M., Ouaknine, Worrell. The Cost of Punctuality (2007).

  55. (Co)Flat MTL Definition CoFlatMTL is the fragment of MTL defined as: CoFlatMTL ∋ ϕ ::= | ¬ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ U I ϕ | ϕ U J ψ | ϕ R I ϕ | ψ R J ϕ Remark CoFlatMTL is not closed under negation. Example G ( ⇒ F = 1 ) is in CoFlatMTL. F ( ∧ G = 1 ) is in FlatMTL, but not in CoFlatMTL. Refs: [1] Bouyer, M., Ouaknine, Worrell. The Cost of Punctuality (2007).

  56. (Co)Flat MTL Definition CoFlatMTL is the fragment of MTL defined as: CoFlatMTL ∋ ϕ ::= | ¬ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ U I ϕ | ϕ U J ψ | ϕ R I ϕ | ψ R J ϕ Remark CoFlatMTL is not closed under negation. Theorem CoFlatMTL model-checking is EXPSPACE-complete. CoFlatMTL satisfiability is undecidable. Refs: [1] Bouyer, M., Ouaknine, Worrell. The Cost of Punctuality (2007).

  57. Outline of the talk Introduction 1 Extending temporal logics with real-time constraints 2 Continuous and pointwise semantics Expressiveness issues Model checking timed linear-time logics 3 Undecidability of MTL and TPTL Decidable fragments Model checking timed branching-time logics 4 Conclusions and open problems 5

  58. Branching-time logics with timing constraints – syntax Definition TCTL ∋ ϕ ::= | ¬ ϕ | ϕ ∧ ϕ | E ϕ U ∼ c ϕ | A ϕ U ∼ c ϕ where ∈ { , ... } , ∼ ∈ {≤ , <, = , >, ≥} and c ∈ N . , , Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  59. Branching-time logics with timing constraints – syntax Definition TCTL ∋ ϕ ::= | ¬ ϕ | ϕ ∧ ϕ | E ϕ U ∼ c ϕ | A ϕ U ∼ c ϕ where ∈ { , ... } , ∼ ∈ {≤ , <, = , >, ≥} and c ∈ N . , , Example A G ( ⇒ E F ≤ 5 ) Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  60. Branching-time logics with timing constraints – syntax Definition TCTL ∋ ϕ ::= | ¬ ϕ | ϕ ∧ ϕ | E ϕ U ∼ c ϕ | A ϕ U ∼ c ϕ where ∈ { , ... } , ∼ ∈ {≤ , <, = , >, ≥} and c ∈ N . , , Example A G ( ⇒ E F ≤ 5 ) A F ( A G ≤ 5 ) Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  61. Branching-time logics with timing constraints – semantics Definition The semantics of TCTL is defined as follows: let be a location and v be a clock valuation. , v | = E ( ) iff there is a run from ( , v ) such U ∼ c that v v’ ∼ c , v | = A ( U ∼ c ) is defined similarly.

  62. Branching-time logics with timing constraints – semantics Definition The semantics of TCTL is defined as follows: let be a location and v be a clock valuation. , v | = E ( ) iff there is a run from ( , v ) such U ∼ c that v v’ ∼ c , v | = A ( U ∼ c ) is defined similarly. Remark We could also define a pointwise semantics: delay = c ′ delay = c action v v + c v ′ v ′ + c ′

  63. Branching-time logics with timing constraints – semantics Example x ≤ 2 � � x = 1 . 2 , | = E U ≥ 1 y := 0 y = 0 . 4 y ≤ 2 x ≥ 3 y ≤ 2 , x := 0 � � x = 1 . 2 , | = A G ¬ y = 0 . 4 x ≤ 3 , y := 0

  64. Branching-time logics with timing constraints – semantics Example x ≤ 2 � � x = 1 . 2 , | = E U ≥ 1 y := 0 y = 0 . 4 y ≤ 2 x ≥ 3 y ≤ 2 , x := 0 � � x = 1 . 2 , | = A G ¬ y = 0 . 4 x ≤ 3 , y := 0 x = 0 � ? � x = 0 | = E ( E F = 1 ) U = 3 , y = 0 y = 3 x = 1 x := 0

  65. TCTL model checking Lemma Let be a location and ϕ be a TCTL formula. For any two valuations v and v ′ that belong to the same region, , v ′ | , v | = ϕ ⇔ = ϕ. Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  66. TCTL model checking Lemma Let be a location and ϕ be a TCTL formula. For any two valuations v and v ′ that belong to the same region, , v ′ | , v | = ϕ ⇔ = ϕ. Proof. By induction on ϕ . Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  67. TCTL model checking Lemma Let be a location and ϕ be a TCTL formula. For any two valuations v and v ′ that belong to the same region, , v ′ | , v | = ϕ ⇔ = ϕ. Proof. By induction on ϕ . Theorem TCTL model-checking is PSPACE-complete. Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  68. TCTL model checking Lemma Let be a location and ϕ be a TCTL formula. For any two valuations v and v ′ that belong to the same region, , v ′ | , v | = ϕ ⇔ = ϕ. Proof. By induction on ϕ . Theorem TCTL model-checking is PSPACE-complete. Proof. Space-efficient CTL labelling algorithm on the region graph. Refs: [1] Alur, Courcoubetis, Dill. Model-Checking in Dense Real-Time (1993).

  69. Outline of the talk Introduction 1 Extending temporal logics with real-time constraints 2 Continuous and pointwise semantics Expressiveness issues Model checking timed linear-time logics 3 Undecidability of MTL and TPTL Decidable fragments Model checking timed branching-time logics 4 Conclusions and open problems 5

  70. Conclusions and perspectives Real-time temporal logics have been much studied:

  71. Conclusions and perspectives Real-time temporal logics have been much studied: linear-time: natural extensions of LTL are undecidable; several restrictions lead to decidability; however, model-checking linear-time logics is hard; no implementation exists.

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