# The Stable Model Semantics of Datalog with Metric Temporal Operators

arXiv: https://arxiv.org/abs/2306.07625 · HTML: https://mlsanity.com/paper/2306.07625/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 Jun 2023.

## Built on by (most cited first, 2 of 2)

- [Goal-Driven Reasoning in DatalogMTL with Magic Sets](https://mlsanity.com/paper/2412.07259/) (2024)
- [Inconsistency Handling in DatalogMTL](https://mlsanity.com/paper/2505.10394/) (2025)

## Abstract (arXiv)

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 EXPSPACE 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 PSPACE-complete in data complexity, and hence, no harder than over positive programs; however, reasoning over the rational timeline in this fragment remains undecidable. Under consideration in Theory and Practice of Logic Programming (TPLP).
