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

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

计算机科学 > 程序设计语言

arXiv:2002.07262 (cs)
[提交于 2020年2月17日 (v1),最后修订于 2022年5月20日 (此版本, v3)]

标题:Denotational semantics as a foundation for cost recurrence extraction for functional languages

作者:Norman Danner, Daniel R. Licata
查看论文《Denotational semantics as a foundation for cost recurrence extraction for functional languages》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A standard informal method for analyzing the asymptotic complexity of a program is to extract a recurrence that describes its cost in terms of the size of its input, and then to compute a closed-form upper bound on that recurrence. We give a formal account of that method for functional programs in a higher-order language with let-polymorphism. The method consists of two phases. In the first phase, a monadic translation is performed to extract a cost-annotated version of the original program. In the second phase, the extracted program is interpreted in a model. The key feature of this second phase is that different models describe different notions of size. This plays out in several ways. For example, when analyzing functions that take arguments of inductive types, different notions of size may be appropriate depending on the analysis. When analyzing polymorphic functions, our approach shows that one can formally describe the notion of size of an argument in terms of the data that is common to the notions of size for each type instance of the domain type. We give several examples of different models that formally justify various informal cost analyses to show the applicability of our approach.
评论: Revisions, mostly minor, some more discussion of related work. To appear in Journal of Functional Programming
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2002.07262 [cs.PL]
  (或者 arXiv:2002.07262v3 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.07262
期刊参考: Journal of Functional Programming 32, 2022
相关 DOI: https://doi.org/10.1017/S095679682200003X

提交历史

来自:Norman Danner
[v1] 2020年2月17日 星期一 21:36:38 UTC
[v3] 2022年5月20日 星期五 15:50:23 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-05
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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