依赖诱导型和余诱导型是纤维化双代数
Dependent Inductive and Coinductive Types are Fibrational Dialgebras
摘要:
在本文中,我建立了解释依赖归纳和共归纳类型所必需的范畴结构。众所周知,马丁-洛夫的依赖类型论可以使用纤维化来解释。然而,现代的定理证明器是基于更复杂的类型系统,允许定义强大的归纳依赖类型(称为归纳族)和有限的共归纳依赖类型。我定义了一类函子的纤维化,并显示如何数据类型定义对应于这些函子的初始和最终双代数。这种描述也是一种建议,即在类型论中应如何处理共归纳类型,因为它们在这里只是作为归纳类型的对偶出现。最后,我展示了依赖数据类型与代数和余代数的对应关系,并给出了依赖多项式函子的对应关系。
英文摘要:
In this paper, I establish the categorical structure necessary to interpret dependent inductive and coinductive types. It is well-known that dependent type theories à la Martin-Löf can be interpreted using fibrations. Modern theorem provers, however, are based on more sophisticated type systems that allow the definition of powerful inductive dependent types (known as inductive families) and, somewhat limited, coinductive dependent types. I define a class of functors on fibrations and show how data type definitions correspond to initial and final dialgebras for these functors. This description is also a proposal of how coinductive types should be treated in type theories, as they appear here simply as dual of inductive types. Finally, I show how dependent data types correspond to algebras and coalgebras, and give the correspondence to dependent polynomial functors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。