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.
用协事实扩展共归纳逻辑规划
我们引入了一种广义的逻辑编程范式,其中程序由具有通常语法的事实和规则组成,可以通过辅助事实来丰富程序,辅助事实在语法上类似于事实,但具有特殊的含义。在共归纳逻辑规划中,解释是完整Herbrand基的子集,包括无限项。然而,程序的预期意义(声明性语义)是一个固定点,它不一定是最小的,也不一定是最大的,而是由共同事实决定的。通过这种方式,可以在非基础良好的结构上表达谓词,例如无限列表和图,对于这些结构,协归纳解释将不够精确。此外,这个范例很好地包含了标准(归纳)和协归纳逻辑规划,因为两者都可以通过特定的辅助事实来表达,因此归纳和协归纳谓词可以在同一个程序中共存。我们通过示例说明了范式,并提供了声明性和操作性语义,证明了后者的正确性。最后,我们描述了一个原型元解释器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信