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

文章基本信息

  • 标题:QUOTIENTS OF BOUNDED NATURAL FUNCTORS
  • 本地全文:下载
  • 作者:Basil Fürer ; Andreas Lochbihler ; Joshua Schneider
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2022
  • 卷号:18
  • 期号:1
  • 页码:1-28
  • DOI:10.46298/lmcs-18(1:23)2022
  • 语种:English
  • 出版社:Technical University of Braunschweig
  • 摘要:The functorial structure of type constructors is the foundation for many definition and proof principles in higher-order logic (HOL). For example, inductive and coinductive datatypes can be built modularly from bounded natural functors (BNFs), a class of well-behaved type constructors. Composition, fixpoints, and, under certain conditions, subtypes are known to preserve the BNF structure. In this article, we tackle the preservation question for quotients, the last important principle for introducing new types in HOL. We identify sufficient conditions under which a quotient inherits the BNF structure from its underlying type. Surprisingly, lifting the structure in the obvious manner fails for some quotients, a problem that also affects the quotients of polynomial functors used in the Lean proof assistant. We provide a strictly more general lifting scheme that supports such problematic quotients. We extend the Isabelle/HOL proof assistant with a command that automates the registration of a quotient type as a BNF, reducing the proof burden on the user from the full set of BNF axioms to our inheritance conditions. We demonstrate the command's usefulness through several case studies.
  • 关键词:Inductive and coinductive datatypes;quotient types;functors;higher-order logic;proof assistants
国家哲学社会科学文献中心版权所有