Productive corecursion in logic programming

Author:

KOMENDANTSKAYA EKATERINA,LI YUEORCID

Abstract

AbstractLogic Programming is a Turing complete language. As a consequence, designing algorithms that decide termination and non-termination of programs or decide inductive/coinductive soundness of formulae is a challenging task. For example, the existing state-of-the-art algorithms can only semi-decide coinductive soundness of queries in logic programming for regular formulae. Another, less famous, but equally fundamental and important undecidable property is productivity. If a derivation is infinite and coinductively sound, we may ask whether the computed answer it determines actually computes an infinite formula. If it does, the infinite computation is productive. This intuition was first expressed under the name of computations at infinity in the 80s. In modern days of the Internet and stream processing, its importance lies in connection to infinite data structure processing. Recently, an algorithm was presented that semi-decides a weaker property – of productivity of logic programs. A logic program is productive if it can give rise to productive derivations. In this paper, we strengthen these recent results. We propose a method that semi-decides productivity of individual derivations for regular formulae. Thus, we at last give an algorithmic counterpart to the notion of productivity of derivations in logic programming. This is the first algorithmic solution to the problem since it was raised more than 30 years ago. We also present an implementation of this algorithm.

Publisher

Cambridge University Press (CUP)

Subject

Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software

Reference22 articles.

1. Logic Programming Languages for the Internet

2. Fundamental properties of infinite trees

3. Li Y. 2017. Structural resolution with coinductive loop detection. In Post-Proc. of CoALP-Ty'16, E. Komendantskaya and J. Power , Eds. Open Publishing Association, to appear in.

4. Coalgebraic logic programming: from Semantics to Implementation

Cited by 9 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Reducing Higher-order Recursion Scheme Equivalence to Coinductive Higher-order Constrained Horn Clauses;Electronic Proceedings in Theoretical Computer Science;2021-09-13

2. COALGEBRAIC SEMANTICS FOR PROBABILISTIC LOGIC PROGRAMMING;LOG METH COMPUT SCI;2021

3. The New Normal: We Cannot Eliminate Cuts in Coinductive Calculi, But We Can Explore Them;Theory and Practice of Logic Programming;2020-09-22

4. Flexible coinductive logic programming;Theory and Practice of Logic Programming;2020-09-22

5. Coinduction in Uniform: Foundations for Corecursive Proof Search with Horn Clauses;Programming Languages and Systems;2019

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3