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

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

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

arXiv:2110.00446 (cs)
[提交于 2023年11月13日]

标题:CHAD for Expressive Total Languages

作者:Fernando Lucatelli Nunes, Matthijs Vákár
查看论文《CHAD for Expressive Total Languages》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We show how to apply forward and reverse mode Combinatory Homomorphic Automatic Differentiation (CHAD) to total functional programming languages with expressive type systems featuring the combination of - tuple types; - sum types; - inductive types; - coinductive types; - function types. We achieve this by analysing the categorical semantics of such types in $\Sigma$-types (Grothendieck constructions) of suitable categories. Using a novel categorical logical relations technique for such expressive type systems, we give a correctness proof of CHAD in this setting by showing that it computes the usual mathematical derivative of the function that the original program implements. The result is a principled, purely functional and provably correct method for performing forward and reverse mode automatic differentiation (AD) on total functional programming languages with expressive type systems.
评论: Under review at MSCS
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO); 范畴论 (math.CT)
引用方式: arXiv:2110.00446 [cs.PL]
  (或者 arXiv:2110.00446v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2110.00446
期刊参考: Mathematical Structures in Computer Science, 33(4-5):311-426, 2023
相关 DOI: https://doi.org/10.1017/S096012952300018X

提交历史

来自:Fernando Lucatelli Nunes
[v1] 2023年11月13日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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