Linear temporal logic

From Wikipedia, the free encyclopedia

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.

Contents

LTL is built up from a set of proposition variables p1,p2,..., the usual logic connectives \neg,\or,\and,\rightarrow and the following temporal modal operators:

  • N for next;
  • G for always (globally);
  • F for eventually (in the future);
  • U for until;
  • R for release.

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 φ \circ \phi Next: φ has to hold at the next state. (X is used synonymously.) LTL next operator
G φ \Box \phi Globally: φ has to hold on the entire subsequent path. LTL always operator
F φ \Diamond \phi Finally: φ eventually has to hold (somewhere on the subsequent path). LTL eventually operator
Binary operators:
ψ U φ \psi\mathcal{U}\phi 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. LTL until operator
ψ R φ \psi\mathcal{R}\phi Release: ψ releases φ if φ is true until the first position in which ψ is true (or forever if such a position does not exist). LTL release operator (which stops)

LTL release operator (which doesn't stop)

One can reduce to two of those operators since the following is always satisfied:

  • F φ = true U φ
  • G φ = false R φ = \neg F \negφ
  • ψ R φ = \neg(\negψ U \negφ)

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:

  • ψ U φ = F φ\land(ψ W φ)
  • ψ R φ = φ W (ψ\landφ)

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\negφ), while liveness properties state that something good eventually happens (Fψ). 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.

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.


An important way to model check is expressed desired properties (such as the ones described above) using LTL operators and actually check if the model satisfies this property. One technique is obtain a Büchi automaton that is "equivalent" to the model and one that is "equivalent" to the property. Obtain a synchronized product of the two non-deterministic Büchi automata and then do an emptiness checking of this product. Another possibility is to develop the negated version of the same property and make sure that the product is not empty.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.