Treewidth-Aware Complexity in ASP: Not all Positive Cycles are Equally Hard
Jorge Fandinno, Markus Hecher
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2efa1d31-8f6c-43fb-ae1b-673e31b601a9Related papers
- Characterizing Structural Hardness of Logic Programs: What Makes Cycles and Reachability Hard for Treewidth?Markus HecherAAAI 2023 · 2 citations
- Structural Decompositions of Epistemic Logic ProgramsMarkus Hecher, Michael Morak, Stefan WoltranAAAI 2020 · 15 citations
- Treewidth Inapproximability and Tight ETH Lower BoundÉdouard BonnetSTOC 2025 · 1 citation
- On the Structural Hardness of Answer Set Programming: Can Structure Efficiently Confine the Power of Disjunctions?Markus Hecher, Rafael KieselAAAI 2024
- Disjunctive Temporal Problems under Structural RestrictionsKonrad K. Dabrowski, Peter Jonsson, Sebastian Ordyniak, George OsipovAAAI 2021 · 2 citations
