Content deleted Content added
Stevey7788 (talk | contribs) mNo edit summary |
m Dating maintenance tags: {{Clarify span}} {{Clarify}} |
||
(22 intermediate revisions by 14 users not shown) | |||
Line 1:
In [[model checking]], a field of [[computer science]], '''
== Syntax ==
The '''future fragment of TPTL''' is defined similarly to [[linear temporal logic]], in which furthermore, [[clock (model checking)|clock]] variables can be introduced and compared to constants. Formally, given a set <math>X</math> of clocks, {{clarify span|MTL|reason=Should be 'TPTL'? MTL is discussed in a later section.|date=February 2025}} is built up from:
* a finite set of [[propositional variable]]s ''AP'',
* the [[logical connective|logical operators]] ¬ and ∨, and
* the [[Temporal logic|temporal]] [[modal operator]] '''U''',
* a clock comparison <math>x\sim c</math>, with <math>x\in X</math>, <math>c</math> a number and <math>\sim</math>
* a freeze quantification operator <math>x.\phi</math>, for <math>\phi</math> a TPTL formula with set of clocks <math>X\cup\{x\}</math>.
Furthermore, for <math>I=(a,b)</math> an interval, <math>x\in I</math> is considered as an abbreviation for <math>x>a\land x<b</math>; and similarly for every other kind of intervals.
The logic '''TPTL+Past'''<ref name="ExpressivenesOfTPTLAndMtl">{{cite
* the temporal modal
A '''closed formula''' is a formula over an empty set of clocks.<ref name="Really">{{cite journal |last1=Alur |first1=Rajeev |author1link = Rajeev Alur|last2=Henzinger |first2=Thomas A. |author2link = Thomas Henzinger|title=A really temporal logic|journal=[[Journal of the ACM
== Model ==▼
Let <math>T\subseteq\mathbb R_+</math>,
==
Let <math>T</math> and <math>\gamma</math> be as above. Let <math>X</math> be a set of [[clock (model checking)|clocks]]. Let <math>\nu:X\to\mathbb R_{\ge0}</math> (a ''clock valuation'' over <math>X</math>).
Let <math>\phi</math> and <math>\psi</math> be two formulas over the set of clocks <math>X</math>, <math>\xi</math> a formula over the set of clocks <math>X\cup\{y\}</math>, <math>x\in X</math>, <math>l\in\mathtt{AP}</math>, <math>c</math> a number and <math>\sim</math> being a comparison operator such as <, ≤, =, ≥ or >:
We first consider formulas whose main operator also belongs to LTL:
* <math>\gamma,t,\nu\models l</math> holds if <math>l\in\gamma(t)</math>,
* <math>\gamma,t,\nu\models\neg\phi</math> holds if
* <math>\gamma,t,\nu\models\phi\lor\psi</math> holds if either <math>\gamma,t,\nu\models\phi</math> or <math>\gamma,t,\nu\models\psi</math>, or both
* <math>\gamma,t,\nu\models\phi\mathbin\mathcal U\psi</math> holds if there exists <math>
* <math>\gamma,t,\nu\models\phi\mathbin\mathcal S\psi</math> holds if there exists <math>t''
* <math>\gamma,t,\nu\models
* <math>\gamma,t,\nu\models
== Metric temporal logic ==
[[Metric temporal logic]] is another extension of LTL
▲[[Metric temporal logic]] is another extension of LTL which allow to measure time. Instead of adding variables, it adds an infinity of operators <math>\mathcal U_I</math> and <math>\mathcal S_I</math> for <math>I</math> an interval of non-negative number. The semantic of the formula <math>\phi\mathcal U_I\psi</math> at some time <math>t</math> is essentially the same than the semantic of the formula <math>\phi\mathcal U\psi</math>, with the constraints that the time <math>t''</math> at which <math>\psi</math> must hold occurs in the interval <math>t+I</math>.
It follows that any other operator introduced in the page [[metric temporal logic#Operators defined from MTL operator|MTL]], such as <math>\Box</math> and <math>\Diamond</math> can also be defined as TPTL formulas.▼
▲The MTL formula <math>\phi\mathcal U_I\psi</math> is equivalent to the TPTL formula <math>x.\phi\mathcal(x\in I\land\psi)</math> where <math>x</math> is a new variable.<ref name="Really"/>
TPTL is strictly more expressive than MTL{{r|ExpressivenesOfTPTLAndMtl|p=2}} both over timed words and over signals. Over timed words, no MTL formula is equivalent to <math>\Box(a\implies x.\Diamond(b\land\Diamond(c\land x\le 5)))</math>. Over signal, there are no MTL formula equivalent to <math>x.\Diamond(a\land x\le 1\land\Box(x\le 1\implies\neg b))</math>, which states that the last atomic proposition before time point 1 is an <math>a</math>.
▲It follows that any other operator introduced in the page [[metric temporal logic#Operators defined from MTL operator]] can also be defined as TPTL formulas.
== Comparison with LTL ==
|