# Beyond NP: Quantifying over Answer Sets

**Authors:** Giovanni Amendola, Francesco Ricca, Mirek Truszczynski

arXiv: 1907.09559 · 2020-02-19

## TL;DR

This paper introduces ASP with Quantifiers (ASP(Q)), an extension of Answer Set Programming that enables modeling of problems in the Polynomial Hierarchy by adding quantifiers over stable models, thus expanding ASP's expressiveness.

## Contribution

The paper proposes ASP(Q), a novel extension of ASP that incorporates quantifiers over stable models, allowing direct modeling of problems beyond NP in the Polynomial Hierarchy.

## Key findings

- ASP(Q) can model problems in the Polynomial Hierarchy.
- ASP(Q) demonstrates natural encodings for complex AI and number theory problems.
- Comparison shows ASP(Q) extends ASP's modeling capabilities significantly.

## 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}^P_2 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. Under consideration for acceptance in TPLP.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.09559/full.md

## References

40 references — full list in the complete paper: https://tomesphere.com/paper/1907.09559/full.md

---
Source: https://tomesphere.com/paper/1907.09559