Jump to content

Metric interval temporal logic

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Eaglex91 (talk | contribs) at 01:49, 27 May 2019 (fixed typos). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In model checking, the Metric Interval Temporal Logic (MITL) is a fragment of Metric Temporal Logic (MTL). This fragment is often preferred to MTL because some problems which are undecidable for MTL becomes decidable for MITL.

Definition

A MITL formula is a MTL formula, as defined in the Metric temporal logic, such that each set of real used in subscript are intervals, which are not singletons, and whose bounds are either a natural number or the infinite.

Difference with MTL

MTL can express a statement such as "P holed exactly ten-time units ago". Let us call S this sentence. This is impossible in MITL. Instead, it can be said that "P holed between 9 and 10-time units ago". Let us call T this statement. Since MITL can express T but not S, in a sense, MITL is a restriction of MTL which allow only less precise statement.

Problems of MTL that MITL avoids

One reason to want to avoid a statement such as S is that its truth value may change an arbitrary number of time in a single time unit. Indeed, the truth value of this statement change as many time as the truth value of P change, and P itself may change an arbitrary number of time in a single time unit.

Let us now consider a system, such as a timed automaton or a signal automaton, which want to know at each instant whether S holds or not. This system should recall everything which occurred in the last 10 time units. As seen above, it means that it must recall an arbitrarily great number of event. Which means that this can not be implemented by a system with finite memory and clocks.

Bounded variability

One of the main advantages of MITL is that each operator has the bounded variability property. We are first given an example before explaining what it means.

Consider now the statement T defined above. Note that each time the truth value of T switch from false to true, it remains true for at least a time unit. We now prove this statement. At a time t where T becomes true, it means both:

  • that between 9 and 10 time units ago, P was true.
  • and that just before time t, P was false.

Hence, P was true exactly 9 time units ago. It follows that, for each , at time , P was true time units ago. Since , at time , T holds.

As in the previous section, consider a system which, at each instant, wants to know the value of T. As explained above, this system must recall what did occur during the last ten unit of times. However, thanks to the bounded variability property, we know that it has to recall at most 10 times when T becomes true. And hence 11 times when T becomes false. Thus this system would need to recall at most 21 events, hence can be implemented as a timed automaton or a signal automaton.

Examples

We now give some example of MITL formulas.

  • states that there the letter appears at least one in each open interval of length 1.
  • where is the prophecy operator defined as and which states that the first occurrence of in the future is in time unit.
  • states that holds exactly at each integral time and not anytime else.

Fragments of MITL

Safety-MTL0,∞

The fragment Safety-MTL0,v is defined as the subset of MITL0,∞ containing only formulas in positive normal form where the interval of every until operators has an upper bound. For example, the formula which states that each is followed, less than one time unit later, by a , belongs to this logic. [1]

Open and closed MITL

The fragment Open-MTL contains the formula in positive normal form such that:

  • for each , is open, and
  • for each , is closed.

The fragment Closed-MITL contains the negation of formulas of Open-MITL.

Flat and Coflat MITL

The fragment Flat-MTL contains the formula in positive normal form such that

  • for each , if is unbounded, then is a LTL-formula
  • for each , if is unbounded, then is a LTL-formula

The fragment Coflat-MITL contains the negation of formulas of Flat-MITL.

Non-strict variant

Given any fragment L, the fragment Lns is the restriction of L in which only non strict operators are used.

MITL0,∞ and MITL0

Given any fragment L, the fragment L0,∞ is the subset of L where the lower bound of each interval is 0 or the upper bound is infinity. Similarly we denote by L0 (respectively, L) the subset of L such that the lower bound of each interval is 0 (respectively, the upper bound of each interval is ∞).

Expressiveness over signals

Over signals, MITL0 is as expressive as MITL. This can be proven by applying the following rewriting rules to a MITL formula[2].

  • is equivalent to (the construction for half-closed and closed intervals is similar).
  • is equivalent to if .
  • is equivalent to if .
  • is equivalent to .

It should be noted that applying those rewriting rules exponentially increase the size of the formula. Indeed, the numbers and are traditionally written in binary, and those rules should be applied times.

Expressiveness over timed words

Contrary to the case of signals, MITL is strictly more expressive than MITL0,∞. The rewriting rules given above do not apply in the case of timed words because, in order to rewrite there assume that some event occurs between times 0 and , which is not necessarily the case anymore.

Advisability problem

The problem of deciding whether a MITL formula is satisfiable over a signal is in PSPACE-complete[3].

References

  1. ^ Bulychev, Peter; David, Alexandre; Larsen, Kim G.; Guangyuan, Li (June 2014). "Efficient controller synthesis for a fragment of MTL0,∞". Acta Informatica. 51 (3–4): 166. doi:10.1007/s00236-013-0189-z.
  2. ^ Bersani, Marcello; Rossi, Matteo; San Pietro, Pierluigi (2013). "A tool for deciding the satisfiability of continuous time metric temporal logi". International Symposium on Temporal Representation and Reasoning. 20: 202. doi:10.1109/TIME.2013.20.
  3. ^ Henzinger, T.A.; Raskin, J.F.; Schobben, P.-Y. (1998). "The regular real-time languages". Lecture Notes in Computer Science. 1443: 591. doi:10.1007/BFb0055086.