TL;DR
Most automated theorem proving (ATP) benchmarks operate in "Easy Mode" by embedding the final answer directly into the problem statement. This paper introduces "Hard Mode" benchmarks where an AI must independently discover the answer before proving it, alongside Discover And Prove (DAP), an open-source agentic framework that bridges this gap by decoupling natural-language answer discovery from formal proof generation.
What Problem Does This Paper Address?
In traditional Automated Theorem Proving (ATP), benchmarks often simplify math problems by embedding the final answer directly into the theorem statement (e.g., "Prove that $x = 42$"). The authors call this "Easy Mode." While convenient for evaluation, it leaks crucial information and fails to mirror real-world mathematical problem-solving or human competitions (like the International Mathematical Olympiad), where finding the answer is often the hardest part.
"Hard Mode" formulations require the system to solve two distinct goals (represented by two separate sorry placeholders in the Lean 4 proof assistant): first, discover the correct answer, and second, construct the formal proof.
Methods
The authors propose the Discover And Prove (DAP) framework, an open-source agentic pipeline that splits the problem into two distinct stages:
- Discovery Module: Operates entirely in natural language. It uses an advanced reasoning LLM (GPT-OSS-120B) to generate a detailed chain-of-thought solution. It then undergoes an iterative Self-Verification and Self-Correction loop (up to 30 attempts) to find and fix logical or arithmetic errors. Once a stable answer is found, it rewrites the Lean 4 "Hard Mode" statement into an "Easy Mode" statement by filling in the first
sorryplaceholder with the discovered answer. - Proving Module: Takes the newly generated "Easy Mode" statement and hands it off to a formal theorem prover (Goedel-Prover-V2) to generate a rigorous, compiler-verified proof in Lean 4.
This decoupled design prevents the prover from taking shortcuts or generating "spurious proofs" (cheating by copying problem conditions directly into the proof without actual mathematical reasoning).
Datasets
The paper evaluates performance across four benchmarks, including two newly introduced expert-reannotated datasets designed to eliminate "Easy Mode" discrepancies:
- MiniF2F-Hard (Ours): 244 total samples, with 194 modified for Hard Mode.
- FIMO-Hard (Ours): 149 total samples, with 70 modified for Hard Mode.
- PutnamBench: 660 total samples, with 340 evaluated under its "no answer" Hard Mode configuration.
- CombiBench: 100 total samples, with 45 evaluated under Hard Mode.
Key Insights and Ideas
- The Formal-Informal Gap: State-of-the-art LLMs achieve over 80% accuracy when finding answers in natural language on PutnamBench, yet formal provers succeed on less than 10% of those same problems. The primary bottleneck in AI mathematics isn't finding the answer; it's formalizing the proof.
- Simultaneous Discovery and Proving Fails: Forcing an LLM to discover the answer and generate precise Lean code at the same time ("Straight Rewriting") degrades performance. Separating informal mathematical reasoning from syntactically precise code generation is essential.
- Agentic Reflection is Double-Edged: Explicit self-verification loops significantly boost performance on highly challenging datasets like PutnamBench. However, on lower-difficulty datasets (like CombiBench), it can introduce unnecessary noise and cause the model to over-question its correct answers.
Key Results
- PutnamBench: DAP is the first system to formally prove problems under the "No Answer" Hard Mode configuration, successfully solving 36 problems total (19 of which were solution-style).
- CombiBench: DAP achieved a new state-of-the-art by solving 10 problems in Hard Mode, outperforming the previous best of 8.
- MiniF2F-Hard: Solved 201 problems total (168 in Hard Mode).
Compared to alternative strategies like "No Rewriting" or "Straight Rewriting", DAP's proposed pipeline drastically improves success rates across the board.
Limitations and Future Work
- Dataset Contamination: Because MiniF2F and FIMO source problems are publicly available online, it is difficult to guarantee that the evaluation sets were not included in the training data of the underlying commercial or open-weights LLMs.
- Loose Coupling: Currently, the communication between the Discovery and Proving modules is one-way: the Discovery module simply hands off an answer candidate. The authors note that a tighter, bidirectional integration—where the formal prover can signal back to the natural language reasoner when it gets stuck—is a critical direction for future work.
Summary updated