计算机科学 > 计算机科学中的逻辑
[提交于 2015年11月30日]
标题:Proof Relevant Corecursive Resolution
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Resolution lies at the foundation of both logic programming and type class context reduction in functional languages. Terminating derivations by resolution have well-defined inductive meaning, whereas some non-terminating derivations can be understood coinductively. Cycle detection is a popular method to capture a small subset of such derivations. We show that in fact cycle detection is a restricted form of coinductive proof, in which the atomic formula forming the cycle plays the role of coinductive hypothesis. This paper introduces a heuristic method for obtaining richer coinductive hypotheses in the form of Horn formulas. Our approach subsumes cycle detection and gives coinductive meaning to a larger class of derivations. For this purpose we extend resolution with Horn formula resolvents and corecursive evidence generation. We illustrate our method on non-terminating type class resolution problems.
提交历史
来自:Ekaterina Komendantskaya Dr[v1] 2015年11月30日 星期一 17:17:27 UTC