Treewidth-Aware Complexity in ASP: Not all Positive Cycles are Equally Hard

07/09/2020
by   Markus Hecher, et al.
0

It is well-know that deciding consistency for normal answer set programs (ASP) is NP-complete, thus, as hard as the satisfaction problem for classical propositional logic (SAT). The best algorithms to solve these problems take exponential time in the worst case. The exponential time hypothesis (ETH) implies that this result is tight for SAT, that is, SAT cannot be solved in subexponential time. This immediately establishes that the result is also tight for the consistency problem for ASP. However, accounting for the treewidth of the problem, the consistency problem for ASP is slightly harder than SAT: while SAT can be solved by an algorithm that runs in exponential time in the treewidth k, it was recently shown that ASP requires exponential time in k ·log(k). This extra cost is due checking that there are no self-supported true atoms due to positive cycles in the program. In this paper, we refine the above result and show that the consistency problem for ASP can be solved in exponential time in k ·log(λ) where λ is the minimum between the treewidth and the size of the largest strongly-connected component in the positive dependency graph of the program. We provide a dynamic programming algorithm that solves the problem and a treewidth-aware reduction from ASP to SAT that adhere to the above limit.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/07/2022

Treewidth-aware Reductions of Normal ASP to SAT – Is Normal ASP Harder than SAT after All?

Answer Set Programming (ASP) is a paradigm for modeling and solving prob...
research
01/18/2023

Characterizing Structural Hardness of Logic Programs: What makes Cycles and Reachability Hard for Treewidth?

Answer Set Programming (ASP) is a problem modeling and solving framework...
research
06/28/2017

DynASP2.5: Dynamic Programming on Tree Decompositions in Action

A vibrant theoretical research area are efficient exact parameterized al...
research
05/05/2019

Answer Set Solving exploiting Treewidth and its Limits

Parameterized algorithms have been subject to extensive research of rece...
research
01/08/2013

Backdoors to Normality for Disjunctive Logic Programs

Over the last two decades, propositional satisfiability (SAT) has become...
research
03/27/2019

Treewidth and Counting Projected Answer Sets

In this paper, we introduce novel algorithms to solve projected answer s...
research
04/28/2023

Comparison of SAT-based and ASP-based Algorithms for Inconsistency Measurement

We present algorithms based on satisfiability problem (SAT) solving, as ...

Please sign up or login with your details

Forgot password? Click here to reset