# An improved on-the-fly tableau construction for a real-time temporal logic Marc Geilen 12 July 2003 /e.

## Presentation on theme: "An improved on-the-fly tableau construction for a real-time temporal logic Marc Geilen 12 July 2003 /e."— Presentation transcript:

an improved on-the-fly tableau construction for a real-time temporal logic Marc Geilen 12 July 2003 /e

Overview Introduction RT Temporal Logic Model-Checking Ingredients of the tableau procedure Example Conclusions

/e Temporal Logic Model Checking Timed Automaton A : ' A S System S Logical Property ' Product Automaton A S £ A : ' L (A S ) \L (A : ' )= S satisfies ' L (A S £ A ' )= iff

/e Real-time temporal logic Linear Temporal Logic, extended with quantitative dense time (e.g., pos real numbers) Timed state sequence is a sequence of states (valuations of propositions) and intervals p | : ' | ' 1 _ ' 2 | ' 1 U 6 d ' 2 or in positive normal form: p | : p | ' 1 _ ' 2 | ' 1 ^ ' 2 | ' 1 U 6 d ' 2 | ' 1 V 6 d ' 2 ( {p,q}, [0,1) ) ( {p},[1,4] ) ( {q}, (4, 7) ) …

/e Goal To have an efficient algorithm for translating real-time temporal logic formulas into timed automata to enable temporal logic model- checking for timed systems.

/e Previous work Alur, Feder and Henzinger, 96 Tableau construction for dense time Metric Interval Temporal Logic. Linear Temporal Logic with ' 1 U I ' 2 Establishing the connection between MITL and Timed Automata, not meant for implementation

/e Previous work Geilen, Dams, 00 Attempt at an on-the-fly tableau construction For fragment of MITL: ' 1 U I ' 2 where I=[0,d] Relied on restriction to timed state sequences with special type of intervals [a, b)

/e This work… introduces an on-the-fly tableau construction for a fragment of MITL ( ' 1 U I ' 2 where I=[0,d] ) without the restriction on intervals

/e Untimed OTF tableau revisited Label states with formulas Separation of constraints on current state and remainder of the state sequence Normal form: °'°'

/e Untimed OTF tableau revisited p U q = q _ p ^° p U q p p U q q ° p p U q q ° p p U q q °

/e Real-time tableaux Timed automata Intervals and locations

/e Real-time tableaux

/e Real-time tableaux

/e Real-time tableaux

/e Timers Timers measure/constrain distance between transitions p,x>0 p U 6 d q q x:=d [t 1,... p,x > 0 p U 6 d q q x:=d (t 1,...

/e p,x>0 p U 6 x q p U 6 d q p U 6 x q q x:=d [t 1,... p,x > 0 p U 6 x+ " q p U 6 d q p U 6 " q q x:=d (t 1,...

/e Release Formulas

/e Parts of the tableau automaton Locations: sets of formulas Propositional and timer constraints in locations are derived from the formulas Timers: for every bounded Until or Release formula (counting down) Edges: determined by a normal form procedure from singular to open and from open to singular intervals.

/e Disjunctive Temporal Normal forms Extended logic x 0, x>0 TS. ' (e.g., {x:=5}. ' ') ' 1 U 6 x ' 2, ' 1 U 6 x + " ' 2 ' 1 V 6 x ' 2, ' 1 V < x ' 2 ° '

/e Disjunctive Temporal Normal forms Extended logic and interpretation with timers ( ¾,I) |= À ' º : Timers --> IR ( ¾,I) |= À x>0if º (x)>0 ( ¾,I) |= À TS. ' if ( ¾,I) |= TS. À '

/e Disjunctive Temporal Normal Forms Normal form °Ã°Ã

/e Normal form rewrite rules Depend on interval type (s/o) ´ : equivalent for first singular interval {0} ´ : equivalent in initial open interval (0,… s o

/e Equivalences / rewrite rules Some examples: ' 1 U 6 d ' 2 ´ {x:=5}.( ' 1 U 6 x ' 2 ) ' 1 U 6 d ' 2 ´ {x:=5}.( ' 1 U 6 x+ " ' 2 ) ' 1 U 6 d ' 2 ^ ' 1 U 6 x ' 2 ´ ' 1 U 6 x ' 2 (if x 6 d) ' 1 U 6 x ' 2 ´ ' 2 _ ( x > 0 ^ ' 1 ^ ° ' 1 U 6 x ' 2 ) (`the Next operator refers to the next interval) s o

/e Example

/e Example

/e Example

/e Dealing with interval types timed automata cannot directly enforce interval types But alternation of singular and open intervals can be enforced by a well-known trick

/e Outline of the algorithm Get initial locations from NF of initial formula As long as there are locations that have not been expanded –Expand one of these locations from its Next formulas according to its type s/o

/e Application of the algorithm § 6 5 p = true U 6 5 p

/e Application of the algorithm true U 6 5 p ´ [x:=5]. true U 6 x p s

/e Application of the algorithm [x:=5]. true U 6 x p ´ [x:=5].p _ [x:=5].x>0 ^° true U 6 x p s

/e Application of the algorithm

/e Application of the algorithm true U 6 x p ´ p _ x>0 ^° true U 6 x p o

/e Application of the algorithm true U 6 x p ´ p _ x>0 ^° true U 6 x p s

/e Application of the algorithm true ´ true ^ ° true

/e ¤ 6 100 § 6 5 p = false V 6 100 (true U 6 5 p)

/e Conclusions and Future work OTF tableau construction algorithm Lifts the constraints imposed in an earlier paper Optimizations possible Weakly monotonic time for interleaving semantics Simple extensions of the logic Implementation

/e Thanks!

Download ppt "An improved on-the-fly tableau construction for a real-time temporal logic Marc Geilen 12 July 2003 /e."

Similar presentations