Extending Coinductive Logic Programming with Co-Facts

CoALP-Ty Pub Date : 2017-09-14 DOI:10.4204/EPTCS.258.1
D. Ancona, Francesco Dagnino, E. Zucca
{"title":"Extending Coinductive Logic Programming with Co-Facts","authors":"D. Ancona, Francesco Dagnino, E. Zucca","doi":"10.4204/EPTCS.258.1","DOIUrl":null,"url":null,"abstract":"We introduce a generalized logic programming paradigm where programs, consisting of facts and rules with the usual syntax, can be enriched by co-facts, which syntactically resemble facts but have a special meaning. As in coinductive logic programming, interpretations are subsets of the complete Herbrand basis, including infinite terms. However, the intended meaning (declarative semantics) of a program is a fixed point which is not necessarily the least, nor the greatest one, but is determined by co-facts. In this way, it is possible to express predicates on non well-founded structures, such as infinite lists and graphs, for which the coinductive interpretation would be not precise enough. Moreover, this paradigm nicely subsumes standard (inductive) and coinductive logic programming, since both can be expressed by a particular choice of co-facts, hence inductive and coinductive predicates can coexist in the same program. We illustrate the paradigm by examples, and provide declarative and operational semantics, proving the correctness of the latter. Finally, we describe a prototype meta-interpreter.","PeriodicalId":231667,"journal":{"name":"CoALP-Ty","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"CoALP-Ty","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.258.1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

We introduce a generalized logic programming paradigm where programs, consisting of facts and rules with the usual syntax, can be enriched by co-facts, which syntactically resemble facts but have a special meaning. As in coinductive logic programming, interpretations are subsets of the complete Herbrand basis, including infinite terms. However, the intended meaning (declarative semantics) of a program is a fixed point which is not necessarily the least, nor the greatest one, but is determined by co-facts. In this way, it is possible to express predicates on non well-founded structures, such as infinite lists and graphs, for which the coinductive interpretation would be not precise enough. Moreover, this paradigm nicely subsumes standard (inductive) and coinductive logic programming, since both can be expressed by a particular choice of co-facts, hence inductive and coinductive predicates can coexist in the same program. We illustrate the paradigm by examples, and provide declarative and operational semantics, proving the correctness of the latter. Finally, we describe a prototype meta-interpreter.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用协事实扩展共归纳逻辑规划
我们引入了一种广义的逻辑编程范式,其中程序由具有通常语法的事实和规则组成,可以通过辅助事实来丰富程序,辅助事实在语法上类似于事实,但具有特殊的含义。在共归纳逻辑规划中,解释是完整Herbrand基的子集,包括无限项。然而,程序的预期意义(声明性语义)是一个固定点,它不一定是最小的,也不一定是最大的,而是由共同事实决定的。通过这种方式,可以在非基础良好的结构上表达谓词,例如无限列表和图,对于这些结构,协归纳解释将不够精确。此外,这个范例很好地包含了标准(归纳)和协归纳逻辑规划,因为两者都可以通过特定的辅助事实来表达,因此归纳和协归纳谓词可以在同一个程序中共存。我们通过示例说明了范式,并提供了声明性和操作性语义,证明了后者的正确性。最后,我们描述了一个原型元解释器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Extending Coinductive Logic Programming with Co-Facts Structural Resolution for Abstract Compilation of Object-Oriented Languages Structural Resolution with Co-inductive Loop Detection
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1