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

带尺寸标注的代数结构演算中类型检验的判定性

Decidability of Type-checking in the Calculus of Algebraic Constructions with Size Annotations

Frédéric Blanqui

摘要:

自从Val Tannen的先驱工作简单类型的类演算和一阶重写的组合(LICS'88),许多作者都通过将其扩展到更丰富的类型类演算和重写范式,最终在演算像代数结构的演算。这些工作提供了理论基础的类型理论的证明助手的功能和谓词定义的定向高阶方程。这种定义包含了基于归纳的定义,更容易编写,并提供了更多的自动化。另一方面,检查用户定义的重写规则是强规范化和融合的,并且在与beta约简结合时保持类型检查的可判定性,则更加困难。大多数终止标准依赖于期限结构。在以前的工作中,我们扩展到依赖类型和高阶重写,“大小类型”的概念由几位作者在ML类语言的简单框架中研究,并证明了它保持了强规范化。本文件的主要贡献是双重的。首先,证明了在带尺寸标注的代数构造演算中,只要尺寸标注所产生的约束集是可满足的,并且允许最一般的解,则类型推断和类型检验问题是可判定的.其次,我们证明了一个大小代数足够丰富的捕获通常的归纳为基础的定义和更多的后来的属性。

英文摘要:

Since Val Tannen's pioneer work on the combination of simply-typed lambda-calculus and first-order rewriting (LICS'88), many authors have contributed to this subject by extending it to richer typed lambda-calculi and rewriting paradigms, culminating in calculi like the Calculus of Algebraic Constructions. These works provide theoretical foundations for type-theoretic proof assistants where functions and predicates are defined by oriented higher-order equations. This kind of definitions subsumes induction-based definitions, is easier to write and provides more automation. On the other hand, checking that user-defined rewrite rules are strongly normalizing and confluent, and preserve the decidability of type-checking when combined with beta-reduction, is more difficult. Most termination criteria rely on the term structure. In a previous work, we extended to dependent types and higher-order rewriting, the notion of ``sized types'' studied by several authors in the simpler framework of ML-like languages, and proved that it preserves strong normalization. The main contribution of the present paper is twofold. First, we prove that, in the Calculus of Algebraic Constructions with size annotations, the problems of type inference and type-checking are decidable, provided that the sets of constraints generated by size annotations are satisfiable and admit most general solutions. Second, we prove the later properties for a size algebra rich enough for capturing usual induction-based definitions and much more.

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

↑