Hostname: page-component-76d6cb85b7-2r2wp Total loading time: 0 Render date: 2026-07-17T07:24:32.258Z Has data issue: false hasContentIssue false

Reducing Arbitrary Metric Temporal Formulas into Logic Programs Under Answer Set Semantics

Published online by Cambridge University Press:  15 July 2026

MARTÍN DIÉGUEZ
Affiliation:
LERIA, University of Angers, France (e-mail: martin.dieguezlodeiro@univ-angers.fr)
SUSANA HAHN
Affiliation:
Institute of Computer Science, University of Potsdam, Germany (e-mail: hahnmartinlu@uni-potsdam.de)
TORSTEN SCHAUB
Affiliation:
Institute of Computer Science, University of Potsdam, Germany (e-mail: torsten@cs.uni-potsdam.de)
IGOR STÉPHAN
Affiliation:
LERIA, University of Angers, France (e-mail: igor.stephan@univ-angers.fr)
Rights & Permissions [Opens in a new window]

Abstract

Metric temporal equilibrium logic ($\textrm {MEL}$) extends temporal equilibrium logic ($\textrm {TEL}$) by incorporating quantitative timing constraints, enabling the specification and analysis of deadlines and durations. $\textrm {MEL}$ is particularly suited for domains where time-bound properties are crucial, such as embedded systems, cyber-physical systems, and real-time software. It facilitates the precise expression of timing behaviors, such as the requirement that an event must occur within 5 milliseconds of a trigger, which often elude traditional qualitative temporal logics. In this paper, we present a Tseitin-like translation that maps any metric temporal formula into a logic programming fragment restricted to past operators. This translation provides a formal bridge to leverage existing answer set programming (ASP) solvers for reasoning about metric temporal constraints. By restricting the target fragment to past operators, we enable more effective evaluation and integration with current ASP-based toolchains for multi-shot solving.

Information

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 (https://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), 2026. Published by Cambridge University Press
Figure 0

Table 1. Translation for metric next, weak next, previous and weak previousTable 1 long description.

Figure 1

Table 2. Translation of metric since and metric triggerTable 2 long description.

Figure 2

Table 3. Translation of metric until and metric releaseTable 3 long description.

Figure 3

Table 4. Translation of (1) into a metric temporal logic program. Equivalences of the form ℓφ↔p${\ell _{\varphi }}\leftrightarrow p$, with p∈A$p\in \mathcal{A}$, are not shown and p$p$ is used instead of ℓp$\ell _{p}$Table 4 long description.

Figure 4

Table A1. Translation of the propositional connectivesTable A1 long description.

Figure 5

Table A2. Translation of the non-metric temporal operatorsTable A2 long description.