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

论《塞迪勒》中的归纳定义和价值过程归纳

Elaborating Inductive Definitions and Course-of-Values Induction in Cedille

Christopher Jenkins, Colin McDonald, Aaron Stump

摘要:

在依赖λ消去演算(CDLE)中,一种纯Curry风格的类型论,可以对支持CoV归纳的归纳数据集进行一般λ编码。我们提出了一个数据类型子系统Cedille(CDLE的实现),提供了这个功能的程序员通过方便的符号声明databases和定义功能,他们的情况下分析和定点风格的递归守护基于类型的终止检查。我们证明了这并不需要扩展CDLE,通过展示数据集和函数如何详细说明λ编码,并证明这种详细说明是类型和值保持的。这个数据类型子系统和阐述器在Cedille中实现,首次建立了一个完整的归纳定义到一个小的纯类型λ-演算的翻译。

英文摘要:

In the Calculus of Dependent Lambda Eliminations (CDLE), a pure Curry-style type theory, it is possible to generically λ-encode inductive datatypes which support course-of-values (CoV) induction. We present a datatype subsystem for Cedille (an implementation of CDLE) that provides this feature to programmers through convenient notation for declaring datatypes and for defining functions over them by case analysis and fixpoint-style recursion guarded by a type-based termination checker. We demonstrate that this does not require extending CDLE by showing how datatypes and functions over them elaborate to λ-encodings, and proving that this elaboration is type- and value-preserving. This datatype subsystem and elaborator are implemented in Cedille, establishing for the first time a complete translation of inductive definitions to a small pure typed λ-calculus.

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

↑