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

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

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

arXiv:2501.05111 (cs)
[提交于 2025年1月10日]

标题:Baking for Dafny: A CakeML Backend for Dafny

作者:Daniel Nezamabadi, Magnus Myreen
查看论文《Baking for Dafny: A CakeML Backend for Dafny》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Dafny is a verification-aware programming language that allows developers to formally specify their programs and prove them correct. Currently, a Dafny program is compiled in two steps: First, a backend translates the input program to a high-level target language like C# or Rust. Second, the translated program is compiled using the target language's toolchain. Recently, an intermediate representation (IR) has been added to Dafny that serves as input to new backends. At the time of writing, none of these steps are verified, resulting in both the backend and the target language's toolchain being part of Dafny's trusted computing base (TCB). To reduce Dafny's TCB, we started developing a new backend that translates Dafny to CakeML, a verified, bootstrapped subset of Standard ML, in the interactive theorem prover HOL4. We also started to define functional big-step semantics for the Dafny IR to prove correctness of the backend.
评论: 4 pages, 7 figures. Accepted to the Dafny workshop at the 52nd ACM SIGPLAN Symposium on Principles of Programming Languages (POPL 2025). For code, see https://github.com/CakeML/cakeml/tree/1fc6f802c664dfdaa2bbfb1e5e4a2051bcf68756/compiler/dafny
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2501.05111 [cs.PL]
  (或者 arXiv:2501.05111v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.05111

提交历史

来自:Daniel Nezamabadi
[v1] 2025年1月10日 星期五 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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