arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.14252cs.LO
收藏

非局部紧致 mini-gringo 程序的有序完备化

Ordered Completion for Non-Locally Tight mini-gringo Programs

Jan Heuer

AI总结:

本论文扩展有序完备化至 mini-gringo 语言并处理无限稳定模型,在 anthem 中实现以验证非局部紧致逻辑程序的外部等价性。

摘要:

完备化是一种著名的变换,通过将逻辑程序转化为一组一阶定义来捕获逻辑程序的稳定模型语义。稳定模型是完备化的模型,但并非完备化的所有模型都是稳定模型。对于紧致程序(无正递归的程序),两种语义是一致的。最近,这种对应关系被扩展到局部紧致程序,后者避免了非终止递归。然而,与紧致性不同,局部紧致性无法通过简单的语法方法进行检查。完备化对于验证应答集程序至关重要,尤其是对于外部等价性:一种基于特定输入下选定输出谓词的等价形式。标准等价性和对一阶规范的遵循是外部等价性的特例。anthem 验证工具在检查外部等价性方面有两个局限性:(1)无法自动检查局部紧致性,(2)无法验证非局部紧致的程序。因此,完备化的替代方案值得关注。本论文研究了有序完备化,该概念在 [Asuncion et al., 2012] 中提出,它捕获任意逻辑程序的稳定模型,但仅限于有限模型。本工作将有序完备化扩展到 mini-gringo 语言(clingo 求解器所用语言的子集)。此外,它引入了一种有序完备化的修改版以处理无限稳定模型。这种扩展的有序完备化在 anthem 中作为翻译实现,初步实验证明了其在验证简单逻辑程序方面的用途。

英文摘要:

Completion is a well-known transformation that captures the stable model semantics of logic programs by turning a program into a set of first-order definitions. Stable models are models of the completion, but not all models of the completion are stable models. For tight programs (programs without positive recursion) the two semantics coincide. Recently this correspondence was extended to locally tight programs, which avoid non-terminating recursion. However, unlike tightness, local tightness cannot be checked with simple syntactic methods. Completion is crucial for verifying answer set programs, especially for external equivalence: a form of equivalence based on selected output predicates under certain inputs. Standard equivalence and adherence to a first-order specification are special cases of external equivalence. The anthem verification tool has two limitations for checking external equivalence: (1) there is no way to check local tightness automatically, and (2) it is not possible to verify programs that are not locally tight. Therefore, alternatives to completion are of interest. This thesis investigates ordered completion, introduced in [Asuncion et al., 2012], which captures stable models of arbitrary logic programs, but only for finite models. This work extends ordered completion to the mini-gringo language (a subset of the language used by the clingo solver). Additionally, it introduces a modification of ordered completion to handle infinite stable models. This extended ordered completion is implemented in anthem as a translation, and initial experiments demonstrate its use for verifying simple logic programs.

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

↑