Hostname: page-component-586b7cd67f-2plfb Total loading time: 0 Render date: 2024-11-21T22:26:31.624Z Has data issue: false hasContentIssue false

Metric Temporal Equilibrium Logic over Timed Traces

Published online by Cambridge University Press:  18 September 2024

ARVID BECKER
Affiliation:
University of Potsdam, Germany (e-mail: [email protected])
PEDRO CABALAR
Affiliation:
University of Corunna, Spain (e-mail: [email protected])
MARTÍN DIÉGUEZ
Affiliation:
LERIA, Universit´e d’Angers, France (e-mail: [email protected])
TORSTEN SCHAUB
Affiliation:
University of Potsdam, Germany (e-mails: [email protected], [email protected])
ANNA SCHUHMANN
Affiliation:
University of Potsdam, Germany (e-mails: [email protected], [email protected])
Rights & Permissions [Opens in a new window]

Abstract

In temporal extensions of answer set programming (ASP) based on linear time, the behavior of dynamic systems is captured by sequences of states. While this representation reflects their relative order, it abstracts away the specific times associated with each state. However, timing constraints are important in many applications like, for instance, when planning and scheduling go hand in hand. We address this by developing a metric extension of linear-time temporal equilibrium logic, in which temporal operators are constrained by intervals over natural numbers. The resulting Metric Equilibrium Logic (MEL) provides the foundation of an ASP-based approach for specifying qualitative and quantitative dynamic constraints. To this end, we define a translation of metric formulas into monadic first-order formulas and give a correspondence between their models in MEL and Monadic Quantified Equilibrium Logic, respectively. Interestingly, our translation provides a blue print for implementation in terms of ASP modulo difference constraints.

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

1 Introduction

Reasoning about actions and change, or more generally about dynamic systems, is not only central to knowledge representation and reasoning but at the heart of Computer Science (Fisher et al. Reference Fisher, Gabbay and Vila2005). In practice, this kind of reasoning often requires both qualitative as well as quantitative dynamic constraints. For instance, when planning and scheduling at once, actions may have durations and their effects may need to meet deadlines. On the other hand, any flexible formalism for actions and change must incorporate some form of non-monotonic reasoning to deal with inertia and other types of defaults.

Over the last years, we addressed qualitative dynamic constraints by combining traditional approaches, like Dynamic and Linear Temporal Logic (DL (Harel et al. Reference Harel, Tiuryn and Kozen2000) and LTL (Pnueli Reference Pnueli1977)), with the base logic of answer set programming (ASP (Lifschitz Reference Lifschitz1999)), namely, the logic of Here-and-There (HT (Heyting Reference Heyting1930)) and its non-monotonic extension, called Equilibrium Logic (Pearce Reference Pearce1997). This resulted in non-monotonic linear dynamic and temporal equilibrium logics (DEL (Bosser et al. Reference Bosser, Cabalar, Diéguez, Schaub and Press2018; Cabalar et al. Reference Cabalar, Kaminski, Morkisch and Schaub2019) and ${\mathrm{TEL}}$ (Aguado et al. Reference Aguado, Cabalar, Diéguez, Pérez and Vidal2013; Cabalar et al. Reference Cabalar, Kaminski, Schaub and Schuhmann2018; Aguado et al. Reference Aguado, Cabalar, Diéguez, Pérez, Schaub, Schuhmann and Vidal2023)) that gave rise to the temporal ASP system telingo (Cabalar et al Reference Cabalar, Diéguez, Schaub and Schuhmann2020). 2019; extending the ASP system clingo (Gebser et al. Reference Gebser, Kaminski, Kaufmann, Ostrowski, Schaub, Wanko, Carro and King2016).

A commonality of such dynamic and temporal logics is that they abstract from specific time points when capturing temporal relationships. For instance, in temporal logic, we can use the formula ${{\square}} ( \mathit{use} \to {{\Diamond}} \mathit{clean})$ to express that a machine has to be eventually cleaned after being used. Nothing can be said about the delay between using and cleaning the machine.

A key design decision was to base both aforementioned logics, ${\mathrm{TEL}}$ and DEL, on the same linear-time semantics. We continued to maintain the same linear-time semantics, embodied by sequences of states, when elaborating upon a first “light-weight” metric temporal extension of HT (Cabalar et al. Reference Cabalar, Diéguez, Schaub and Schuhmann2020). The “light-weightiness” is due to treating time as a state counter by identifying the next time with the next state. For instance, this allows us to refine our example by stating that, if the machine is used, it has to be cleaned within the next 3 states, viz. $(use \to { \Diamond _{[1..3]}}clean)$ . Although this permits the restriction of temporal operators to subsequences of states, no fine-grained timing constraints are expressible. In other words, it is as if state transitions were identified with time clicks, and the two things could not be dissociated.

In this paper, we overcome this limitation by dealing with timed traces where each state has an associated time, as done in Metric Temporal Logic ( ${{\mathrm{MTL}}}$ (Koymans Reference Koymans1990)). This allows us to measure time differences between events. For instance, in our example, we may thus express that whenever the machine is used, it has to be cleaned within 60 to 120 time units, by writing:

\begin{align*} \square (use \to {\rm{ }}{ \Diamond _{[60..120]}}clean).\end{align*}

Unlike the non-metric version, this stipulates that once $\mathit{use}$ is true in a state, $\mathit{clean}$ must be true in some future state whose associated time is at least 60 and at most 120 time units after the time of $\mathit{use}$ . The choice of time domain is crucial and might even lead to undecidability in the continuous case. We rather adapt a discrete approach that offers a sequence of snapshots of a dynamic system.

The definition of the new variant of Metric (Temporal) Equilibrium Logic ( ${{\mathrm{MEL}}}$ for short) is done in two steps. We start with the definition of a monotonic logic called Metric (Temporal) logic of Here-and-There ( ${\mathrm{MHT}}$ ), a temporal extension of the intermediate logic of Here-and-There, mentioned above. We then select some models from ${\mathrm{MHT}}$ that are said to be in equilibrium, obtaining in this way a non-monotonic entailment relation.

The rest of the paper is organized as follows. In the next section, we start describing the monotonic basis, ${\mathrm{MHT}}$ , that generalizes (Cabalar et al. Reference Cabalar, Diéguez, Schaub and Schuhmann2020) by adding timed traces, and provide some basic properties and useful equivalences in this logic. In Section 3, we study the non-monotonic formalism, ${{\mathrm{MEL}}}$ , providing the definition of metric equilibrium models as a kind of minimal ${\mathrm{MHT}}$ models. We also illustrate this definition with an example and discuss the property of strong equivalence for metric theories, proving that it coincides with equivalence in the monotonic logic, ${\mathrm{MHT}}$ . Section 4 provides a translation of ${\mathrm{MHT}}$ into a fragment of first-order HT, called Quantified Here-and-There with Difference Constraints, following a similar spirit to the well-known translation of Kamp (Reference Kamp1968) from Linear Temporal Logic ( ${\mathrm{LTL}}$ ) to first-order logic. Finally, Section 6 contains a discussion and concludes the paper. Appendix A includes all the proofs of the results in the paper.

2 Metric logic of here-and-there

In this section, we start describing the metric extension of HT, called ${\mathrm{MHT}}$ , that is used as monotonic basis for defining Metric Equilibrium Logic (MEL) later on. We begin introducing some notation. Given $m \in \mathbb{N}$ and $n \in \mathbb{N} \cup \{\omega\}$ , we let ${{[m..n]}}$ stand for the set $\{i \in \mathbb{N} \mid m \leq i \leq n\}$ , ${{[m..n)}}$ for $\{i \in \mathbb{N} \mid m \leq i < n\}$ , and ${{(m..n]}}$ stand for $\{i \in \mathbb{N} \mid m < i \leq n\}$ . We use letters I, J to denote intervals and, since they stand for sets, we assume standard set relations like inclusion $I \subseteq J$ or membership $n \in I$ .

Given a set ${{\mathcal{A}}}$ of propositional variables (called alphabet), a metric formula $\varphi$ is defined by the grammar:

where ${{p}} \in{{\mathcal{A}}}$ is an atom and $\otimes$ is any binary Boolean connective $\otimes \in \{\to,\wedge,\vee\}$ . The last six cases above correspond to temporal operators, each of them indexed by some interval I of the form ${{[m..n)}}$ with $m\in\mathbb{N}$ and $n\in\mathbb{N}\cup\{\omega\}$ . In words, ${ \bullet _I}$ , ${{{{\mathbin{\boldsymbol{\mathsf{S}}}}}_{I}}}$ , and ${{{{\mathbin{\boldsymbol{\mathsf{T}}}}}_{I}}}$ are past operators called previous, since, and trigger, respectively; their future counterparts ${ \circ _I}$ ,

, and are called next, until, and release. Strictly speaking, we should differentiate between the syntactic representation of an interval, and its semantic counterpart, the associated set of time points it represents. For simplicity, we just use the same representation for both concepts but, as said above, we restrict the form of intervals that can be used as modal subindices to the case ${{[m..n)}}$ where n is possibly $\omega$ . Yet, some syntactic abbreviations are allowed in the temporal subindices. For instance, we let subindex ${{[m..n]}}$ stand for ${{[m..n{+}1)}}$ , provided $n\neq\omega$ . Also, we sometimes use the subindices ‘ ${\leq}n$ ’, ‘ ${\geq} m$ ’, and ‘m’ as abbreviations of intervals ${{[0..n]}}$ , ${{[m..\omega)}}$ and ${{[m..m]}}$ , respectively. Also, whenever $I={{[0..\omega)}}$ , we simply omit subindex I.

We also define several common derived operators like the Boolean connectives $\top \stackrel{\mathit{def}}{=} \neg \bot$ , $\neg \varphi \stackrel{\mathit{def}}{=} \varphi \to \bot$ , $\varphi \leftrightarrow \psi \stackrel{\mathit{def}}{=} (\varphi \to \psi) \wedge (\psi \to \varphi)$ , and the following temporal operators:

Note that initial and final are not indexed by any interval; they only depend on the state of the trace, not on the actual time associated with this state. On the other hand, the weak version of next can no longer be defined in terms of final, as done in (Cabalar et al. Reference Cabalar, Kaminski, Schaub and Schuhmann2018) with non-metric . For the metric case ${\widehat{\rm{O}}_I}\varphi$ , the implication $${{\rm{O}}_I} \top \to {\rm{ }}{{\rm{O}}_I}\varphi$$ (or equivalently the disjunction ${\rm{ }}{{\rm{O}}_I}\varphi \vee \neg {\rm{ }}{{\rm{O}}_I} \top$ ) must be used instead, in order to keep the usual dualities among operators (the same applies to weak previous).

A metric theory is a (possibly infinite) set of metric formulas. As an example of a metric theory, we may consider the following scenario for modeling the behavior of traffic lights. While the light is red by default, it changes to green within less than 15 time units (say, seconds) whenever the button is pushed; and it stays green for another 30 seconds at least. This can be represented as follows.

(1) \begin{align}{\square} ( \mathit{red} \wedge \mathit{green} \to \bot), \end{align}
(2) \begin{align}{{\square}} ( \neg\mathit{green} \to \mathit{red} ), \end{align}
(3) $$\square (push \to { \Diamond _{[1..15)}}({\square _{ \le 30}}green)).$$

Note that this example combines a default rule (2) with a metric rule (3), describing the initiation and duration period of events. This nicely illustrates the interest in non-monotonic metric representation and reasoning methods.

A Here-and-There trace (for short HT-trace) of length $\lambda \in \mathbb{N} \cup \{\omega\}$ over alphabet ${{\mathcal{A}}}$ is a sequence of pairs $(\langle H_i,T_i \rangle)_{{{i \in {{[0..\lambda)}}}}}$ with $H_i\subseteq T_i\subseteq{{\mathcal{A}}}$ for any ${{i \in {{[0..\lambda)}}}}$ . For convenience, we usually represent an HT-trace as the pair $\langle {\mathbf{H}},\mathbf{T} \rangle$ of sequences ${\mathbf{H}} = (H_i)_{{{i \in {{[0..\lambda)}}}}}$ and $\mathbf{T} = (T_i)_{{{i \in {{[0..\lambda)}}}}}$ . Notice that, when $\lambda=\omega$ , this covers traces of infinite length. We say that $\langle {\mathbf{H}},\mathbf{T} \rangle$ is total whenever $\mathbf{H}=\mathbf{T}$ , that is, $H_i=T_i$ for all ${{i \in {{[0..\lambda)}}}}$ .

Definition 1

A timed HT-trace $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}})$ of length $\lambda$ over $(\mathbb{N},<)$ and alphabet $\mathcal{A}$ is a pair consisting of

an HT-trace $\langle \mathbf{H},\mathbf{T} \rangle $ of length $\lambda$ over $\mathcal{A}$ and

a function ${{\tau}}: {{[0..\lambda)}} \to \mathbb{N}$ such that ${{\tau}}(i)\leq {{\tau}}(i{+}1)$ .

A timed HT-trace of length $\lambda > 1$ is called strict if ${{\tau}}(i)<{{\tau}}(i{+}1)$ for all $i{+}1 \in {{(0..\lambda)}}$ such that $i+1 < \lambda$ and non-strict otherwise. We assume w.l.o.g. that ${{\tau}}(0)=0$ .

Function ${{\tau}}$ assigns to each state index $i \in {{[0..\lambda)}}$ a time point ${{\tau}}(i) \in \mathbb{N}$ representing the number of time units (seconds, milliseconds, etc, depending on the chosen granularity) elapsed since time point ${{\tau}}(0)=0$ , chosen as the beginning of the trace. The difference to the variant of ${\mathrm{MHT}}$ presented in (Cabalar et al. Reference Cabalar, Diéguez, Schaub and Schuhmann2020) boils down to the choice of function ${{\tau}}$ . Essentially, the latter corresponds now to the case where ${{\tau}}$ is the identity function on the interval ${{[0..\lambda)}}$ .

Given any timed HT-trace, satisfaction of formulas is defined as follows.

Definition 2 ( ${\mathrm{MHT}}$ -satisfaction)

A timed HT-trace $\mathbf{M}=(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}})$ of length $\lambda$ over alphabet ${{\mathcal{A}}}$ satisfies a metric formula $\varphi$ at step ${{k \in {{[0..\lambda)}}}}$ , written $\mathbf{M},k \models \varphi$ , if the following conditions hold:

1. $\mathbf{M},k \not\models \bot$

2. $\mathbf{M},k \models {{p}}$ if ${{p}} \in H_k$ for any atom ${{p}} \in {{\mathcal{A}}}$

3. $\mathbf{M}, k \models \varphi \wedge \psi$ iff $\mathbf{M}, k \models \varphi$ and $\mathbf{M}, k \models \psi$

4. $\mathbf{M}, k \models \varphi \vee \psi$ iff $\mathbf{M}, k \models \varphi$ or $\mathbf{M}, k \models \psi$

5. $\mathbf{M}, k \models \varphi \to \psi$ iff $\mathbf{M}', k \not \models \varphi$ or $\mathbf{M}', k \models \psi$ , for both $\mathbf{M}'=\mathbf{M}$ and $\mathbf{M}'=(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$

6. ${\bf{M}},k| = { \bullet _I}{\mkern 1mu} \varphi$ iff $k>0$ and $\mathbf{M}, k{-}1 \models \varphi$ and ${{\tau}}(k)-{{\tau}}(k{-}1) \in I$

7. $\mathbf{M}, k \models \varphi {{{{\mathbin{\boldsymbol{\mathsf{S}}}}}_{I}}} \psi$ iff for some ${{j \in {{[0..k]}}}}$ with ${{\tau}}(k)-{{\tau}}(j) \in I$ , we have $\mathbf{M}, j \models \psi$ and $\mathbf{M}, i \models \varphi$ for all ${{i \in {{(j..k]}}}}$

8. $\mathbf{M}, k \models \varphi {{{{\mathbin{\boldsymbol{\mathsf{T}}}}}_{I}}} \psi$ iff for all ${{j \in {{[0..k]}}}}$ with ${{\tau}}(k)-{{\tau}}(j) \in I$ , we have $\mathbf{M}, j \models \psi$ or $\mathbf{M}, i \models \varphi$ for some ${{i \in {{(j..k]}}}}$

9. ${\bf{M}},k{\rm{| = }}{{\rm{O}}_I}{\mkern 1mu} \varphi$ iff $k+1<\lambda$ and $\mathbf{M}, k{+}1 \models \varphi$ and ${{\tau}}(k{+}1)-{{\tau}}(k) \in I$

10.

iff for some ${{j \in {{[k..\lambda)}}}}$ with ${{\tau}}(j)-{{\tau}}(k) \in I$ , we have $\mathbf{M}, j \models \psi$ and $\mathbf{M}, i \models \varphi$ for all ${{i \in {{[k..j)}}}}$

11. iff for all ${{j \in {{[k..\lambda)}}}}$ with ${{\tau}}(j)-{{\tau}}(k) \in I$ , we have $\mathbf{M}, j \models \psi$ or $\mathbf{M}, i \models \varphi$ for some ${{i \in {{[k..j)}}}}$

Satisfaction of derived operators can be easily deduced:

Proposition 1

Let $\mathbf{M}=(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}})$ be a timed HT-trace of length $\lambda$ over ${{\mathcal{A}}}$ . Given the respective definitions of derived operators, we get the following satisfaction conditions:

12. $\mathbf{M}, k \models {{\boldsymbol{\mathsf{I}}}}$ iff $k =0$

13. ${\bf{M}},k| = {\widehat \bullet _I}{\mkern 1mu} \varphi$ iff $k =0$ or $\mathbf{M}, k{-}1 \models \varphi$ or ${{\tau}}(k)-{{\tau}}(k{-}1) \not\in I$

14. $\mathbf{M}, k \models {{{{\blacklozenge}}_{I}}}\, \varphi$ iff $\mathbf{M}, i \models \varphi$ for some ${{i \in {{[0..k]}}}}$ with ${{\tau}}(k)-{{\tau}}(i) \in I$

15. $\mathbf{M}, k \models {{{{\blacksquare}}_{I}}}\, \varphi$ iff $\mathbf{M}, i \models \varphi$ for all ${{i \in {{[0..k]}}}}$ with ${{\tau}}(k)-{{\tau}}(i) \in I$

16. iff $k+1 = \lambda$

17. ${\bf{M}},k| = {\widehat{\rm{O}}_I}{\mkern 1mu} \varphi$ iff $k+1 = \lambda$ or $\mathbf{M}, k{+}1 \models \varphi$ or ${{\tau}}(k{+}1)-{{\tau}}(k) \not\in I$

18. $\mathbf{M}, k \models {{{{\Diamond}}_{I}}}\, \varphi$ iff $\mathbf{M}, i \models \varphi$ for some ${{i \in {{[k..\lambda)}}}}$ with ${{\tau}}(i)-{{\tau}}(k) \in I$

19. $\mathbf{M}, k \models {{{{\square}}_{I}}}\, \varphi$ iff $\mathbf{M}, i \models \varphi$ for all ${{i \in {{[k..\lambda)}}}}$ with ${{\tau}}(i)-{{\tau}}(k) \in I$

A formula $\varphi$ is a tautology (or is valid), written $\models \varphi$ , iff $\mathbf{M},k \models \varphi$ for any timed HT-trace $\mathbf{M}$ and any $k \in {{[0..\lambda)}}$ . ${\mathrm{MHT}}$ is the logic induced by the set of all such tautologies. For two formulas $\varphi, \psi$ we write $\varphi \equiv \psi$ , iff $\models \varphi \leftrightarrow \psi$ , that is, $\mathbf{M},k \models \varphi \leftrightarrow \psi$ for any timed HT-trace $\mathbf{M}$ of length $\lambda$ and any $k \in {{[0..\lambda)}}$ . A timed HT-trace $\mathbf{M}$ is an ${\mathrm{MHT}}$ model of a metric theory $\Gamma$ if $\mathbf{M},0 \models \varphi$ for all $\varphi \in \Gamma$ . The set of ${\mathrm{MHT}}$ models of $\Gamma$ having length $\lambda$ is denoted as ${\mathrm{MHT}}(\Gamma,\lambda)$ , whereas ${{\mathrm{MHT}}}(\Gamma) \stackrel{\mathit{def}}{=} \bigcup_{\lambda=0}^\omega {{\mathrm{MHT}}}(\Gamma,\lambda)$ is the set of all ${\mathrm{MHT}}$ models of $\Gamma$ of any length. We may obtain fragments of any metric logic by imposing restrictions on the timed traces used for defining tautologies and models. That is, ${{\mathrm{MHT}_{\!f}}}$ stands for the restriction of ${\mathrm{MHT}}$ to traces of any finite length $\lambda \in \mathbb{N}$ and ${{\mathrm{MHT}_{\!\omega}}}$ corresponds to the restriction to traces of infinite length $\lambda=\omega$ .

We say that a metric theory is temporal if all its modal operators are subindex-free. Temporal formulas share the same syntax as ${\mathrm{LTL}}$ , although the absence of an interval in ${\mathrm{MHT}}$ is understood as an abbreviation for the fixed interval ${{[0..\omega)}}$ . The following result shows that, for temporal theories, ${\mathrm{MHT}}$ satisfaction collapses into Temporal Here-and-There ( ${{\mathrm{THT}}}$ ) satisfaction (Aguado et al. Reference Aguado, Cabalar, Diéguez, Pérez, Schaub, Schuhmann and Vidal2023). Hence, we can use non-timed traces and ignore function ${{\tau}}$ in this case.

Proposition 2

Let $\Gamma$ be a temporal theory. Then $(\langle \mathbf{H}, \mathbf{T} \rangle, {{\tau}}) \models \Gamma$ in ${\mathrm{MHT}}$ iff $\langle \mathbf{H}, \mathbf{T} \rangle \models \Gamma$ in ${{\mathrm{THT}}}$ .

An interesting subset of ${\mathrm{MHT}}$ is the one formed by total timed traces like $(\langle \mathbf{T}, \mathbf{T} \rangle, {{\tau}})$ . In the non-metric version of temporal HT, the restriction to total models corresponds to ${\mathrm{LTL}}$ (Pnueli Reference Pnueli1977). In our case, the restriction to total traces defines a metric version of ${\mathrm{LTL}}$ , which we call Metric Temporal Logic (or ${{\mathrm{MTL}}}$ for short). We present next several properties about total traces and the relation between ${\mathrm{MHT}}$ and ${{\mathrm{MTL}}}$ .

Proposition 3 (Persistence)

Let $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}})$ be a timed HT-trace of length $\lambda$ over ${{\mathcal{A}}}$ and let $\varphi$ be a metric formula over ${{\mathcal{A}}}$ . Then, for any ${{k \in {{[0..\lambda)}}}}$ , if $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), k \models \varphi$ then $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), k \models \varphi$ .

Thanks to Proposition 3 and a decidability result in (Ouaknine and Worrell Reference Ouaknine and Worrell2007), we get:

Corollary 1 (Decidability of ${{\mathrm{MHT}_{\!f}}}$ )

The logic of ${{\mathrm{MHT}_{\!f}}}$ is decidable.

The next result shows that the satisfaction of negated formulas as classical ones also extends from HT to ${\mathrm{MHT}}$ :

Proposition 4

Let $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}})$ be a timed HT-trace of length $\lambda$ over ${{\mathcal{A}}}$ and let $\varphi$ be a metric formula over ${{\mathcal{A}}}$ . Then, $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), k \models \neg \varphi$ iff $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), k \not\models \varphi$ .

In the non-metric case, ${\mathrm{LTL}}$ models can be obtained from ${{\mathrm{THT}}}$ by adding a particular axiom schema, we call the temporal excluded middle axiom.

Definition 3 (Temporal Excluded Middle)

Given a set of propositional variables ${{\mathcal{A}}}$ , we define the theory ${{\mathrm{EM}({{\mathcal{A}}})}}$ as

\begin{align*} {{\mathrm{EM}({{\mathcal{A}}})}}& \stackrel{\mathit{def}}{=} \lbrace {{\square}}(p \vee \neg p) \mid p \in {{\mathcal{A}}} \rbrace.\end{align*}

This same axiom schema can also be used to reduce ${\mathrm{MHT}}$ to $ {{\mathrm{MTL}}}$ , assuming that, in our current context, operator ${{\square}}$ stands for ${{\square}}_{{{[0..\omega)}}}$ as detailed above.

Proposition 5

Let ${{\mathcal{A}}}$ be a set of atoms. For all ${\mathrm{MHT}}$ interpretation $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}})$ over ${{\mathcal{A}}}$ , we have that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), 0 \models {{\mathrm{EM}({{\mathcal{A}}})}}$ iff $\mathbf{H}=\mathbf{T}$ .

Corollary 2

Let $\Gamma$ be a metric theory over alphabet ${{\mathcal{A}}}$ . The ${{\mathrm{MTL}}}$ models of $\Gamma$ coincide with the ${\mathrm{MHT}}$ models of $\Gamma \cup {{\mathrm{EM}({{\mathcal{A}}})}}$ .

Interestingly, if an equivalence does not involve implication (or negation), we can just check it by only considering total models:

Proposition 6

Let $\varphi$ and $\psi$ be metric formulas without implication (and so, without negation either). Then, $\varphi \equiv \psi$ in ${{\mathrm{MTL}}}$ iff $\varphi \equiv \psi$ in ${\mathrm{MHT}}$ .

Many tautologies in ${\mathrm{MHT}}$ or its fragments have a dual version depending on the nature of the operators involved. This can be formally exploited to save proof effort. We define all pairs of dual connectives as follows: $\top/\bot$ , $\wedge/\vee$ ,

, ${{\rm{O}}_I}/{\widehat{\rm{O}}_I}$ , ${{{{\square}}_{I}}}/{{{{\Diamond}}_{I}}}$ , ${{{{\mathbin{\boldsymbol{\mathsf{S}}}}}_{I}}}/{{{{\mathbin{\boldsymbol{\mathsf{T}}}}}_{I}}}$ , ${ \bullet _I}/{\widehat \bullet _I}$ , ${{{{\blacksquare}}_{I}}}/{{{{\blacklozenge}}_{I}}}$ . For any formula $\varphi$ without implications, we define $\delta(\varphi)$ as the result of replacing each connective by its dual operator.

Then, we get the following corollary of Proposition 6.

Corollary 3 (Boolean Duality)

Let $\varphi$ and $\psi$ be metric formulas without implication. Then, we have in ${\mathrm{MHT}}$ that $\varphi\; {{\mathrel{\equiv}}}\; \psi$ iff $\delta(\varphi) \; {{\mathrel{\equiv}}}\; \delta(\psi)$ .

Let

, , ${{\rm{O}}_I}/{ \bullet _I}$ , ${\widehat{\rm{O}}_I}/{\widehat \bullet _I}$ , ${{{{\square}}_{I}}}/{{{{\blacksquare}}_{I}}}$ , and ${{{{\Diamond}}_{I}}}/{{{{\blacklozenge}}_{I}}}$ be all pairs of swapped-time connectives and $\sigma(\varphi)$ be the replacement in $\varphi$ of each connective by its swapped-time version. Then, we have the following result for finite traces.

Lemma 1

Let $\mathbf{M}$ be a finite timed HT-trace of length $\lambda \in \mathbb{N}$ . There exists a mapping $\varrho$ from $\mathbf{M}$ to another HT-trace $\varrho(\mathbf{M})$ of the same length such that for any ${{k \in {{[0..\lambda)}}}}$ , $\mathbf{M},k \models \varphi$ iff $\varrho(\mathbf{M}),\lambda\!-\!1\!-\!k \models \sigma(\varphi)$ .

Theorem 1 (Temporal Duality Theorem)

A metric formula $\varphi$ is a ${{\mathrm{MHT}_{\!f}}}$ -tautology iff $\sigma(\varphi)$ is a $ {{\mathrm{MHT}_{\!f}}}$ -tautology.

The next properties capture some distributivity laws for temporal operators with respect to conjunction and disjunction.

Proposition 7

For all metric formulas $\varphi$ , $\psi$ , and $\chi$ , the following equivalences hold in ${\mathrm{MHT}}$ :

We can also prove a kind of De Morgan duality between until and release, and analogously, between since and trigger:

Proposition 8

For all metric formulas $\varphi$ and $\psi$ , the following equivalences hold in ${\mathrm{MHT}}$ :

Another interesting result has to do with the effect of extending or stretching the interval in these operators.

Proposition 9

Let I and J be two intervals satisfying $I \subseteq J$ . For all metric formulas $\varphi$ and $\psi$ , the following expressions are valid in ${\mathrm{MHT}}$ :

We observe next the effect of the semantics of always and eventually on truth constants. If $m, n \in \mathbb{N}$ , then ${{{\square}}}_{{{[m..n)}}} \bot$ means that there is no state in interval ${{[m..n)}}$ and ${{{\Diamond}}}_{{{[m..n)}}} \top$ means that there is at least one state in this interval. The formula ${{{\square}}}_{{{[m..n)}}} \top$ is a tautology, whereas ${{{\Diamond}}}_{{{[m..n)}}} \bot$ is unsatisfiable. The same applies to past operators ${{{\blacklozenge}}}_{{{[m..n)}}}$ and ${{{\blacksquare}}}_{{{[m..n)}}}$ .

Strict traces

In the rest of this section, we consider a group of results that hold under the assumption of strict traces, namely, that ${{\tau}}(i) < {{\tau}}(i+1)$ for any pair of consecutive time points. We can enforce metric models to be traces with a strict timing function ${{\tau}}$ . This can be achieved with the simple addition of the axiom ${{\square}} \neg {{\rm{o}}_0} \top$ . In the following, we assume that this axiom is included and consider, in this way, strict timing.

The following equivalences state that interval ${{[0..0]}}$ makes all binary metric operators collapse into their right hand argument formula, whereas unary operators collapse to a truth constant. For metric formulas $\psi$ and $\varphi$ and for strict traces, we have

(4)
(5)
(6)

The last two lines are precisely an effect of dealing with strict traces. For instance, ${{\rm{O}}_0}{\mkern 1mu} \varphi \equiv \bot$ tells us that it is always impossible to have a successor state with the same time (the time difference is 0) as the current one, regardless of the formula $\varphi$ at hand.

The next lemma allows us to unfold metric operators for single-point time intervals ${{[n..n]}}$ with $n>0$ . Moreover, this lemma shows that for a single-point time interval ${{\rm{O}}_n}\varphi$ is definable.

Lemma 2

For metric formulas $\psi$ and $\varphi$ and for $n>0$ , we have

(7)
(8)
(9)
(10)
(11)
(12)

The same applies for the dual past operators.

Going one step further, we can also unfold until and release for intervals of the form ${{[0..n]}}$ with the application of the following result.

Lemma 3

For metric formulas $\psi$ and $\varphi$ and for $n > 0$ , we have:

(13)
(14)

The same applies for the dual past operators.

We can also prove that for any interval of the form ${{[m..n)}}$ , where $n\not=\omega$ , the metric versions of next and weak next (resp. previous and weak previous) can be defined in terms of the other metric connectives.

Proposition 10

For all $m , n \in \mathbb{N}$ , the following equivalences hold

(15) ${{\rm{O}}_{[m..n)}}\varphi \equiv \vee _{i = m}^{n - 1}{{\rm{O}}_i}\varphi ,$
(16) ${\widehat{\rm{O}}_{[m..n)}}\varphi \equiv \wedge _{i = m}^{n - 1}{\widehat{\rm{O}}_i}\varphi .$

The same applies for the dual past operators.

Finally, the next theorem contains a pair of equivalences that, when dealing with finite intervals, can be used to recursively unfold until and release into combinations of next with Boolean operators (an analogous result applies for since, trigger and previous due to temporal duality).

Theorem 2 (Next-unfolding)

For metric formulas $\psi$ and $\varphi$ and for $m, n \in \mathbb{N}$ such that $0 < m < n-1$ , we have:

(17)
(18)

The same applies for the dual past operators.

As an example, consider the metric formula .

Another useful result that can be applied to unfold metric operators is the following range splitting theorem.

Theorem 3 (Range splitting)

For metric formulas $\psi$ and $\varphi$ ,

(19)
(20)

The same applies for the dual past operators.

A metric formula $\varphi$ is said to be in unary normal form, if intervals only affect unary temporal operators, while binary operators , , ${{\mathbin{\boldsymbol{\mathsf{S}}}}}$ , ${{\mathbin{\boldsymbol{\mathsf{T}}}}}$ are only used in their temporal form, without any attached intervals. The following proposition, inspired by (D’Souza and Tabareau Reference D’Souza and Tabareau2004), allows us to translate any arbitrary metric formula into unary normal form.

Proposition 11

For metric formulas $\varphi$ and $\psi$ and for m and n such that $m > 0$ , the following equivalences hold in ${\mathrm{MHT}}$ :

Corollary 4

Any metric formula can be translated into unary normal form (assuming strict traces).

3 Metric equilibrium logic

As in traditional Equilibrium Logic (Pearce Reference Pearce1997), non-monotonicity is achieved in ${{\mathrm{MEL}}}$ by a selection among the ${\mathrm{MHT}}$ models of a theory. In what follows, we keep assuming the use of strict traces.

Definition 4 (Metric Equilibrium/Stable Model) Let $\mathfrak{S}$ be some set of timed HT-traces. A total timed HT-trace $(\langle \mathbf{T}, \mathbf{T} \rangle, \tau) \in\mathfrak{S}$ is a metric equilibrium model of $\mathfrak{S}$ iff there is no other $\mathbf{H}$ different from $\mathbf{T}$ such that $(\langle \mathbf{H}, \mathbf{T} \rangle, \tau) \in \mathfrak{S}$ .

We talk about metric equilibrium (or metric stable) models of a theory $\Gamma$ when $\mathfrak{S} = {\mathrm{MHT}}(\Gamma)$ , and we write ${{\mathrm{MEL}}}(\Gamma, \lambda)$ and ${{\mathrm{MEL}}}(\Gamma)$ to stand for the metric equilibrium models of ${{\mathrm{MHT}}}(\Gamma, \lambda)$ and ${{\mathrm{MHT}}}(\Gamma)$ , respectively. MEL is the non-monotonic logic induced by the metric equilibrium models of metric theories. As before, variants ${{{{{\mathrm{MEL}}}}_{\!f}}}$ and ${{{{{\mathrm{MEL}}}}_{\omega}}}$ refer to ${{\mathrm{MEL}}}$ when restricted to traces of finite and infinite length, respectively.

Observation 1

The set of metric equilibrium models of $\Gamma$ can be partitioned on the trace lengths, namely, $\bigcup_{\lambda=0}^{\omega} {{\mathrm{MEL}}}(\Gamma,\lambda) = {{\mathrm{MEL}}}(\Gamma)$ .

Back to our example, suppose we have the theory $\Gamma$ consisting of formulas (1)-(3), viz.

In the example, we abbreviate subsets of the set of atoms $\{\mathit{green},\mathit{push},\mathit{red}\}$ as strings formed by their initials: For instance, pr stands for $\{\mathit{push},\mathit{red}\}$ . For the sake of readability, we represent sequences $(T_0, T_1, T_2)$ as $T_0 \cdot T_1 \cdot T_2$ . Consider first the total models of $\Gamma$ : the first two rules force one of the two atoms $\mathit{green}$ or $\mathit{red}$ to hold at every state. Besides, we can choose adding $\mathit{push}$ or not, but if we do so, $\mathit{green}$ should hold later on according to (3). Now, for any total model $(\langle \mathbf{T},\mathbf{T} \rangle,\tau),0 \models \Gamma$ where $\mathit{green}$ or $\mathit{push}$ hold at some states, we can always form $\mathbf{H}$ in which we remove those atoms from all the states and it is not difficult to see that $(\langle \mathbf{H},\mathbf{T} \rangle,\tau),0 \models \Gamma$ , so $(\langle \mathbf{T},\mathbf{T} \rangle,\tau)$ is not in equilibrium. As a consequence, metric equilibrium models of $\Gamma$ have the form $(\langle \mathbf{T},\mathbf{T} \rangle,\tau)$ being $\mathbf{T}=\langle T_i \rangle _{i \in {{[0..\lambda)}}}$ with $T_i = \{\mathit{red}\}$ for all ${i \in {{[0..\lambda)}}}$ and any arbitrary strict timing function $\tau$ . To illustrate non-monotonicity, suppose now that we have $\Gamma ' = \Gamma \cup \{ {\rm{ }}{{\rm{O}}_5}\;push\}$ and, for simplicity, consider length $\lambda=3$ and traces of the form $T_0 \cdot T_1 \cdot T_2$ . Again, it is not hard to see that total models with $\mathit{green}$ or $\mathit{push}$ in state $T_0$ are not in equilibrium, leaving the only option $T_0=\{\mathit{red}\}$ . The same happens for $\mathit{green}$ at $T_1$ , so we get $T_1=\{\mathit{push},\mathit{red}\}$ as only candidate for equilibrium model. However, since $\mathit{push} \in T_1$ , the only possibility to satisfy the consequent of (3) is having $\mathit{green} \in T_2$ . Again, we can also see that adding $\mathit{push}$ at that state would not be in equilibrium so that the only trace in equilibrium is the total trace formed with $T_0=\{\mathit{red}\}$ , $T_1=\{\mathit{push},\mathit{red}\}$ and $T_2=\{\mathit{green}\}$ . As for the timing, $\tau(0)=0$ is fixed, and satisfaction of formula $({{\rm{O}}_5}\;push)$ fixes $\tau(1)=5$ . Then, from (3) we conclude that $\mathit{green}$ must hold at any moment starting at t between $5+1$ and $5+14$ and is kept true in all states between t and $t+30$ time units, but as $\lambda=2$ , this means just t. To sum up, we get 14 metric equilibrium models with $\tau(0)=0$ and $\tau(1)=5$ fixed, but varying $\tau(2)$ between 6 and 19.

We close this section by considering strong equivalence. Two metric theories $\Gamma_1$ and $\Gamma_2$ are strongly equivalent when ${{\mathrm{MEL}}}(\Gamma_1 \cup \Delta)={{\mathrm{MEL}}}(\Gamma_2 \cup \Delta)$ for any metric theory $\Delta$ . This means that we can safely replace $\Gamma_1$ by $\Gamma_2$ in any common context $\Delta$ and still get the same set of metric equilibrium models. The following result shows that checking strong equivalence for ${{\mathrm{MEL}}}$ collapses to regular equivalence in the monotonic logic of ${\mathrm{MHT}}$ .

Theorem 4

Let $\Gamma_1$ and $\Gamma_2$ be two metric temporal theories built over a finite alphabet ${{\mathcal{A}}}$ . Then, $\Gamma_1$ and $\Gamma_2$ are strongly equivalent iff $\Gamma_1$ and $\Gamma_2$ are ${\mathrm{MHT}}$ -equivalent.

4 Translation into monadic quantified here-and-there with difference constraints

In a similar spirit as the well-known translation of Kamp (Reference Kamp1968) from ${\mathrm{LTL}}$ to first-order logic, we consider a translation from ${\mathrm{MHT}}$ into a first-order version of HT, more precisely, a function-free fragment of the logic of Quantified Here-and-There with static domains ( ${{\mathit{QHT}^s}}$ in (Pearce and Valverde Reference Pearce and Valverde2008)). The word static means that the first-order domain D is fixed for both worlds, here and there. We refer to our fragment of ${{\mathit{QHT}^s}}$ as monadic QHT with difference constraints (or ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ for short). In this logic, the static domain is a subset $D \subseteq \mathbb{N}$ of the natural numbers containing at least the element $0 \in D$ . Intuitively, D corresponds to the set of relevant time points (i.e. those associated with states) considered in each model. Note that the first state is always associated with time $0 \in D$ .

The syntax of ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ is the same as for first-order logic with several restrictions: First, there are no functions other than the 0-ary function (or constant) ‘0’ always interpreted as the domain element 0 (when there is no ambiguity, we drop quotes around constant names). Second, all predicates are monadic except for a family of binary predicates of the form $\preccurlyeq_{\delta}$ with $\delta \in \mathbb{Z}\cup \lbrace\omega \rbrace$ where $\delta$ is understood as part of the predicate name. For simplicity, we write $x \preccurlyeq_{\delta} y$ instead of ${\preccurlyeq_{\delta}}(x,y)$ and $x \preccurlyeq_{\delta} y \preccurlyeq_{\delta'} z$ to stand for $x \preccurlyeq_{\delta} y \wedge y \preccurlyeq_{\delta'} z$ . Unlike monadic predicates, the interpretation of $x \preccurlyeq_{\delta} y$ is static (it does not vary in worlds here and there) and intuitively means that the difference $x-y$ in time points is smaller or equal than $\delta$ . A first-order formula $\varphi$ satisfying all these restrictions is called a first-order metric formula or FOM-formula for short. A formula is a sentence if it contains no free variables. For instance, we will see that the metric formula (3) can be equivalently translated into the FOM-sentence:

(21) \begin{align}\forall x \, (0 \preccurlyeq_{0} x \wedge \mathit{push}(x) \to\exists y\, (x \preccurlyeq_{-1} y \preccurlyeq_{14} x \wedge \forall z \, (y \preccurlyeq_{0} z \preccurlyeq_{30} y \to \mathit{green}(z) ) ) ), \end{align}

We sometimes handle partially grounded FOM sentences where some variables in predicate arguments have been directly replaced by elements from D. For instance, if we represent (21) as $\forall x \ \varphi(x)$ , the expression $\varphi(4)$ stands for:

\begin{align*}0 \preccurlyeq_{0} 4 \wedge \mathit{push}(4) \to\exists y\, (4 \preccurlyeq_{-1} y \preccurlyeq_{14} 4 \wedge \forall z \, (y \preccurlyeq_{0} z \preccurlyeq_{30} y \to \mathit{green}(z) ) ), \end{align*}

and corresponds to a partially grounded FOM-sentence where the domain element 4 is used as predicate argument in atoms $0 \preccurlyeq_{0} 4$ and $\mathit{push}(4)$ .

A ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -signature is simply a set of monadic predicates $\mathcal{P}$ . Given D as above, ${{\mathit{Atoms}(D,\mathcal{P})}}$ denotes the set of all ground atoms p(n) for every monadic predicate $p \in \mathcal{P}$ and every $n \in D$ . A ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -interpretation for signature $\mathcal{P}$ has the form $\langle D,H,T \rangle$ where $D \subseteq \mathbb{N}$ , $0 \in D$ , and $H \subseteq T \subseteq {{\mathit{Atoms}(D,\mathcal{P})}}$ .

Definition 5 ( ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -satisfaction; ( Reference Pearce and Valverde Pearce and Valverde 2008 ))

A ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -interpretation $\mathcal{M}=\langle D,H,T \rangle$ satisfies a (partially grounded) FOM-sentence $\varphi$ , written $\mathcal{M}\models \varphi$ , if the following conditions hold:

1. $\mathcal{M} \models \top$ and $\mathcal{M} \not \models \bot$

2. $\mathcal{M} \models p(t)$ iff $p(t) \in H$

3. $\mathcal{M} \models t_1 \preccurlyeq_{\delta} t_2$ iff $t_1-t_2 \le \delta$ with $t_1, t_2 \in D$

4. $\mathcal{M} \models \varphi \wedge \psi$ iff $\mathcal{M} \models\varphi$ and $\mathcal{M} \models\psi$

5. $\mathcal{M} \models \varphi \vee \psi$ iff $\mathcal{M} \models\varphi$ or $\mathcal{M} \models\psi$

6. $\mathcal{M} \models \varphi \rightarrow \psi$ iff $\langle D, X, T \rangle \not \models \varphi$ or $\langle D, X, T \rangle\models\psi$ for $X \in \{H,T\}$

7. $\mathcal{M} \models \forall\, x\ \varphi(x)$ iff $\mathcal{M} \models \varphi(t)$ for all $t \in D$

8. $\mathcal{M} \models \exists\, x\ \varphi(x)$ iff $\mathcal{M} \models \varphi(t)$ for some $t \in D$

We can read the expression $x \preccurlyeq_{\delta} y$ as just another way of writing the difference constraint $x-y \leq \delta$ . When $\delta$ is an integer, we may see it as a lower bound $x-\delta \leq y$ for y or as an upper bound $x \leq y+\delta$ for x. For $\delta=\omega$ , $x \preccurlyeq_{\omega} y$ is equivalent to $\top$ since it amounts to the comparison $x-y \leq \omega$ . An important observation is that this difference predicate $\preccurlyeq_{\delta}$ satisfies the excluded middle axiom, that is, the following formula is a ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -tautology:

$$\forall x \, \forall y\, (\ x \preccurlyeq_{\delta} y \vee \neg (x \preccurlyeq_{\delta} y) \ ),$$

for every $\delta \in \mathbb{Z} \cup \{\omega\}$ . We provide next several useful abbreviations:

$$\begin{array}{rcl@{\hspace{30pt}}rcl}x \prec_{\delta} y & \stackrel{\mathit{def}}{=} & \neg (y \preccurlyeq_{-\delta} x) \\[2pt]x \leq y & \stackrel{\mathit{def}}{=} & x \preccurlyeq_{0} y &x \neq y & \stackrel{\mathit{def}}{=} & \neg (x = y) \\[2pt]x = y &\stackrel{\mathit{def}}{=} & \left(x \leq y\right) \wedge \left(y \leq x\right) &x < y & \stackrel{\mathit{def}}{=} & (x \le y)\wedge (x \not = y). \\[2pt]\end{array}$$

For any pair $\odot$ , $\oplus$ of comparison symbols, we extend the abbreviation $x \odot y \oplus z$ to stand for the conjunction $x \odot y \wedge y \oplus z$ . Note that the above derived order relation $x \le y$ captures the one used in Kamp’s original translation (Kamp Reference Kamp1968) for ${\mathrm{LTL}}$ .

Equilibrium models for first-order theories are defined as in (Pearce and Valverde Reference Pearce and Valverde2008).

Definition 6 (Quantified Equilibrium Model; ( Reference Pearce and Valverde Pearce and Valverde 2008 ))

Let $\varphi$ be a first-order formula. A total ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ -interpretation $\langle D,T,T \rangle$ is a first-order equilibrium model of $\varphi$ if $\langle D,T,T \rangle \models \varphi$ and there is no $H \subset T$ satisfying $\langle D,H,T \rangle \models \varphi$ .

Before presenting our translation, we need to remark that we consider non-empty intervals of the form ${{[m..n)}}$ with $m < n$ .

Definition 7 (First-order encoding) Let $\varphi$ be a metric formula over ${{\mathcal{A}}}$ . We define the translation $[\varphi]_x$ of $\varphi$ for some time point $x\in\mathbb{N}$ as follows:

Each quantification introduces a new variable. For instance, consider the translation of (3) at point $x=0$ . Let us denote (3) as ${{\square}} ( \mathit{push} \to \alpha )$ where $\alpha$ is the formula ${ \Diamond _{[1..15)}}({\square_{ \le 30}}\;green)$ . Then, if we translate the outermost operator ${{\square}}$ , we get:

where we renamed the quantified variable for convenience. If we proceed further, with $\alpha$ as ${{{\Diamond}}}_{{{[1..15)}}}\beta$ and letting $\beta$ be $({\square_{ \le 30}}\;green)$ , we obtain:

Finally, the translation of $\beta$ at y amounts to:

so that, when joining all steps together, we get the formula (21) given above.

The following model correspondence between ${{\mathrm{MHT}_{\!f}}}$ and ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ interpretations can be established. Given a timed trace $(\langle \mathbf{H},\mathbf{T} \rangle, \tau)$ of length $\lambda > 0$ for signature ${{\mathcal{A}}}$ , we define the first-order signature $\mathcal{P} = \{ {{p}}/1 \mid {{p}} \in {{\mathcal{A}}} \}$ containing unary predicates and a corresponding ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ interpretation $\langle D,H,T \rangle$ where $D=\{\tau(i) \mid i \in {{[0..\lambda)}}\}$ , $H = \lbrace {{p}}(\tau(i)) \mid i \in {{[0..\lambda)}} \mathrm{ and } {{p}} \in H_i \rbrace$ and $T = \lbrace {{p}}(\tau(i)) \mid i \in {{[0..\lambda)}} \mathrm{ and } {{p}} \in T_i \rbrace$ . Under the assumption of strict semantics, the following model correspondence can be proved by structural induction.

Theorem 5

For all metric formulas $\varphi$ , and for all timed traces $(\langle \mathbf{H},\mathbf{T} \rangle, \tau)$ whose corresponding ${{\mathit{QHT}[\preccurlyeq_{\delta}]}}$ interpretation is denoted by $\langle D,H,T \rangle$ and for all $i \in {{[0..\lambda)}}$ .

(22) \begin{eqnarray}(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = \varphi {\rm{ iff}}\,\langle D,H,T\rangle | = {[\varphi ]_{\tau (i)}}.\end{eqnarray}

5 Related work

Seen from far, we have presented an extension of the logic of Here-and-There with qualitative and quantitative temporal constraints. More closely, our logics ${\mathrm{MHT}}$ and ${{\mathrm{MEL}}}$ can be seen as metric extensions of the linear-time logics ${{\mathrm{THT}}}$ and ${\mathrm{TEL}}$ obtained by constraining temporal operators by intervals over natural numbers. The current approach generalizes the previous metric extension of ${\mathrm{TEL}}$ from (Cabalar et al. Reference Cabalar, Diéguez, Schaub and Schuhmann2020) by uncoupling the ordinal position i of a state in the trace from its location in the time line $\tau(i)$ , which indicates now the elapsed time since the beginning of that trace. Thus, while ${{\Diamond}}_{{{[5..5]}}}\; {{p}}$ meant in (Cabalar et al. Reference Cabalar, Diéguez, Schaub and Schuhmann2020) that ${{p}}$ must hold exactly after 5 transitions, it means here that there must be some future state (after $n>0$ transitions) satisfying p and located 5 time units later. As a first approach, we have considered time points as natural numbers, $\tau(i) \in \mathbb{N}$ . Our choice of a discrete rather than continuous time domain is primarily motivated by our practical objective to implement the logic programming fragment of ${{\mathrm{MEL}}}$ on top of existing temporal ASP systems, like telingo, and thus to avoid undecidability.

The need for quantitative time constraints is well recognized and many metric extensions have been proposed. For instance, actions with durations are considered in (Son et al. Reference Son, Baral and Tuan2004) in an action language adapting a state-based approach. Interestingly, quantitative time constraints also gave rise to combining ASP with Constraint Solving (Baselice et al. Reference Baselice, Bonatti and Gelfond2005); this connection is now semantically reinforced by our translation advocating the enrichment of ASP with difference constraints. Even earlier, metric extensions of Logic Programming were proposed in (Brzoska Reference Brzoska1995). As well, metric extensions of Datalog are introduced in (Wa_lega et al. 2019) and applied to stream reasoning in (Wałlega et al. 2019). An ASP-based approach to stream reasoning is elaborated in abundance in (Beck et al. Reference Beck, Dao-Tran and Eiter2018). Streams can be seen as infinite traces. Hence, apart from certain dedicated concepts, like time windows, such approaches bear a close relation to metric reasoning. Detailing this relationship is an interesting topic of future research. More remotely, metric constructs were used in trace alignment (De Giacomo et al. Reference De Giacomo, Murano, Patrizi and Perelli2020), scheduling (Luo et al. Reference Luo, Valenzano, Li, Beck and McIlraith2016), and an extension to Golog (Hofmann and Lakemeyer Reference Hofmann, Lakemeyer, Steinbauer and Ferrein2019).

6 Conclusion

We have developed a metric extension of linear-time temporal equilibrium logic, in which temporal operators are constrained by intervals over natural numbers. The resulting MEL provides the foundation of an ASP-based approach for specifying qualitative and quantitative dynamic constraints. This expressiveness is useful whenever planning and scheduling go hand in hand, like for instance when actions have durations and their effects need to meet deadlines. To the best of our knowledge, our approach is the first that considers the concept of timed traces in the context of temporal ASP.

As future work, we aim to implement our approach by exploiting the provided translation of metric formulas into monadic first-order formulas. We expect that such a translation is tailored for an implementation in terms of ASP modulo difference constraints. A further line of research will be the investigation of the combination of metric concepts with more expressive logics than

$${\mathrm{TEL}}$$

. As a first approach in this direction, we recently proposed an extension of dynamic equilibrium logic to incorporate quantitative temporal constraints, leading to metric dynamic equilibrium logic (Becker et al. Reference Becker, Cabalar, Diéguez, Fariñas del Cerro, Schaub and Schuhmann2023).

Supplementary material

To view supplementary material for this article, please visit http://doi.org/10.1017/S1471068424000139.

Acknowledgments

This work was supported by MICINN, Spain, grant PID2020-116201GB-I00, Xunta de Galicia, Spain (GPC ED431B 2019/03), Région Pays de la Loire, France (étoiles montantes CTASP), DFG grants SCHA 550/15, Germany, and European Union COST action CA-17124.

Competing interests

The authors declare none.

Appendix A. Proofs

Proof of Lemma 2.

Equivalence (7): from left to right, let us assume that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = {{\rm{O}}_n}\varphi$ . Therefore, $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i+1 \models \varphi$ and ${{\tau}}(i+1) - {{\tau}}(i) = n$ . From this we conclude that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = { \Diamond _n}\varphi$ . Let us take any $j \ge i$ . If $i=j$ then ${{\tau}}(j)-{{\tau}}(i) = 0 \not \in [1..n)$ . If $i+1=j$ then ${{\tau}}(j)-{{\tau}}(i) = n \not \in [1..n)$ . If $\lambda > j > i+1$ ${{\tau}}(j)-{{\tau}}(i) = {{\tau}}(j)-({{\tau}}(i+1)-n) = {{\tau}}(j) - {{\tau}}(i+1) + n$ . Since we are dealing with strict traces, we get that ${{\tau}}(j)-{{\tau}}(i) > n \not \in [1..n)$ . Since j was taken arbitrarily, $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\square}}_{[1..n)}\bot$ .

Conversely, let us assume by contradiction that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = {_{[1..n)}} \bot \wedge {\rm{ }}{ \Diamond _n}\varphi$ but $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {{\rm{O}}_n}\varphi$ . Therefore, either ${{\tau}}(i+1) - {{\tau}}(i) < n$ or ${{\tau}}(i+1) - {{\tau}}(i) > n$ or $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i+1\not \models \varphi$ . In the first case we get that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i\not \models {{\square}}_{[1..n)}\bot$ : a contradiction. In the second case we can easily conclude that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne { \Diamond _n}\varphi$ : a contradiction. In third case, from ${{\tau}}(i+1) - {{\tau}}(i) = n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i+1 \not\models \varphi$ we conclude that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne { \Diamond _n}\varphi$ : a contradiction. Therefore, $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne { \circ _n}\varphi$ .

Equivalence (8): from left to right, if then there exists $j \in [i,\lambda)$ such that $\tau(j)-\tau(i) = n$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j\models \varphi$ and for all $i \le k < j$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k\models \psi$ . Since $n > 0$ , $\tau(j)-\tau(i) >0$ implies that $j \ge i+1 > i$ and, under strict semantics, $\tau(j) \ge \tau(i+1) > \tau(i)$ . If we denote by $m \stackrel{\mathit{def}}{=} \tau(i+1) - \tau(i)$ , we can conclude that $0 \le m < n$ and, moreover, $\tau(j) - \tau(i+1) = n-m$ . Therefore, . Since $\tau(i+1) - \tau(i) = m$ , it follows . Since m is bounded we conclude that

Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\models \psi$ we get

Conversely, if

then $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\models \psi$ and there exists $0 < m \le n$ such that . Therefore, $\tau(i+1) - \tau(i) = m$ and . Since , there exists $j\ge i+1$ such that $\tau(j) - \tau(i+1) = n-m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j\models \varphi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \psi$ for all $i+1 \le k < j$ . From $\tau(j) - \tau(i+1) = n-m$ and $\tau(i+1) - \tau(i) = m$ we get that $\tau(j)-\tau(i) = n$ . Also, since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\models \psi$ , it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \psi$ for all $i \le k < j$ leading to

Equivalence (10) from right to left, let us assume that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\widehat{\rm{O}}_n}\varphi$ . Therefore ${{\tau}}(i+1)-{{\tau}}(i) = n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i+1\not \models\varphi$ . Since we are considering strict traces, it follows that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\square_n}\varphi$ . Let us take $j \ge i$ :

  • If $j = i$ then ${{\tau}}(j)-{{\tau}}(i) = 0 \not \in [1..n)$ .

  • If $j = i+1$ then ${{\tau}}(j)-{{\tau}}(i) = n \not \in [1..n)$ .

  • If $j > i+1$ then ${{\tau}}(j)-{{\tau}}(i+1) > 0$ because of considering strict traces. Therefore, ${{\tau}}(j)-{{\tau}}(i)-n > 0$ so ${{\tau}}(j)-{{\tau}}(i) \not \in [1..n)$ .

As a consequence, $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \not \models {{\Diamond}}_{[1..n)}\top$ : a contradiction.

From left to right, let us assume toward a contradiction that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i\not \models {{\Diamond}}_{[1..n)}\top$ and $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\square_n}\varphi$ . Therefore, it follows that:

  1. 1. for all $j\ge i$ , ${{\tau}}(j)-{{\tau}}(i) \not \in [1..n)$ and

  2. 2. there exists $k \ge i$ such that ${{\tau}}(k)-{{\tau}}(i) = n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \not \models \varphi$ .

We claim that $k = i+1$ . Otherwise, if $k = i$ then ${{\tau}}(k)- {{\tau}}(i) = 0 \not = n$ (a contradiction) and, if $k > i+1$ , we have that ${{\tau}}(i+1)-{{\tau}}(i) > 0$ and ${{\tau}}(j) -{{\tau}}(i+1) > 0$ (so ${{\tau}}(i+1) -{{\tau}}(i) < n$ ): also a contradiction.

Finally, from $k=i+1$ and ${{\tau}}(i+1) -{{\tau}}(i) = n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i+1 \not \models \varphi$ we conclude that $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\widehat{\rm{O}}_n}\varphi$ : a contradiction.

Equivalence (9): from right to left assume toward a contradiction that then there exists $j \in [i,\lambda)$ such that $\tau(j)-\tau(i) = n$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j\not \models \varphi$ and for all $i \le k < j$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \not \models \psi$ . Since $n > 0$ , $n=\tau(j)-\tau(i) >0$ implies that $j \ge i+1 > i$ and, under strict semantics, $\tau(j) \ge \tau(i+1) > \tau(i)$ . If we denote by $m \stackrel{\mathit{def}}{=} \tau(i+1) - \tau(i)$ , we can conclude that $0 < m \le n$ . Furthermore, it follows that $\tau(j) - \tau(i+1) = n-m$ . Therefore, . Since $\tau(i+1) - \tau(i) = m$ , it follows . Since m is bounded we conclude that

Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\not \models \psi$ we reach the contradiction

Conversely, assume toward a contradiction that

then $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\not\models \psi$ and there exists $0 < m \le n$ such that . Therefore, $\tau(i+1) - \tau(i) = m$ and . Since , there exists $j\ge i+1$ such that $\tau(j) - \tau(i+1) = n-m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j\not \models \varphi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \not \models \psi$ for all $i+1 \le k < j$ . From $\tau(j) - \tau(i+1) = n-m$ and $\tau(i+1) - \tau(i) = m$ we get that $\tau(j)-\tau(i) = n$ . Also, since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i\not \models \psi$ , it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \not \models \psi$ for all $i \le k < j$ leading to : a contradiction.

Equivalences (11)-(12): by definition, and . Therefore the proof follows directly from equivalences (8) and (9).

Proof of Lemma 3. Equivalence (13): from left to right, assume , then there is $i \geq k$ with $\tau(i)-\tau(k) \leq n$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i \models \varphi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j \models \psi$ for all $k \leq j < i$ . Lets further assume toward a contradiction that This implies that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \not \models \varphi$ and . For the latter to hold either $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \not \models \psi$ or . Lets consider $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \not \models \psi$ first. To be consistent with the original assumption $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \models \varphi$ is needed. Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \not \models \varphi$ was already derived, this leads to a contradiction. Considering leads to . This implies that there is no $ i > k$ with $ \tau(i)-\tau(k) \leq n$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),i \models \varphi$ . Together with $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \not \models \varphi$ this implies that there is no occurence of $\varphi$ in the interval which is contradictory to the original assumption.

From right to left, assume , then $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \models \varphi$ or . If $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \models \varphi$ then obviously . From the second disjunct we get that for some $1 \leq i \leq n$ . Then there is a next state that satisfies s.t. $\varphi$ holds somewhere within the next interval and, due to $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),k \models \psi$ , $\psi$ holds until then. This implies .

Equivalence (14) follows directly from Equivalence (13), Corollary 3 (Boolean Duality) and uniform substitution.

Proof of Theorem 2. Equivalence (17): from left to right, if with the restriction $m>0$ and $m< n -1$ , then by Definition 2(10) $\mathbf{M},i \models \varphi$ for some $i \in {{(k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in I$ and $\mathbf{M},j \models \varphi $ for all ${{j \in {{[k..i)}}}}$ . Since $i>k$ and $\psi$ has to hold since k, it follows that $\mathbf{M},k \models \psi$ and therefore we get: $\mathbf{M},k \models \psi$ and $\mathbf{M},i \models \varphi$ for some $i \in {{(k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in I$ and $\mathbf{M},j \models \varphi $ for all $j \in {{(k..i)}}$ . Notice that $j \in {{(k..i)}}$ since k was seperated by $\mathbf{M},k \models \psi$ . Now, considering the two options for the distance of the next state: $\tau(k+1) - \tau(k) \leq m$ or $\tau(k+1) - \tau(k) \in {{(m..n)}}$ , we get: $\mathbf{M},k \models \psi$ and if $p \leq m$ or if $p \in {{(m..n)}}$ , where $ p=\tau(k+1) - \tau(k)$ . The case $p \leq m$ with can be expressed by:

Similarly the case $p=\tau(k+1) - \tau(k)$ can be represented by

Taking into account those two options and the already performed conclusion

$\mathbf{M},k \models \psi$ , we arrive at:

Conversely, if

then it follows that $\mathbf{M},k \models \psi$ and for some $i \in {{[1..m]}}$ or $\mathbf{M},k \models \psi$ and for some $i \in {{(1..m)}}$ since each of the both disjunctions would be satisfied in case of one matching next-formula with the respective i. From this, together with the assumption $m>0$ and $m<n-1$ we can conclude that $\mathbf{M},k \models \psi$ and $\mathbf{M},i \models \varphi$ for some $i \in {{(k..\lambda)}}$ with $\tau(i)-\tau(k) \in {{[m..n)}}$ and $\mathbf{M},j \models \psi$ for all $j \in {{(k..i)}}$ . Finally, by applying Definition 2(10) we arrive at:

Equivalence (18): from left to right, if , then by Definition 2(11) for all $i \in {{[k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in {{[m..n)}}$ we have $\mathbf{M},i \models \varphi$ or $\mathbf{M},j \models \psi$ for some $j \in {{[k..i)}}$ . Let’s consider the easy case first, where $\mathbf{M},k \models \psi$ . In this case it is obvious to see that . If $\mathbf{M},k \not \models \psi$ there has to be a later releasing $\psi$ for all occurrences of $\neg \psi \in {{[m..n)}}$ . In this case the next state, if there is one before the end of the interval, satisfies a Release formula that considers the time elapsed since k. If the linked time point of the next state is $\in {{(k..m]}}$ , this state satisfies . If the linked time point of the next state is $\in {{(m..n)}}$ , the next state would satisfy . Considering the possibility of both cases we can conclude that .

Conversely, assume . Again, if $\mathbf{M},k \models \psi$ it follows directly that .

If , we can also follow that , since both the satisfaction of in a next state $\in {{(k..m]}}$ and the satisfaction of in a next state $\in {{(m..n)}}$ would guarantee it. Taking all possible cases together, we finally arrive at .

Proof of Theorem 3. Equivalence (19): If , it follows by applying Definition 2(10) that $\mathbf{M},i \models \varphi$ for some $i \in {{[k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in {{[m..n)}}$ and $\mathbf{M},j \models \psi $ for all ${{j \in {{[k..i)}}}}$ . From ${{\tau}}(i)-{{\tau}}(k) \in {{[m..n)}}$ we get ${{\tau}}(i)-{{\tau}}(k) \in {{[m..s)}}$ or ${{\tau}}(i)-{{\tau}}(k) \in {{[s..n)}}$ for all $s \in {{[m..n)}}$ . This implies that $\mathbf{M},i \models \varphi$ for some $i \in {{[k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in {{[m..s)}}$ and $\mathbf{M},j \models \psi $ for all ${{j \in {{[k..i)}}}}$ or $\mathbf{M},i \models \varphi$ for some $i \in {{[k..\lambda)}}$ with ${{\tau}}(i)-{{\tau}}(k) \in {{[s..n)}}$ and $\mathbf{M},j \models \psi $ for all ${{j \in {{[k..i)}}}}$ , for all $s \in {{[m..n)}}$ . Applying again Definition 2(10) and Definition 2(4) it follows that for all ${{i \in {{[m..n)}}}}$ . As every step of the proof works in the converse direction as well, both directions are provided.

For the case of Equivalence 20 the same reasoning applies.

Proof of Proposition 11. We assume that we are dealing with strict traces. We consider first the equivalence .

From left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{[m..n)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . From ${{\tau(j)-\tau(i) \in {{[m..n)}}}}$ , $j\ge i$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[m..n)}}} \psi$ . Moreover, since $m \not = 0$ , $\tau(j) - \tau(i) \not= 0$ so $j \not = i$ , which implies that $j > i$ . As a consequence $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $i \le t < j-1$ .

Take any arbitrary $y \ge i$ . If $y \ge j$ then $\tau(y) - \tau(i) \ge m$ because $\tau(y) \ge \tau(j)$ and $\tau(j)-\tau(i) \ge m$ . Therefore, $\tau(y) - \tau(i) \not \in {{[0..m)}}$ . If $y < j$ then . Since y was arbitrary chosen, it follows that .

For the converse direction, from it follows that there exists $j > i$ such that $\tau(j)-\tau(i) \ge m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all $k\in {{[i..j)}}$ . Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[m..n)}}} \psi$ there exists $j'> i$ such that $\tau(j') - \tau(i) \ge m$ , $\tau(j') - \tau(i) < n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j' \models \psi$ .

If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j') \ge \tau(j)$ . Since $\tau(j') - \tau(i) < n $ and $\tau(j') > \tau(j)$ $\tau(j)-\tau(i) < n$ so $\tau(j) - \tau(i) \in {{[m..n)}}$ , which leads to .

For the second equivalence , from left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{[m..n]}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . From ${{\tau(j)-\tau(i) \in {{[m..n]}}}}$ , $j\ge i$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[m..n]}}} \psi$ . Moreover, since $m \not = 0$ , $\tau(j) - \tau(i) \not= 0$ so $j \not = i$ , which implies that $j > i$ . As a consequence $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $i \le t < j-1$ .

Take any arbitrary $y \ge i$ . If $y \ge j$ then $\tau(y) - \tau(i) \ge m$ because $\tau(y) \ge \tau(j)$ and $\tau(j)-\tau(i) \ge m$ . Therefore, $\tau(y) - \tau(i) \not \in {{[0..m)}}$ . If $y < j$ then . Since y was arbitrary chosen, it follows that .

For the converse direction, from it follows that there exists $j > i$ such that $\tau(j)-\tau(i) \ge m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all $k\in {{[i..j)}}$ . Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[m..n]}}} \psi$ there exists $j'> i$ such that $\tau(j') - \tau(i) \ge m$ , $\tau(j') - \tau(i) \leq n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j' \models \psi$ .

If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j') \ge \tau(j)$ . Since $\tau(j') - \tau(i) \leq n $ and $\tau(j') > \tau(j)$ , $\tau(j)-\tau(i) \leq n$ so $\tau(j) - \tau(i) \in {{[m..n]}}$ , which leads to .

For the third equivalence , from left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{(m..n)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . From ${{\tau(j)-\tau(i) \in {{(m..n)}}}}$ , $j\ge i$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(m..n)}}} \psi$ . Moreover, since $m \not = 0$ , $\tau(j) - \tau(i) \not= 0$ so $j \not = i$ , which implies that $j > i$ . As a consequence $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $i \le t < j-1$ .

Take any arbitrary $y \ge i$ . If $y \ge j$ then $\tau(y) - \tau(i) > m$ because $\tau(y) \ge \tau(j)$ and $\tau(j)-\tau(i) > m$ . Therefore, $\tau(y) - \tau(i) \not \in {{[0..m]}}$ . If $y < j$ then . Since y was arbitrary chosen, it follows that .

For the converse direction, from it follows that there exists $j > i$ such that $\tau(j)-\tau(i) > m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all $k\in {{[i..j)}}$ . Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(m..n)}}} \psi$ there exists $j'> i$ such that $\tau(j') - \tau(i) > m$ , $\tau(j') - \tau(i) < n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j' \models \psi$ .

If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j') \ge \tau(j)$ . Since $\tau(j') - \tau(i) < n $ and $\tau(j') > \tau(j)$ , $\tau(j)-\tau(i) < n$ , so $\tau(j) - \tau(i) \in {{(m..n)}}$ , which leads to .

For the fourth equivalence , from left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{(m..n]}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . From ${{\tau(j)-\tau(i) \in {{(m..n]}}}}$ , $j\ge i$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ it follows that $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(m..n]}}} \psi$ . Moreover, since $m \not = 0$ , $\tau(j) - \tau(i) \not= 0$ so $j \not = i$ , which implies that $j > i$ . As a consequence $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $i \le t < j-1$ .

Take any arbitrary $y \ge i$ . If $y \ge j$ then $\tau(y) - \tau(i) > m$ because $\tau(y) \ge \tau(j)$ and $\tau(j)-\tau(i) > m$ . Therefore, $\tau(y) - \tau(i) \not \in {{[0..m]}}$ . If $y < j$ then . Since y was arbitrary chosen, it follows that .

For the converse direction, from it follows that there exists $j > i$ such that $\tau(j)-\tau(i) > m$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all $k\in {{[i..j)}}$ . Since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(m..n]}}} \psi$ there exists $j'> i$ such that $\tau(j') - \tau(i) > m$ , $\tau(j') - \tau(i) \leq n$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j' \models \psi$ .

If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j') \ge \tau(j)$ . Since $\tau(j') - \tau(i) \leq n $ and $\tau(j') > \tau(j)$ , $\tau(j)-\tau(i) \leq n$ , so $\tau(j) - \tau(i) \in {{(m..n]}}$ , which leads to .

For the fifth equivalence , from left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{[0..n)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . This already implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[0..n)}}}\,\psi$ . Furthermore, since ${{[0..n)}} \subseteq {{[0..\omega)}}$ , we can also derive from . Putting both implications together we get .

For the converse direction, from , we can derive and therefore there exists $j \ge i$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and ${{\tau(j)-\tau(i) \in {{[0..\omega)}}}}$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all ${{k \in {{[i..j)}}}}$ . $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[0..n)}}} \psi$ implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j' \models \psi$ for some $j' \ge i$ with ${{\tau(j')-\tau(i) \in {{[0..n)}}}}$ . Now there are two cases to consider. If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j) - \tau(i) \in {{[0..n)}}$ and therefore .

For the sixth equivalence , from left to right, if then there exists $j \ge i$ such that ${{\tau(j)-\tau(i) \in {{[0..n]}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . This already implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[0..n]}}}\,\psi$ . Furthermore, since ${{[0..n]}} \subseteq {{[0..\omega)}}$ , we can also derive from . Putting both implications together we get .

For the converse direction, from , we can derive and therefore there exists $j \ge i$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and ${{\tau(j)-\tau(i) \in {{[0..\omega)}}}}$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all ${{k \in {{[i..j)}}}}$ . $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{[0..n]}}} \psi$ implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j' \models \psi$ for some $j' \ge i$ with ${{\tau(j')-\tau(i) \in {{[0..n]}}}}$ . Now there are two cases to consider. If $j' < j$ we can easily conclude that . If $j' \ge j$ then $\tau(j) - \tau(i) \in {{[0..n]}}$ and therefore .

For the seventh equivalence , from left to right, if then there exists $j > i$ such that ${{\tau(j)-\tau(i) \in {{(0..n)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . This already implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(0..n)}}}\,\psi$ . Furthermore, since $j > i$ , we know

$(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $ i \leq t < i-1$ and therefore .

For the converse direction, implies that there is $j >i$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j \models \psi$ and $ (\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all ${{k \in {{[i..j)}}}}$ which implies . Furthermore, since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(0..n)}}}\,\psi$ there exists $j' > j$ s.t. $\tau(j')- \tau(j) \in {{(0..n)}}$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j' \models \psi$ . This together with implies by following similar reasoning as in the previous cases.

For the eighth equivalence , from left to right, if then there exists $j > i$ such that ${{\tau(j)-\tau(i) \in {{(0..n]}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j \models \psi$ and for all ${{k \in {{[i..j)}}}}$ , $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ . This already implies $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(0..n]}}}\,\psi$ . Furthermore, since $j > i$ , we know

$(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),j - 1| = \varphi \wedge {\rm{O}}\psi$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), t \models \varphi$ for all $ i \leq t < i-1$ and therefore .

For the converse direction, implies that there is $j >i$ s.t. $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}),j \models \psi$ and $ (\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), k \models \varphi$ for all ${{k \in {{[i..j)}}}}$ which implies . Furthermore, since $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), i \models {{\Diamond}}_{{{(0..n]}}}\,\psi$ there exists $j' > j$ s.t. $\tau(j')- \tau(j) \in {{(0..n]}}$ and $(\langle \mathbf{H},\mathbf{T} \rangle,{{\tau}}), j' \models \psi$ . This together with implies by following similar reasoning as in the previous cases.

The case for Release can be proven by applying Corollary 3 (Boolean Duality) and uniform substitution to the respective Until cases. The cases for Since and Trigger follow from applying Theorem 1 (Temporal Duality) to the Until and Release cases respectively.

Proof of Theorem 4. From right to left, if $\Gamma_1$ and $\Gamma_2$ are ${\mathrm{MHT}}$ -equivalent then $\Gamma_1$ and $\Gamma_2$ have the same ${\mathrm{MHT}}$ models. As a consequence, $\Gamma_1\cup \Gamma$ and $\Gamma_2 \cup \Gamma$ have the same ${\mathrm{MHT}}$ models. Therefore, $\Gamma_1\cup \Gamma$ and $\Gamma_2 \cup \Gamma$ have the same ${{\mathrm{MEL}}}$ models. Since $\Gamma$ is any arbitrary temporal theory, $\Gamma_1$ and $\Gamma_2$ are strongly equivalent.

For the converse direction let us assume that $\Gamma_1$ and $\Gamma_2$ are strongly equivalent, but they are not ${\mathrm{MHT}}$ -equivalent. We consider two cases:

  1. 1. $\Gamma_1$ and $\Gamma_2$ are not ${{\mathrm{MTL}}}$ equivalent. Assume, without loss of generality, that there exists a total ${\mathrm{MHT}}$ model $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ such that $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_1$ but $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), 0 \not \models \Gamma_2$ . Since $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ is total, it follows that $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma_1 \cup {{\mathrm{EM}({{\mathcal{A}}})}}$ and $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), 0\not \models \Gamma_2 \cup {{\mathrm{EM}({{\mathcal{A}}})}}$ . Moreover, $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ is an equilibrium model of $\Gamma_1 \cup {{\mathrm{EM}({{\mathcal{A}}})}}$ (since for any $\mathbf{H} < \mathbf{T}$ , $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), 0 \not \models{{\mathrm{EM}({{\mathcal{A}}})}}$ ) but not of $\Gamma_2 \cup {{\mathrm{EM}({{\mathcal{A}}})}}$ .

  2. 2. $\Gamma_1$ and $\Gamma_2$ are ${{\mathrm{MTL}}}$ equivalent. Therefore, without loss of generality, there exists a ${\mathrm{MHT}}$ interpretation $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}})$ with $\mathbf{H} < \mathbf{T}$ such that

    1. (a) $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_1$ iff $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_2$ because $\Gamma_1$ and $\Gamma_2$ are ${{\mathrm{MTL}}}$ equivalent.

    2. (b) $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_1$ and $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \not \models \Gamma_2$ because $\Gamma_1$ and $\Gamma_2$ are not ${\mathrm{MHT}}$ -equivalent.

Since $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \not \models \Gamma_2$ , there exists $\varphi \in \Gamma_2$ such that $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \not \models \varphi$ . Moreover, since $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_1$ then $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_1$ so $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_2$ and so $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \varphi$ .

Let us consider the theory $\Gamma \stackrel{\mathit{def}}{=} \lbrace \varphi \to \psi \mid \psi \in {{\mathrm{EM}({{\mathcal{A}}})}}\rbrace$ . Since $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), 0 \not \models \varphi$ and $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models {{\mathrm{EM}({{\mathcal{A}}})}}$ then $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma$ . Therefore, $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma_1 \cup \Gamma$ so $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ is not an equilibrium model of $\Gamma_1 \cup \Gamma$ . Since $\Gamma_1$ and $\Gamma_2$ are strongly equivalent, $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ cannot be an equilibrium model of $\Gamma_2 \cup \Gamma$ . Since $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}),0 \models \Gamma_2$ and $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma$ then the minimality condition must fail. This means that there must exist $\mathbf{H}' < \mathbf{T}$ such that $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma_2 \cup \Gamma$ . Since $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma_2$ then $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models \varphi$ . Since $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models \varphi$ and $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models \Gamma$ then $(\langle \mathbf{H}' ,\mathbf{T} \rangle, {{\tau}}), 0 \models {{\mathrm{EM}({{\mathcal{A}}})}}$ , which contradicts Proposition 5.

Proof of Theorem 5. The proof goes by structural induction.

Base case

let us consider first the case of a propositional variable p. From left to right, if $(\langle \mathbf{H},\mathbf{T} \rangle, \tau), i \models \varphi$ then $p \in H_i$ . By definition, $\tau(i) \in D$ and $p(\tau(i)) \in H$ . Therefore, $\langle (D,\sigma),H,T \rangle \models [p]_{\tau_{i}}$ .

Inductive case: propositional connectives

  • Case $\varphi \wedge \psi$ :

    \begin{eqnarray*} (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \varphi \wedge \psi &\mathrm{iff}& (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \varphi \mathrm{ and } (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \psi \\ & \stackrel{IH}{\mathrm{iff}}& \langle (D,\sigma),H,T \rangle \models [\varphi]_{\tau_{i}} \mathrm{ and }\langle (D,\sigma),H,T \rangle \models [\psi]_{\tau_{i}} \\ &\mathrm{ iff }& \langle (D,\sigma),H,T \rangle \models [\varphi\wedge \psi]_{\tau_{i}}. \end{eqnarray*}
  • Case $\varphi \vee \psi$ :

    \begin{eqnarray*} (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \varphi \vee \psi &\mathrm{iff}& (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \varphi \mathrm{ or } (\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \psi \\ & \stackrel{IH}{\mathrm{iff}}& \langle (D,\sigma),H,T \rangle \models [\varphi]_{\tau_{i}} \mathrm{ or }\langle (D,\sigma),H,T \rangle \models [\psi]_{\tau_{i}} \\ &\mathrm{ iff }& \langle (D,\sigma),H,T \rangle \models [\varphi\vee \psi]_{\tau_{i}}. \end{eqnarray*}
  • Case $\varphi \rightarrow \psi$ : In the first case, $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i \models \varphi \to \psi$ iff for all $\otimes \in \lbrace \mathbf{H},\mathbf{T} \rbrace$ , either $\langle \otimes,\mathbf{T},\tau \rangle,i \not \models \varphi$ or $\langle \otimes,\mathbf{T},\tau \rangle,i \models \psi$ . Since both $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}})$ and $(\langle \mathbf{T},\mathbf{T} \rangle, {{\tau}})$ are models, we can apply the induction hypothesis (22) on both so we get iff for all $\oplus\in \lbrace H,T\rbrace$ , either $\langle (D,\sigma),\oplus,T \rangle \not \models [\varphi]_{\tau_{i}}$ or $\langle (D,\sigma),\oplus,T \rangle \models [\psi]_{\tau_{i}}$ . Therefore, $\langle (D,\sigma),H,T \rangle \models [\varphi\to \psi]_{\tau_{i}}$ .

Inductive case: metric temporal operators

For simplicity we will consider intervals of the form [m,n) where $n \not = \omega$ .

  • Case ${{\rm{O}}_{[m..n)}}\varphi$ : if $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = {{\rm{O}}_{[m..n)}}\varphi$ then there exists $i+1 < \lambda$ such that $m \le \tau(i+1)-\tau(i) < n$ and $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i+1 \models \varphi$ . By the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \models [\varphi]_{\tau_{i+1}}$ From $m \le \tau(i+1)-\tau(i) < n$ we conclude that $\tau(i) \preccurlyeq_{-m} \tau(i+1) \prec_{n} \tau(i)$ . Since we are dealing with strict traces, $\tau(i) < \tau(i+1)$ and, moreover, there is no other $\tau(j)$ in between. Therefore, for all $d \in D$ , not $\tau(i) < d < \tau(i+1)$ , so $\langle (D,\sigma),H,T \rangle \models \neg \exists z\; \tau(i) < z < \tau(i+1)$ ; Since $\tau(i+1)\in D$ , we conclude that there exists $d \in D$ such that

    \begin{equation*} \langle (D,\sigma),H,T \rangle \models \tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i) \wedge [\varphi]_{d}. \end{equation*}
    Therefore,
    \begin{equation*} \langle (D,\sigma),H,T \rangle \models \exists y\; \left( \tau(i) < y \wedge \left( \neg \exists z\; \tau(i) < z < y\right) \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i) \wedge [\varphi]_{y} \right). \end{equation*}
    From this we conclude $\langle (D,\sigma ),H,T\rangle | = {[{{\rm{O}}_{[m..n)}}\varphi ]_{\tau (i)}}$ . Conversely, if $\langle (D,\sigma ),H,T\rangle | = {[{{\rm{O}}_{[m..n)}}\varphi ]_{\tau (i)}}$ then, by definition,
    \begin{equation*} \langle (D,\sigma),H,T \rangle \models \exists y\; \left( \tau(i) < y \wedge \left( \neg \exists z\; \tau(i) < z < y\right) \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i) \wedge [\varphi]_{y} \right), \end{equation*}
    Therefore, there exists $d \in D$ such that
    \begin{equation*} \langle (D,\sigma),H,T \rangle \models \tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i) \wedge [\varphi]_{d}. \end{equation*}
    From $\langle (D,\sigma),H,T \rangle \models \tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right)$ and the construction of $\langle (D,\sigma),H,T \rangle$ we conclude that $d = \tau(i)$ . Since $\langle (D,\sigma),H,T \rangle \models \tau(i) \preccurlyeq_{-m} \tau(i+1) \prec_{n} \tau(i)$ , we conclude that $m \le \tau(i+1) - \tau(i) < n$ . By the induction hypothesis (22), $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),i+1 \models \varphi$ . Therefore, $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| = {{\rm{O}}_{[m..n)}}\varphi$ .
  • Case ${\widehat{\rm{O}}_{[m..n)}}\varphi$ : in the first case, if $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\widehat{\rm{O}}_{[m..n)}}$ then $i+1 < \lambda$ such that $m \le \tau(i+1)-\tau(i) < n$ and $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), i+1 \not\models \varphi$ . By the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \not \models [\varphi]_{\tau_{i+1}}$ From $m \le \tau(i+1)-\tau(i) < n$ we conclude that $\tau(i) \preccurlyeq_{-m} \tau(i+1) \prec_{n} \tau(i)$ . Since we are dealing with strict traces, $\tau(i) < \tau(i+1)$ and, moreover, there is no other $\tau(j)$ in between. Therefore, for all $d \in D$ , not $\tau(i) < d < \tau(i+1)$ , so $\langle (D,\sigma),H,T \rangle \models \neg \exists z\; \tau(i) < z < \tau(i+1)$ ; Since $\tau(i+1)\in D$ , we conclude that there exists $d \in D$ such that

    \begin{equation*} \langle (D,\sigma),H,T \rangle \not \models \left(\tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i)\right) \to [\varphi]_{d}. \end{equation*}
    Therefore,
    \begin{equation*} \langle (D,\sigma),H,T \rangle \not \models \forall y\; \left( \left(\tau(i) < y \wedge \left( \neg \exists z\; \tau(i) < z < y\right) \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i)\right) \to [\varphi]_{y} \right). \end{equation*}
    From this we conclude $\langle (D,\sigma ),H,T\rangle | \ne {\widehat{\rm{O}}_{[m..n)}}\varphi {]_{\tau (i)}}$ .

Conversely, if $\langle (D,\sigma ),H,T\rangle | \ne {\widehat{\rm{O}}_{[m..n)}}\varphi {]_{\tau (i)}}$ then, by definition,

\begin{equation*} \langle (D,\sigma),H,T \rangle \not \models \forall y\; \left( \left(\tau(i) < y \wedge \left( \neg \exists z\; \tau(i) < z < y\right) \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i)\right) \to [\varphi]_{y} \right), \end{equation*}

Therefore, there exists $d \in D$ such that

\begin{equation*} \langle (D,\sigma),H,T \rangle \not \models \left(\tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i)\right) \to [\varphi]_{d}. \end{equation*}

We consider two cases:

  1. 1. $\langle (D,\sigma),H,T \rangle \models \left(\tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i)\right)$ and $\langle (D,\sigma),H,T \rangle \not \models [\varphi]_{d}$ ;

  2. 2. $\langle (D,\sigma),T,T \rangle \models \left(\tau(i) < d \wedge \left( \neg \exists z\; \tau(i) < z < d\right) \wedge \tau(i) \preccurlyeq_{-m} d \prec_{n} \tau(i)\right)$ and $\langle (D,\sigma),T,T \rangle \not \models [\varphi]_{d}$ ;

In any of the previous cases, we conclude that $d=\tau(i+1)$ , $m \le \tau(i+1) - \tau(i) < n$ and $\langle (D,\sigma),H,T \rangle \not \models [\varphi]_{\tau(i)}$ .

By the induction hypothesis (22), $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),i+1 \not \models \varphi$ . Therefore, $(\langle {\bf{H}},{\bf{T}}\rangle ,\tau ),i| \ne {\widehat{\rm{O}}_{[m..n)}}\varphi$ .

  • Case : for the first item, if then there exists $j \ge i$ such that $m \le \tau(j)-\tau(i) < n$ , $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),j \models \psi$ and for all $i \le k < j$ , $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \models \varphi$ . Since $m \le \tau(j)-\tau(i) < n$ then $\langle (D,\sigma),H,T \rangle \models \tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j) \prec_{n} \tau(i)$ . From $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),j \models \psi$ and the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \models [\psi]_{\tau(j)}$ . From $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \models \varphi$ for all $i \le k < j$ and the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \models [\varphi]_{d}$ for all $d \in \lbrace\tau(k) \mid \tau(i) \le k < \tau(j)\rbrace$ . By the semantics, $\langle (D,\sigma),H,T \rangle \models \forall z \left(\tau(i) \le z < \tau(j) \to [\varphi]_z\right) $ . Therefore, . Conversely, if then

    \begin{align*} \langle (D,\sigma),H,T \rangle \models \exists y\; (\tau(i) &\le y \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i) \wedge [\psi]_y \wedge \forall z (\tau(i) \\[5pt] & \le z < y \rightarrow [\varphi]_z)). \end{align*}
    This means that there exists $\tau(j) \in D$ such that $\langle (D,\sigma),H,T \rangle \models \left(\tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j)\right)$ , $\langle (D,\sigma),H,T \rangle \models[\psi]_{\tau(j)}$ and $\langle (D,\sigma),H,T \rangle \models \forall z \left(\tau(i) \le z < \tau(j) \rightarrow [\varphi]_z\right)$ . From $\langle (D,\sigma),H,T \rangle \models \left(\tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j)\right)$ it follows that $i \le j$ and $\tau(j)-\tau(i) \in [m,n)$ . By induction, $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), j \models \psi$ . From $\langle (D,\sigma),H,T \rangle \models \forall z \left(\tau(i) \le z < \tau(j) \rightarrow [\varphi]_z\right)$ it follows that for all $\tau(k) \in D$ , if $\tau(i) \le \tau(k) < \tau(j)$ then $\langle (D,\sigma),H,T \rangle \models [\varphi]_{\tau(k)}$ . By induction we get that $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \models \varphi$ , for all $i \le k < j$ . From all previous statements it follows .
  • Case : from left to right, assume by contraposition that then

    \begin{align*} & \langle (D,\sigma),H,T \rangle \not \models \forall y\; \left(\left(\tau(i) \le y \wedge \tau(i) \preccurlyeq_{-m} y \prec_{n} \tau(i)\right) \rightarrow\right.\\[5pt] & \quad \left.\left( [\psi]_y \vee \exists z \left( \tau(i) \le z < y \wedge [\varphi]_z\right)\right)\right). \end{align*}
    Therefore, there exists $\tau(j) \in D$ such that
    \begin{align*} & \langle (D,\sigma),H,T \rangle \not \models \left(\tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j) \prec_{n} \tau(i)\right) \rightarrow \\[5pt] & \quad \left( [\psi]_{\tau(j)} \vee \exists z \left( \tau(i) \le z < y \wedge [\varphi]_z\right)\right). \end{align*}
    From this and a some HT reasoningFootnote 1, we can conclude that $\langle (D,\sigma),H,T \rangle \models \left(\tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j) \prec_{n} \tau(i)\right)$ but $\langle (D,\sigma),H,T \rangle \not \models [\psi]_{\tau(j)}$ and $\langle (D,\sigma),H,T \rangle \not \models\exists z \left( \tau(i) \le z < y \wedge [\varphi]_z\right)$ . From $\langle (D,\sigma),H,T \rangle \models \left(\tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j)\right)$ it follows that $i \le j$ and $\tau(j)-\tau(i) \in [m,n)$ . By induction (22), $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}), j \not \models \psi$ . From $\langle (D,\sigma),H,T \rangle \not \models \exists z \left(\tau(i) \le z < \tau(j) \wedge [\varphi]_z\right)$ it follows that for all $\tau(k) \in D$ , if $\langle (D,\sigma),H,T \rangle \models \tau(i) \le \tau(k) < \tau(j)$ then $\langle (D,\sigma),H,T \rangle \not \models [\varphi]_{\tau(k)}$ . By induction (22) we get that $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \not \models \varphi$ , for all $i \le k < j$ . From all previous statements it follows : a contradiction.

For the converse direction assume by contradiction that . Then, there exists $j \ge i$ such that $m \le \tau(j)-\tau(i) < n$ , $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),j \not \models \psi$ and for all $i \le k < j$ , $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \not \models \varphi$ . Since $m \le \tau(j)-\tau(i) < n$ then $\langle (D,\sigma),H,T \rangle \models \tau(i) \le \tau(j) \wedge \tau(i) \preccurlyeq_{-m} \tau(j) \prec_{n} \tau(i)$ . From $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),j \not \models \psi$ and the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \not \models [\psi]_{\tau(j)}$ . From $(\langle \mathbf{H},\mathbf{T} \rangle, {{\tau}}),k \not \models \varphi$ , for all $i \le k < j$ , and the induction hypothesis (22) we get $\langle (D,\sigma),H,T \rangle \not \models [\varphi]_{d}$ for all $d \in \lbrace\tau(k) \mid \tau(k) \in D \hbox{ and } \tau(i) \le \tau(k) < \tau(j)\rbrace$ . By the semantics, $\langle (D,\sigma),H,T \rangle \not \models \forall z \left(\tau(i) \le z < \tau(j) \to [\varphi]_z\right) $ . Therefore, : a contradiction.

  • The case of ${\bullet _{[m..n)}}{\mkern 1mu} \psi$ is similar to the case of ${{\rm{O}}_{[m..n)}}{\mkern 1mu} \psi$ .

  • The case of ${\widehat \bullet _{[m..n)}}{\mkern 1mu} \psi$ is similar to the case of ${\widehat{\rm{O}}_{[m..n)}}{\mkern 1mu} \psi$ .

  • The case of $\varphi {S_{[m..n)}}{\mkern 1mu} \psi$ is similar to the case of .

  • The case of $\varphi {T_{[m..n)}}{\mkern 1mu} \psi$ is similar to the case of .

Footnotes

*

A prior version of this paper appeared at LPNMR’22.

1 Using persistency and the fact that the satisfaction of the expression $(\tau(i) \le \tau(j)) \wedge (\tau(i) \preccurlyeq_{-m} \tau(j) \prec_{n} \tau(i)) $ is not HT-dependent.

References

Aguado, F., Cabalar, P., Diéguez, M., Pérez, G., Schaub, T., Schuhmann, A. and Vidal, C. 2023. Linear-time temporal answer set programming. Theory and Practice on Logic Programming 23, 1, 256.CrossRefGoogle Scholar
Aguado, F., Cabalar, P., Diéguez, M., Pérez, G. and Vidal, C. 2013. Temporal equilibrium logic: a survey. Journal of Applied Non-Classical Logics 23, 1-2, 224.CrossRefGoogle Scholar
Balduccini, M., Lierler, Y. and Woltran, S., Eds. 2019. Proceedings of the Fifteenth International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR’19). Lecture Notes in Artificial Intelligence, vol. 11481. Springer-Verlag.CrossRefGoogle Scholar
Baselice, S., Bonatti, P. and Gelfond, M. 2005. Towards an integration of answer set and constraint solving. In Proceedings of the Twenty-first International Conference on Logic Programming (ICLP’05), M. Gabbrielli and G. Gupta, Eds. Lecture Notes in Computer Science, vol. 3668. Springer-Verlag, 52–66.Google Scholar
Beck, H., Dao-Tran, M. and Eiter, T. 2018. LARS: A logic-based framework for analytic reasoning over streams. Artificial Intelligence 261, 1670.CrossRefGoogle Scholar
Becker, A., Cabalar, P., Diéguez, M., Fariñas del Cerro, L., Schaub, T. and Schuhmann, A. 2023. Metric dynamic equilibrium logic. Journal of Applied Non-Classical Logics 33, 3–4, 495519.CrossRefGoogle Scholar
Bosser, A., Cabalar, P., Diéguez, M. and Schaub, T. 2018. Introducing temporal stable models for linear dynamic logic. In Proceedings of the Sixteenth International Conference on Principles of Knowledge Representation and Reasoning (KR’18), M. Thielscher, F. Toni, and F. Wolter, Eds. Press, AAAI, 12–21.Google Scholar
Brzoska, C. 1995. Temporal logic programming with metric and past operators. In Proceedings of the Workshop on Executable Modal and Temporal Logics, M. Fisher and R. Owens, Eds. Lecture Notes in Computer Science, vol. 897. Springer-Verlag, 21–39.Google Scholar
Cabalar, P., Diéguez, M., Laferriere, F. and Schaub, T. 2020. Implementing dynamic answer set programming over finite traces. In Proceedings of the Twenty-fourth European Conference on Artificial Intelligence (ECAI’20), G. De Giacomo, A. Catalá, B. Dilkina, M. Milano, S. Barro, A. Bugarn and J. Lang, Eds. IOS Press, 656–663.Google Scholar
Cabalar, P., Diéguez, M., and Schaub, T. 2019. Towards dynamic answer set programming over finite traces. See Balduccini et al. (2019), 148–162.Google Scholar
Cabalar, P., Diéguez, M., Schaub, T. and Schuhmann, A. 2020. Towards metric temporal answer set programming. Theory and Practice of Logic Programming 20, 5, 783798.CrossRefGoogle Scholar
Cabalar, P., Diéguez, M., Schaub, T. and Schuhmann, A. 2022. Metric temporal answer set programming over timed traces. In Proceedings of the Sixteenth International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR’22), G. Gottlob, D. Inclezan, and M. Maratea, Eds. Lecture Notes in Artificial Intelligence, vol. 13416. Springer-Verlag, 117–130.Google Scholar
Cabalar, P., Kaminski, R., Morkisch, P. and Schaub, T. 2019. telingo = ASP + time. See Balduccini et al. (2019), 256–269.Google Scholar
Cabalar, P., Kaminski, R., Schaub, T. and Schuhmann, A. 2018. Temporal answer set programming on finite traces. Theory and Practice of Logic Programming 18, 3-4, 406420.CrossRefGoogle Scholar
De Giacomo, G., Murano, A., Patrizi, F. and Perelli, G. 2020. Timed trace alignment with metric temporal logic over finite traces. In Proceedings of the Eighteenth International Conference on Principles of Knowledge Representation and Reasoning (KR’22), M. Bienvenu, G. Lakemeyer, and E. Erdem, Eds. AAAI Press, 227–236.Google Scholar
D’Souza, D. and Tabareau, N. 2004. On timed automata with input-determined guards. In Joint International Conferences on Formal Techniques, Modelling and Analysis of Timed and Fault-Tolerant Systems (FORMATS) and Formal Techniques in Real-Time and Fault-Tolerant Systems, FTRTFT, Y. Lakhnech and S. Yovine, Eds. Lecture Notes in Computer Science, vol. 3253. Springer, 68–83.Google Scholar
Fisher, M., Gabbay, D. and Vila, L., Eds. 2005. Handbook of Temporal Reasoning in Artificial Intelligence. Foundations of Artificial Intelligence, vol. 1. Elsevier Science.Google Scholar
Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T. and Wanko, P. 2016. Theory solving made easy with clingo 5. In Technical Communications of the Thirty-second International Conference on Logic Programming (ICLP’16), Carro, M. and King, A., Eds. OpenAccess Series in Informatics (OASIcs), vol. 52. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 2:1–2:15.Google Scholar
Harel, D., Tiuryn, J. and Kozen, D. 2000. Dynamic Logic. MIT Press.CrossRefGoogle Scholar
Heyting, A. 1930. Die formalen Regeln der intuitionistischen Logik. In Sitzungsberichte der Preussischen Akademie der Wissenschaften. Deutsche Akademie der Wissenschaften zu Berlin, 42–56.Google Scholar
Hofmann, T. and Lakemeyer, G. 2019. A logic for specifying metric temporal constraints for golog programs. In Proceedings of the Eleventh Workshop on Cognitive Robotics (CogRob’18), Steinbauer, G. and Ferrein, A., Eds. Vol. 2325. CEUR Workshop Proceedings, 36–46.Google Scholar
Kamp, J. 1968. Tense logic and the theory of linear order. Ph.D. thesis, University of California at Los Angeles.Google Scholar
Koymans, R. 1990. Specifying real-time properties with metric temporal logic. Real-Time Systems 2, 4, 255299.CrossRefGoogle Scholar
Lifschitz, V. 1999. Answer set planning. In Proceedings of the International Conference on Logic Programming (ICLP’99), D. de Schreye, Ed. MIT Press, 23–37.Google Scholar
Luo, R., Valenzano, R., Li, Y., Beck, C. and McIlraith, S. 2016. Using metric temporal logic to specify scheduling problems. In Proceedings of the Fifteenth International Conference on Principles of Knowledge Representation and Reasoning (KR’16), C. Baral, J. Delgrande, and F. Wolter, Eds. AAAI Press, 581–584.Google Scholar
Ouaknine, J. and Worrell, J. 2007. On the decidability and complexity of metric temporal logic over finite words. Logical Methods in Computer Science 3, 1.Google Scholar
Pearce, D. 1997. A new logical characterisation of stable models and answer sets. In Proceedings of the Sixth International Workshop on Non-Monotonic Extensions of Logic Programming (NMELP’96), J. Dix, L. Pereira and T. Przymusinski, Eds. Lecture Notes in Computer Science, vol. 1216. Springer-Verlag, 57–70.Google Scholar
Pearce, D. and Valverde, A. 2008. Quantified equilibrium logic and foundations for answer set programs. In Proceedings of the Twenty-fourth International Conference on Logic Programming (ICLP’08), M. Garcia de la Banda and E. Pontelli, Eds. Lecture Notes in Computer Science, vol. 5366. Springer-Verlag, 546–560.Google Scholar
Pnueli, A. 1977. The temporal logic of programs. In Proceedings of the Eight-teenth Symposium on Foundations of Computer Science (FOCS’77). IEEE Computer Society Press, 4657.Google Scholar
Son, T., Baral, C. and Tuan, L. 2004. Adding time and intervals to procedural and hierarchical control specifications. In Proceedings of the Nineteenth National Conference on Artificial Intelligence (AAAI’04), D. McGuinness and G. Ferguson, Eds. AAAI Press, 92–97.Google Scholar
Wałega, P., Cuenca Grau, B., Kaminski, M. and Kostylev, E. 2019. DatalogMTL: Computational complexity and expressive power. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI’19), S. Kraus, Ed. ijcai.org, 1886–1892.Google Scholar
Wałega, P., Kaminski, M. and Cuenca Grau, B. 2019. Reasoning over streaming data in metric temporal datalog. In Proceedings of the Thirty-third National Conference on Artificial Intelligence (AAAI’19), P. Van Hentenryck and Z. Zhou, Eds. AAAI Press, 3092–3099.Google Scholar
Supplementary material: PDF

Becker et al. supplementary material

Becker et al. supplementary material

Download Becker et al. supplementary material(PDF)
PDF 238.9 KB