Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-03-29T00:52:51.373Z Has data issue: false hasContentIssue false

The Stable Model Semantics of Datalog with Metric Temporal Operators

Published online by Cambridge University Press:  02 August 2023

PRZEMYSŁAW A. WAŁĘGA
Affiliation:
Department of Computer Science, University of Oxford, Oxford OX1 3AZ, UK (e-mails: przemyslaw.walega@cs.ox.ac.uk, david.tena.cucala@cs.ox.ac.uk, bernardo.cuenca.grau@cs.ox.ac.uk)
DAVID J. TENA CUCALA
Affiliation:
Department of Computer Science, University of Oxford, Oxford OX1 3AZ, UK (e-mails: przemyslaw.walega@cs.ox.ac.uk, david.tena.cucala@cs.ox.ac.uk, bernardo.cuenca.grau@cs.ox.ac.uk)
BERNARDO CUENCA GRAU
Affiliation:
Department of Computer Science, University of Oxford, Oxford OX1 3AZ, UK (e-mails: przemyslaw.walega@cs.ox.ac.uk, david.tena.cucala@cs.ox.ac.uk, bernardo.cuenca.grau@cs.ox.ac.uk)
EGOR V. KOSTYLEV
Affiliation:
Department of Informatics, University of Oslo, Oslo, Norway (e-mail: egork@ifi.uio.no)
Rights & Permissions [Opens in a new window]

Abstract

We introduce negation under the stable model semantics in DatalogMTL – a temporal extension of Datalog with metric temporal operators. As a result, we obtain a rule language which combines the power of answer set programming with the temporal dimension provided by metric operators. We show that, in this setting, reasoning becomes undecidable over the rational timeline, and decidable in ${{\rm E}{\small\rm XP}{\rm S}{\small\rm PACE}}$ in data complexity over the integer timeline. We also show that, if we restrict our attention to forward-propagating programs, reasoning over the integer timeline becomes ${{\rm PS}{\small\rm PACE}}$-complete in data complexity, and hence, no harder than over positive programs; however, reasoning over the rational timeline in this fragment remains undecidable.

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 (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), 2023. Published by Cambridge University Press
Figure 0

Table 1. Semantics of ground metric atoms

Figure 1

Fig. 1. Encoding of the ith configuration.