Answer set programs used in real-world applications often require that the program is usable with different input data. This, however, can often lead to contradictory statements and consequently to an inconsistent program. Causes for potential contradictions in a program are conflicting rules. In this paper, we show how to ensure that a program $\mathcal{P}$ remains non-contradictory given any allowed set of such input data. For that, we introduce the notion of conflict-resolving $\lambda$- extensions. A conflict-resolving $\lambda$-extension for a conflicting rule $r$ is a set $\lambda$ of (default) literals such that extending the body of $r$ by $\lambda$ resolves all conflicts of $r$ at once. We investigate the properties that suitable $\lambda$-extensions should possess and building on that, we develop a strategy to compute all such conflict-resolving $\lambda$-extensions for each conflicting rule in $\mathcal{P}$. We show that by implementing a conflict resolution process that successively resolves conflicts using $\lambda$-extensions eventually yields a program that remains non-contradictory given any allowed set of input data.
翻译:在现实世界应用程序中使用的答案设置程序通常要求程序使用不同的输入数据。 但是, 这往往会导致相互矛盾的语句, 并因此导致程序不一致。 程序中潜在矛盾的原因有相互冲突的规则。 在本文中, 我们展示如何确保一个$\ mathcal{P}$的程序在任何允许的输入数据组中保持无争议性。 为此, 我们引入了解决冲突解决$\lambda$- 扩展的概念。 冲突解决$\lambda$- Expeension 用于冲突规则$\lambda$- Exendensition $( $) 是一个设置的( lambda$) 的( 默认) 字数( ) 。 我们通过执行一个冲突解决进程, 以$\ lambda$( $) 来一次解决所有冲突。 我们通过执行一个冲突解决程序, 继续使用一个不连续设置的 数据程序, 来解决所有冲突。