Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Compile to Compress: Boosting Formal Theorem Provers by Compiler Outputs

About

Large language models (LLMs) have demonstrated significant potential in formal theorem proving, yet state-of-the-art performance often necessitates prohibitive test-time compute via massive roll-outs or extended context windows. In this work, we address this scalability bottleneck by exploiting an informative structure in formal verification: the observation that compilers map a vast space of diverse proof attempts to a compact set of structured failure modes. We introduce a learning-to-refine framework that leverages this compression to perform efficient learning and proof exploration. We perform tree search that corrects errors locally conditioned on explicit verifier feedback, thereby circumventing the costs associated with accumulating a long history of proof attempts. Extensive evaluations show that our method consistently amplifies the reasoning capabilities of base provers across varying scales. Notably, our approach achieves state-of-the-art performance on PutnamBench among publicly reported $\sim$8B and $\sim$32B parameter models under comparable test-time budgets, offering a scalable paradigm for next-generation verifier-guided reasoning.

Guchan Li, Rui Tian, Hongning Wang• 2026

Related benchmarks

TaskDatasetResultRank
Formal Theorem ProvingMiniF2F (test)--
128
Formal Theorem ProvingPutnamBench
Solved Count110
42
Formal Theorem ProvingProofNet
Accuracy24.26
26
Formal Theorem ProvingMathOlympiadBench (MoBench)
Accuracy34.44
8
Showing 4 of 4 rows

Other info

Follow for update