Encoding Type Universes Without Using Matching Modulo Associativity and Commutativity

F. Blanqui
{"title":"Encoding Type Universes Without Using Matching Modulo Associativity and Commutativity","authors":"F. Blanqui","doi":"10.4230/LIPIcs.FSCD.2022.24","DOIUrl":null,"url":null,"abstract":"The encoding of proof systems and type theories in logical frameworks is key to allow the translation of proofs from one system to the other. The λ Π-calculus modulo rewriting is a powerful logical framework in which various systems have already been encoded, including type systems with an infinite hierarchy of type universes equipped with a unary successor operator and a binary max operator: Matita, Coq, Agda and Lean. However, to decide the word problem in this max-successor algebra, all the encodings proposed so far use rewriting with matching modulo associativity and commutativity (AC), which is of high complexity and difficult to integrate in usual algorithms for β -reduction and type-checking. In this paper, we show that we do not need matching modulo AC by enforcing terms to be in some special canonical form wrt associativity and commutativity, and by using rewriting rules taking advantage of this canonical form. This work has been implemented in the proof assistant Lambdapi. paper, Gaspard Férey for his remarks on a first version of this paper, as well as the anonymous reviewers for their suggestions.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"59 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Formal Structures for Computation and Deduction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.FSCD.2022.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The encoding of proof systems and type theories in logical frameworks is key to allow the translation of proofs from one system to the other. The λ Π-calculus modulo rewriting is a powerful logical framework in which various systems have already been encoded, including type systems with an infinite hierarchy of type universes equipped with a unary successor operator and a binary max operator: Matita, Coq, Agda and Lean. However, to decide the word problem in this max-successor algebra, all the encodings proposed so far use rewriting with matching modulo associativity and commutativity (AC), which is of high complexity and difficult to integrate in usual algorithms for β -reduction and type-checking. In this paper, we show that we do not need matching modulo AC by enforcing terms to be in some special canonical form wrt associativity and commutativity, and by using rewriting rules taking advantage of this canonical form. This work has been implemented in the proof assistant Lambdapi. paper, Gaspard Férey for his remarks on a first version of this paper, as well as the anonymous reviewers for their suggestions.
不使用匹配模结合性和交换性的编码类型宇宙
证明系统和类型理论在逻辑框架中的编码是允许从一个系统转换到另一个系统的证明的关键。λ Π-calculus模重写是一个强大的逻辑框架,其中已经编码了各种系统,包括具有无限层次结构的类型系统,这些类型系统配备了一个一元后继算子和一个二元最大算子:matta, Coq, Agda和Lean。然而,为了求解该最大后继代数中的词问题,目前提出的所有编码都采用匹配模结合律和交换性(AC)的重写,这在通常的β -约简和类型检查算法中具有较高的复杂性和难以集成的特点。在本文中,我们通过将项强制为结合性和交换性的某种特殊规范形式,并使用利用这种规范形式的重写规则,证明了我们不需要匹配模AC。这项工作已经在证明助手Lambdapi中实现。感谢Gaspard fsamrey对本文第一版的评论,以及匿名审稿人提出的建议。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信