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 be eventually be true, that a condition will be true until another fact becomes true, etc.
LTL is built up from a set of proposition variables , the usual logic connectives and the following temporal modal operators:
The first three operators are unary, so that N is a well-formed formula whenever is a well-formed formula. The last two operators are binary, so that U is a well-formed formula whenever and are well-formed formulas.
An LTL formula can be evaluated over a 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.
| Textual | Symbolic | Explanation | Diagram |
|---|---|---|---|
| Unary operators: | |||
| N | Next: has to hold at the next state. (X is used synonymously.) | ||
| G | Globally: has to hold on the entire subsequent path. | ||
| F | Finally: eventually has to hold (somewhere on the subsequent path). | ||
| Binary operators: | |||
| U | Until: holds at the current or a future position, and has to hold until that position. At that position does not have to hold any more. | ||
| R | Release: releases if is true until the first position in which is true (or forever if such a position does not exist). | ||
One can reduce to two of those operators since the following is always satisfied:
LTL can be shown to be equivalent to the first-order logic over one successor and the smaller relation, FO* as well as star-free regular expressions or deterministic finite automata with loop complexity 0.
Linear temporal logic (LTL) is a subset of CTL*.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Linear temporal logic".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world