首页> 外文会议>Annual ACM/IEEE Symposium on Logic in Computer Science >Foundational, Compositional (Co)datatypes for Higher-Order Logic: Category Theory Applied to Theorem Proving
【24h】

Foundational, Compositional (Co)datatypes for Higher-Order Logic: Category Theory Applied to Theorem Proving

机译:高阶逻辑的基础,组成(CO)数据类型:适用于定理证明的类别理论

获取原文

摘要

Interactive theorem provers based on higher-order logic (HOL) traditionally follow the definitional approach, reducing high-level specifications to logical primitives. This also applies to the support for datatype definitions. However, the internal datatype construction used in HOL4, HOL Light, and Isabelle/HOL is fundamentally noncompositional, limiting its efficiency and flexibility, and it does not cater for codatatypes. We present a fully modular framework for constructing (co)datatypes in HOL, with support for mixed mutual and nested (co)recursion. Mixed (co)recursion enables type definitions involving both datatypes and codatatypes, such as the type of finitely branching trees of possibly infinite depth. Our framework draws heavily from category theory. The key notion is that of a bounded natural functor---an enriched type constructor satisfying specific properties preserved by interesting categorical operations. Our ideas are implemented as a definitional package in Isabelle, addressing a frequent request from users.
机译:基于高阶逻辑(HOL)的交互式定理传统传统上遵循定义方法,将高级规格降低到逻辑基元。这也适用于对数据类型定义的支持。然而,在HOL4,HOL灯和伊莎贝尔/霍尔中使用的内部数据类型建筑基本上是非愿意的,限制其效率和灵活性,并且不适合编码型。我们为在HOL中构建(CO)数据类型提供了一个完全模块化的框架,支持混合互联网和嵌套(CO)递归。混合(CO)递归使涉及数据类型和编码型的类型定义,例如可能无限深度的有限分支树的类型。我们的框架从类别理论中划大了很多。关键概念是有界自然函数的 - 一种充满有趣的分类操作保留的特定属性的丰富型构造函数。我们的想法是在isabelle中的定义包,解决了用户的频繁请求。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号