Functional ASP with Intensional Sets: Application to Gelfond-Zhang Aggregates
Pedro Cabalar, Jorge Fandinno, Luis Fari\~nas del Cerro, David, Pearce

TL;DR
This paper introduces a logical framework extending Answer Set Programming with intensional sets, enabling natural and compositional treatment of aggregates like sum and count within a fully logical semantics.
Contribution
It extends QELF with intensional sets, allowing aggregates to be defined as evaluable functions without syntactic restrictions, matching Gelfond-Zhang semantics.
Findings
Provides a compositional semantics for aggregates
Enables explicit logical definitions of aggregate functions
Proves equivalence with Gelfond-Zhang semantics for Alog
Abstract
In this paper, we propose a variant of Answer Set Programming (ASP) with evaluable functions that extends their application to sets of objects, something that allows a fully logical treatment of aggregates. Formally, we start from the syntax of First Order Logic with equality and the semantics of Quantified Equilibrium Logic with evaluable functions (QELF). Then, we proceed to incorporate a new kind of logical term, intensional set (a construct commonly used to denote the set of objects characterised by a given formula), and to extend QELF semantics for this new type of expression. In our extended approach, intensional sets can be arbitrarily used as predicate or function arguments or even nested inside other intensional sets, just as regular first-order logical terms. As a result, aggregates can be naturally formed by the application of some evaluable function (count, sum, maximum,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
