Semantical Characterizations and Complexity of Equivalences in Answer Set Programming
Thomas Eiter, Michael Fink, Stefan Woltran
备注:
58 pages, 6 tables. The contents were partially published in: Proceedings 19th International Conference on Logic Programming (ICLP 2003), pp. 224-238, LNCS 2916, Springer, 2003; and Proceedings 9th European Conference on Logics in Artificial Intelligence (JELIA 2004), pp. 161-173, LNCS 3229, Springer, 2004
In recent research on non-monotonic logic programming, repeatedly strong equivalence of logic programs P and Q has been considered, which holds if the programs P union R and Q union R have the same answer sets for any other program R. This property strengthens equivalence of P and Q with respect to answer sets (which is the particular case for R is the empty set), and has its applications in program optimization, verification, and modular logic programming. In this paper, we consider more liberal notions of strong equivalence, in which the actual form of R may be syntactically restricted. On the one hand, we consider uniform equivalence, where R is a set of facts rather than a set of rules. This notion, which is well known in the area of deductive databases, is particularly useful for assessing whether programs P and Q are equivalent as components of a logic program which is modularly structured. On the other hand, we consider relativized notions of equivalence, where R ranges over rules over a fixed alphabet, and thus generalize our results to relativized notions of strong and uniform equivalence. For all these notions, we consider disjunctive logic programs in the propositional (ground) case, as well as some restricted classes, provide semantical characterizations and analyze the computational complexity. Our results, which naturally extend to answer set semantics for programs with strong negation, complement the results on strong equivalence of logic programs and pave the way for optimizations in answer set solvers as a tool for input-based problem solving.
A Common View on Strong, Uniform, and Other Notions of Equivalence in Answer-Set Programming
Technische Universität Wien(维也纳工业大学)
如今,在答案集语义下的逻辑编程处理了许多不同的程序等价概念。这是因为替代等价(称为强等价)和普通等价是不同的概念。前者成立,给定程序P和Q,当且仅当P在任何上下文R内都可以被Q忠实地替换;后者成立当且仅当P和Q提供相同的输出,即它们具有相同的答案集。强等价和普通等价之间的概念被引入作为比较不完整程序的理论工具,并且通过限制所考虑的上下文程序R的句法结构或通过限制允许在R中出现的原子的集合A(相对化等价)来定义。然而,对于前一种方法,结果是对R的任何“合理”的句法限制都与普通的、强的或一致的等价一致。在本文中,我们提出了一个参数化的等价概念,同时照顾到这两种限制的范围内,一方面,允许发生在规则头的上下文中的原子,另一方面,允许发生在规则机构的上下文中的原子。我们介绍了一个一般的语义特征,其中包括已知的SE模型(强等价)或UE模型(一致等价)作为特殊情况。此外,我们提供的问题的复杂性界限,并勾勒出一个可能的实现方法。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
Relativized hyperequivalence of logic programs for modular programming
University of Kentucky(肯塔基大学);Technische Universität Wien(维也纳工业大学)
最近的框架相对化hyperequivalence的程序提供了一个统一的推广强和一致的等价。它似乎特别适合于程序优化和模块化编程中的应用,因为它的灵活性允许我们在上下文程序中相互独立地限制头部和主体字母表。本文研究了逻辑程序的稳定、支持和支持最小模型的三种语义的相对化超等价性。对于每一种语义,我们确定四种类型的上下文,这取决于头部和身体字母是直接给出的还是作为给定集合的补充。超等价相对于上下文的头部和身体字母直接指定已经研究过。在本文中,我们建立了相对于其他三种类型的上下文程序决定相对化超等价的复杂性。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)