The Power of Non-Ground Rules in Answer Set Programming

08/05/2016
by   Manuel Bichler, et al.
0

Answer set programming (ASP) is a well-established logic programming language that offers an intuitive, declarative syntax for problem solving. In its traditional application, a fixed ASP program for a given problem is designed and the actual instance of the problem is fed into the program as a set of facts. This approach typically results in programs with comparably short and simple rules. However, as is known from complexity analysis, such an approach limits the expressive power of ASP; in fact, an entire NP-check can be encoded into a single large rule body of bounded arity that performs both a guess and a check within the same rule. Here, we propose a novel paradigm for encoding hard problems in ASP by making explicit use of large rules which depend on the actual instance of the problem. We illustrate how this new encoding paradigm can be used, providing examples of problems from the first, second, and even third level of the polynomial hierarchy. As state-of-the-art solvers are tuned towards short rules, rule decomposition is a key technique in the practical realization of our approach. We also provide some preliminary benchmarks which indicate that giving up the convenient way of specifying a fixed program can lead to a significant speed-up. This paper is under consideration for acceptance into TPLP.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/24/2019

Inconsistency Proofs for ASP: The ASP-DRUPE Format

Answer Set Programming (ASP) solvers are highly-tuned and complex proced...
research
08/05/2016

Stable-Unstable Semantics: Beyond NP with Normal Logic Programs

Standard answer set programming (ASP) targets at solving search problems...
research
07/10/2017

Best-Effort Inductive Logic Programming via Fine-grained Cost-based Hypothesis Generation

We describe the Inspire system which participated in the first competiti...
research
03/06/2020

Boosting Answer Set Optimization with Weighted Comparator Networks

Answer set programming (ASP) is a paradigm for modeling knowledge intens...
research
08/04/2020

An Application of ASP in Nuclear Engineering: Explaining the Three Mile Island Nuclear Accident Scenario

The paper describes an ongoing effort in developing a declarative system...
research
09/17/2021

How to Split a Logic Program

Answer Set Programming (ASP) is a successful method for solving a range ...
research
06/14/2012

The third open Answer Set Programming competition

Answer Set Programming (ASP) is a well-established paradigm of declarati...

Please sign up or login with your details

Forgot password? Click here to reset