Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-06T11:04:16.931Z Has data issue: false hasContentIssue false

Functional answer set programming

Published online by Cambridge University Press:  04 February 2011

PEDRO CABALAR*
Affiliation:
Department of Computer Science, University of Corunna, Corunna, Spain (e-mail: cabalar@udc.es)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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 (or constructors) and evaluable functions (or operations). We show how this extension has a direct connection to Scott's Logic 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.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2011