JOURNAL ARTICLE

The Stable Model Semantics of Datalog with Metric Temporal Operators

Przemysław Andrzej WałęgaDavid J. Tena CucalaBernardo Cuenca GrauEgor V. Kostylev

Year: 2023 Journal:   Theory and Practice of Logic Programming Vol: 24 (1)Pages: 22-56   Publisher: Cambridge University Press

Abstract

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.

Keywords:
Undecidable problem Datalog Decidability Computer science Negation Timeline Fragment (logic) Programming language Metric (unit) Theoretical computer science Discrete mathematics Mathematics

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
40
Refs
0.09
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Formal Methods in Verification
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Logic, programming, and type systems
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.