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

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

TL;DR

MPS-Prover is a novel stepwise automated theorem prover that achieves state-of-the-art results by combining a "less is more" data curation strategy with a multi-perspective search algorithm. By pruning 40% of redundant training data and utilizing a search process guided by both AI critics and human-designed heuristics, it generates proofs that are not only more accurate but significantly shorter and more diverse than previous models.

The Challenge of Stepwise Theorem Proving

Automated Theorem Proving (ATP) involves using AI to write formal mathematical proofs in languages like Lean, which can then be verified for absolute correctness by a computer. There are two primary approaches to ATP: whole-proof generation (writing the entire proof at once) and stepwise generation (writing one "tactic" or step at a time).

Stepwise provers are generally more flexible because they can receive immediate, step-by-step feedback from the proof assistant. However, they frequently fall into "search traps." Because training data is saturated with simple, common tactics (like simp_all), models become biased. They may repeat the same safe-looking steps indefinitely, oversimplify a problem into an unprovable state, or apply tactics that technically execute but make zero progress toward the actual goal.

Methods: Overcoming Search Traps

To address these inefficiencies, researchers introduced two major innovations in MPS-Prover:

1. Strategic Data Curation

Instead of training the model on every proof found during "expert iteration" (a process where the model practices on problems and learns from its successes), the team applied a strict filter. They removed proofs that were three steps or fewer and deleted steps that didn't meaningfully change the proof state. This pruned approximately 40% of the training data, forcing the model to focus on complex reasoning rather than "easy wins."

2. Multi-Perspective Search (MPS)

Traditional search algorithms, such as Best-First Search (BFS), rely on a single "critic" model to decide which path to explore next. This single point of failure often leads the model down unproductive rabbit holes. MPS-Prover instead selects up to four different paths at every step based on diverse "perspectives":

  • The AI Critic: Predicts the distance to the final proof.
  • Tactic Effectiveness: A human-designed scoring system that rewards impactful tactics (like induction or rcases) over minor simplifications.
  • Minimizing Case Splits: Prefers paths that avoid creating too many complicated sub-problems.
  • Shortest State Preference: Favors tactics that result in the simplest, most concise mathematical descriptions.
Comparison of Best First Search and Multi-perspective Search

As illustrated above, while BFS can easily get stuck in unprovable states, MPS diversifies its tactic selection using both heuristic and critic guidance to successfully navigate toward a solution.

Datasets and Evaluation

The model was fine-tuned on the Qwen2.5-Math-7B-base architecture using a dataset of 3.5 million question-answer pairs generated through 26 rounds of expert iteration.

For evaluation, the authors used two primary benchmarks:

  • miniF2F: The industry-standard benchmark featuring high school and undergraduate competition math (e.g., AMC, AIME, IMO).
  • ProofNet: A more challenging benchmark focused on undergraduate-level mathematics.

Key Insights

  • Pruning is a Feature, Not a Bug: Removing 40% of the training data resulted in almost no performance loss while significantly reducing training costs. This suggests that for formal reasoning, the quality and complexity of examples matter far more than the sheer volume of simple proofs.
  • Heuristics Still Matter: While the broader AI trend is to "learn everything from data," this research demonstrates that hard-coded mathematical heuristics (like preferring induction over simple simplification) are vital for breaking the biases inherent in learned critic models.
  • Stepwise Efficiency: By interacting with the Lean engine at every step, MPS-Prover finds much more elegant solutions. Its proofs are often 5x to 15x shorter than those generated by whole-proof models, which tend to be overly wordy and repetitive.

Key Results

MPS-Prover establishes a new standard for 7B-parameter stepwise provers:

  • miniF2F: MPS-Prover achieved a 75.82% accuracy rate, the highest among all 7B-parameter stepwise provers.
  • ProofNet: It reached 32.97% accuracy on ProofNet, outperforming all other 7B models, including those utilizing advanced Chain-of-Thought (CoT) techniques.
Performance comparison of 7B models on ProofNet
  • Conciseness: In a head-to-head comparison across 170 problems, MPS-Prover's average proof length was only 3.44 steps, compared to 15.91 for Kimina-Prover and a massive 52.16 for DeepSeek-Prover-V2.

Limitations and Future Work

The authors acknowledge a fundamental limitation of the stepwise approach: it struggles with nested proof obligations. If a proof requires a "lemma" (a mini-proof inside the main proof) that isn't already in the library, a stepwise prover cannot easily "pause" the main proof to solve the sub-problem. Whole-proof models are currently better equipped for this kind of high-level planning.

The researchers suggest that the next frontier is a hybrid system that combines the global planning capabilities of whole-proof generation with the fine-grained, efficient search of MPS-Prover. They also plan to explore Reinforcement Learning (RL) to further refine the critic model and heuristics.

Summary updated

BibTeX
@inproceedings{liang2025mps,
  author = {Zhenwen Liang and Linfeng Song and Yang Li and TAO YANG 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