arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0410014cs.AI
收藏

回答集程序设计的范式

Normal forms for Answer Sets Programming

Stefania Costantini, Alessandro Provetti

摘要:

介绍了逻辑程序在稳定/答案集语义下的范式。我们认为,这些形式可以简化程序属性的研究,主要是一致性。第一个范式,称为程序的{ \em内核},对于研究答案集的存在性和数量非常有用。一个核程序是由原子组成的,这些原子在良基语义中是未定义的,它们直接影响答案集的存在。规则的主体仅由否定字面值组成。因此,内核形式往往比其他配方显着更紧凑。此外,它是可能的检查内核程序的一致性,在着色的扩展依赖图程序表示,我们以前开发的。第二种范式称为{ \em 3-kernel}。一个三核程序是由在良基语义中未定义的原子组成的。三核程序中的规则最多有两个条件,每个规则要么属于一个循环,要么定义了循环之间的连接。3-内核程序可以具有积极的条件。三核范式对于程序一致性的静态分析非常有用,即,答案集存在性的句法刻画。这一结果可以得到感谢一种新的图形表示的程序,称为循环图,其中提出的配套文章\cite{Cos04b}。

英文摘要:

Normal forms for logic programs under stable/answer set semantics are introduced. We argue that these forms can simplify the study of program properties, mainly consistency. The first normal form, called the {\em kernel} of the program, is useful for studying existence and number of answer sets. A kernel program is composed of the atoms which are undefined in the Well-founded semantics, which are those that directly affect the existence of answer sets. The body of rules is composed of negative literals only. Thus, the kernel form tends to be significantly more compact than other formulations. Also, it is possible to check consistency of kernel programs in terms of colorings of the Extended Dependency Graph program representation which we previously developed. The second normal form is called {\em 3-kernel.} A 3-kernel program is composed of the atoms which are undefined in the Well-founded semantics. Rules in 3-kernel programs have at most two conditions, and each rule either belongs to a cycle, or defines a connection between cycles. 3-kernel programs may have positive conditions. The 3-kernel normal form is very useful for the static analysis of program consistency, i.e., the syntactic characterization of existence of answer sets. This result can be obtained thanks to a novel graph-like representation of programs, called Cycle Graph which presented in the companion article \cite{Cos04b}.

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

↑