Meta-Programming for Linear-time Temporal Answer Set Programming

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hahn, Susana, Nems, Amade, Romero, Javier, Schaub, Torsten
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910270196023296
author Hahn, Susana
Nems, Amade
Romero, Javier
Schaub, Torsten
author_facet Hahn, Susana
Nems, Amade
Romero, Javier
Schaub, Torsten
contents The development of temporal extensions of Answer Set Programming (ASP) has led to the emergence of non-monotonic linear-time (TEL), dynamic (DEL), and metric (MEL) temporal equilibrium logics. However, the inherent rigidity of highly optimized ASP systems often hinders the rapid exploration and implementation of alternative logical designs. In this work, we propose a flexible meta-programming framework that operationalizes the semantics of varied temporal logics through a unified, declarative framework. Our approach extends standard ASP meta-programming by augmenting clingo's theory grammar with formal type specifications and nesting capabilities. To ensure semantic correctness, we introduce a transformation pipeline that protects nested modalities from stable-model-based simplifications during grounding. We demonstrate the extensibility of our framework by implementing meta-encodings for TEL, MEL, and DEL. We provide a comprehensive account of TEL and highlight the key features for managing the interval constraints of MEL and the Fischer-Ladner closure in DEL. Finally, we introduce the metasp system, a versatile tool that encapsulates this workflow.
format Preprint
id arxiv_https___arxiv_org_abs_2605_29965
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Meta-Programming for Linear-time Temporal Answer Set Programming
Hahn, Susana
Nems, Amade
Romero, Javier
Schaub, Torsten
Artificial Intelligence
I.2.4
The development of temporal extensions of Answer Set Programming (ASP) has led to the emergence of non-monotonic linear-time (TEL), dynamic (DEL), and metric (MEL) temporal equilibrium logics. However, the inherent rigidity of highly optimized ASP systems often hinders the rapid exploration and implementation of alternative logical designs. In this work, we propose a flexible meta-programming framework that operationalizes the semantics of varied temporal logics through a unified, declarative framework. Our approach extends standard ASP meta-programming by augmenting clingo's theory grammar with formal type specifications and nesting capabilities. To ensure semantic correctness, we introduce a transformation pipeline that protects nested modalities from stable-model-based simplifications during grounding. We demonstrate the extensibility of our framework by implementing meta-encodings for TEL, MEL, and DEL. We provide a comprehensive account of TEL and highlight the key features for managing the interval constraints of MEL and the Fischer-Ladner closure in DEL. Finally, we introduce the metasp system, a versatile tool that encapsulates this workflow.
title Meta-Programming for Linear-time Temporal Answer Set Programming
topic Artificial Intelligence
I.2.4
url https://arxiv.org/abs/2605.29965