MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data Curation

Zhenwen Liang, Linfeng Song, Yang Li, Tao Yang, Feng Zhang, Haitao Mi, Dong Yu

Abstract

Automated Theorem Proving (ATP) in formal languages remains a formidable challenge in AI, demanding rigorous logical deduction and navigating vast search spaces. While large language models (LLMs) have shown promising performance, existing stepwise provers often suffer from biased search guidance, leading to inefficiencies and suboptimal proof strategies. This paper introduces the Multi-Perspective Search Prover (MPS-Prover), a novel stepwise ATP system designed to overcome these limitations. MPS-Prover incorporates two key innovations: a highly effective post-training data curation strategy that prunes approximately 40% of redundant training data without sacrificing performance, and a multi-perspective tree search mechanism. This search integrates a learned critic model with strategically designed heuristic rules to diversify tactic selection, prevent getting trapped in unproductive states, and enhance search robustness. Extensive evaluations demonstrate that MPS-Prover achieves state-of-the-art performance on multiple challenging benchmarks, including miniF2F and ProofNet, outperforming prior 7B parameter models. Furthermore, our analyses reveal that MPS-Prover generates significantly shorter and more diverse proofs compared to existing stepwise and whole-proof methods, highlighting its efficiency and efficacy. Our work advances the capabilities of LLM-based formal reasoning and offers a robust framework and a comprehensive analysis for developing more powerful theorem provers.

Introduction

Automated Theorem Proving (ATP) represents a pinnacle of logical reasoning for artificial intelligence. Unlike natural language generation or code synthesis, formal mathematical proofs in languages such as Lean 4 require absolute logical precision to be verified by a compiler. Currently, AI-driven theorem proving follows two primary paradigms: whole-proof generation and stepwise generation. While whole-proof generation is computationally efficient, it is prone to logical hallucinations. Stepwise generation, which interacts with the Lean compiler at each step, is more robust but faces significant search challenges.

Existing stepwise provers frequently encounter "stuck" scenarios, such as repetitive tactics that fail to advance the proof state or falling into unprovable states where a single erroneous step renders the goal unreachable. These systems often rely on a single learned critic model for search guidance, which can be biased and lead to unproductive search paths.

Common failure modes in existing stepwise theorem provers: repetitive tactics, unprovable states, and steps without progress.

Methodology

MPS-Prover addresses these limitations through two core innovations: Multi-Perspective Search (MPS) and strategic data curation.

Multi-Perspective Search (MPS)

Rather than following a standard Best-First Search guided solely by a critic model, MPS-Prover maintains a diverse search frontier. At each step, it selects up to four different nodes for expansion based on distinct perspectives:

  1. Learned Critic: A model trained to estimate the "distance" to the proof's completion.
  2. Tactic Effectiveness Heuristic: Manual scores that prioritize high-impact tactics (e.g., induction, by_contra) over low-impact ones (e.g., norm_num).
  3. Case Split Minimization: A rule favoring paths that keep the proof tree simple and avoid unnecessary branching.
  4. Shortest State Preference: A preference for tactics that result in the most concise mathematical goal description.

Strategic Data Curation

The researchers discovered that data quality is more critical than quantity in theorem proving. They implemented a pruning strategy that removed approximately 40% of the training data by:

  • Filtering Short Proofs: Removing theorems solvable in three steps or fewer, as these "easy" problems provide limited signal for complex reasoning.
  • Removing Ineffective Tactics: Filtering training steps where a tactic application did not change the proof state.

This curation process, applied to a dataset synthesized from the Lean Workbook, Numina, and AoPS-Instruct, improved model performance despite the significant reduction in training volume.

Experimental Results

MPS-Prover, based on the Qwen2.5-Math-7B-base model, was evaluated on the miniF2F and ProofNet benchmarks.

Benchmark Performance

On the miniF2F benchmark, which consists of high-school competition math, MPS-Prover achieved an accuracy of 75.82%. This is the highest reported performance for a 7B-parameter stepwise model. On ProofNet, an undergraduate-level mathematics benchmark, it achieved 32.97%, outperforming DeepSeek-Prover-V2 despite the latter's significantly larger parameter count and use of Chain-of-Thought reasoning.

Proof Efficiency

A standout feature of MPS-Prover is its efficiency. In a comparative analysis of 170 common problems, MPS-Prover generated proofs with an average length of 3.44 steps. In contrast, Kimina-Prover averaged 15.91 steps, and DeepSeek-Prover-V2 averaged 52.16 steps. This 15x improvement in conciseness highlights the effectiveness of the multi-perspective search in finding direct, "kill shot" tactics.

Discussion and Conclusion

The success of MPS-Prover suggests a "less is more" paradox in training data: removing simple examples forces the model to master complex reasoning, while the "easy" steps are naturally learned as components of harder proofs. However, a remaining challenge for stepwise systems is handling nested proof obligations (e.g., have statements), where the prover must pause the main proof to solve a sub-lemma.

Future work will focus on hybrid systems that combine the global planning capabilities of whole-proof models with the surgical precision and verification of stepwise searchers like MPS-Prover.

Summary updated

BibTeX
@inproceedings{liang2025mps,
  author = {Zhenwen Liang and Linfeng Song and Yang Li and Tao Yang and Feng Zhang and Haitao Mi and Dong Yu},
  title = {{MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data Curation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Ox3U97Svtl},
}
Figure