Constraint Answer Set Programming without Grounding
Joaquín Arias, Manuel Carro, Elmer Salazar et al. · Theory and Practice of Logic Programming · 2018
Abstract Extending ASP with constraints (CASP) enhances its expressiveness and performance. This extension is not straightforward as the grounding phase, present in most ASP systems, removes variables and the links among them, and also causes a combinatorial explosion in the size of the program. Several methods to overcome this issue have been devised: restricting the constraint domains (e.g., discrete instead of dense), or the type (or number) of models that can be returned. In this paper we propose to incorporate constraints into s(ASP), a goal-directed, top-down execution model which implements ASP while retaining logical variables both during execution and in the answer sets. The resulting model, s(CASP), can constrain variables that, as in CLP, are kept during the execution and in the answer sets. s(CASP) inherits and generalizes the execution model of s(ASP) and is parametric w.r.t. the constraint solver. We describe this novel execution model and show through several examples the enhanced expressiveness of s(CASP) w.r.t. ASP, CLP, and other CASP systems. We also report improved performance w.r.t. other very mature, highly optimized ASP systems in some benchmarks.
Cited by 87 works. doi:10.1017/s1471068418000285 Open-access PDF
Authors
References
- The stable model semantics for logic programming
- Classical negation in logic programs and disjunctive databases
- Constraint logic programming: a survey
- Answer set programming at a glance
- A closed-form evaluation for Datalog queries with integer (gap)-order constraints
- An overview of Ciao and its design philosophy
- External sources of knowledge and value invention in logic programming
- Coinductive Logic Programming and Its Applications
- Modeling Answer Constraints in Constraint Logic Programs.
- GASP: Answer Set Programming with Lazy Grounding