Search papers, labs, and topics across Lattice.
ReCent-Prover, a new LLM-based proof agent, enhances automated theorem proving by incorporating reasoning capabilities for high-level planning and self-critique. The agent employs validation with reflection, allowing LLMs to scrutinize generated tactics and synthesize failure summaries, and retrieval with planning, conditioning retrieval on LLM-generated proof plans. Evaluated on the CoqStoq benchmark, ReCent-Prover achieves a 22.58% relative improvement in the number of proved theorems compared to the previous state-of-the-art, even under the same budget of LLM invocations.
Strategic reasoning about proof plans, not just tactic generation, unlocks a 22% jump in automated theorem proving success.
Automated theorem proving is fundamental to formal methods, and the recent trend is to integrate large language models (LLMs) and proof assistants to form effective proof agents. While existing proof agents show promising performance, they inadequately leverage reasoning capabilities of modern LLMs in high-level planning and self-critique. We argue that proof agents should not merely generate tactics but also reason strategically about proof plans and critically evaluate their own proposals. This paper introduces ReCent-Prover, a reasoning-centric LLM-based proof agent for Rocq that addresses two critical limitations in current systems. First, we present validation with reflection, enabling LLMs to scrutinize their generated tactics and synthesize failure summaries when reflection identifies potential errors, filtering out potentially misapplied tactics earlier. Second, we propose retrieval with planning, which conditions retrieval on LLM-generated proof plans rather than subgoal similarity, retrieving lemmas and proofs that align with the anticipated proof strategy. Both techniques increase the number of invocations of LLMs. However, when evaluated on the CoqStoq benchmark, even under the same budget of LLM invocations, ReCent-Prover achieves a 22.58% relative improvement in the number of proved theorems over the previous state-of-the-art, demonstrating that our reasoning-centric design significantly enhances automated theorem proving capabilities.