HOME

TheInfoList



OR:

In
model checking In computer science, model checking or property checking is a method for checking whether a finite-state model of a system meets a given specification (also known as correctness). This is typically associated with hardware or software system ...
, a field of
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (includin ...
, timed propositional temporal logic (TPTL) is an extension of propositional
linear temporal logic In logic, linear temporal logic or linear-time temporal logic (LTL) is a modal temporal logic with modalities referring to time. In LTL, one can encode formulae about the future of paths, e.g., a condition will eventually be true, a condition will ...
(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

The future fragment of TPTL is defined similarly to
linear temporal logic In logic, linear temporal logic or linear-time temporal logic (LTL) is a modal temporal logic with modalities referring to time. In LTL, one can encode formulae about the future of paths, e.g., a condition will eventually be true, a condition will ...
, in which furthermore,
clock A clock or a timepiece is a device used to measure and indicate time. The clock is one of the oldest human inventions, meeting the need to measure intervals of time shorter than the natural units such as the day, the lunar month and t ...
variables can be introduced and compared to constants. Formally, given a set X of clocks, MTL is built up from: * a finite set of
propositional variable In mathematical logic, a propositional variable (also called a sentential variable or sentential letter) is an input variable (that can either be true or false) of a truth function. Propositional variables are the basic building-blocks of propos ...
s ''AP'', * the logical operators ¬ and ∨, and * the temporal
modal operator A modal connective (or modal operator) is a logical connective for modal logic. It is an operator which forms propositions from propositions. In general, a modal operator has the "formal" property of being non- truth-functional in the following se ...
U, * a clock comparison x\sim c, with x\in X, c a number and \sim a comparison operator such as <, ≤, =, ≥ or >. * a freeze quantification operator x.\phi, for \phi a TPTL formula with set of clocks X\cup\. Furthermore, for I=(a,b) an interval, x\in I is considered as an abbreviation for x>a\land x; and similarly for every other kind of intervals. The logic TPTL+Past 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.


Models

Let T\subseteq\mathbb R_+, which intuitively represents a set of times. Let \gamma: T\to \mathcal P(AP) a function that associates to each moment t\in T a set of propositions from ''AP''. A model of a TPTL formula is such a function \gamma. Usually, \gamma is either a timed word or a
signal In signal processing, a signal is a function that conveys information about a phenomenon. Any quantity that can vary over space or time can be used as a signal to share messages between observers. The '' IEEE Transactions on Signal Processing' ...
. In those cases, T is either a discrete subset or an interval containing 0.


Semantics

Let T and \gamma be as above. Let X be a set of clocks. Let \nu:X\to\mathbb R_ (a ''clock valuation'' over X). We are now going to explain what it means for a TPTL formula \phi to hold at time t for a valuation \nu. This is denoted by \gamma,t,\nu\models\phi. Let \phi and \psi be two formulas over the set of clocks X, \xi a formula over the set of clocks X\cup\, x\in X, l\in\mathtt, c a number and \sim being a comparison operator such as <, ≤, =, ≥ or >: We first consider formulas whose main operator also belongs to LTL: * \gamma,t,\nu\models l holds if l\in\gamma(t), * \gamma,t,\nu\models\neg\phi holds if \gamma,t,\nu\not\models\phi * \gamma,t,\nu\models\phi\lor\psi holds if either \gamma,t,\nu\models\phi or \gamma,t,\nu\models\psi * \gamma,t,\nu\models\phi\mathbin\mathcal U\psi holds if there exists t such that \gamma,t'',\nu\models\psi and such that for each t< t'< t'', \gamma,t',\nu\models\phi, * \gamma,t,\nu\models\phi\mathbin\mathcal S\psi holds if there exists t''< t such that \gamma,t'',\nu\models\psi and such that for each t'', \gamma,t',\nu\models\phi, * \gamma,t,\nu\models x\sim c holds if t-\nu(y)\sim c, * \gamma,t,\nu\models y.\xi holds if \gamma,t,\nu \to tmodels\phi holds.


Metric temporal logic

Metric temporal logic Metric temporal logic (MTL) is a special case of temporal logic. It is an extension of temporal logic in which temporal operators are replaced by time-constrained versions like ''until'', ''next'', ''since'' and ''previous'' operators. It is a line ...
is another extension of LTL that allows measurement of time. Instead of adding variables, it adds an infinity of operators \mathcal U_I and \mathcal S_I for I an interval of non-negative number. The semantics of the formula \phi \mathbin\mathcal \psi at some time t is essentially the same than the semantics of the formula \phi \mathbin\mathcal U\psi, with the constraints that the time t'' at which \psi must hold occurs in the interval t+I. TPTL is as least as expressive as MTL. Indeed, the MTL formula \phi\mathbin\mathcal \psi is equivalent to the TPTL formula x.\phi\mathcal(x\in I\land\psi) where x is a new variable. It follows that any other operator introduced in the page MTL, such as \Box and \Diamond can also be defined as TPTL formulas. TPTL is strictly more expressive than MTL both over timed words and over signals. Over timed words, no MTL formula is equivalent to \Box(a\implies x.\Diamond(b\land\Diamond(c\land x\le 5))). Over signal, there are no MTL formula equivalent to x.\Diamond(a\land x\le 1\land\Box(x\le 1\implies\neg b)), which states that the last atomic proposition before time point 1 is an a.


Comparison with LTL

A standard (untimed) infinite word w=a_0,a_1,\dots, is a function from \mathbb N to A. We can consider such a word using the set of time T=\mathbb N, and the function \gamma(i)=a_i. In this case, for \phi an arbitrary LTL formula, w,i\models\phi if and only if \gamma,i,\nu\models\phi, where \phi is considered as a TPTL formula with non-strict operator, and \nu is the only function defined on the empty set.


References

{{reflist Temporal logic Model checking