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

索引分层类型(扩展版)

Index-Stratified Types (Extended Version)

Rohan Jacob-Rao, Brigitte Pientka, David Thibodeau

摘要:

我们提出Tores,编码元理论证明的核心语言。我们引入的新特性是在索引数据类型上的有理有据的Mendler风格(共)递归,以及在索引语言中构建新类型的对象上的递归形式。后者,我们称之为索引分层类型,类似于依赖类型语言中的大消除概念。结合这些功能,我们可以对复杂的案例研究进行编码,例如lambda演算的规范化和通过评估进行规范化。我们证明了合理的Tores作为一个编程和证明语言,通过主题减少和终止的关键定理。

英文摘要:

We present Tores, a core language for encoding metatheoretic proofs. The novel features we introduce are well-founded Mendler-style (co)recursion over indexed data types and a form of recursion over objects in the index language to build new types. The latter, which we call index-stratified types, are analogue to the concept of large elimination in dependently typed languages. These features combined allow us to encode sophisticated case studies such as normalization for lambda calculi and normalization by evaluation. We prove the soundness of Tores as a programming and proof language via the key theorems of subject reduction and termination.

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

↑