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

归纳结构演算的完全双向类型化

Complete Bidirectional Typing for the Calculus of Inductive Constructions

Meven Lennon-Bertrand

摘要:

本文提出了一个归纳结构演算(CIC)的双向类型系统。它引入了一种介于通常的推理和检查之间的新判断,称为约束推理,以处理类型中的计算。该系统的关键属性是其相对于通常的无向系统的完备性,这已经在Coq中作为MetaCoq项目的一部分正式证明。虽然它在一个现实的类型化算法的持续完整性证明中扮演着重要的角色,但双向性的兴趣更广泛,因为它在试图证明CIC或设计变体和扩展的属性时提供了见解和结构。特别是,我们提出了约束推理,通常的推理和检查判断之间的中间,处理类型中的计算的存在。

英文摘要:

This article presents a bidirectional type system for the Calculus of Inductive Constructions (CIC). It introduces a new judgement intermediate between the usual inference and checking, dubbed constrained inference, to handle the presence of computation in types. The key property of the system is its completeness with respect to the usual undirected one, which has been formally proven in Coq as a part of the MetaCoq project. Although it plays an important role in an ongoing completeness proof for a realistic typing algorithm, the interest of bidirectionality is wider, as it gives insights and structure when trying to prove properties on CIC or design variations and extensions. In particular, we put forward constrained inference, an intermediate between the usual inference and checking judgements, to handle the presence of computation in types.

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

↑