arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.01660cs.PL
收藏

测试、可信编译与验证在Lean和Claude代码中的Axon验证编译器

Testing, Credible Compilation, and Verification in the Axon Verified Compiler in Lean and Claude Code

Massachusetts Institute of Technology(麻省理工学院);National University of Singapore(新加坡国立大学)

Martin Rinard

AI总结:

本文探讨了Axon编译器中测试、可信编译验证、验证及审计的应用,通过Lean和Claude代码实现的全机检查证明保证生成代码的正确性,无需审计。

摘要:

本文介绍了在Axon编译器中使用测试、可信编译/翻译验证、验证和审计的方法。Axon附带有完全由机器检查的证明,保证生成代码的正确性。所有代码和证明均用Lean由Claude Code编写,正确性证明消除了对任何验证代码审计或检查的需要。我介绍了使用这些验证技术的发展过程,评估了该过程在编译器开发中的应用,并讨论了对其他开发工作的影响。

英文摘要:

This paper presents the use of testing, credible compilation/translation validation, verification, and audits in the Axon compiler. Axon comes with fully machine checked proofs that guarantee the correctness of the generated code. All code and proofs were written in Lean by Claude Code, with the correctness proofs eliminating any need to audit or examine any verified code. I present a development process for using these validation techniques, evaluate the use of this process during the development of the compiler, and discuss implications for other development efforts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑