为什么只是布吉?中间验证语言之间的转换
Why Just Boogie? Translating Between Intermediate Verification Languages
摘要:
验证系统Boogie和Why 3使用它们各自的中间语言从高级程序生成验证条件。由于这两个系统支持不同的后端证明器(如Z3和Alt-Ergo),并用于编码不同的高级语言(如C#和Java),因此能够在它们的中间语言之间进行翻译将提供一种方法来重用一个系统的功能来验证另一个系统的程序。本文介绍了一个翻译的Boogie到WhyML(Why 3的中间语言),保留语义,可验证性和程序结构在很大程度上。我们将翻译作为一种工具,并将其应用于194个不同来源和大小的Boogie验证程序; Why 3验证了83%的翻译程序,结果与Boogie相同。这些结果表明,翻译往往是有效的和实际适用的。
英文摘要:
The verification systems Boogie and Why3 use their respective intermediate languages to generate verification conditions from high-level programs. Since the two systems support different back-end provers (such as Z3 and Alt-Ergo) and are used to encode different high-level languages (such as C# and Java), being able to translate between their intermediate languages would provide a way to reuse one system's features to verify programs meant for the other. This paper describes a translation of Boogie into WhyML (Why3's intermediate language) that preserves semantics, verifiability, and program structure to a large degree. We implemented the translation as a tool and applied it to 194 Boogie-verified programs of various sources and sizes; Why3 verified 83% of the translated programs with the same outcome as Boogie. These results indicate that the translation is often effective and practically applicable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。