计算机科学 > 程序设计语言
[提交于 2016年8月18日]
标题:Coinductive Soundness of Corecursive Type Class Resolution
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Frantisek Farka[v1] 2016年8月18日 星期四 10:37:22 UTC