arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.00660cs.AIcs.LO
收藏

含内涵集的泛函ASP:对Gelfond-Zhang聚集的应用

Functional ASP with Intensional Sets: Application to Gelfond-Zhang Aggregates

University of Corunna(拉科鲁尼亚大学)

Pedro Cabalar, Jorge Fandinno, Luis Fariñas del Cerro, David Pearce

摘要:

在本文中,我们提出了一个变体的答案集编程(ASP)与可评估的功能,将其应用程序扩展到对象集,允许一个完全逻辑处理的聚集。在形式上,我们从一阶逻辑与等式的语法和量化均衡逻辑与赋值函数(QELF)的语义。然后,我们继续将一种新的逻辑术语,内涵集(一种构造,通常用于表示一组对象的特征在于一个给定的公式),并扩展QELF语义这种新类型的表达。在我们的扩展方法中,内涵集可以任意用作谓词或函数参数,甚至可以嵌套在其他内涵集中,就像常规的一阶逻辑项一样。因此,聚合可以通过对表示为内涵集合的对象集合应用某种可评估函数(计数、求和、最大值等)来自然形成。这种方法有几个优点。首先,虽然聚合的其他语义依赖于一些语法转换(通过约简或公式转换),但QELF解释将它们视为常规的可评估函数,提供了组合语义并避免了任何类型的语法限制。其次,现在可以在逻辑语言中明确定义聚合,通过简单的公式相加,这些公式在某些(交换和结合)二元运算的多次应用中固定了它们的含义。例如,我们可以使用递归规则来定义整数加法的sum。最后,但并非最不重要的是,我们证明了语义,我们得到的聚合与Gelfond和张的Alog语言定义的,当我们限制到该句法片段。(正在考虑接受TPLP)

英文摘要:

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, etc) to a set of objects expressed as an intensional set. This approach has several advantages. First, while other semantics for aggregates depend on some syntactic transformation (either via a reduct or a formula translation), the QELF interpretation treats them as regular evaluable functions, providing a compositional semantics and avoiding any kind of syntactic restriction. Second, aggregates can be explicitly defined now within the logical language by the simple addition of formulas that fix their meaning in terms of multiple applications of some (commutative and associative) binary operation. For instance, we can use recursive rules to define sum in terms of integer addition. Last, but not least, we prove that the semantics we obtain for aggregates coincides with the one defined by Gelfond and Zhang for the Alog language, when we restrict to that syntactic fragment. (Under consideration for acceptance in TPLP)

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑