【24h】

A Hierarchy of Mendler style Recursion Combinators

机译:Mendler风格递归组合器的层次结构

获取原文
获取原文并翻译 | 示例

摘要

The Mendler style catamorphism (which corresponds to weak induction) always terminates even for negative inductive datatypes. The Mendler style histomorphism (which corresponds to strong induction) is known to terminate for positive inductive datatypes. To our knowledge, the literature is silent on its termination properties for negative datatypes. In this paper, we prove that histomorphisms do not always termintate by showing a counter-example. We also enrich the Mendler collection of recursion combinators by defining a new form of Mendler style catamorphism (msfcata), which terminates for all inductive datatypes, that is more expressive than the original. We organize the collection of combinators by placing them into a hierarchy of ever increasing generality, and describing the termination properties of each point on the hierarchy. We also provide many examples (including a case study on a negative inductive datatype), which illustrate both the expressive power and beauty of the Mendler style. One lesson we learn from this work is that weak induction applies to negative inductive datatypes but strong induction is problematic. We provide a proof of weak induction by exhibiting an embedding of our new combinator into F_ω We pose the open question: Is there a safe way to apply strong induction to negative inductive datatypes?
机译:即使对于负归纳数据类型,Mendler风格的同构作用(对应于弱归纳)也总是终止。已知Mendler风格的组织形态(对应于强归纳法)会终止于正归纳数据类型。据我们所知,文献没有提及否定数据类型的终止特性。在本文中,我们通过显示反例来证明组织同态并不总是终止。我们还通过定义一种新的Mendler样式同形同构(msfcata)来丰富递归组合器的Mendler集合,该形式对于所有归纳数据类型都终止,比原始形式更具表现力。我们通过将组合器放置在越来越普遍的层次结构中并描述该层次结构上每个点的终止属性来组织组合器的集合。我们还提供了许多示例(包括对负归纳数据类型的案例研究),这些示例说明了Mendler风格的表现力和美感。我们从这项工作中学到的一个教训是,弱归纳适用于负归纳数据类型,但强归纳存在问题。我们通过将新的组合器嵌入F_ω中来提供弱感应的证明。我们提出了一个开放的问题:是否存在将强感应应用于负感应数据类型的安全方法?

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号