Efficient Proof Generation for Lean Statements with Multiple Candidate Answers
Organizations: University of California, Riverside
Abstract
In formal systems such as Lean 4, efficiently finding answers to mathematical problems and generating verifiable proofs is an important task in automated mathematical reasoning. In the traditional way where an upstream solver provides multiple candidate answers, the common workflow requires searching for proofs for each candidate separately, incurring redundant computational cost. To this end, we propose a joint proof framework that integrates candidate answer selection, answer supplementation, and formal proof generation into a unified reasoning process. At its core is a trained prover that selects given or proposes new answers and generates a proof for at least one answer in a single call. Joint proof can also reuse generated proofs to check for faithfulness errors. For problems with a unique answer, if two distinct answers both obtain verifiable proofs under the same formal statement, this confirms the statement does not faithfully preserve the original problem semantics. On MATH-500, AMC 2023, and AIME 2024/2025/2026, our framework achieves the same formal proof success rate as per-candidate proof generation with about one sixth of the token cost, and identifies at least 6.1% of the formalized statements as unfaithful without requiring additional judges. Our model and code are available at https://github.com/Linppz/Gobble-Prover.
Figures & tables
| Gobble-Prover-1.7B | 0% | 100% | ||||
| Pass | Unf. | Lean | Pass | Unf. | Lean | |
| no out-of-set + top-2 | 6.6 | 2.5 | 16.1 | 33.9 | 2.6 | 18.9 |
| out-of-set + top-2 | 22.3 | 2.6 | 19.1 | 35.7 | 2.7 | 19.8 |
| no out-of-set + all | 7.4 | 3.5 | 123.9 | 35.8 | 4.0 | 141.3 |
| out-of-set + all | 24.2 | 3.6 | 127.5 | 37.8 | 4.1 | 142.4 |
| Kimina-1.7B , no out-of-set + all | 8.1 | 0.7 | 16.8 | |||
| Model | Decl. | Lean |
|---|---|---|
| Kimina-Prover-Distill-1.7B (base) | 0.329 | 0.041 |
| + SFT | 75.185 | 20.905 |
| + SFT + RL (Gobble-Prover-1.7B) | 98.025 | 29.712 |
| Pythagoras-Prover-4B (base) | 1.687 | 0.370 |
| + SFT | 82.510 | 20.947 |
| + SFT + RL (Gobble-Prover-4B) | 99.959 | 30.86 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Solver | MATH -500 | AMC 2023 | AIME 2024 | AIME 2025 | AIME 2026 | All |
|---|---|---|---|---|---|---|
| Kimina-1.7B (base) | ||||||
| Gemma 4B | 45.2 | 40.0 | 3.3 | 3.3 | 0.0 | 38.7 |
| Qwen 0.8B | 41.6 | 25.0 | 0.0 | 0.0 | 0.0 | 34.6 |
| Qwen 2B | 48.6 | 35.0 | 3.3 | 3.3 | 3.3 | 41.3 |
| Qwen 9B | 49.8 | 42.5 | 6.7 | 3.3 | 3.3 | 42.9 |
| Gobble-1.7B (ours) | ||||||
| Solver | MV | Kimina 1.7B | Gobble 1.7B | Pythagoras 4B | Gobble 4B |
|---|---|---|---|---|---|
| Gemma-3-4B | 68.4 | 69.8 | 70.3 | 70.2 | 70.8 |
| Qwen3.5-0.8B | 52.9 | 55.6 | 59.8 | 56.7 | 59.5 |
| Qwen3.5-2B | 79.8 | 81.1 | 81.4 | 81.3 | 81.7 |
| Qwen3.5-9B | 94.1 | 94.3 | 94.6 | 94.4 | 94.7 |
| MATH -500 | AIME 2024 | AIME 2025 | AIME 2026 | AMC 2023 | Total | ||
|---|---|---|---|---|---|---|---|
| K | Pass | 48.1 | 36.7 | 28.3 | 11.1 | 28.2 | 43.7 |
| Unf. | 5.6 | 16.7 | 13.3 | 5.6 | 5.1 | 6.5 | |
| S | Pass | 47.4 | 25.0 | 10.7 | 20.0 | 34.6 | 42.9 |
| Unf. | 4.2 | 13.3 | 8.9 | 7.5 | 7.7 | 5.2 | |
| G | Pass | 56.9 | 10.0 | 21.4 | 13.3 | 52.6 | 50.6 |
| Unf. | 4.3 | 5.0 | 14.3 | 3.3 | 1.3 | 4.5 |
| Gobble-Prover-4B | Gobble-Prover-1.7B | |||||||||||
| Correct answer + NL | Incorrect answer + NL | Correct answer + NL | Incorrect answer + NL | |||||||||
| Dataset | Solved | Unf. | Ratio | Solved | Unf. | Ratio | Solved | Unf. | Ratio | Solved | Unf. | Ratio |
| MATH-500 | 46.0 | 4.4 | 9.6 | 44.7 | 3.7 | 8.4 | 46.3 | 3.8 | 8.2 | 44.4 | 2.9 | 6.4 |
| AIME 2024 | 17.8 | 13.3 | 75.0 | 16.7 | 10.0 | 60.0 | 18.9 | 6.7 | 35.3 | 15.6 | 4.4 | 28.6 |
| AIME 2025 | 9.3 | 8.1 | 87.5 | 18.6 | 15.1 | 81.2 | 15.1 | 7.0 | 46.2 | 16.3 | 8.1 | 50.0 |
| AIME 2026 | 5.2 | 2.6 | 50.0 | 9.1 | 2.6 | 28.6 | 10.4 | 2.6 | 25.0 | 14.3 | 3.9 | 27.3 |
| Prover | MATH-500 | AIME 2024 | AIME 2025 | AIME 2026 | AMC 2023 | Total |
|---|---|---|---|---|---|---|
| 4B | 1.4 (7/496) | 0.0 | 0.0 | 0.0 | 2.5 (1/40) | 1.3 (8/626) |
| 1.7B | 0.8 (4/496) | 3.3 (1/30) | 0.0 | 0.0 | 2.5 (1/40) | 1.0 (6/626) |
| Union | 1.8 (9/496) | 3.3 (1/30) | 0.0 | 0.0 | 2.5 (1/40) | 1.8 (11/626) |
| GPT-6 Astra | ||||
|---|---|---|---|---|
| Gemini 3.7 Flash | Faithful | Unfaithful | Uncertain | Total |
| Faithful | 17 | 20 | 0 | 37 |
| Unfaithful | 0 | 187 | 1 | 188 |
| Uncertain | 0 | 0 | 0 | 0 |
| Total | 17 | 207 | 1 | 225 |
| Correct answer | Method | MATH-500 | AIME 2024 | AIME 2025 | AMC 2023 | AIME 2026 | Overall | ||||||||||||
| Pass | Unf. | Lean | Pass | Unf. | Lean | Pass | Unf. | Lean | Pass | Unf. | Lean | Pass | Unf. | Lean | Pass | Unf. | Lean | ||
| 0% | Gobble-Prover-1.7B | ||||||||||||||||||
| no out-of-set + top-2 | 6.6 | 2.3 | 12.0 | 8.3 | 5.6 | 1.1 | 7.0 | 4.1 | 1.0 | 7.8 | 2.2 | 1.2 | 3.1 | 1.2 | 0.9 | 6.6 | 2.5 | 16.1 | |
| out-of-set + top-2 | 24.7 | 2.5 | 14.4 | 12.2 | 5.6 | 1.2 | 13.4 | 4.1 | 1.1 | 16.8 | 2.2 | 1.3 | 7.5 | 1.9 | 1.1 | 22.3 | 2.6 | 19.1 | |
| no out-of-set + all | 7.4 | 3.4 | 99.9 | 8.3 | 6.7 | 5.8 | 7.0 | 4.7 | 5.4 | 9.5 | 3.0 | 7.7 | 3.1 | 1.9 | 5.1 | 7.4 | 3.5 | 123.9 | |
| out-of-set + all | 26.8 | 3.5 | 102.7 | 13.3 | 6.7 | 6.0 | 13.4 | 4.7 | 5.6 | 19.4 | 3.0 | 7.9 | 7.5 | 1.9 | 5.3 | 24.2 | 3.6 | 127.5 | |
| Model | pass@1 | pass@8 | pass@16 | pass@32 |
|---|---|---|---|---|
| Kimina-1.7B (base) | 50.4 | 65.2 | 69.7 | 70.9 |
| Gobble-1.7B (ours) | 50.8 | 66.4 | 67.2 | 70.9 |
| Pythagoras-4B (base) | 48.4 | 67.6 | 70.9 | 73.8 |
| Gobble-4B (ours) | 47.1 | 66.0 | 71.7 | 72.5 |
Automated Theorem Proving
Automated theorem proving develops algorithms and AI systems that construct or check formal proofs in mathematics, logic, and software.
See all 160 papers