Linear temporal logic

Linear temporal logic

Linear temporal logic (LTL) is a modal temporal logic with modalities referring to time. In LTL, one can encode formulae about the future of paths such as that a condition will eventually be true, that a condition will be true until another fact becomes true, etc.

yntax

LTL is built up from a set of propositional variables p_1, p_2, ..., the usual logic connectives eg,or,and, ightarrow and the following temporal modal operators:

*X for next (N is used synonymously.);
*G for always (globally);
*F for eventually (in the future);
*U for until;
*R for release.

The first three operators are unary, so that X phi is a well-formed formula whenever phi is a well-formed formula. The last two operators are binary, so that phi U psi is a well-formed formula whenever phi and psi are well-formed formulas.

emantics

An LTL formula can be evaluated over an infinite sequence of truth evaluations and a position on that path. An LTL formula is satisfied by a path if and only if it is satisfied for position 0 on that path. The semantics for the modal operators is given as follows.

One can take just two of those operators to be fundamental, and define the others in terms of them, since the following are always satisfied:
*F phi = true U phi
*G phi = false R phi = eg F egphi
*psi R phi = eg( egpsi U egphi)

Nonstandard connectives

Some authors also define a "weak until" binary operator, denoted W, with semantics similar to that of the until operator but the stop condition is not required to occur (similar to release). It is sometimes useful since both U and R can be defined in terms of the weak until:
*psi U phi = F philand(psi W phi)
*psi R phi = phi W (psilandphi)
*phi W psi = psi R (psilorphi)
*phi W psi = (phi U psi)lorG phi

Important properties

There are two main types of properties that can be expressed using linear temporal logic: safety properties usually state that "something bad never happens" (G egphi), while liveness properties state that "something good keeps happening" (GFpsi or G(phi ightarrowFpsi)). More generally: Safety properties are those for which every counterexample has a finite prefix such that, however it is extended to an infinite path, it is still a counterexample. For liveness properties, on the other hand, every finite prefix of a counterexample can be extended to an infinite path that satisfies the formula.

Relations with other logics

Linear temporal logic (LTL) is a subset of CTL*.

LTL can be shown to be equivalent to the first-order logic over one successor and the smaller relation, FO [S,<] as well as star-free regular expressions or deterministic finite automata with loop complexity 0.

Automata theoretic Linear temporal logic model checking

An important way to model check is to express desired properties (such as the ones described above) using LTL operators and actually check if the model satisfies this property. One technique is to obtain a Büchi automaton that is "equivalent" to the model and one that is "equivalent" to the negation of the property. The intersection of the two non-deterministic Büchi automata is empty if the model satisfies the property.

ee also

* Temporal logic in finite-state verification
* Computational tree logic (CTL)
* Interval temporal logic (ITL)
* Büchi automaton

External links

* [http://www.dcs.qmul.ac.uk/~pm/SaR/2004ltl.pdf A presentation of LTL]
* [http://www.cmi.ac.in/~madhavan/papers/isical97.html Linear-Time Temporal Logic and Büchi Automata]
* [http://www.inf.unibz.it/~artale/FM/slide3.pdf LTL Teaching slides] of professor Alessandro Artale at the Free University of Bozen-Bolzano
* [http://www.inf.unibz.it/~artale/FM/slide4.pdf CTL Teaching slides] of professor Alessandro Artale at the Free University of Bozen-Bolzano


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Linear temporal logic — Lineare temporale Logik (LTL oder Linear temporal logic) ist ein Modell temporaler Logik mit zeitlichen Modalitäten. In LTL, können Formeln über die Zukunft von Pfaden aufgestellt werden, wie dass eine Bedingung irgendwann wahr wird, eine… …   Deutsch Wikipedia

  • Temporal logic — In logic, the term temporal logic is used to describe any system of rules and symbolism for representing, and reasoning about, propositions qualified in terms of time. It is sometimes also used to refer to tense logic, a particular modal logic… …   Wikipedia

  • Temporal logic in finite-state verification — In finite state verification, model checkers examine finite state machines representing concurrent software systems looking for errors in design. Errors are defined as violations of requirements expressed as properties of the system. In the event …   Wikipedia

  • Linear Time Temporal Logic — Die Computation Tree Logic (kurz CTL) ist eine Temporale Logik, die speziell zur Spezifikation und Verifikation von Computersystemen dient. Meist wird sie auch mit CTL* bezeichnet. CTL bezeichnet dann eine spezielle Teilmenge der CTL* Formeln.… …   Deutsch Wikipedia

  • Logic — For other uses, see Logic (disambiguation). Philosophy …   Wikipedia

  • Modal logic — is a type of formal logic that extends classical propositional and predicate logic to include operators expressing modality. Modals words that express modalities qualify a statement. For example, the statement John is happy might be qualified by… …   Wikipedia

  • Computation tree logic — Computation tree logic (CTL) is a branching time logic, meaning that its model of time is a tree like structure in which the future is not determined; there are different paths in the future, any one of which might be an actual path that is… …   Wikipedia

  • Lógica temporal — La lógica temporal es una extensión de la lógica modal, la cual es practicamente usada en sistema de reglas, donde esta presente el tiempo. Existe una cierta relación con otras variedades de lógica, por ejemplo, la lógica modal. Su estudio tiene… …   Wikipedia Español

  • Description logic — (DL) is a family of formal knowledge representation languages. It is more expressive than propositional logic but has more efficient decision problems than first order predicate logic. DL is used in artificial intelligence for formal reasoning on …   Wikipedia

  • Computational tree logic — Computation tree logic (CTL) is a branching time logic, meaning that its model of time is a tree like structure in which the future is not determined; there are different paths in the future, any one of which might be an actual path that is… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”