arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.06547cs.PLcs.LO
收藏

Meta-F*:使用SMT、策略和元程序的证明自动化

Meta-F*: Proof Automation with SMT, Tactics, and Metaprograms

Guido Martínez, Danel Ahman, Victor Dumitrescu, Nick Giannarakis, Chris Hawblitzel, Catalin Hritcu, Monal Narasimhamurthy, Zoe Paraskevopoulou, Clément Pit-Clau… 展开作者

Guido Martínez, Danel Ahman, Victor Dumitrescu, Nick Giannarakis, Chris Hawblitzel, Catalin Hritcu, Monal Narasimhamurthy, Zoe Paraskevopoulou, Clément Pit-Claudel, Jonathan Protzenko, Tahina Ramananandro, Aseem Rastogi, Nikhil Swamy

摘要:

我们介绍Meta-F*,F* 程序验证器的策略和元编程框架。Meta-F* 的主要新颖之处在于允许使用策略和元编程来释放SMT无法解决的断言,或者只是将它们简化为行为良好的SMT片段。此外,Meta-F* 可用于自动生成验证代码。Meta-F* 被实现为F* 效果,鉴于F* 强大的效果系统,它极大地提高了代码重用,甚至实现了元程序的轻量级验证。元程序可以被解释,也可以被编译成高效的本机代码,这些本机代码可以动态加载到F* 类型检查器中,并且可以与解释的代码互操作。对实际案例研究的评估表明,Meta-F* 在证明开发、效率和鲁棒性方面都有很大的提高。

英文摘要:

We introduce Meta-F*, a tactics and metaprogramming framework for the F* program verifier. The main novelty of Meta-F* is allowing the use of tactics and metaprogramming to discharge assertions not solvable by SMT, or to just simplify them into well-behaved SMT fragments. Plus, Meta-F* can be used to generate verified code automatically. Meta-F* is implemented as an F* effect, which, given the powerful effect system of F*, heavily increases code reuse and even enables the lightweight verification of metaprograms. Metaprograms can be either interpreted, or compiled to efficient native code that can be dynamically loaded into the F* type-checker and can interoperate with interpreted code. Evaluation on realistic case studies shows that Meta-F* provides substantial gains in proof development, efficiency, and robustness.

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

↑