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

Apply2Isar:自动将 Isabelle/HOL 的 Apply 风格证明转换为结构化的 Isar

Apply2Isar: Automatically Converting Isabelle/HOL Apply-Style Proofs to Structured Isar

University of Iowa(爱荷华大学);Stanford University(斯坦福大学)

Sage Binder, Hanna Lachnitt, Katherine Kosaian

AI总结:

提出 Apply2Isar 工具,自动将 Isabelle/HOL 的 apply 风格脚本转换为可读性更强的 Isar 声明式证明,并在大型基准测试中验证其有效性。

摘要:

在 Isabelle/HOL 中,用 Isar 语言编写的声明式证明因其可读性和鲁棒性而广受赞赏。然而,一些用户可能更喜欢编写过程式的“apply 风格”证明脚本,因为它们能够快速探索搜索空间。为了兼顾两者的优点,我们引入了 Apply2Isar,一个用于 Isabelle/HOL 的工具,它能够自动将 apply 风格脚本转换为声明式的 Isar。这使得用户可以编写复杂、可能脆弱的 apply 风格脚本,然后自动将其转换为更可读和鲁棒的声明式 Isar 证明。为了证明 Apply2Isar 在实际中的有效性,我们在一个大型基准测试集上对其进行了评估,该基准测试集包含了来自 Isabelle 正式证明档案的 apply 风格证明。

英文摘要:

In Isabelle/HOL, declarative proofs written in the Isar language are widely appreciated for their readability and robustness. However, some users may prefer writing procedural "apply-style" proof scripts since they enable rapid exploration of the search space. To get the best of both worlds, we introduce Apply2Isar, a tool for Isabelle/HOL that automatically converts apply-style scripts to declarative Isar. This allows users to write complex, possibly fragile apply-style scripts, and then automatically convert them to more readable and robust declarative Isar proofs. To demonstrate the efficacy of Apply2Isar in practice, we evaluate it on a large benchmark set consisting of apply-style proofs from the Isabelle Archive of Formal Proofs.

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

↑