linear temporal logic
In logic, linear temporal logic or linear-time temporal logic (LTL) is a modal temporal logic with modalities referring to time.[src] In LTL, one can encode formulae about the future of paths, e.g., a condition will eventually be true, a condition will be true until another fact becomes true, etc.[src] It is a fragment of the more complex CTL*, which additionally allows branching time and quantifiers.[src] LTL is sometimes called propositional temporal logic (PTL).[src] In terms of expressive power, LTL is a fragment of first-order logic.[src] LTL was first proposed for the formal verification of computer programs by Amir Pnueli in 1977.[src]
In logic, linear temporal logic or linear-time temporal logic (LTL) is a modal temporal logic with modalities referring to time.[src] In LTL, one can encode formulae about the future of paths, e.g., a condition will eventually be true, a condition will be true until another fact becomes true, etc.[src] It is a fragment of the more complex CTL*, which additionally allows branching time and quantifiers.[src] LTL is sometimes called propositional temporal logic (PTL).[src] In terms of expressive power, LTL is a fragment of first-order logic.[src] LTL was first proposed for the formal verification of computer programs by Amir Pnueli in 1977.[src] ==Syntax== LTL is built up from the set of propositional variables AP, the logical operators ¬ and ∨, and the temporal modal operators X (some literature uses O or N) and U.[src] Formally, the set of LTL formulas over AP is inductively defined as follows: if then p is an LTL formula; if and are LTL formulas then , and are LTL formulas.[src] X is read as next and U is read as until.[src] Other than these fundamental operators, there are additional logical and temporal operators defined in terms of the fundamental operators, in order to write LTL formulas succinctly.[src] The additional logical operators are ∧, →, ↔, true, and false.[src] Following are the additional temporal operators.[src] G for always (globally) F for finally R for release W for weak until M for mighty release The context-free grammar of LTL is as follows: ==Semantics== An LTL formula can be satisfied by an infinite sequence of truth valuations of variables in AP.[src] These sequences can be viewed as a word on a path of a Kripke structure (an ω-word over alphabet 2 AP ).[src] Let w = a 0 ,a 1 ,a 2 ,...[src] be such an ω-word.[src] Let w(i) = a i .[src] Let w i = a i ,a i+1 ,..., which is a suffix of w.[src] Formally, the satisfaction relation ⊨ between a word and an LTL formula is defined as follows: w ⊨ p if p ∈ w(0) w ⊨ ¬ if w ⊭ w ⊨ ∨ if w ⊨ or w ⊨ if w 1 ⊨ (in the next time step must be true) if there exists i ≥ 0 such that w i ⊨ and for all 0 ≤ k k ⊨ ( must remain true until becomes true) We say an ω-word w satisfies an LTL formula when w ⊨ .[src] The ω-language L( ) defined by is {w | w ⊨ }, which is the set of ω-words that satisfy .[src] A formula is satisfiable if there exist an ω-word w such that w ⊨ .[src] A formula is valid if for each ω-word w over alphabet 2 AP , we have w ⊨ .[src] The additional logical operators are defined as follows: ∧ ≡ ¬(¬ ∨ ¬ ) → ≡ ¬ ∨ ↔ ≡ ( → ) ∧ ( → ) true ≡ p ∨ ¬p, where p ∈ AP false ≡ ¬true The additional temporal operators R, F, and G are defined as follows: R ≡ ¬(¬ U ¬ ) ( remains true until and including once becomes true.[src] If never becomes true, must remain true forever.[src] releases .) (eventually becomes true) G ≡ false R ≡ ¬F ¬ ( always remains true) ==Equivalences== Let φ, ψ, and ρ be LTL formulas.[src] The following tables list some of the useful equivalences that extend standard equivalences among the usual logical operators.[src] ==Negation normal form== All the formulas of LTL can be transformed into negation normal form, where all negations appear only in front of the atomic propositions, only the logical operators true, false, ∧, and ∨ can appear, and only the temporal operators X, U, and R can appear.[src] Using the above equivalences for negation propagation, it is possible to derive the normal form.[src] This normal form allows R, true, false, and ∧ to appear in the formula, which are not fundamental operators of LTL.[src] Note that the transformation to the negation normal form does not blow up the length of the formula.[src] This normal form is useful in translation from an LTL formula to a Büchi automaton.[src] ==Relations with other logics== LTL can be shown to be equivalent to the monadic first-order logic of order, FO[<]—a result known as Kamp's theorem— or equivalently to star-free languages.[src] Computation tree logic (CTL) and linear temporal logic (LTL) are both a subset of CTL*, but are incomparable.[src] For example, No formula in CTL can define the language that is defined by the LTL formula F(G p).[src] No formula in LTL can define the language that is defined by the CTL formulas AG( p → (EXq ∧ EX¬q) ) or AG(EF(p)).[src] ==Applications== Automata-theoretic linear temporal logic model checking LTL formulas are commonly used to express constraints, specifications, or processes that a system should follow.[src] The field of model checking aims to formally verify whether a system meets a given specification.[src] In the case of automata-theoretic model checking, both the system of interest and a specification are expressed as separate finite-state machines, or automata, and then compared to evaluate whether the system is guaranteed to have the specified property.[src] In computer science, this type of model checking is often used to verify that an algorithm is structured correctly.[src] To check LTL specifications on infinite system runs, a common technique is to obtain a Büchi automaton that is equivalent to the model (accepts an ω-word precisely if it is the model) and another one that is equivalent to the negation of the property (accepts an ω-word precisely it satisfies the negated property) (cf.[src] Linear temporal logic to Büchi automaton).[src] In this case, if there is an overlap in the set of ω-words accepted by the two automata, it implies that the model accepts some behaviors which violate the desired property.[src] If there is no overlap, there are no property-violating behaviors which are accepted by the model.[src] Formally, the intersection of the two non-deterministic Büchi automata is empty if and only if the model satisfies the specified property.[src] Expressing important properties in formal verification 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¬ϕ), while liveness properties state that something good keeps happening (GFψ or G(ϕ →Fψ)).[src] For example, a safety property may require that an autonomous rover never drives over a cliff, or that a software product never allows a successful login with an incorrect password.[src] A liveness property may require that the rover always continues to collect data samples, or that a software product repeatedly sends telemetry data.[src] 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.[src] For liveness properties, on the other hand, every finite path can be extended to an infinite path that satisfies the formula.[src] Specification language One of the applications of linear temporal logic is the specification of preferences in the Planning Domain Definition Language for the purpose of preference-based planning.[src] ==Extensions== Parametric linear temporal logic extends LTL with variables on the until-modality.[src] ==See also== Action language Metric temporal logic Safety and liveness properties ==References==[src]
58 sentences · 58 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"linear temporal logic." encyclopegia.org, 2026, https://encyclopegia.org/wiki/linear-temporal-logic. Accessed 05 December 2026.
Chicago
"linear temporal logic." encyclopegia.org. Accessed December 5, 2026. https://encyclopegia.org/wiki/linear-temporal-logic.
APA
encyclopegia.org. (2026). linear temporal logic. Retrieved December 5, 2026, from https://encyclopegia.org/wiki/linear-temporal-logic
Accessed December 5, 2026 · CC BY-SA 4.0 · citation page · JSON