Hostname: page-component-77f85d65b8-v2srd Total loading time: 0 Render date: 2026-03-28T21:08:07.120Z Has data issue: false hasContentIssue false

On Establishing Robust Consistency in Answer Set Programs

Published online by Cambridge University Press:  19 September 2022

ANDRE THEVAPALAN
Affiliation:
Technische Universität Dortmund, Dortmund, Germany (e-mails: andre.thevapalan@tu-dortmund.de, gabriele.kern-isberner@cs.uni-dortmund.de)
GABRIELE KERN-ISBERNER
Affiliation:
Technische Universität Dortmund, Dortmund, Germany (e-mails: andre.thevapalan@tu-dortmund.de, gabriele.kern-isberner@cs.uni-dortmund.de)
Rights & Permissions [Opens in a new window]

Abstract

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.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Fig. 1. Visualization of truth values of an atom A w.r.t. a set of literals S.

Figure 1

Fig. 2. Possible reationships between two atom-related literals.

Figure 2

Table 1. Relationship between two rules r,r’ with complementary head literals w.r.t. a literal ${L=A}$

Figure 3

Table 2. Results from Example 7