AGV 6.1 -- Linear-Time Temporal Logic (LTL)
Previous chapter: Complement Büchi Automaton with Odd Ranking
This is a learning note of a course in CISPA, UdS. Taught by Bernd Finkbeiner
Introduction
In the following sections, we introduce several logics for the specification of sets of infinite sequences: LTL, QPTL, and S1S, which can be used to describe
As a result, we can use the automata-theoretic machinery to answer logical questions like satisfiability
or validity
. We can also use the logics as a much more convenient starting point, compared to a direct specification using automata, for verification
and synthesis
.
Linear-Time Temporal Logic (LTL)
Linear-time temporal logic (LTL) is a popular logic for the specification of reactive systems. For a given set of atomic propositions
LTL
define sets of infinite words over the alphabet
- Atomic Propositions:
the interface of a system or a component, such as (a boolean representation of) input and output variables - Words defined by the Formula:
the executions of the system that are considered correct (see example in section 1.1).
Syntax of LTL
φ has to be true until and including the point where ψ first becomes true; if ψ never becomes true, φ must remain true forever.
LTL formulars are constructed from proposition logic
with extra temporal operators
.
Remarks
When we determine whether a LTL formula is
For example, the formula
We can conclude that,
- In current state
becomes (regardless of ’s condition) - Eventually
becomes in certain state (not now), and from now Until that state, must remain
Sematics of LTL
Additional operators
Weak until and Mighty release
Weak Until is Until that accepts no stop conditions Forever, or Release that include itself as the stop conditions:
Mighty release is forced to Release Finally, or simply Until both propositions becomes
Distributivity
Negation Dual
- First of all, NeXt is a self dual:
(Not in next step = Next step won’t happened) - Finally and Globally are dual:
(Never happened eventually = Forever never happened) (Won’t happen forever = eventually won’t happen anymore) - Until and Release are dual:
( won’t happen until stops = can’t happen unless stops) (Never stop with = never happens, if it does, that means has been stopped) - Similarly, Weak Until and Mighty Release are also dual:
Special temporal properties
(Finally Finally is )
( is always always )
( is Until become = is Until, if “ is Until become ” is )
( Finally becomes = either now is or in neXt step Finally becomes )
( is always = now is and in neXt step is also always )
Summary
In this section, we have go through basic sytanx and properties of LTL. In next section we will try to apply the formula to some systems and
Next chapter: Expressing Program Properties using LTL
AGV 6.1 -- Linear-Time Temporal Logic (LTL)
Related Issues not found
Please contact @GreenMeeple to initialize the comment