article

In logic, the term temporal logic is used to describe any system of rules and symbolism for representing, and reasoning about, propositions qualified in terms of time. It is sometimes also used to refer to tense logic, a particular modal logic-based system of temporal logic introduced by Arthur Prior in the 1960s. Subsequently it has been developed further by computer scientists, notably Amir Pnueli, and logicians.

Temporal logic was first studied in depth by Aristotle, whose writings are filled with a crude form of first-order temporal modal binary logic. Any logic which uses the existential quantifier or the universal quantifier is said to be a first-order logic. Any logic which views time as a sequence of states is a temporal logic, and any logic which uses only two truth values is a binary logic.

Consider the statement: "I am hungry." Though its meaning is constant in time, the truth value of the statement can vary in time. Sometimes the statement is true, and sometimes the statement is false, but the statement is never true and false simultaneously. In a temporal logic, statements can have a truth value which can vary in time. Contrast this with an atemporal logic, which can only handle statements whose truth value is constant in time.

Temporal operators


Temporal logic has two kinds of operators: logical operators and modal operators*. Logical operators are usual truth-functional operators (\neg,\or,\and,\rightarrow) and modal operators used in temporal logic are defined as follows:

Textual Symbolic Definition Explanation Diagram
Binary operators
\phi U \psi \phi ~\mathcal{U}~ \psi \begin{matrix}(B\mathcal{U}C)(\phi)= \\ (\exists i:C(\phi_i))\land(\forall j Until: \psi holds at the current or a future position, and \phi has to hold until that position. At that position \phi does not have to hold any more.
\phi R \psi \phi ~\mathcal{R}~ \psi \begin{matrix}(B\mathcal{R}C)(\phi)= \\ (\forall i:C(\phi_i))\lor(\exists j Release: \phi releases \psi if \psi is true until the first position in which \phi is true (or forever if such a position does not exist).
Unary operators
N \phi \circ \phi \mathcal{N}B(\phi_i)=B(\phi_{i+1}) Next: \phi has to hold at the next state. (X is used synonymously.)
F \phi \Diamond \phi \mathcal{F}B(\phi)=(true\mathcal{U}B)(\phi) Finally: \phi eventually has to hold (somewhere on the subsequent path).
G \phi \Box \phi \mathcal{G}B(\phi)=\neg\mathcal{F}\neg B(\phi) Globally: \phi has to hold on the entire subsequent path.
A \phi \begin{matrix}(\mathcal{A}B)(\psi)= \\ (\forall \phi:\phi_0=\psi\to B(\phi))\end{matrix} All: \phi has to hold on all paths starting from the current state.
E \phi \begin{matrix}(\mathcal{E}B)(\psi)= \\ (\exists \phi:\phi_0=\psi\land B(\phi))\end{matrix} Exists: there exists at least one path starting from the current state where \phi holds.

Alternate symbols:

  • operator N is sometimes noted X
  • operator R is sometimes noted V or W

Unary opearators are well-formed formulas whenever B(\phi) is well-formed. Binary operators are well-formed formulas whenever B(\phi) and C(\phi) are well-formed.

In some logics, some operators cannot be expressed. For example, N operator cannot be expressed in Temporal Logic of Actions.

Temporal logics


Temporal logics include

See also


External link


Formal methods | Modal logic

Lógica temporal | Tijdslogica | Logika temporalna | 时间逻辑

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Temporal logic".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld