arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0501084cs.AI
收藏

答案集编程中Guess和Check程序的自动集成:一个元解释器及其应用

Towards Automated Integration of Guess and Check Programs in Answer Set Programming: A Meta-Interpreter and Applications

Thomas Eiter, Axel Polleres

摘要:

带有析取的回答集编程(ASP)为声明式表示和解决难题提供了一个强大的工具。许多NP完全问题可以以非常简洁和直观的方式编码在逻辑程序的答案集语义中,其中编码反映了NP问题的典型“猜测和检查”性质:该属性以多项式大小的证书对应于程序的稳定模型的方式编码。然而,全析取逻辑程序(DLP)的问题解决能力是超越NP,并捕获一类问题的多项式层次的第二层。虽然这些问题也有一个明确的“猜测和检查”结构,但在DLP中找到反映这种结构的编码有时可能是一个不明显的任务,特别是如果“检查”本身是一个coNP完全问题;通常,这样的问题是通过交错单独的猜测和检查程序来解决的,其中检查由检查程序的不一致性来表达。本文提出了基于元解释技术的无头循环(扩展)析取逻辑程序到分层正(扩展)析取逻辑程序的一般变换。原始程序和变换后的程序的答案集是简单对应的,而且,原始程序的不一致性由变换后的程序的指定答案集指示。我们的转换促进了独立的“猜测”和“检查”程序,这往往是很容易获得,自动集成到一个单一的析取逻辑程序。我们的研究结果补充了最近的结果元解释在ASP中,并扩展方法和技术的声明性的“猜测和检查”的问题解决范式,通过ASP。

英文摘要:

Answer set programming (ASP) with disjunction offers a powerful tool for declaratively representing and solving hard problems. Many NP-complete problems can be encoded in the answer set semantics of logic programs in a very concise and intuitive way, where the encoding reflects the typical "guess and check" nature of NP problems: The property is encoded in a way such that polynomial size certificates for it correspond to stable models of a program. However, the problem-solving capacity of full disjunctive logic programs (DLPs) is beyond NP, and captures a class of problems at the second level of the polynomial hierarchy. While these problems also have a clear "guess and check" structure, finding an encoding in a DLP reflecting this structure may sometimes be a non-obvious task, in particular if the "check" itself is a coNP-complete problem; usually, such problems are solved by interleaving separate guess and check programs, where the check is expressed by inconsistency of the check program. In this paper, we present general transformations of head-cycle free (extended) disjunctive logic programs into stratified and positive (extended) disjunctive logic programs based on meta-interpretation techniques. The answer sets of the original and the transformed program are in simple correspondence, and, moreover, inconsistency of the original program is indicated by a designated answer set of the transformed program. Our transformations facilitate the integration of separate "guess" and "check" programs, which are often easy to obtain, automatically into a single disjunctive logic program. Our results complement recent results on meta-interpretation in ASP, and extend methods and techniques for a declarative "guess and check" problem solving paradigm through ASP.

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

↑