Introduction
In automated theorem proving, the primary obstacle is the "search space explosion." When an AI agent, typically a Large Language Model (LLM), attempts to solve a mathematical problem in an Interactive Theorem Proving (ITP) environment like Lean, it generates a sequence of "tactics" to transform complex goals into simpler subgoals. However, the branching factor of this search tree is often unmanageable. Current models frequently generate dozens of candidate tactics, but empirical evidence shows that 75–85% of these result in execution errors. Furthermore, many successful tactics are semantically redundant, leading to the same proof state despite having different textual representations.
To address these inefficiencies, we present 3D-Prover (Diversity Driven Determinantal Point Process Prover), a novel framework that prunes the proof search tree by selecting a diverse, high-quality subset of tactics based on their predicted semantic impact.
Transition-Aware Representation Learning
The first core component of 3D-Prover is a mechanism to understand what a tactic does rather than just what it says. Traditional methods rely on syntactic similarity, which is a poor proxy for functional behavior in formal logic. 3D-Prover utilizes an Encoder-Predictor-Decoder architecture to learn transition-aware embeddings.
As shown in the architecture diagram, the model is trained to predict three critical outcomes of a tactic execution:
- Status (s): Whether the tactic will succeed or fail.
- Time (τ): The expected execution time.
- Output (o): The resulting proof state or error message.
By training on approximately 500,000 transitions, the model learns to map tactics into a semantic vector space where proximity indicates functional equivalence. This "mental simulation" allows the prover to evaluate potential proof steps without the computational overhead of interacting with the formal kernel.
Diversity-Driven Filtering via DPPs
Once candidate tactics are embedded, the system must select the most promising $K$ candidates for execution. Standard "Top-K" selection often picks a set of highly similar tactics, effectively wasting search depth on redundant paths. 3D-Prover instead employs Determinantal Point Processes (DPPs) to balance quality and diversity.
Geometrically, DPPs select a subset of vectors that maximize the volume of the spanned parallelepiped. In the context of 3D-Prover, this means selecting tactics that are both likely to succeed (high quality) and semantically distinct (high diversity). This approach ensures that the search explores multiple independent proof strategies simultaneously, "hedging its bets" against dead ends.
Experimental Results and Impact
3D-Prover was evaluated by augmenting state-of-the-art models like ReProver and InternLM2.5-Step-Prover on major benchmarks, including miniF2F and LeanDojo.
Key Performance Metrics:
- Success Rate: On the miniF2F-test set, 3D-Prover achieved an 8.9% relative improvement in proof success rate compared to standard Top-K baselines.
- Efficiency: The framework significantly reduced the average execution time per node (e.g., from 232ms to 136ms) by filtering out slow or failing tactics before execution.
- Tactic Quality: The success rate of executed tactics per node increased from approximately 39% to 56%, indicating much higher precision in the search process.
Conclusion
3D-Prover demonstrates that semantic awareness and diversity are critical for scaling automated theorem proving. By moving beyond syntactic generation to a model that understands the "physics" of the proof environment, 3D-Prover finds deeper, more complex proofs while consuming fewer computational resources. Future work will explore integrating these diversity-driven objectives directly into the training phase of LLMs to further refine the generation of semantically distinct proof strategies.
Summary updated