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

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

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

arXiv:2512.18842 (cs)
[提交于 2025年12月21日]

标题:DafnyMPI: A Dafny Library for Verifying Message-Passing Concurrent Programs

作者:Aleksandr Fedchin, Antero Mejr, Hari Sundar, Jeffrey S. Foster
查看论文《DafnyMPI: A Dafny Library for Verifying Message-Passing Concurrent Programs》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:The Message Passing Interface (MPI) is widely used in parallel, high-performance programming, yet writing bug-free software that uses MPI remains difficult. We introduce DafnyMPI, a novel, scalable approach to formally verifying MPI software. DafnyMPI allows proving deadlock freedom, termination, and functional equivalence with simpler sequential implementations. In contrast to existing specialized frameworks, DafnyMPI avoids custom concurrency logics and instead relies on Dafny, a verification-ready programming language used for sequential programs, extending it with concurrent reasoning abilities. DafnyMPI is implemented as a library that enables safe MPI programming by requiring users to specify the communication topology upfront and to verify that calls to communication primitives such as MPI_ISEND and MPI_WAIT meet their preconditions. We formalize DafnyMPI using a core calculus and prove that the preconditions suffice to guarantee deadlock freedom. Functional equivalence is proved via rely-guarantee reasoning over message payloads and a system that guarantees safe use of read and write buffers. Termination and the absence of runtime errors are proved using standard Dafny techniques. To further demonstrate the applicability of DafnyMPI, we verify numerical solutions to three canonical partial differential equations. We believe DafnyMPI demonstrates how to make formal verification viable for a broader class of programs and provides proof engineers with additional tools for software verification of parallel and concurrent systems.
评论: To appear in Proceedings of the ACM on Programming Languages (POPL)
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2512.18842 [cs.PL]
  (或者 arXiv:2512.18842v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2512.18842
相关 DOI: https://doi.org/10.1145/3776705

提交历史

来自:Aleksandr Fedchin
[v1] 2025年12月21日 星期日 18:16:47 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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