arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2103.07397cs.LOmath.LO
收藏

依赖类型理论的扩展性相等性检查算法

An extensible equality checking algorithm for dependent type theories

Andrej Bauer, Anja Petković Komel

AI总结:

提出一种通用且用户可扩展的相等性检查算法,适用于多种类型理论,通过类型导向阶段和规范化阶段处理外延性与计算规则,并在Andromeda 2中实现,证明其可靠性。

摘要:

我们提出了一种通用且用户可扩展的相等性检查算法,适用于大类类型理论。该算法具有一个类型导向阶段,用于应用外延性规则,以及一个基于计算规则的规范化阶段,其中两类规则都使用类型理论中的对象可逆规则概念来定义。我们还给出了识别此类规则的充分句法标准,以及一个用于应用这些规则的简单模式匹配算法。该算法的第三个组成部分是合适的主参数概念,它决定了规范形式的概念。通过改变这些,我们获得了已知的概念,如弱头规范形式和强规范形式。我们证明了我们的算法是可靠的。我们在Andromeda 2证明助手中实现了它,该助手支持用户可定义的类型理论。用户只需提供他们希望使用的相等性规则,算法会自动将其分类为计算规则或外延性规则,并选择合适的主参数。

英文摘要:

We present a general and user-extensible equality checking algorithm that is applicable to a large class of type theories. The algorithm has a type-directed phase for applying extensionality rules and a normalization phase based on computation rules, where both kinds of rules are defined using the type-theoretic concept of object-invertible rules. We also give sufficient syntactic criteria for recognizing such rules, as well as a simple pattern-matching algorithm for applying them. A third component of the algorithm is a suitable notion of principal arguments, which determines a notion of normal form. By varying these, we obtain known notions, such as weak head-normal and strong normal forms. We prove that our algorithm is sound. We implemented it in the Andromeda 2 proof assistant, which supports user-definable type theories. The user need only provide the equality rules they wish to use, which the algorithm automatically classifies as computation or extensionality rules, and select appropriate principal arguments.

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

↑