Hostname: page-component-89b8bd64d-sd5qd Total loading time: 0 Render date: 2026-05-08T23:02:54.728Z Has data issue: false hasContentIssue false

Beyond NP: Quantifying over Answer Sets

Published online by Cambridge University Press:  20 September 2019

GIOVANNI AMENDOLA
Affiliation:
University of Calabria, Rende, Italy (e-mails: amendola@mat.unical.it, ricca@mat.unical.it)
FRANCESCO RICCA
Affiliation:
University of Calabria, Rende, Italy (e-mails: amendola@mat.unical.it, ricca@mat.unical.it)
MIROSLAW TRUSZCZYNSKI
Affiliation:
University of Kentucky, KY, USA (e-mail: mirek@cs.uky.edu)

Abstract

Answer Set Programming (ASP) is a logic programming paradigm featuring a purely declarative language with comparatively high modeling capabilities. Indeed, ASP can model problems in NP in a compact and elegant way. However, modeling problems beyond NP with ASP is known to be complicated, on the one hand, and limited to problems in $\[\Sigma _2^P\]$ on the other. Inspired by the way Quantified Boolean Formulas extend SAT formulas to model problems beyond NP, we propose an extension of ASP that introduces quantifiers over stable models of programs. We name the new language ASP with Quantifiers (ASP(Q)). In the paper we identify computational properties of ASP(Q); we highlight its modeling capabilities by reporting natural encodings of several complex problems with applications in artificial intelligence and number theory; and we compare ASP(Q) with related languages. Arguably, ASP(Q) allows one to model problems in the Polynomial Hierarchy in a direct way, providing an elegant expansion of ASP beyond the class NP.

Information

Type
Original Article
Copyright
© Cambridge University Press 2019 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

Supplementary material: PDF

Amendola et al. supplementary material

Online Appendix

Download Amendola et al. supplementary material(PDF)
PDF 105.3 KB