In
logic
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
, temporal logic is any system of rules and symbolism for representing, and reasoning about, propositions qualified in terms of
time
Time is the continuous progression of existence that occurs in an apparently irreversible process, irreversible succession from the past, through the present, and into the future. It is a component quantity of various measurements used to sequ ...
(for example, "I am ''always'' hungry", "I will ''eventually'' be hungry", or "I will be hungry ''until'' I eat something"). It is sometimes also used to refer to tense logic, a
modal logic
Modal logic is a kind of logic used to represent statements about Modality (natural language), necessity and possibility. In philosophy and related fields
it is used as a tool for understanding concepts such as knowledge, obligation, and causality ...
-based system of temporal logic introduced by
Arthur Prior in the late 1950s, with important contributions by
Hans Kamp
Johan Anthony Willem "Hans" Kamp (born 5 September 1940) is a Dutch philosopher and Linguistics, linguist, responsible for introducing discourse representation theory (DRT) in 1981.
Biography
Kamp was born in Den Burg. He received a Ph.D. in UC ...
. It has been further developed by
computer scientists
Computer science is the study of computation, information, and automation. Computer science spans theoretical disciplines (such as algorithms, theory of computation, and information theory) to applied disciplines (including the design an ...
, notably
Amir Pnueli, and
logician
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure of arg ...
s.
Temporal logic has found an important application in
formal verification
In the context of hardware and software systems, formal verification is the act of proving or disproving the correctness of a system with respect to a certain formal specification or property, using formal methods of mathematics.
Formal ver ...
, where it is used to state requirements of hardware or software systems. For instance, one may wish to say that ''whenever'' a request is made, access to a resource is ''eventually'' granted, but it is ''never'' granted to two requestors simultaneously. Such a statement can conveniently be expressed in a temporal logic.
Motivation
Consider the statement "I am hungry". Though its meaning is constant in time, the statement's truth value can vary in time. Sometimes it is true, and sometimes false, but never simultaneously true ''and'' false. In a temporal logic, a statement can have a truth value that varies in time—in contrast with an atemporal logic, which applies only to statements whose truth values are constant in time. This treatment of truth-value over time differentiates temporal logic from
computational verb logic.
Temporal logic always has the ability to reason about a timeline. So-called "linear-time" logics are restricted to this type of reasoning. Branching-time logics, however, can reason about multiple timelines. This permits in particular treatment of environments that may act unpredictably.
To continue the example, in a branching-time logic we may state that "there is a possibility that I will stay hungry forever", and that "there is a possibility that eventually I am no longer hungry". If we do not know whether or not I will ever be fed, these statements can both be true.
History
Although
Aristotle
Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
's logic is almost entirely concerned with the theory of the
categorical syllogism
A syllogism (, ''syllogismos'', 'conclusion, inference') is a kind of logical argument that applies deductive reasoning to arrive at a conclusion based on two propositions that are asserted or assumed to be true.
In its earliest form (define ...
, there are passages in his work that are now seen as anticipations of temporal logic, and may imply an early, partially developed form of
first-order temporal modal
bivalent logic. Aristotle was particularly concerned with the
problem of future contingents
Future contingent propositions (or simply, future contingents) are statements about states of affairs in the future that are '' contingent:'' neither necessarily true nor necessarily false.
The problem of future contingents seems to have been fi ...
, where he could not accept that the
principle of bivalence
In logic, the semantic principle (or law) of bivalence states that every declarative sentence expressing a proposition (of a theory under inspection) has exactly one truth value, either true or false. A logic satisfying this principle is calle ...
applies to statements about future events, i.e. that we can presently decide if a statement about a future event is true or false, such as "there will be a sea battle tomorrow".
There was little development for millennia,
Charles Sanders Peirce
Charles Sanders Peirce ( ; September 10, 1839 – April 19, 1914) was an American scientist, mathematician, logician, and philosopher who is sometimes known as "the father of pragmatism". According to philosopher Paul Weiss (philosopher), Paul ...
noted in the 19th century:
[Vardi 2008, p. 154]
Surprisingly for
Peirce, the first system of temporal logic was constructed, as far as we know, in the first half of 20th century. Although
Arthur Prior is widely known as a founder of temporal logic, the first formalization of such logic was provided in 1947 by Polish logician,
Jerzy Łoś.
In his work ''Podstawy Analizy Metodologicznej Kanonów Milla'' (''The Foundations of a Methodological Analysis of Mill’s Methods'') he presented a formalization of
Mill's canons. In
Łoś' approach, emphasis was placed on the time factor. Thus, to reach his goal, he had to create a logic that could provide means for formalization of temporal functions. The logic could be seen as a byproduct of
Łoś' main aim,
albeit it was the first positional logic that, as a framework, was used later for
Łoś' inventions in
epistemic logic. The logic itself has syntax very different than Prior's tense logic, which uses modal operators. The language of
Łoś' logic rather uses a realization operator, specific to positional logic, which binds the expression with the specific context in which its truth-value is considered. In
Łoś' work this considered context was only temporal, thus expressions were bound with specific moments or intervals of time.
In the following years, research of temporal logic by
Arthur Prior began.
He was concerned with the philosophical implications of
free will
Free will is generally understood as the capacity or ability of people to (a) choice, choose between different possible courses of Action (philosophy), action, (b) exercise control over their actions in a way that is necessary for moral respon ...
and
predestination
Predestination, in theology, is the doctrine that all events have been willed by God, usually with reference to the eventual fate of the individual soul. Explanations of predestination often seek to address the paradox of free will, whereby Go ...
. According to his wife, he first considered formalizing temporal logic in 1953. Results of his research were first presented at the conference in
Wellington
Wellington is the capital city of New Zealand. It is located at the south-western tip of the North Island, between Cook Strait and the Remutaka Range. Wellington is the third-largest city in New Zealand (second largest in the North Island ...
in 1954.
The system Prior presented, was similar syntactically to
Łoś' logic, although not until 1955 did he explicitly refer to
Łoś' work, in the last section of Appendix 1 in Prior’s ''Formal Logic''.
Prior
The term prior may refer to:
* Prior (ecclesiastical), the head of a priory (monastery)
* Prior convictions, the life history and previous convictions of a suspect or defendant in a criminal case
* Prior probability, in Bayesian statistics
* Prio ...
gave lectures on the topic at the
University of Oxford
The University of Oxford is a collegiate university, collegiate research university in Oxford, England. There is evidence of teaching as early as 1096, making it the oldest university in the English-speaking world and the List of oldest un ...
in 1955–6, and in 1957 published a book, ''Time and Modality'', in which he introduced a
propositional modal logic with two temporal connectives (
modal operator
A modal connective (or modal operator) is a logical connective for modal logic. It is an operator which forms propositions from propositions. In general, a modal operator has the "formal" property of being non- truth-functional in the following se ...
s), F and P, corresponding to "sometime in the future" and "sometime in the past". In this early work, Prior considered time to be linear. In 1958 however, he received a letter from
Saul Kripke
Saul Aaron Kripke (; November 13, 1940 – September 15, 2022) was an American analytic philosophy, analytic philosopher and logician. He was Distinguished Professor of Philosophy at the Graduate Center of the City University of New York and emer ...
, who pointed out that this assumption is perhaps unwarranted. In a development that foreshadowed a similar one in computer science, Prior took this under advisement, and developed two theories of branching time, which he called "Ockhamist" and "Peircean".
Between 1958 and 1965 Prior also corresponded with
Charles Leonard Hamblin
Charles Leonard Hamblin (20 November 1922 – 14 May 1985) was an Australian philosopher, logician, and computer pioneer, as well as a professor of philosophy at the New South Wales University of Technology (now the University of New South Wale ...
, and a number of early developments in the field can be traced to this correspondence, for example
Hamblin implications. Prior published his most mature work on the topic, the book ''Past, Present, and Future'' in 1967. He died two years later.
Along with tense logic,
Prior
The term prior may refer to:
* Prior (ecclesiastical), the head of a priory (monastery)
* Prior convictions, the life history and previous convictions of a suspect or defendant in a criminal case
* Prior probability, in Bayesian statistics
* Prio ...
constructed a few systems of positional logic, which inherited their main ideas from
Łoś.
Work in positional temporal logics was continued by
Nicholas Rescher
Nicholas Rescher (; ; 15 July 1928 – 5 January 2024) was a German-born American philosopher, polymath, and author, who was a professor of philosophy at the University of Pittsburgh from 1961. He was chairman of the Center for Philosophy of Sc ...
in the 60s and 70s. In such works as ''Note on Chronological Logic'' (1966), ''On the Logic of Chronological Propositions'' (1968)'', Topological Logic'' (1968), and ''Temporal Logic'' (1971) he researched connections between
Łoś' and
Prior
The term prior may refer to:
* Prior (ecclesiastical), the head of a priory (monastery)
* Prior convictions, the life history and previous convictions of a suspect or defendant in a criminal case
* Prior probability, in Bayesian statistics
* Prio ...
's systems. Moreover, he proved that
Prior
The term prior may refer to:
* Prior (ecclesiastical), the head of a priory (monastery)
* Prior convictions, the life history and previous convictions of a suspect or defendant in a criminal case
* Prior probability, in Bayesian statistics
* Prio ...
's tense operators could be defined using a realization operator in specific positional logics.
Rescher, in his work, also created more general systems of positional logics. Although the first ones were constructed for purely temporal uses, he proposed the term topological logics for logics that were meant to contain a realization operator but had no specific temporal axioms—like the clock axiom.
The binary temporal operators ''Since'' and ''Until'' were introduced by
Hans Kamp
Johan Anthony Willem "Hans" Kamp (born 5 September 1940) is a Dutch philosopher and Linguistics, linguist, responsible for introducing discourse representation theory (DRT) in 1981.
Biography
Kamp was born in Den Burg. He received a Ph.D. in UC ...
in his 1968 Ph.D. thesis, which also contains an important result relating temporal logic to
first-order logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
—a result now known as
Kamp's theorem.
[Vardi 2008, p. 154]
Two early contenders in formal verifications were
linear temporal logic
In logic, linear temporal logic or linear-time temporal logic (LTL) is a modal logic, modal temporal logic with modalities referring to time. In LTL, one can encode formula (logic), formulae about the future of path (graph theory), paths, e.g., a c ...
, a linear-time logic by
Amir Pnueli, and
computation tree logic (CTL), a branching-time logic by
Mordechai Ben-Ari,
Zohar Manna and Amir Pnueli. An almost equivalent formalism to CTL was suggested around the same time by
E. M. Clarke and
E. A. Emerson. The fact that the second logic can be
decided more efficiently than the first does not reflect on branching- and linear-time logics in general, as has sometimes been argued. Rather, Emerson and Lei show that any linear-time logic can be extended to a branching-time logic that can be decided with the same complexity.
Łoś's positional logic
Łoś’s logic was published as his 1947 master’s thesis ''Podstawy Analizy Metodologicznej Kanonów Milla'' (''The Foundations of a Methodological Analysis of Mill’s Methods'').
His philosophical and formal concepts could be seen as continuations of those of the
Lviv–Warsaw School of Logic, as his supervisor was
Jerzy Słupecki, disciple of
Jan Łukasiewicz
Jan Łukasiewicz (; 21 December 1878 – 13 February 1956) was a Polish logician and philosopher who is best known for Polish notation and Łukasiewicz logic. His work centred on philosophical logic, mathematical logic and history of logi ...
. The paper was not translated into English until 1977, although
Henryk Hiż presented in 1951 a brief, but informative, review in the ''
Journal of Symbolic Logic
The '' Journal of Symbolic Logic'' is a peer-reviewed mathematics journal published quarterly by Association for Symbolic Logic. It was established in 1936 and covers mathematical logic. The journal is indexed by '' Mathematical Reviews'', Zent ...
''. This review contained core concepts of
Łoś’s work and was enough to popularize his results among the logical community. The main aim of this work was to present
Mill's canons in the framework of formal logic. To achieve this goal the author researched the importance of temporal functions in the structure of Mill's concept. Having that, he provided his axiomatic system of logic that would fit as a framework for
Mill's canons along with their temporal aspects.
Syntax
The language of the logic first published in ''Podstawy Analizy Metodologicznej Kanonów Milla'' (''The Foundations of a Methodological Analysis of Mill’s Methods'') consisted of:
* first-order logic operators ‘¬’, ‘∧’, ‘∨’, ‘→’, ‘≡’, ‘∀’ and ‘∃’
* realization operator U
* functional symbol δ
* propositional variables p
1,p
2,p
3,...
* variables denoting time moments t
1,t
2,t
3,...
* variables denoting time intervals n
1,n
2,n
3,...
The set of terms (denoted by S) is constructed as follows:
* variables denoting time moments or intervals are terms
* if
and
is a time interval variable, then
The set of formulas (denoted by For) is constructed as follows:
* all first-order logic formulas are in
* if
and
is a propositional variable, then
* if
, then
* if
and
, then
* if
and
and υ is a propositional, moment or interval variable, then
Original Axiomatic System
#
#
#
#
#
#
#
#
#
Prior's tense logic (TL)
The sentential tense logic introduced in ''Time and Modality'' has four (non-
truth-functional
In logic, a truth function is a function that accepts truth values as input and produces a unique truth value as output. In other words: the input and output of a truth function are all truth values; a truth function will always output exactly ...
)
modal operator
A modal connective (or modal operator) is a logical connective for modal logic. It is an operator which forms propositions from propositions. In general, a modal operator has the "formal" property of being non- truth-functional in the following se ...
s (in addition to all usual truth-functional operators in
first-order propositional logic).
* ''P'': "It was the case that..." (P stands for "past")
* ''F'': "It will be the case that..." (F stands for "future")
* ''G'': "It always will be the case that..."
* ''H'': "It always was the case that..."
These can be combined if we let ''π'' be an infinite path:
*
: "At a certain point,
is true at all future states of the path"
*
: "
is true at infinitely many states on the path"
From ''P'' and ''F'' one can define ''G'' and ''H'', and vice versa:
:
Syntax and semantics
A minimal syntax for TL is specified with the following
BNF grammar:
:
where ''a'' is some
atomic formula
In mathematical logic, an atomic formula (also known as an atom or a prime formula) is a formula with no deeper propositional structure, that is, a formula that contains no logical connectives or equivalently a formula that has no strict subformu ...
.
Kripke models are used to evaluate the truth of
sentences
The ''Sentences'' (. ) is a compendium of Christian theology written by Peter Lombard around 1150. It was the most important religious textbook of the Middle Ages.
Background
The sentence genre emerged from works like Prosper of Aquitaine's ...
in TL. A pair (, <) of a set and a
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
< on (called "precedence") is called a frame. A model is given by triple (, <, ) of a frame and a function called a valuation that assigns to each pair (, ) of an atomic formula and a time value some truth value. The notion " is true in a model =(, <, ) at time " is abbreviated
⊨[]. With this notation,
Given a class of frames, a sentence of TL is
* valid with respect to if for every model =(,<,) with (,<) in and for every in , ⊨[]
* satisfiable with respect to if there is a model =(,<,) with (,<) in such that for some in , ⊨[]
* a consequence of a sentence with respect to if for every model =(,<,) with (,<) in and for every in , if ⊨[], then ⊨[]
Many sentences are only valid for a limited class of frames. It is common to restrict the class of frames to those with a relation < that is
transitive,
antisymmetric,
reflexive,
trichotomic,
irreflexive
In mathematics, a binary relation R on a set X is reflexive if it relates every element of X to itself.
An example of a reflexive relation is the relation " is equal to" on the set of real numbers, since every real number is equal to itself. A ...
,
total,
dense
Density (volumetric mass density or specific mass) is the ratio of a substance's mass to its volume. The symbol most often used for density is ''ρ'' (the lower case Greek letter rho), although the Latin letter ''D'' (or ''d'') can also be use ...
, or some combination of these.
A minimal axiomatic logic
Burgess outlines a logic that makes no assumptions on the relation <, but allows for meaningful deductions, based on the following axiom schema:
# where is a
tautology of
first-order logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
# G(→)→(G→G)
# H(→)→(H→H)
# →GP
# →HF
with the following rules of deduction:
# given → and , deduce (
modus ponens
In propositional logic, (; MP), also known as (), implication elimination, or affirming the antecedent, is a deductive argument form and rule of inference. It can be summarized as "''P'' implies ''Q.'' ''P'' is true. Therefore, ''Q'' must ...
)
# given ''a tautology'' , infer G
# given ''a tautology'' , infer H
One can derive the following rules:
# Becker's rule: given →, deduce T→T where T is a tense, any sequence made of G, H, F, and P.
# Mirroring: given a theorem , deduce its mirror statement
§, which is obtained by replacing G by H (and so F by P) and vice versa.
# Duality: given a theorem , deduce its dual statement *, which is obtained by interchanging ∧ with ∨, G with F, and H with P.
Translation to predicate logic
Burgess gives a ''Meredith translation'' from statements in TL into statements in
first-order logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
with one free variable
0 (representing the present moment). This translation is defined recursively as follows:
: