Semantics of (disjunctive) logic programs based on partial evaluation

Stefan Brass , Jürgen Dix
{"title":"Semantics of (disjunctive) logic programs based on partial evaluation","authors":"Stefan Brass ,&nbsp;Jürgen Dix","doi":"10.1016/S0743-1066(98)10030-4","DOIUrl":null,"url":null,"abstract":"<div><p>We present a new and general approach for defining, understanding, and computing logic programming semantics. We consider disjunctive programs for generality, but our results are still interesting if specialized to normal programs. Our framework consists of two parts: (a) a <em>semantical</em>, where semantics are defined in an abstract way as the <em>weakest</em> semantics satisfying certain properties, and (b) a <em>procedural</em>, namely a bottom-up query evaluation method based on operators working on <em>conditional facts</em>. As to (a), we concentrate in this paper on a particular set of abstract properties (the most important being the <em>unfolding</em> or <em>partial evaluation property</em> GPPE) and define a new semantics D-WFS, which extends WFS and GCWA. We also mention that various other semantics, like Fitting's comp<sub>3</sub>, Schipf's WFS<sub>c</sub>, Gelfond and lifschitz' STABLE and Ross and Topor's WGCWA (also introduced independently by Rajasekar et al. (A. Rajasekar, J. Lobo, J. Minker, Journal of Automated Reasoning 5 (1989) 293–307)), can be captured in our framework. In (b) we compute for any program <em>P</em> a residual program <em>res(P)</em>, and show that <em>res(P)</em> is equivalent to the original program under very general conditions on the semantics (which are satisfied, e.g., by the well-founded, stable, stationary, and static semantics). Many queries with respect to these semantics can already be answered on the basis of the residual program. In fact, <em>res(P)</em> is <em>complete</em> for D-WFS, WFS and GCWA.</p></div>","PeriodicalId":101236,"journal":{"name":"The Journal of Logic Programming","volume":"40 1","pages":"Pages 1-46"},"PeriodicalIF":0.0000,"publicationDate":"1999-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/S0743-1066(98)10030-4","citationCount":"101","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of Logic Programming","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0743106698100304","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 101

Abstract

We present a new and general approach for defining, understanding, and computing logic programming semantics. We consider disjunctive programs for generality, but our results are still interesting if specialized to normal programs. Our framework consists of two parts: (a) a semantical, where semantics are defined in an abstract way as the weakest semantics satisfying certain properties, and (b) a procedural, namely a bottom-up query evaluation method based on operators working on conditional facts. As to (a), we concentrate in this paper on a particular set of abstract properties (the most important being the unfolding or partial evaluation property GPPE) and define a new semantics D-WFS, which extends WFS and GCWA. We also mention that various other semantics, like Fitting's comp3, Schipf's WFSc, Gelfond and lifschitz' STABLE and Ross and Topor's WGCWA (also introduced independently by Rajasekar et al. (A. Rajasekar, J. Lobo, J. Minker, Journal of Automated Reasoning 5 (1989) 293–307)), can be captured in our framework. In (b) we compute for any program P a residual program res(P), and show that res(P) is equivalent to the original program under very general conditions on the semantics (which are satisfied, e.g., by the well-founded, stable, stationary, and static semantics). Many queries with respect to these semantics can already be answered on the basis of the residual program. In fact, res(P) is complete for D-WFS, WFS and GCWA.

基于部分求值的(析取)逻辑程序语义
我们提出了一种新的通用方法来定义、理解和计算逻辑编程语义。我们考虑析取程序的普遍性,但我们的结果仍然是有趣的,如果专门针对普通程序。我们的框架由两部分组成:(a)语义,其中语义以抽象的方式定义为满足某些属性的最弱语义,以及(b)过程,即基于操作符的自下而上的查询评估方法。对于(a),我们在本文中集中讨论了一组特定的抽象属性(最重要的是展开或部分求值属性GPPE),并定义了一个新的语义D-WFS,它扩展了WFS和GCWA。我们还提到了各种其他语义,如Fitting的comp3, Schipf的WFSc, Gelfond和lifschitz的STABLE以及Ross和Topor的WGCWA(也由Rajasekar等人独立引入(A. Rajasekar, J. Lobo, J. Minker, Journal of Automated Reasoning 5(1989) 293-307))),可以在我们的框架中捕获。在(b)中,我们计算了任意程序P的残差程序res(P),并证明res(P)在非常一般的语义条件下等价于原程序(例如,由良好的、稳定的、平稳的和静态的语义所满足)。关于这些语义的许多查询已经可以在残差程序的基础上得到回答。实际上,res(P)对于D-WFS、WFS和GCWA是完整的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信