Temporal logic of actions

From HandWiki
Revision as of 19:30, 6 February 2024 by QCDvac (talk | contribs) (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Logic used to describe behaviours of concurrent systems.

Temporal logic of actions (TLA) is a logic developed by Leslie Lamport, which combines temporal logic with a logic of actions. It is used to describe behaviours of concurrent and distributed systems. It is the logic underlying the specification language TLA+.

Details

Statements in the temporal logic of actions are of the form [math]\displaystyle{ [A]_t }[/math], where A is an action and t contains a subset of the variables appearing in A. An action is an expression containing primed and non-primed variables, such as [math]\displaystyle{ x+x'*y=y' }[/math]. The meaning of the non-primed variables is the variable's value in this state. The meaning of primed variables is the variable's value in the next state. The above expression means the value of x today, plus the value of x tomorrow times the value of y today, equals the value of y tomorrow.

The meaning of [math]\displaystyle{ [A]_t }[/math] is that either A is valid now, or the variables appearing in t do not change. This allows for stuttering steps, in which none of the program variables change their values.

See also

References

External links