Applied Modal Logic

Temporal Logics

Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

Source file content/applied-modal-logic/temporal-logic/temporal-logic.tex

Editorial

This chapter covers temporal logics.

Source file content/applied-modal-logic/temporal-logic/introduction.tex

Introduction

Temporal logics deal with claims about things that will or have been the case. Arthur Prior is credited as the originator of temporal logic, which he called tense logic. Our treatment of temporal logic here will largely follow Prior's original modal treatment of introducing temporal operators into the basic framework of propositional logic, which treats claims as generally lacking in tense.

For example, in propositional logic, I might talk about a dog, Beezie, who sometimes sits and sometimes doesn't sit, as dogs are wont to do. It would be contradictory in classical logic to claim that Beezie is sitting and also that Beezie is not sitting. But obviously both can be true, just not at the same time; adding temporal operators to the language can allow us to express that claim relatively easily. The addition of temporal operators also allows us to account for the validity of inferences like the one from “Beezie will get a treat or a ball" to “Beezie will get a treat or Beezie will get a ball."

However, a lot of philosophical issues arise with temporal logic that might lead us to adopt one framework of temporal logic over another. For example, a future contingent is a statement about the future that is neither necessary nor impossible. If we say “Richard will go to the grocery store tomorrow," we are expressing a claim about something that has not yet happened, and whose truth value is contestable. In fact, it is contestable whether that claim can even be assigned a truth value in the first place. If we are strict determinists, then perhaps we can be comfortable with the idea that this sentence is in fact true or false, even before the event in question is supposed to take place---it just may be that we do not know its truth value yet. In contrast, we might believe in a genuinely open future, in which the truth values of future contingents are undetermined.

As it turns out, a lot of these commitments about the structure and nature of time are built in to our choices of models and frameworks of temporal logics. For example, we might ask ourselves whether we should construct models in which time is linear, branching or even circular. We might have to make decisions about whether our temporal models will have beginning and end points, and whether time is to be represented using discrete instants or as a continuum.

Source file content/applied-modal-logic/temporal-logic/temporal-logic-semantics.tex

Semantics for Temporal Logic

Definition of the basic temporal language

The basic language of temporal logic contains

  1. The propositional constant for falsity \lfalsesource.

  2. A denumerables set of propositional variables: p0\Obj p_0source, p1\Obj p_1source, p2\Obj p_2source, dots

  3. The propositional connectives: ¬\lnotsource (negation) , \landsource (conjunction) , \lorsource (disjunction) , \lifsource (conditional) .

  4. Past operators P\Ptempsource and H\Htempsource.

  5. Future operators F\Ftempsource and G\Gtempsource.

Later on, we will discuss the potential addition of other kinds of modal operators.

Inductive definition of temporal formulas

Formulas of the temporal language are inductively defined as follows:

  1. \lfalsesource is an atomic formula.

  2. Every propositional variable pi\Obj p_isource is an (atomic) formula.

  3. If A!Asource is a formula, then ¬A\lnot !Asource is a formula.

  4. If A!Asource and B!Bsource are formulas, then (AB)(!A \land !B)source is a formula.

  5. If A!Asource and B!Bsource are formulas, then (AB)(!A \lor !B)source is a formula.

  6. If A!Asource and B!Bsource are formulas, then (AB)(!A \lif !B)source is a formula.

  7. If A!Asource is a formula, then PA\Ptemp !Asource, HA\Htemp !Asource, FAF !Asource, GA\Gtemp !Asource are all formulas.

  8. Nothing else is a formula.

The semantics of temporal logics are given in terms of relational models, as with other kinds of intensional logics.

Definition of a temporal model

A model for temporal language is a triple M=T,,V\mModel{M} = \tuple{T, \prec, V}source, where

  1. TTsource is a nonempty set, interpreted as points in time.

  2. \precsource is a binary relation on TTsource.

  3. VVsource is a function assigning to each propositional variable ppsource a set V(p)V(p)source of points in time.

When ttt \prec t'source holds, we say that ttsource precedes tt'source. When tV(p)t \in V(p)source we say ppsource is true at ttsource.

For now, you will notice that we do not impose any conditions on our precedence relation \precsource. This means that at present, there are no restrictions on the structure of our temporal models, so we could have models in which time is linear, branching, circular, or has any structure whatsoever.

Just as with normal modal logic, every temporal model determines which formulas count as true at which points in it. We use the same notation “model M\mModel{M}source makes formula A!Asource true at point ttsource” for the basic notion of relational semantics. The relation is defined inductively and is identical to the normal modal case for all non-modal operators.

Definition of truth in a temporal model

Truth of a formula A!Asource at ttsource in a M\mModel Msource, in symbols: MA[t]\mSat{M}{!A}[t]source, is defined inductively as follows:

  1. Case: A!A \ident \lfalsesource

    Never M[t]\mSat{M}{\lfalse}[t]source.

  2. Mp[t]\mSat{M}{p}[t]source iff tV(p)t \in V(p)source

  3. Case: A¬B!A \ident \lnot !Bsource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat/{M}{!B}[t]source.

  4. Case: A(BC)!A \ident (!B \land !C)source

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t]source and MC[t]\mSat{M}{!C}[t]source.

  5. Case: A(BC)!A \ident (!B \lor !C)source

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t]source or MC[t]\mSat{M}{!C}[t]source (or both).

  6. Case: A(BC)!A \ident (!B \lif !C)source

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat/{M}{!B}[t]source or MC[t]\mSat{M}{!C}[t]source.

  7. Case: APB!A \ident \Ptemp !Bsource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for some tTt' \in Tsource with ttt' \prec tsource

  8. Case: AHB!A \ident \Htemp !Bsource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for every tTt' \in Tsource with ttt' \prec tsource

  9. Case: AFB!A \ident \Ftemp !Bsource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for some tTt' \in Tsource with ttt \prec t'source

  10. Case: AGB!A \ident \Gtemp !Bsource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for every tTt' \in Tsource with ttt \prec t'source

Based on the semantics, you might be able to see that the operators P\Ptempsource and H\Htempsource are duals, as well as the operators F\Ftempsource and G\Gtempsource, such that we could define HA\Htemp !Asource as ¬P¬A\lnot \Ptemp \lnot !Asource, and the same with G\Gtempsource and F\Ftempsource.

Source file content/applied-modal-logic/temporal-logic/properties-accessibility.tex

Properties of Temporal Frames

Given that our temporal models do not impose any conditions on the relation \precsource, the only one of our familiar axioms that holds in all models is KKsource, or its analogues KGK_{\Gtemp}source and KHK_{\Htemp}source:

row label KGG(pq)(GpGq)row label KHH(pq)(HpHq)\tag{$K_{\Gtemp}$} \Gtemp (p \to q) & \to (\Gtemp p \to \Gtemp q)\\ \tag{$K_{\Htemp}$} \Htemp (p \to q) & \to (\Htemp p \to \Htemp q)source

However, if we want our models to impose stricter conditions on how time is represented, for instance by ensuring that \precsource is a linear order, then we will end up with other validities in our models.

Temporal frame correspondence table

[t]

Five temporal frame correspondence rows

Temporal frame correspondence table. Column headers: if the precedes relation has the stated property; then the displayed formula is true in model M. Row one, transitive: for every u, v, and w, if u precedes v and v precedes w, then u precedes w; corresponding formula if it will sometime be the case that p will sometime be the case, then p will sometime be the case. Row two, linear: for every w and v, either w precedes v, w equals v, or v precedes w; corresponding formula if either it will sometime be the case that p was once the case, or it was once the case that p will sometime be the case, then either p was once the case, p is now the case, or p will sometime be the case. Row three, dense: for every w and v, if w precedes v, then there is a u such that w precedes u and u precedes v; corresponding formula if p will sometime be the case, then it will sometime be the case that p will sometime be the case. Row four, unbounded toward the past: for every w there is a v that precedes w; corresponding formula if p has always been the case, then p was once the case. Row five, unbounded toward the future: for every w there is a v such that w precedes v; corresponding formula if p will always be the case, then p will sometime be the case. End table.

Five temporal frame correspondence rows
If \precsource has the stated propertyThen this formula is true in M\mModel{M}source
uvw((uvvw)uw)\forall u \forall v \forall w ((u \prec v \land v \prec w) \lif u \prec w)sourceFFpFp\Ftemp \Ftemp p \lif \Ftemp psource
wv(wvw=vvw)\forall w \forall v (w \prec v \lor w = v \lor v \prec w)source(FPpPFp)(PppFp)(\Ftemp \Ptemp p \lor \Ptemp \Ftemp p) \lif (\Ptemp p \lor p \lor \Ftemp p)source
wv(wvu(wuuv))\forall w \forall v (w \prec v \to \exists u(w \prec u \land u \prec v))sourceFpFFp\Ftemp p \lif \Ftemp \Ftemp psource
wv(vw)\forall w \exists v( v \prec w)sourceHpPp\Htemp p \to \Ptemp psource
wv(wv)\forall w \exists v( w \prec v)sourceGpFp\Gtemp p \to \Ftemp psource
source 26

captionSome temporal frame correspondence properties.

Several of the properties from the table of temporal frame correspondence properties might seem like desirable features for a model that is intended to represent time. However, it is worth noting that, even though we can impose whichever conditions we like on the \precsource relation, not all conditions correspond to formulas that can be expressed in the language of temporal logic. For example, irreflexivity, or the idea that w¬(ww)\forall w \lnot (w \prec w)source, does not have a corresponding formula in temporal logic.

Source file content/applied-modal-logic/temporal-logic/extra-temporal-operators.tex

Additional Operators for Temporal Logic

In addition to the unary operators for past and future, temporal logics also sometimes include binary operators S\Sincesource and U\Untilsource, intended to symbolize “since” and “until”. This means adding S\Sincesource and U\Untilsource into the language of temporal logic and adding the following clause into the definition of a temporal formula:

The semantics for these operators are then given as follows:

Truth conditions for since and until

Truth of a formula A!Asource at ttsource in a M\mModel Msource:

  1. Case: ASBC!A \ident \Since !B !Csource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for some tTt' \in Tsource with ttt' \prec tsource, and for all sssource with tstt' \prec s \prec tsource, MC[s]\mSat{M}{!C}[s]source

  2. Case: AUBC!A \ident \Until !B !Csource

    MA[t]\mSat{M}{\indfrm}[t]source iff MB[t]\mSat{M}{!B}[t']source for some tTt' \in Tsource with ttt \prec t'source, and for all sssource with tstt \prec s \prec t'source, MC[s]\mSat{M}{!C}[s]source

The intuitive reading of SBC\Since !B !Csource is “Since B!Bsource was the case, C!Csource has been the case.” And the intuitive reading of UBC\Until !B !Csource is “Until B!Bsource will be the case, C!Csource will be the case.”

Source file content/applied-modal-logic/temporal-logic/possible-histories.tex

Possible Histories

The relational models of temporal logic that we have been using are extremely flexible, since we do not have to place any restrictions on the accessibility relation. This means that temporal models can branch in the past and in the future, but we might want to consider a more “modal” conception of branching, in which we consider sequences of events as possible histories. This does not necessarily require changing our language, though we might also add our “ordinary” modal operators \Boxsource and \Diamondsource, and we could also consider adding epistemic accessibility relations to represent changes in agents' knowledge over time.

Definition of a possible-histories model

A possible histories model for the temporal language is a triple M=T,C,V\mModel{M} = \tuple{T, C, V}source, where

  1. TTsource is a nonempty set, interpreted as states in time.

  2. CCsource is a set of computational paths, or possible histories of a system. In other words, CCsource is a set of sequences σ\sigmasource of states s1s_1source, s2s_2source, s3s_3source, dots, where every siTs_i \in Tsource.

  3. VVsource is a function assigning to each propositional variable ppsource a set V(p)V(p)source of points in time.

To make things simpler, we will also generally assume that when a history is in CCsource, then so are all of its suffixes. For example, if s1s_1source, s2s_2source, s3s_3source is a sequence in CCsource, then so are s2s_2source, s3s_3source and s3s_3source. Also, when two states sis_isource and sjs_jsource appear in a sequence σ\sigmasource, we say that siσsjs_i \prec_\sigma s_jsource when i<ji < jsource. When tV(p)t \in V(p)source we say ppsource is true at ttsource.

The one relevant change is that when we evaluate the truth of a formula at a point in time ttsource in a model M\mModel Msource, we do so relative to a history σ\sigmasource, in which ttsource appears as a state. We do not need to change any of the semantics for propositional variables or for truth-functional connectives, though. All of those are exactly as they were in the definition of truth at a point in a temporal model, since none of those will make reference to σ\sigmasource. However, we now redefine our future operator F\Ftempsource and add our \Diamondsource operator with respect to these histories.

Truth relative to a possible history

Truth of a formula A!Asource at t,σt, \sigmasource in M\mModel Msource, in symbols: MA[t,σ]\mSat{M}{!A}[t, \sigma]source:

  1. Case: AFB!A \ident \Ftemp !Bsource

    MA[t,σ]\mSat{M}{\indfrm}[t, \sigma]source iff MB[t,σ]\mSat{M}{!B}[t', \sigma]source for some tTt' \in Tsource such that tσtt \prec_\sigma t'source.

  2. Case: AB!A \ident \Diamond !Bsource

    MA[t,σ]\mSat{M}{\indfrm}[t, \sigma]source iff MB[t,σ]\mSat{M}{!B}[t, \sigma']source for some σC\sigma' \in Csource in which ttsource occurs.

Other temporal and modal operators can be defined similarly. However, we can now represent claims that combine tense and modality. For example, we might symbolize “ppsource will not occur, but it might have occurred” using the formula ¬FpFp\lnot \Ftemp p \land \Diamond \Ftemp psource. This would hold at a point and a history at which ppsource does not become true at a successor state, but there is an alternative history at which ppsource will become true.

Source disclosures