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

Leivant谓词系统F中的遗传替代方程:一个案例研究

Equations for Hereditary Substitution in Leivant's Predicative System F: A Case Study

Cyprien Mangin, Matthieu Sozeau

摘要:

本文介绍了一个案例研究的形式化的规范化证明Leivant的预测系统F使用方程包。莱万特的谓词系统F是系统F的一个分层版本,其中类型量化用表示全域水平的种类来注释。Stump和Eades研究了这个系统的一个较弱的变体,采用遗传替代方法来显示归一化。我们改进了这一结果,表现出规范化Leivant的原始系统使用遗传替代和一种新的多集排序的类型。我们的开发是在Coq证明助手中使用Equations包完成的,该软件包提供了一个接口来定义具有良好基础递归和完全依赖模式匹配的依赖类型程序。方程允许我们明确定义遗传替代函数,澄清其算法行为存在的术语和类型的替代。从这个定义中,可以很容易地得出一致性。我们开发的算法性质对于用类型量化反映语言至关重要,扩大了可以在证明助手中使用反射方法的语言类别。

英文摘要:

This paper presents a case study of formalizing a normalization proof for Leivant's Predicative System F using the Equations package. Leivant's Predicative System F is a stratified version of System F, where type quantification is annotated with kinds representing universe levels. A weaker variant of this system was studied by Stump & Eades, employing the hereditary substitution method to show normalization. We improve on this result by showing normalization for Leivant's original system using hereditary substitutions and a novel multiset ordering on types. Our development is done in the Coq proof assistant using the Equations package, which provides an interface to define dependently-typed programs with well-founded recursion and full dependent pattern- matching. Equations allows us to define explicitly the hereditary substitution function, clarifying its algorithmic behavior in presence of term and type substitutions. From this definition, consistency can easily be derived. The algorithmic nature of our development is crucial to reflect languages with type quantification, enlarging the class of languages on which reflection methods can be used in the proof assistant.

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

↑