Back to Research papers
Research paper index

2-ASP(Q) programs with weak constraints: Complexity and efficient implementation

Andrea Cuteri, Giuseppe Mazzotta, Francesco Ricca

arXiv:2605.27338Published May 26, 20260 citations
  • cs.AI
  • cs.CC
  • cs.CL
  • cs.LO
  • action

Abstract

ASP(Q) extends Answer Set Programming (ASP) with Quantifiers over answer sets. In this paper we focus on the class of ASP(Q) programs with two quantifiers and weak constraints, denoted as 2-ASP(Q)^w. 2-ASP(Q)^w is a practically relevant fragment of ASP(Q) that is expressive enough to capture optimization problems up to the class Delta_3^P. On the theoretical side, we provide a complete complexity characterization of the main computational tasks for 2-ASP(Q)^w programs, including tight completeness results and the analysis of nontrivial cases that have not been addressed in previous works. On the practical side, we introduce novel strategies for computing (optimal) quantified answer sets in the Casper system, that rely on a Counterexample-Guided Abstraction Refinement (CEGAR) technique tailored to ASP(Q). An experimental evaluation on hard benchmarks from different application domains shows that the proposed techniques are effective in practice.

Read the original paper

This page indexes public paper metadata. The manuscript remains with its original publisher and authors.