Jump to content

Timed propositional temporal logic

From Wikipedia, the free encyclopedia

In model checking, a field of computer science, timed propositional temporal logic (TPTL) is an extension of propositional linear temporal logic (LTL) in which variables are introduced to measure times between two events. For example, while LTL allows to state that each event p is eventually followed by an event q, TPTL furthermore allows to give a time limit for q to occur.

Syntax

[edit]

The future fragment of TPTL is defined similarly to linear temporal logic, in which furthermore, clock variables can be introduced and compared to constants. Formally, given a set of clocks, MTL is built up from:

  • a finite set of propositional variables AP,
  • the logical operators ¬ and ∨, and
  • the temporal modal operator U,
  • a clock comparison , with , a number and a comparison operator such as <, ≤, =, ≥ or >.
  • a freeze quantification operator , for a TPTL formula with set of clocks .

Furthermore, for an interval, is considered as an abbreviation for ; and similarly for every other kind of intervals.

The logic TPTL+Past[1] is built as the future fragment of TLS and also contains

  • the temporal modal operator S.

Note that the next operator N is not considered to be a part of MTL syntax. It will instead be defined from other operators.

A closed formula is a formula over an empty set of clocks.[2]

Models

[edit]

Let , which intuitively represents a set of times. Let a function that associates to each moment a set of propositions from AP. A model of a TPTL formula is such a function . Usually, is either a timed word or a signal. In those cases, is either a discrete subset or an interval containing 0.

Semantics

[edit]

Let and be as above. Let be a set of clocks. Let (a clock valuation over ).

We are now going to explain what it means for a TPTL formula to hold at time for a valuation . This is denoted by . Let and be two formulas over the set of clocks , a formula over the set of clocks , , , a number and being a comparison operator such as <, ≤, =, ≥ or >: We first consider formulas whose main operator also belongs to LTL:

  • holds if ,
  • holds if
  • holds if either or
  • holds if there exists such that and such that for each , ,
  • holds if there exists such that and such that for each , ,
  • holds if ,
  • holds if holds.

Metric temporal logic

[edit]

Metric temporal logic is another extension of LTL that allows measurement of time. Instead of adding variables, it adds an infinity of operators and for an interval of non-negative number. The semantics of the formula at some time is essentially the same than the semantics of the formula , with the constraints that the time at which must hold occurs in the interval .

TPTL is as least as expressive as MTL. Indeed, the MTL formula is equivalent to the TPTL formula where is a new variable.[2]

It follows that any other operator introduced in the page MTL, such as and can also be defined as TPTL formulas.

TPTL is strictly more expressive than MTL[1]: 2  both over timed words and over signals. Over timed words, no MTL formula is equivalent to . Over signal, there are no MTL formula equivalent to , which states that the last atomic proposition before time point 1 is an .

Comparison with LTL

[edit]

A standard (untimed) infinite word is a function from to . We can consider such a word using the set of time , and the function . In this case, for an arbitrary LTL formula, if and only if , where is considered as a TPTL formula with non-strict operator, and is the only function defined on the empty set.

References

[edit]
  1. ^ a b Bouyer, Patricia; Chevalier, Fabrice; Markey, Nicolas (2005). "Developments in Data Structure Research During the First 25 Years of FSTTCS". FSTTCS 2005: Foundations of Software Technology and Theoretical Computer Science. Lecture Notes in Computer Science. Vol. 3821. p. 436. doi:10.1007/11590156_3. ISBN 978-3-540-30495-1. {{cite book}}: |journal= ignored (help)
  2. ^ a b Alur, Rajeev; Henzinger, Thomas A. (Jan 1994). "A really temporal logic". Journal of the ACM. 41 (1): 181–203. doi:10.1145/174644.174651.