首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:AN EXTENSIBLE EQUALITY CHECKING ALGORITHM FOR DEPENDENT TYPE THEORIES
  • 本地全文:下载
  • 作者:Andrej Bauer ; Anja Petković Komel
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2022
  • 卷号:18
  • 期号:1
  • 页码:1-42
  • DOI:10.46298/lmcs-18(1:17)2022
  • 语种:English
  • 出版社:Technical University of Braunschweig
  • 摘要: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.
  • 关键词:type theory;equality checking;proof assistant
国家哲学社会科学文献中心版权所有