arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.09254cs.LO
收藏

偏性,再访:作为商归纳-归纳类型的偏性单子

Partiality, Revisited: The Partiality Monad as a Quotient Inductive-Inductive Type

Thorsten Altenkirch, Nils Anders Danielsson, Nicolai Kraus

摘要:

Capretta的延迟单子可以用来模拟部分计算,但它有一个“错误”的概念,即内置的相等性,强双相似性。另一种方法是用“右”相等的概念,弱双相似性来商延迟单子。然而,查普曼等人最近的工作表明,如果不假设可数选择公理(的实例),就不可能在类型论的常见形式中定义一个单子结构。利用同伦类型论的一个思想--一种更高级的归纳-归纳类型--我们在不依赖可数选择的情况下构造了一个幺半群。我们证明了,在可数选择的存在下,我们的单变量等价于延迟单变量的弱双相似性。此外,我们概述了几个应用程序。

英文摘要:

Capretta's delay monad can be used to model partial computations, but it has the "wrong" notion of built-in equality, strong bisimilarity. An alternative is to quotient the delay monad by the "right" notion of equality, weak bisimilarity. However, recent work by Chapman et al. suggests that it is impossible to define a monad structure on the resulting construction in common forms of type theory without assuming (instances of) the axiom of countable choice. Using an idea from homotopy type theory - a higher inductive-inductive type - we construct a partiality monad without relying on countable choice. We prove that, in the presence of countable choice, our partiality monad is equivalent to the delay monad quotiented by weak bisimilarity. Furthermore we outline several applications.

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

↑