Dependent Inductive and Coinductive Types are Fibrational Dialgebras

Henning Basold
{"title":"Dependent Inductive and Coinductive Types are Fibrational Dialgebras","authors":"Henning Basold","doi":"10.4204/EPTCS.191.3","DOIUrl":null,"url":null,"abstract":"In this paper, I establish the categorical structure necessary to interpret dependent inductive and coinductive types. It is well-known that dependent type theories a la Martin-Lof can be interpreted using fibrations. Modern theorem provers, however, are based on more sophisticated type systems that allow the definition of powerful inductive dependent types (known as inductive families) and, somewhat limited, coinductive dependent types. I define a class of functors on fibrations and show how data type definitions correspond to initial and final dialgebras for these functors. This description is also a proposal of how coinductive types should be treated in type theories, as they appear here simply as dual of inductive types. Finally, I show how dependent data types correspond to algebras and coalgebras, and give the correspondence to dependent polynomial functors.","PeriodicalId":119563,"journal":{"name":"Fixed Points in Computer Science","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Fixed Points in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.191.3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In this paper, I establish the categorical structure necessary to interpret dependent inductive and coinductive types. It is well-known that dependent type theories a la Martin-Lof can be interpreted using fibrations. Modern theorem provers, however, are based on more sophisticated type systems that allow the definition of powerful inductive dependent types (known as inductive families) and, somewhat limited, coinductive dependent types. I define a class of functors on fibrations and show how data type definitions correspond to initial and final dialgebras for these functors. This description is also a proposal of how coinductive types should be treated in type theories, as they appear here simply as dual of inductive types. Finally, I show how dependent data types correspond to algebras and coalgebras, and give the correspondence to dependent polynomial functors.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
依赖归纳型和共归纳型是纤维对偶型
在本文中,我建立了解释依存归纳和共归纳类型所必需的范畴结构。众所周知,马丁-洛夫的依赖类型理论可以用振动来解释。然而,现代定理证明是基于更复杂的类型系统,它允许定义强大的归纳依赖类型(称为归纳族)和(在某种程度上有限的)协归纳依赖类型。我在fibrations上定义了一类函子,并展示了数据类型定义如何对应于这些函子的初始和最终对话框。这个描述也是关于在类型理论中如何对待共归纳类型的一个建议,因为它们在这里只是作为归纳类型的对偶出现。最后,我将展示相关数据类型如何对应于代数和余代数,并给出相关多项式函子的对应关系。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Iteration Algebras for UnQL Graphs and Completeness for Bisimulation Reasoning about modular datatypes with Mendler induction A Type-Directed Negation Elimination The Arity Hierarchy in the Polyadic μ-Calculus Formalizing Termination Proofs under Polynomial Quasi-interpretations
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1