arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.29965cs.AI
收藏

线性时态回答集编程的元编程

Meta-Programming for Linear-time Temporal Answer Set Programming

University of Potsdam, Germany(波恩大学)

Susana Hahn, Amadé Nemes, Javier Romero, Torsten Schaub

AI总结:

提出一种统一的元编程框架,通过扩展clingo的理论语法并引入转换管道保护嵌套模态,实现了对多种线性时态逻辑(TEL、MEL、DEL)的语义操作化,并开发了metasp系统。

摘要:

回答集编程(ASP)的时态扩展的发展导致了非单调线性时态(TEL)、动态(DEL)和度量(MEL)时态均衡逻辑的出现。然而,高度优化的ASP系统固有的刚性常常阻碍了替代逻辑设计的快速探索和实现。在这项工作中,我们提出了一个灵活的元编程框架,通过统一的声明性框架操作化各种时态逻辑的语义。我们的方法通过用形式类型规范和嵌套能力增强clingo的理论语法,扩展了标准ASP元编程。为了确保语义正确性,我们引入了一个转换管道,在实例化过程中保护嵌套模态免受基于稳定模型的简化。我们通过实现TEL、MEL和DEL的元编码来展示我们框架的可扩展性。我们提供了TEL的全面说明,并突出了管理MEL的区间约束和DEL中的Fischer-Ladner闭包的关键特性。最后,我们介绍了metasp系统,这是一个封装了此工作流程的多功能工具。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑