,
Hanna Lachnitt
,
Katherine Kosaian
Creative Commons Attribution 4.0 International license
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" proofs 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 proofs to declarative Isar. This allows users to write complex, possibly fragile apply-style proofs, 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.
@InProceedings{binder_et_al:LIPIcs.ITP.2026.18,
author = {Binder, Sage and Lachnitt, Hanna and Kosaian, Katherine},
title = {{Apply2Isar: Automatically Converting Isabelle/HOL Apply-Style Proofs to Structured Isar}},
booktitle = {17th International Conference on Interactive Theorem Proving (ITP 2026)},
pages = {18:1--18:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-436-9},
ISSN = {1868-8969},
year = {2026},
volume = {382},
editor = {Komendantskaya, Ekaterina and Nipkow, Tobias},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.2026.18},
URN = {urn:nbn:de:0030-drops-269925},
doi = {10.4230/LIPIcs.ITP.2026.18},
annote = {Keywords: Proof Assistants, Isabelle/HOL, Isabelle/ML, Isabelle/Isar, Proof Refactoring}
}
archived version
archived version