Metric temporal logic (MTL) is a special case of temporal logic. It is an extension of temporal logic in which temporal operators are replaced by time-constrained versions like until, next, since and previous operators. It is a linear-time logic that assumes both the interleaving and fictitious-clock abstractions. It is defined over a point-based weakly-monotonic integer-time semantics.
MTL has been described as a prominent specification formalism for real-time systems. [1] Full MTL over infinite timed words is undecidable. [2]
The full metric temporal logic is defined similarly to linear temporal logic, where a set of non-negative real number is added to temporal modal operators U and S. Formally, MTL is built up from:
When the subscript is omitted, it is implicitly equal to .
Note that the next operator N is not considered to be a part of MTL syntax. It will instead be defined from other operators.
The past fragment of metric temporal logic, denoted as past-MTL is defined as the restriction of the full metric temporal logic without the until operator. Similarly, the future fragment of metric temporal logic, denoted as future-MTL is defined as the restriction of the full metric temporal logic without the since operator.
Depending on the authors, MTL is either defined as the future fragment of MTL, in which case full-MTL is called MTL+Past. [1] [3] Or MTL is defined as full-MTL.
In order to avoid ambiguity, this article uses the names full-MTL, past-MTL and future-MTL. When the statements holds for the three logic, MTL will simply be used.
Let intuitively represent a set of points in time. Let a function which associates a letter to each moment . A model of a MTL formula is such a function . Usually, is either a timed word or a signal. In those cases, is either a discrete subset or an interval containing 0.
Let and as above and let some fixed time. We are now going to explain what it means that a MTL formula holds at time , which is denoted .
Let and . We first consider the formula . We say that if and only if there exists some time such that:
We now consider the formula (pronounced " since in .") We say that if and only if there exists some time such that:
The definitions of for the values of not considered above is similar as the definition in the LTL case.
Some formulas are so often used that a new operator is introduced for them. These operators are usually not considered to belong to the definition of MTL, but are syntactic sugar which denote more complex MTL formula. We first consider operators which also exists in LTL. In this section, we fix MTL formulas and .
We denote by (pronounced " release in , ") the formula . This formula holds at time if either:
The name "release" come from the LTL case, where this formula simply means that should always hold, unless releases it.
The past counterpart of release is denote by (pronounced " back to in , ") and is equal to the formula .
We denote by or (pronounced "Finally in , ", or "Eventually in , ") the formula . Intuitively, this formula holds at time if there is some time such that holds.
We denote by or (pronounced "Globally in , ",) the formula . Intuitively, this formula holds at time if for all time , holds.
We denote by and the formula similar to and , where is replaced by . Both formula has intuitively the same meaning, but when we consider the past instead of the future.
This case is slightly different from the previous ones, because the intuitive meaning of the "Next" and "Previously" formulas differs depending on the kind of function considered.
We denote by or (pronounced "Next in , ") the formula . Similarly, we denote by [4] (pronounced "Previously in , ) the formula . The following discussion about the Next operator also holds for the Previously operator, by reversing the past and the future.
When this formula is evaluated over a timed word , this formula means that both:
When this formula is evaluated over a signal , the notion of next time does not makes sense. Instead, "next" means "immediately after". More precisely means:
We now consider operators which are not similar to any standard LTL operators.
We denote by (pronounced "rise "), a formula which holds when becomes true. More precisely, either did not hold in the immediate past, and holds at this time, or it does not hold and it holds in the immediate future. Formally is defined as . [5]
Over timed words, this formula always hold. Indeed and always hold. Thus the formula is equivalent to , hence is true.
By symmetry, we denote by (pronounced "Fall ), a formula which holds when becomes false. Thus, it is defined as .
We now introduce the prophecy operator, denoted by . We denote by [6] the formula . This formula asserts that there exists a first moment in the future such that holds, and the time to wait for this first moment belongs to .
We now consider this formula over timed words and over signals. We consider timed words first. Assume that where and represents either open or closed bounds. Let a timed word and in its domain of definition. Over timed words, the formula holds if and only if also holds. That is, this formula simply assert that, in the future, until the interval is met, should not hold. Furthermore, should hold sometime in the interval . Indeed, given any time such that hold, there exists only a finite number of time with and . Thus, there exists necessarily a smaller such .
Let us now consider signal. The equivalence mentioned above does not hold anymore over signal. This is due to the fact that, using the variables introduced above, there may exists an infinite number of correct values for , due to the fact that the domain of definition of a signal is continuous. Thus, the formula also ensures that the first interval in which holds is closed on the left.
By temporal symmetry, we define the history operator, denoted by . We define as . This formula asserts that there exists a last moment in the past such that held. And the time since this first moment belongs to .
The semantic of operators until and since introduced do not consider the current time. That is, in order for to holds at some time , neither nor has to hold at time . This is not always wanted, for example in the sentence "there is no bug until the system is turned-off", it may actually be wanted that there are no bug at current time. Thus, we introduce another until operator, called non-strict until, denoted by , which consider the current time.
We denote by and either:
For any of the operators introduced above, we denote the formula in which non-strict untils and sinces are used. For example is an abbreviation for .
Strict operator can not be defined using non-strict operator. That is, there is no formula equivalent to which uses only non-strict operator. This formula is defined as . This formula can never hold at a time if it is required that holds at time .
We now give examples of MTL formulas. Some more example can be found on article of fragments of MITL, such as metric interval temporal logic.
A standard (untimed) infinite word is a function from to . We can consider such a word using the set of time , and the function . In this case, for an arbitrary LTL formula, if and only if , where is considered as a MTL formula with non-strict operator and subscript. In this sense, MTL is an extension of LTL.[ clarification needed ]
For this reason, a formula using only non-strict operator with subscript is called an LTL formula. This is because the [ further explanation needed ]
The satisfiability of ECL over signals is EXPSPACE-complete. [6]
We now consider some fragments of MTL.
An important subset of MTL is the Metric Interval Temporal Logic (MITL). This is defined similarly to MTL, with the restriction that the sets , used in and , are intervals which are not singletons, and whose bounds are natural numbers or infinity.
Some other subsets of MITL are defined in the article MITL.
Future-MTL was already introduced above. Both over timed-words and over signals, it is less expressive than Full-MTL [3] : 3 .
The fragment Event-Clock Temporal Logic [6] of MTL, denoted EventClockTL or ECL, allows only the following operators:
Over signals, ECL is as expressive as MITL and as MITL0. The equivalence between the two last logics is explained in the article MITL0. We sketch the equivalence of those logics with ECL.
If is not a singleton and is a MITL formula, is defined as a MITL formula. If is a singleton, then is equivalent to which is a MITL-formula. Reciprocally, for an ECL-formula, and an interval whose lower bound is 0, is equivalent to the ECL-formula .
The satisfiability of ECL over signals is PSPACE-complete. [6]
A MTL-formula in positive normal form is defined almost as any MTL formula, with the two following change:
Any MTL formula is equivalent to formula in normal form. This can be shown by an easy induction on formulas. For example, the formula is equivalent to the formula . Similarly, conjunctions and disjunctions can be considered using De Morgan's laws.
Strictly speaking, the set of formulas in positive normal form is not a fragment of MTL.
Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems of intuitionistic logic do not assume the law of the excluded middle and double negation elimination, which are fundamental inference rules in classical logic.
In logic, temporal logic is 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 modal logic-based system of temporal logic introduced by Arthur Prior in the late 1950s, with important contributions by Hans Kamp. It has been further developed by computer scientists, notably Amir Pnueli, and logicians.
Modal logic is a kind of logic used to represent statements about necessity and possibility. It plays a major role in philosophy and related fields as a tool for understanding concepts such as knowledge, obligation, and causation. For instance, in epistemic modal logic, the formula can be used to represent the statement that is known. In deontic modal logic, that same formula can represent that is a moral obligation. Modal logic considers the inferences that modal statements give rise to. For instance, most epistemic modal logics treat the formula as a tautology, representing the principle that only true statements can count as knowledge. However, this formula is not a tautology in deontic modal logic, since what ought to be true can be false.
In mathematical logic, Löb's theorem states that in Peano arithmetic (PA) (or any formal system including PA), for any formula P, if it is provable in PA that "if P is provable in PA then P is true", then P is provable in PA. If Prov(P) means that the formula P is provable, we may express this more formally as
Computation tree logic (CTL) is a branching-time logic, meaning that its model of time is a tree-like structure in which the future is not determined; there are different paths in the future, any one of which might be an actual path that is realized. It is used in formal verification of software or hardware artifacts, typically by software applications known as model checkers, which determine if a given artifact possesses safety or liveness properties. For example, CTL can specify that when some initial condition is satisfied, then all possible executions of a program avoid some undesirable condition. In this example, the safety property could be verified by a model checker that explores all possible transitions out of program states satisfying the initial condition and ensures that all such executions satisfy the property. Computation tree logic belongs to a class of temporal logics that includes linear temporal logic (LTL). Although there are properties expressible only in CTL and properties expressible only in LTL, all properties expressible in either logic can also be expressed in CTL*.
In quantum field theory, the Lehmann–Symanzik–Zimmermann (LSZ) reduction formula is a method to calculate S-matrix elements from the time-ordered correlation functions of a quantum field theory. It is a step of the path that starts from the Lagrangian of some quantum field theory and leads to prediction of measurable quantities. It is named after the three German physicists Harry Lehmann, Kurt Symanzik and Wolfhart Zimmermann.
Independence-friendly logic is an extension of classical first-order logic (FOL) by means of slashed quantifiers of the form and , where is a finite set of variables. The intended reading of is "there is a which is functionally independent from the variables in ". IF logic allows one to express more general patterns of dependence between variables than those which are implicit in first-order logic. This greater level of generality leads to an actual increase in expressive power; the set of IF sentences can characterize the same classes of structures as existential second-order logic.
Epistemic modal logic is a subfield of modal logic that is concerned with reasoning about knowledge. While epistemology has a long philosophical tradition dating back to Ancient Greece, epistemic logic is a much more recent development with applications in many fields, including philosophy, theoretical computer science, artificial intelligence, economics and linguistics. While philosophers since Aristotle have discussed modal logic, and Medieval philosophers such as Avicenna, Ockham, and Duns Scotus developed many of their observations, it was C. I. Lewis who created the first symbolic and systematic approach to the topic, in 1912. It continued to mature as a field, reaching its modern form in 1963 with the work of Kripke.
In abstract algebraic logic, a branch of mathematical logic, the Leibniz operator is a tool used to classify deductive systems, which have a precise technical definition and capture a large number of logics. The Leibniz operator was introduced by Wim Blok and Don Pigozzi, two of the founders of the field, as a means to abstract the well-known Lindenbaum–Tarski process, that leads to the association of Boolean algebras to classical propositional calculus, and make it applicable to as wide a variety of sentential logics as possible. It is an operator that assigns to a given theory of a given sentential logic, perceived as a term algebra with a consequence operation on its universe, the largest congruence on the algebra that is compatible with the theory.
In theoretical computer science, the modal μ-calculus is an extension of propositional modal logic by adding the least fixed point operator μ and the greatest fixed point operator ν, thus a fixed-point logic.
CTL* is a superset of computational tree logic (CTL) and linear temporal logic (LTL). It freely combines path quantifiers and temporal operators. Like CTL, CTL* is a branching-time logic. The formal semantics of CTL* formulae are defined with respect to a given Kripke structure.
Probabilistic Computation Tree Logic (PCTL) is an extension of computation tree logic (CTL) that allows for probabilistic quantification of described properties. It has been defined in the paper by Hansson and Jonsson.
In logic, especially mathematical logic, an axiomatic system, sometimes called a "Hilbert-style" deductive system, is a type of system of formal deduction developed by Gottlob Frege, Jan Łukasiewicz, Russell and Whitehead, and David Hilbert. These deductive systems are most often studied for first-order logic, but are of interest for other logics as well.
In modal logic, standard translation is a logic translation that transforms formulas of modal logic into formulas of first-order logic which capture the meaning of the modal formulas. Standard translation is defined inductively on the structure of the formula. In short, atomic formulas are mapped onto unary predicates and the objects in the first-order language are the accessible worlds. The logical connectives from propositional logic remain untouched and the modal operators are transformed into first-order formulas according to their semantics.
In modal logic, the modal depth of a formula is the deepest nesting of modal operators. Modal formulas without modal operators have a modal depth of zero.
Attempts have been made to describe gauge theories in terms of extended objects such as Wilson loops and holonomies. The loop representation is a quantum hamiltonian representation of gauge theories in terms of loops. The aim of the loop representation in the context of Yang–Mills theories is to avoid the redundancy introduced by Gauss gauge symmetries allowing to work directly in the space of physical states. The idea is well known in the context of lattice Yang–Mills theory. Attempts to explore the continuous loop representation was made by Gambini and Trias for canonical Yang–Mills theory, however there were difficulties as they represented singular objects. As we shall see the loop formalism goes far beyond a simple gauge invariant description, in fact it is the natural geometrical framework to treat gauge theories and quantum gravity in terms of their fundamental physical excitations.
Dynamic epistemic logic (DEL) is a logical framework dealing with knowledge and information change. Typically, DEL focuses on situations involving multiple agents and studies how their knowledge changes when events occur. These events can change factual properties of the actual world : for example a red card is painted in blue. They can also bring about changes of knowledge without changing factual properties of the world : for example a card is revealed publicly to be red. Originally, DEL focused on epistemic events. We only present in this entry some of the basic ideas of the original DEL framework; more details about DEL in general can be found in the references.
In model checking, the Metric Interval Temporal Logic (MITL) is a fragment of Metric Temporal Logic (MTL). This fragment is often preferred to MTL because some problems that are undecidable for MTL become decidable for MITL.
In model checking, a field of computer science, timed propositional temporal logic (TPTL) is an extension of propositional linear temporal logic (LTL) in which variables are introduced to measure times between two events. For example, while LTL allows to state that each event p is eventually followed by an event q, TPTL furthermore allows to give a time limit for q to occur.
A non-normal modal logic is a variant of modal logic that deviates from the basic principles of normal modal logics.