跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:1502.04634 (cs)
[提交于 2015年2月16日 (v1),最后修订于 2016年6月30日 (此版本, v4)]

标题:The exp-log normal form of types

作者:Danko Ilik
查看论文《The exp-log normal form of types》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Lambda calculi with algebraic data types lie at the core of functional programming languages and proof assistants, but conceal at least two fundamental theoretical problems already in the presence of the simplest non-trivial data type, the sum type. First, we do not know of an explicit and implemented algorithm for deciding the beta-eta-equality of terms---and this in spite of the first decidability results proven two decades ago. Second, it is not clear how to decide when two types are essentially the same, i.e. isomorphic, in spite of the meta-theoretic results on decidability of the isomorphism. In this paper, we present the exp-log normal form of types---derived from the representation of exponential polynomials via the unary exponential and logarithmic functions---that any type built from arrows, products, and sums, can be isomorphically mapped to. The type normal form can be used as a simple heuristic for deciding type isomorphism, thanks to the fact that it is a systematic application of the high-school identities. We then show that the type normal form allows to reduce the standard beta-eta equational theory of the lambda calculus to a specialized version of itself, while preserving the completeness of equality on terms. We end by describing an alternative representation of normal terms of the lambda calculus with sums, together with a Coq-implemented converter into/from our new term calculus. The difference with the only other previously implemented heuristic for deciding interesting instances of eta-equality by Balat, Di Cosmo, and Fiore, is that we exploit the type information of terms substantially and this often allows us to obtain a canonical representation of terms without performing sophisticated term analyses.
主题: 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL); 逻辑 (math.LO)
引用方式: arXiv:1502.04634 [cs.LO]
  (或者 arXiv:1502.04634v4 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.1502.04634
期刊参考: POPL 2017 Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages. Pages 387-399. Paris, France -- January 15 - 21, 2017
相关 DOI: https://doi.org/10.1145/3009837.3009841

提交历史

来自:Danko Ilik
[v1] 2015年2月16日 星期一 17:14:52 UTC
[v2] 2015年6月23日 星期二 18:34:09 UTC
[v3] 2016年5月10日 星期二 09:41:43 UTC
[v4] 2016年6月30日 星期四 13:39:23 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2016-06
切换浏览方式为:
cs
cs.LO
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站