Coinductive Soundness of Corecursive Type Class Resolution
Coinductive Soundness of Corecursive Type Class Resolution
复制标题
核心递归类型类解析的共归纳健全性
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
K. Hammond
中科院分区:
文献类型:
--
作者:
František Farka;Ekaterina Komendantskaya;K. Hammond
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 terminate. 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 inductively unsound with respect to the least Herbrand models. We establish incompleteness results for various fragments of the proof system.
影响因子:
1
作者:
Fu P
通讯作者:
Fu P