Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
Albert Q. Jiang, Sean Welleck, Jin Peng Zhou, Wenda Li, Jiacheng Liu,, Mateja Jamnik, Timoth\'ee Lacroix, Yuhuai Wu, Guillaume Lample

TL;DR
This paper introduces DSP, a method that converts informal proofs into formal sketches to guide automated theorem provers, significantly improving their success rate on mathematical problems.
Contribution
It presents a novel approach leveraging informal proofs and language models to enhance formal proof automation, bridging the gap between informal reasoning and formal verification.
Findings
Language models can generate formal proof sketches from informal proofs.
Guided proof search improves success rate from 20.9% to 39.3%.
Formal sketches effectively direct automated theorem provers.
Abstract
The formalization of existing mathematical proofs is a notoriously difficult process. Despite decades of research on automation and proof assistants, writing formal proofs remains arduous and only accessible to a few experts. While previous studies to automate formalization focused on powerful search algorithms, no attempts were made to take advantage of available informal proofs. In this work, we introduce Draft, Sketch, and Prove (DSP), a method that maps informal proofs to formal proof sketches, and uses the sketches to guide an automated prover by directing its search to easier sub-problems. We investigate two relevant setups where informal proofs are either written by humans or generated by a language model. Our experiments and ablation studies show that large language models are able to produce well-structured formal sketches that follow the same reasoning steps as the informal…
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.
Code & Models
Videos
Taxonomy
TopicsLogic, programming, and type systems · Software Engineering Research · Logic, Reasoning, and Knowledge
