Technical Report: Inconsistency in Answer Set Programs and Extensions

05/31/2018
by   Christoph Redl, et al.
0

Answer Set Programming (ASP) is a well-known problem solving approach based on nonmonotonic logic programs. HEX-programs extend ASP with external atoms for accessing arbitrary external information, which can introduce values that do not appear in the input program. In this work we consider inconsistent ASP- and HEX-programs, i.e., programs without answer sets. We study characterizations of inconsistency, introduce a novel notion for explaining inconsistencies in terms of input facts, analyze the complexity of reasoning tasks in context of inconsistency analysis, and present techniques for computing inconsistency reasons. This theoretical work is motivated by two concrete applications, which we also present. The first one is the new modeling technique of query answering over subprograms as a convenient alternative to the well-known saturation technique. The second application is a new evaluation algorithm for HEX-programs based on conflict-driven learning for programs with multiple components: while for certain program classes previous techniques suffer an evaluation bottleneck, the new approach shows significant, potentially exponential speedup in our experiments. Since well-known ASP extensions such as constraint ASP and DL-programs correspond to special cases of HEX, all presented results are interesting beyond the specific formalism.

READ FULL TEXT
research
08/02/2018

Inlining External Sources in Answer Set Programs

HEX-programs are an extension of answer set programs (ASP) with external...
research
10/05/2012

Conflict-driven ASP Solving with External Sources

Answer Set Programming (ASP) is a well-known problem solving approach ba...
research
01/08/2013

Eliminating Unfounded Set Checking for HEX-Programs

HEX-programs are an extension of the Answer Set Programming (ASP) paradi...
research
09/22/2020

A Machine Learning guided Rewriting Approach for ASP Logic Programs

Answer Set Programming (ASP) is a declarative logic formalism that allow...
research
07/22/2019

Better Paracoherent Answer Sets with Less Resources

Answer Set Programming (ASP) is a well-established formalism for logic p...
research
08/17/2022

On Establishing Robust Consistency in Answer Set Programs

Answer set programs used in real-world applications often require that t...
research
07/19/2019

Enhancing magic sets with an application to ontological reasoning

Magic sets are a Datalog to Datalog rewriting technique to optimize quer...

Please sign up or login with your details

Forgot password? Click here to reset