Functional answer set programming
Pedro Cabalar · Theory and Practice of Logic Programming · 2011
Abstract In this paper we propose an extension of Answer Set Programming (ASP) to deal with (possibly partial) evaluable functions. To this aim, we start from the most general logical counterpart of ASP, Quantified Equilibrium Logic (QEL), and propose a variant QEL=ℱwhere the set of functions is partitioned into Herbrand functions (orconstructors) and evaluable functions (oroperations). We show how this extension has a direct connection to Scott'sLogic of Existence, and introduce several useful derived operators, some of them directly borrowed from Scott's formalisation. Using this general framework for arbitrary theories, we proceed to focus on a syntactic subclass that corresponds to normal logic programs with evaluable functions and equality. We provide a translation of this class into function-free normal programs and consider a safety condition so that the resulting program is also safe, under the usual meaning in ASP. Finally, we also establish a formal comparison to Lin and Wang's approach (FASP) dealing with evaluable total functions.
Cited by 34 works. doi:10.1017/s1471068410000517
Authors
References
- Circumscription—A form of non-monotonic reasoning
- The stable model semantics for logic programming
- Die formalen Regeln der intuitionistischen Logik
- The DLV system for knowledge representation and reasoning
- Intuitionism An Introduction
- Stable Models and an Alternative Logic Programming Paradigm
- Representing action and change by logic programs
- Intuitionism an Introduction
- The integration of functions into logic programming: From theory to practice
- Identity and existence in intuitionistic logic