Apply2Isar: Automatically Converting Isabelle/HOL Apply-Style Proofs to Structured Isar
Sage Binder, Hanna Lachnitt, Katherine Kosaian

TL;DR
Apply2Isar is a tool that automatically converts procedural apply-style proofs in Isabelle/HOL into more readable and robust declarative Isar proofs, bridging the gap between rapid exploration and formal clarity.
Contribution
We introduce Apply2Isar, a novel tool that automates the conversion of apply-style proofs to Isar, enhancing proof readability and robustness.
Findings
Successfully converts large benchmark set of apply-style proofs
Improves proof readability and robustness
Demonstrates practical efficacy in Isabelle/HOL
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Logic, programming, and type systems · Text Readability and Simplification
