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

余递归型类归结的余归纳可靠性

Coinductive Soundness of Corecursive Type Class Resolution

František Farka, Ekaterina Komendantskaya, Kevin Hammond

摘要:

Horn子句和一阶解析通常用于在Haskell中实现类型类。最近提出了几种类型类解析的共递归扩展,目标是允许在解析不终止的情况下进行(共)递归字典构造。本文首次证明了上递归类型类归结及其推广对于逻辑程序的最大Herbrand模型是上归纳可靠的,而对于最小Herbrand模型是归纳不可靠的。我们建立证明系统的各个片段的不完整性结果。

英文摘要:

Horn clauses and first-order resolution are commonly used to implement type classes in Haskell. Several corecursive extensions to type class resolution have recently been proposed, with the goal of allowing (co)recursive dictionary construction where resolution does not termi- nate. This paper shows, for the first time, that corecursive type class resolution and its extensions are coinductively sound with respect to the greatest Herbrand models of logic programs and that they are induc- tively unsound with respect to the least Herbrand models. We establish incompleteness results for various fragments of the proof system.

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

↑