potentialpaper

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

Guoxiong Gao, Zeming Sun, Jiedong Jiang, Wang Yutong, jd xu, Peihao Wu, Bryan Dai, Bin Dong

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. LeanSearch v2 retrieves the set of Mathlib lemmas a theorem's proof should rest on, via a sketch-retrieve-reflect loop over a hierarchy-informalized corpus. We also release two expert-annotated benchmarks for this task.

Abstract. Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof---a task we call global premise retrieval. Existing tools address adjacent problems: semantic search engines find individual declarations matching a query, while premise-selection systems predict useful lemmas one tactic step at a time. Neither recovers the full premise set an entire theorem requires. We present LeanSearch v2, a two-mode retrieval system for this task. Its standard mode applies a hierarchy-informalized Mathlib corpus with an embedding--reranker pipeline, achieving state-of-the-art single-query retrieval without domain-specific fine-tuning (nDCG@10 of 0.62 vs. 0.53 for the next-best system). Its reasoning mode builds on standard mode as its retrieval substrate, targeting global premise retrieval through iterative sketch-retrieve-reflect cycles. On a 69-query benchmark of research-level Mathlib theorems, reasoning mode recovers 46.1% of ground-truth premise groups within 10 retrieved candidates, outperforming strong reasoning retrieval systems (38.0%) and premise-selection baselines (9.3%) on the same benchmark. In a controlled downstream evaluation with a fixed prover loop, replacing alternative retrievers with LeanSearch v2 yields the highest proof success (20% vs. 16% for the next-best system and 4% without retrieval), confirming that retrieval quality propagates to proof generation. Code, data, and benchmarks are available at https://github.com/frenzymath/LeanSearch-v2.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper defines a new retrieval task for theorem proving: given a theorem, retrieve the library lemmas needed for an entire proof strategy.

The reviews' main concerns are

  • the reasoning mode requires a larger budget of LLM calls compared to its baselines (i.e., the baselines are not compute matched). How does the proposed retrieval approach compare with retrieval approaches that interacts with planning and tactic generation in terms of compute required and performance?
  • one reviewer pointed out that this paper is closely related to the approach taken in [1], which was not referenced in the submission
  • lack of novelty in the approach, as it seems to simply apply an approach such as [1] and using the sketch for retrieval.

[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).

Final justification

The final decision is to recommend to accept this paper as a poster paper.

Area Chair SgYf · Meta-reviewOpenReview ↗
Final justification
The final decision is to recommend to accept this paper as a poster paper.
Read meta-review
Meta-review

The paper defines a new retrieval task for theorem proving: given a theorem, retrieve the library lemmas needed for an entire proof strategy.

The reviews' main concerns are

  • the reasoning mode requires a larger budget of LLM calls compared to its baselines (i.e., the baselines are not compute matched). How does the proposed retrieval approach compare with retrieval approaches that interacts with planning and tactic generation in terms of compute required and performance?
  • one reviewer pointed out that this paper is closely related to the approach taken in [1], which was not referenced in the submission
  • lack of novelty in the approach, as it seems to simply apply an approach such as [1] and using the sketch for retrieval.

[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).

3 comments
Authors · CommentOpenReview ↗

Response to the Area Chair [1/3]

We thank the Area Chair for the summary, and for identifying the three concerns the reviews converge on. We respond to each below, drawing together the material in our replies to Reviewers jehT, 4FQc, and VSUR.

AC1: The reasoning mode requires a larger budget of LLM calls than its baselines, so the baselines are not compute matched

This is raised by Reviewer VSUR (Weakness, and Question 2) and by Reviewer jehT (Quality, on per-query API cost).

We would like to note first that the ability to spend more compute for better results is part of what we are proposing, not an incidental advantage, and that the compute gap is itself one of our findings rather than only an artifact of the comparison.

The premise-selection systems are deliberately lightweight, LeanStateSearch being a representative case, and this is appropriate for the task they were built for. But because that line of work is also named premise selection, it is easily read as already covering what we call global premise retrieval, and the measurements show it does not: these systems recover proportionally few premise groups at every k (Table 2). Part of what we want to make explicit is that the two tasks have different requirements. Global premise retrieval needs substantive mathematical reasoning to decompose a theorem into the lemmas its proof should rest on, and this is not reducible to similarity search at any budget.

The reasoning-retrieval baselines make the same point from the other direction. INF-X applies a single query rewriter with no further reasoning stage, and on the BRIGHT leaderboard it reports a higher nDCG@10 than the multi-stage DIVER pipeline; on MathlibMPR the ordering reverses, with DIVER at 38.0 group-recall@10 against INF-X at 28.2, and the INF-X rewriter falling to 17.4, below its own bare retriever. We read this as a difference in what the two evaluations ask for rather than as a shortcoming of BRIGHT, which is a well-designed benchmark for reasoning-intensive retrieval. Its mathematical portions do not extend to graduate level and beyond, where a proof rests on several lemmas that must fit together and several viable routes may exist, so a single well-formed rewrite can capture most of what a query needs and a compact architecture such as INF-X's can be at an advantage. In our setting the same architecture is at a disadvantage, which is consistent with our reading that global premise retrieval requires reasoning that is carried out in stages rather than in one transformation. Our framework converts additional inference-time compute into retrieval quality on this task, which single-pass architectures cannot do regardless of budget.

We would also note that Table 2 is not a comparison of a multi-stage system against single encoder passes throughout: the DIVER full pipeline runs DeepSeek-R1-Distill-Qwen-14B for query expansion and a GroupRank-32B listwise reranker on top of its retriever, which is why we singled it out in §4.2 as the closest baseline to our result, and reasoning mode leads it by 8.1 points of group-recall@10 and 5.8 points of Covered@10.

We additionally ran a compute-matched comparison with an enhanced DIVER variant. We retained DIVER's retriever and GroupRank reranker, replaced its DeepSeek-R1-Distill-Qwen-14B query expander with Claude Sonnet 4.5, and added one Sonnet 4.5 feedback pass adapted from our judge prompt. These changes match LeanSearch v2 reasoning mode in both the model strength (using Claude Sonnet 4.5 on both sides) and overall compute cost. All systems use the same evaluation protocol.

System R@5 R@10 R@20 R@30 C@5 C@10 C@20 C@30
DIVER-original 27.7 38.0 46.6 52.8 18.8 24.6 29.0 33.3
DIVER-enhanced 31.7 40.8 49.9 55.2 20.3 26.1 33.3 40.6
LeanSearch v2 (reasoning mode) 36.7 46.1 50.8 56.4 27.5 30.4 34.8 43.5

The enhanced variant improves DIVER on both metrics at every reported cutoff, but LeanSearch v2 reasoning mode remains higher throughout.

For the downstream setting, we would like to emphasize that the compute asymmetry at the retrieval stage does not carry into the workflow as a whole, because retrieval is not the bottleneck there. A retrieval system of this kind serves as a tool for a prover agent, and proving dominates the cost: swapping in a cheaper retriever changes the end-to-end cost very little while changing the success rate substantially. Our loop is also deliberately modest: a single trajectory capped at 8 reflection rounds, one attempt per problem. Production provers expend far more verifier-guided compute per problem: Seed-Prover refines each proof attempt up to 8 to 16 times under Pass@8-16 in its lightest setting, which it reports as equivalent to whole-proof generation at Pass@64-256 and as taking 1 to 2 hours per problem, and its medium setting nests a further 8 x 8 budget inside that [1].

Authors · CommentOpenReview ↗

Response to the Area Chair [2/3]

Measured in our setting, standard mode takes 168 ms per query, of which 54.5 ms is embedding retrieval and 113.2 ms the reranking stage. Per-query retrieval time is about 1.9 s for INF-X and ReasonIR, 9.2 s for DIVER, and 48.5 s for reasoning mode, at roughly 1.10 USD, against a prover cost that averages 320.6 s per query on solved problems and 454.9 s on failed ones. Even for reasoning mode, the heaviest retriever, retrieval is 13.1% of end-to-end time on solved problems and 9.6% on failed ones. The share falls further in a production setting with more reflection rounds, since reasoning mode runs once at the first attempt and the reflection rounds fall back to standard mode. The bottleneck in time and compute is the prover, not retrieval, and systems using different retrievers therefore have nearly the same end-to-end cost.

Cheaper configurations also remain available for users who want them: standard mode alone reaches 14 of 100 on FATE-H against 4 without retrieval, and disabling the judge and reviser gives 16 against 20 (Appendix D.3).

References

[1] ByteDance Seed AI4Math. "Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving." arXiv preprint arXiv:2507.23726 (2025).

Authors · CommentOpenReview ↗

Response to the Area Chair [3/3]

AC2 and AC3: The paper is closely related to Draft, Sketch, and Prove, which was not referenced, and the approach may lack novelty, appearing to apply such an approach and use the sketch for retrieval

This is raised by Reviewer 4FQc (Weakness 1), and relates to Reviewer jehT's Originality point on resemblance to prior multi-stage systems.

We agree DSP [1] is pioneering work: it introduced the proof sketch and demonstrated that this decomposition improves prover performance. We will add it to the related work. We would like to note, however, that the resemblance is narrower than it appears, and that what the two systems do with a sketch is close to opposite.

First, we apologize for an error in our writing, which we also report to Reviewer jehT. Appendix B.4 and Table 7 state that the sketch text is inserted into the prover prompt, but the numbers reported in Table 3 were in fact obtained without the sketch: the prover received only the retrieved premises. We will correct this description once the rebuttal period ends.

We had in fact tested both configurations. Giving the prover the retrieved premises alone solves 20 of 100 on FATE-H and 7 of 50 on MathlibMPR-Prop, the figures reported in Table 3; additionally supplying the sketch solves 20 and 8, and every problem solved without the sketch is also solved with it, the difference being one additional problem on MathlibMPR-Prop. This is the clearest evidence we have that the retrieved premises, not the sketch, are what drives the downstream gain: the sketch adds at most one problem on top of them. We would add that even in the configuration where the sketch is supplied, it serves as a reference rather than a binding plan: it names no Mathlib lemmas and contains no Lean code (§3.2), and the prover is free to depart from it and revise the proof route on its own.

Second, our sketch is therefore not the object handed downstream. In DSP the sketch is exactly that: it guides the prover, and its open conjectures are what the automated prover is asked to discharge. In our system the sketch never leaves reasoning mode, where its only role is to produce good global retrieval queries, and it is discarded before anything reaches the prover.

Third, DSP contains no retrieval component, and its library is never searched. The open conjectures in a sketch are closed by Sledgehammer together with a fixed set of tactic heuristics, so whatever premises enter a proof are found by Sledgehammer's internal proof search rather than by any learned or semantic retriever. DSP therefore has no way to represent the situation our task is built around, namely that the library may or may not contain a result that a planned proof step requires. Reasoning mode treats this as a first-class signal: the filter may return an empty set when no candidate genuinely supports a planned step, and the judge acts on that absence by re-routing the sketch, so a route that is valid in principle but uncoverable in practice is abandoned rather than filled with the nearest available candidates.

Fourth, the objective differs, and with it what a sketch is for. DSP targets final prover performance, measured as pass rate on miniF2F in Isabelle. We target global premise retrieval as a task in its own right, distinguish it from the local premise selection that has served ITP tactic steps, and provide a method for it; the downstream proof experiment is supporting evidence rather than the contribution. Accordingly, our sketch is not a transcription of a mathematical proof but a search for the route that is most efficient in the formal library, which often departs from the natural argument by routing through existing results and reshaping the goal to match a theorem's interface (§1). A sketch written to be completed by an automated prover and a sketch written to elicit the right library lemmas are different objects, even though both are called proof sketches.

On the novelty of the approach more broadly, prior retrieval work in formal mathematics is almost entirely local premise selection serving ITP tactic steps. To our knowledge this is the first work to bring reasoning-retrieval techniques and concepts into Lean premise retrieval, and to separate global from local premise retrieval, a distinction that has been conflated in this literature. Our contribution is the task formulation and an effective method for it, not the observation that multi-stage pipelines help.

References

[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).

Reviewer VSUROpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces a search engine for Mathlib and introduces the task of "global premise retrieval", which tries to recover a set of Mathlib lemmas that a theorem's proof rests on, and argues this sits in a gap between two existing lines: per-state premise selection (too local) and single-query semantic search (recovers one declaration, not a coherent set).

The proposed system has two modes. Standard mode is a no-fine-tuning pipeline with Qwen3 embedding and reranker over informalized Mathlib corpus. Reasoning mode further wraps standard mode in a sketch-retrieve-filter-judge-revise loop that plans at proof-strategy granularity and re-routes when the corpus cannot support a planned step.

Evaluation uses a mathlib query benchmark for testing retrieval perforamnce, and MathlibMPR benchmark built with premise-group annotations for a proof. Then the authors further incorporated their system into a proving pipeline that used FATE-H as the benchmark. LeanSearchV2 outperforms other retrieval system on most metrics.

Strengths and weaknesses

Strength:

  • paper is clear and well written
  • premise retrieval is an important problem, and this paper shows good results.
  • The "global premise retrieval" formulation is new. The distinction between co-relevant documents and a logically coherent premise set whose elements chain to close a proof is genuine.
  • detailed evaluation and ablations.

Weakness:

My main concern is the eval for global premise retrieval. The sketch-retrieve-judge-revise loop seems to only run on LeanSearchV2 standard mode. Other retrievers are not ran on your agentic loop, so Table 2 doesn't have a fair comparison. This also makes comparison not compute-matched. Reasoning mode spends frontier model budget across sketch/judge/revise/filtering, while most other models you compare with are just a single encoder pass. The compute-mismatch problem also arises in the downstream theorem proving task, where reasoning mode uses a lot more compute budget than other modes.

Some smaller points:

  • Section 4.1 describes LeanFinder as "a fine-tuned dense retriever with a learned reranker," which misstates its architecture as it doesn't have a reranker.
  • Given the extra compute reranker uses in your pipeline, it would help to report the latency the reranker adds on top of the bare retriever, so the accuracy/cost trade-off of the rerank stage is visible.
Questions
  1. can you integrate other retrieval models into your agentic pipeline for global premise retrieval?
  2. can you do a compute matched eval with other methods to account for a extra budget you spent for the reasoning mode during both downstream theorem proving task and global theorem retrieval task?
Limitations

no

Final justification

Most main concerns are addressed. I will keep my initial positive score of 4.

Formatting concerns

no concern.

6 comments
Authors · CommentOpenReview ↗

Response to Reviewer VSUR [1/4]

We thank the reviewer for the careful reading, and in particular for recognizing that the distinction between co-relevant documents and a logically coherent premise set is genuine. We address the main concern and the smaller points below.

W1: The sketch-retrieve-judge-revise loop runs only on LeanSearch v2 standard mode, and other retrievers are not run in the agentic loop, so Table 2 is not a fair comparison

We thank the reviewer for pressing on this, as it is the comparison we thought hardest about. We have now run the loop on other retrievers, and we report that experiment under Question 1 below: substituting LeanFinder or LeanExplore for standard mode as the retrieval substrate, with every other component unchanged, shows that the loop transfers rather than being specific to our own retriever, while the substrate still matters. With LeanFinder in the substrate slot the loop reaches 37.4 group-recall@10 and 26.1 Covered@10, competitive with the DIVER full pipeline at 38.0 and 24.6, even though LeanFinder is a single-stage dense retriever.

The reason we substituted the semantic search engines rather than the reasoning-retrieval baselines is that the latter are designed around their own full-query input handling, and DIVER in particular is already a multi-stage pipeline. Our substrate slot instead expects a single-query retriever: it receives one natural-language sub-query for one planned proof step and returns a ranked list, while the outer loop supplies the reasoning. Direct substitution would therefore change their intended interface and, for DIVER, nest one reasoning-retrieval pipeline inside another. Nevertheless, we also carried out the closest feasible pipeline-level comparison under Weakness 2, strengthening DIVER with Sonnet 4.5 and an additional feedback pass rather than forcing it into our substrate interface.

We therefore compare against those systems at the pipeline level instead. Each is run in the configuration its own paper prescribes, over our hierarchy-informalized Mathlib corpus so that the reading material is identical across systems, and every published ablation of INF-X and DIVER is reported individually so that each appears at its strongest configuration (Table 2, Table 6). We would also note that this is not a comparison of a multi-stage system against single encoder passes throughout: the DIVER full pipeline runs DeepSeek-R1-Distill-Qwen-14B for query expansion and a GroupRank-32B listwise reranker on top of its retriever, which is why we singled it out in §4.2 as the closest baseline to our result, and reasoning mode leads it by 8.1 points of group-recall@10 and 5.8 points of Covered@10.

Authors · CommentOpenReview ↗

Response to Reviewer VSUR [2/4]

W2: Reasoning mode spends frontier model budget while most compared systems are a single encoder pass, so the comparison is not compute-matched, in both global premise retrieval and downstream proving

We thank the reviewer for raising this important concern. We agree that Table 2 is not strictly compute-matched. To obtain a closer comparison, we constructed an enhanced DIVER variant. We retained DIVER's retriever and GroupRank reranker, replaced its original DeepSeek-R1-Distill-Qwen-14B query expander with Claude Sonnet 4.5, and added a Sonnet 4.5 feedback pass. This pass uses a slightly adapted version of the LeanSearch v2 judge prompt to inspect the retrieved declarations and revise the expanded query before retrieval is repeated. Together, these design choices align enhanced DIVER with LeanSearch v2 reasoning mode in both model strength (using Claude Sonnet 4.5 on both sides) and overall compute cost.

All systems use the same evaluation protocol, and the results are as follows:

System R@5 R@10 R@20 R@30 C@5 C@10 C@20 C@30
DIVER-original 27.7 38.0 46.6 52.8 18.8 24.6 29.0 33.3
DIVER-enhanced 31.7 40.8 49.9 55.2 20.3 26.1 33.3 40.6
LeanSearch v2 (reasoning mode) 36.7 46.1 50.8 56.4 27.5 30.4 34.8 43.5

The enhanced variant improves DIVER on both metrics at every reported cutoff, but LeanSearch v2 reasoning mode remains higher throughout.

This is a deliberately generous comparison to DIVER. Both DIVER variants use our hierarchy-informalized Mathlib corpus, including the formal signatures and dependency-aware informal descriptions developed for LeanSearch v2. The enhanced variant also receives Lean-specific mathematical and formal-language guidance through an adapted version of our judge prompt. We made these additions to avoid artificially weakening the baseline. Even with this additional assistance, enhanced DIVER remains below reasoning mode. This suggests that the remaining gain is not explained solely by model scale and is consistent with LeanSearch v2's proof-step decomposition, per-step filtering, and proof-route-level judging and revision.

More broadly, the ability to spend more compute for better results is part of what we are proposing, not an incidental advantage; the compute gap is itself one of our findings rather than only an artifact of the comparison.

The premise-selection systems are deliberately lightweight, LeanStateSearch being a representative case, and this is appropriate for the task they were built for. But because that line of work is also named premise selection, it is easily read as already covering what we call global premise retrieval, and the measurements show it does not: these systems recover proportionally few premise groups at every k (Table 2). Part of what we want to make explicit is that the two tasks have different requirements. Global premise retrieval needs substantive mathematical reasoning to decompose a theorem into the lemmas its proof should rest on, and this is not reducible to similarity search at any budget.

The reasoning-retrieval baselines make the same point from the other direction. INF-X applies a single query rewriter with no further reasoning stage, and on the BRIGHT leaderboard it reports a higher nDCG@10 than the multi-stage DIVER pipeline; on MathlibMPR the ordering reverses, with DIVER at 38.0 group-recall@10 against INF-X at 28.2, and the INF-X rewriter falling to 17.4, below its own bare retriever. We read this as a difference in what the two evaluations ask for rather than as a shortcoming of BRIGHT, which is a well-designed benchmark for reasoning-intensive retrieval. Its mathematical portions do not extend to graduate level and beyond, where a proof rests on several lemmas that must fit together and several viable routes may exist, so a single well-formed rewrite can capture most of what a query needs and a compact architecture such as INF-X's can be at an advantage. In our setting the same architecture is at a disadvantage, which is consistent with our reading that global premise retrieval requires reasoning that is carried out in stages rather than in one transformation. Our framework converts additional inference-time compute into retrieval quality on this task through iterative route revision, a mechanism that single-pass architectures lack.

Authors · CommentOpenReview ↗

Response to Reviewer VSUR [3/4]

For the downstream setting, we would like to emphasize that the compute asymmetry at the retrieval stage does not carry into the workflow as a whole, because retrieval is not the bottleneck there. A retrieval system of this kind serves as a tool for a prover agent, and proving dominates the cost: swapping in a cheaper retriever changes the end-to-end cost much less than the retrieval-stage timings alone might suggest, while changing the success rate substantially. Our loop is also deliberately modest: a single trajectory capped at 8 reflection rounds, one attempt per problem. Production provers expend far more verifier-guided compute per problem: Seed-Prover refines each proof attempt up to 8 to 16 times under Pass@8-16 in its lightest setting, which it reports as equivalent to whole-proof generation at Pass@64-256 and as taking 1 to 2 hours per problem, and its medium setting nests a further 8 x 8 budget inside that [1].

Measured in our setting, per-query retrieval time is about 1.9 s for INF-X and ReasonIR, 9.2 s for DIVER, and 48.5 s for reasoning mode, against a prover cost that averages 320.6 s per query on solved problems and 454.9 s on failed ones. Even for reasoning mode, the heaviest retriever, retrieval is 13.1% of end-to-end time on solved problems and 9.6% on failed ones. The share falls further in a production setting with more reflection rounds, since reasoning mode runs once at the first attempt and the reflection rounds fall back to standard mode. The bottleneck in time and compute is the prover, not retrieval, so the retrieval-stage mismatch is substantially diluted in the end-to-end workflow.

References

[1] ByteDance Seed AI4Math. "Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving." arXiv preprint arXiv:2507.23726 (2025).

Reviewer 4FQcOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary
  • This paper introduces a new task, reasoning-intensive retrieval-augmented formal theorem generation, where the query and the document have a large lexical gap because logical relevance does not entail lexical similarity.
  • They curate two types of datasets. One searches for declarations given a natural language query, and the other retrieves premises that support generating the final proof given a formal statement.
  • We propose LeanSearch v2, which retrieves relevant premises and declarations. To retrieve them effectively, informalization transforms them into natural language form. The sketch-retrieve-reflect pipeline is a common approach that follows the draft-sketch-prove architecture and decomposes the whole proof plan.
Strengths and weaknesses

Strengths

  • Retrieval benchmarks are scarce in this field. Contributing an expert-verified benchmark dataset will encourage the community to study this complex relevance beyond the BRIGHT benchmark.
  • The proposed method can serve as a baseline for this benchmark. The two modes enable the RAG system to receive more supporting lemmas for proof generation.

Weaknesses

  • The proposed method, LeanSearch v2, does not seem to make a novel contribution. It reads as an adaptation of draft-sketch-prove [1] to the RAG framework.
  • The paper argues that relevance in this retrieval setting requires "mathematical reasoning" (Line 35), but the method relies on ordinary retrieval models such as Qwen3-embedding and a reranker. Since these models are trained on general relevance, using them without additional fine-tuning cannot close this relevance gap. I suspect the informalization step bridges the gap instead, which means the result depends mostly on the informalization model. Therefore, the method does not directly address the mathematical reasoning it claims to target.

[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).

Questions
  • Q1: Can the method generalize across retrieval models? A version of Table 1 with different retrieval models could address this question.
  • Q2: I suspect that most of the relevance gap from mathematical reasoning is addressed by the model used for informalization in Figure 2-b. Could you provide an ablation over the corpus with different models? Since most generations rely on Qwen3-32B and failures are handled by Gemini-2.5 Pro, I would like to know how many failures arise and how performance changes when the first-stage informalizer becomes larger or smaller.
  • Q3: For the expert curation of the benchmark dataset, is there any agreement or consensus process for resolving differing annotation opinions?
Limitations

Yes. Section 5j.

Final justification

During the discussion period, the authors conducted extensive experiments and provided comments that addressed my concerns. Accordingly, I am raising my rating (overall score) from 3 to 4.

Formatting concerns

No formatting issue.

6 comments
Authors · CommentOpenReview ↗

Response to Reviewer 4FQc [1/3]

We thank the reviewer for the detailed reading, and in particular for recognizing the value of an expert-verified retrieval benchmark for this field. We address the two weaknesses and the three questions below.

W1: LeanSearch v2 does not seem to make a novel contribution; it reads as an adaptation of draft-sketch-prove to the RAG framework

We thank the reviewer for raising this comparison, and we agree DSP [1] is pioneering work: it introduced the proof sketch and demonstrated that this decomposition improves prover performance. We will add it to the related work. We would like to note, however, that the resemblance is narrower than it appears, and that what the two systems do with a sketch is close to opposite.

First, we apologize for an error in our writing. Appendix B.4 and Table 7 state that the sketch text is inserted into the prover prompt, but the numbers reported in Table 3 were in fact obtained without the sketch: the prover received only the retrieved premises. We will correct this description.

We had in fact tested both configurations while preparing the paper:

Configuration FATE-H (n=100) MathlibMPR-Prop (n=50)
Reasoning mode, sketch provided to the prover 20 8
Reasoning mode, sketch not provided (reported in Table 3) 20 7

Every problem solved without the sketch is also solved with it, the difference being one additional problem on MathlibMPR-Prop. This is the clearest evidence we have that the retrieved premises, not the sketch, are what drives the downstream gain: the sketch adds at most one problem on top of them, and the configuration we report is the weaker of the two.

Second, our sketch is therefore not the object handed downstream. In DSP the sketch is exactly that: it guides the prover, and its open conjectures are what the automated prover is asked to discharge. In our system the sketch never leaves reasoning mode, where its only role is to produce good global retrieval queries, and it is discarded before anything reaches the prover.

Third, DSP contains no retrieval component, and its library is never searched. The open conjectures in a sketch are closed by Sledgehammer together with a fixed set of tactic heuristics, so whatever premises enter a proof are found by Sledgehammer's internal proof search rather than by any learned or semantic retriever. DSP therefore has no way to represent the situation our task is built around, namely that the library may or may not contain a result that a planned proof step requires. Reasoning mode treats this as a first-class signal: the filter may return an empty set when no candidate genuinely supports a planned step, and the judge acts on that absence by re-routing the sketch, so a route that is valid in principle but uncoverable in practice is abandoned rather than filled with the nearest available candidates.

Fourth, the objective differs, and with it what a sketch is for. DSP targets final prover performance, measured as pass rate on miniF2F in Isabelle. We target global premise retrieval as a task in its own right, distinguish it from the local premise selection that has served ITP tactic steps, and provide a method for it; the downstream proof experiment is supporting evidence rather than the contribution. Accordingly, our sketch is not a transcription of a mathematical proof but a search for the route that is most efficient in the formal library, which often departs from the natural argument by routing through existing results and reshaping the goal to match a theorem's interface (§1). A sketch written to be completed by an automated prover and a sketch written to elicit the right library lemmas are different objects, even though both are called proof sketches.

References

[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).

Authors · CommentOpenReview ↗

Response to Reviewer 4FQc [2/3]

W2: The method relies on ordinary retrieval models without fine-tuning, so informalization rather than mathematical reasoning closes the relevance gap

We thank the reviewer for this careful point, and we would like to clarify which part of the system the observation applies to.

Qwen3-Embedding and the reranker constitute standard mode, whose task is the canonical Mathlib search setting: given a natural-language query, retrieve the declaration that matches it (§4.1). The mathematical reasoning this requires is limited, since the query already describes the target, and we agree that a general-purpose embedding model with kind-aware prompting over an informalized corpus is sufficient for it. The relevance gap at Line 35, where the connections require mathematical reasoning and the relevant lemmas are linked to the problem by the logical architecture of a proof strategy rather than by shared vocabulary, is not this task. It is global premise retrieval, and it is addressed by reasoning mode.

Reasoning mode is where the reasoning is placed, and it uses models chosen for that capability: Claude Sonnet 4.5 for sketch generation, judging, and revision, and Kimi K2 Instruct for the document filter (§3.2). Given a target theorem it commits to a proof strategy at the granularity of which results should exist and how each contributes, phrases a retrieval query for each step, vets the returned candidates against the planned step, and, when the library turns out not to support a step, receives structured feedback identifying which steps failed and why and re-routes the sketch. Standard mode is a black-box retrieval service underneath this loop: reasoning mode issues natural-language queries against it and consumes ranked results, never reaching into the embedder or reranker (§3.2). Because the reasoning is factored out this way, each sub-query arriving at the encoders is already an explicit statement of what to look for, which is the conventional semantic-matching task these models are strong at. That division of labor is what allows an untuned encoder to serve adequately, and it is why the two modes are evaluated separately, on §4.1 and §4.2 respectively.

On informalization, we agree it lowers the reasoning burden, but we would like to note the limit of what it can carry. An informalized description states what a declaration means in accessible natural language, more accurately and in more detail than the formal statement alone. It does not record when that declaration becomes useful, and at this level of mathematics it could not: anticipating the problems in which a given lemma will be the right move would require enumerating the proof strategies it might participate in, which is not feasible for graduate-level and research-level mathematics. Deciding that a goal should be reshaped to match a particular theorem's interface, or that a route through cyclotomic polynomials will close a statement about irreducibility (Figure 1), is inference about a proof strategy, and it happens in reasoning mode. This is consistent with the numbers: every reasoning-retrieval baseline in Table 2 reads the same hierarchy-informalized corpus that we do, yet reasoning mode leads all of them, so the informalized corpus alone does not account for the gap.

Authors · CommentOpenReview ↗

Response to Reviewer 4FQc [3/3]

Q1: Can the method generalize across retrieval models? A version of Table 1 with different retrieval models could address this question.

We thank the reviewer for this suggestion, and we have run it. We repeated the Search task on MathlibQR with a second embedding model and two alternative rerankers, giving eight embedder-reranker combinations. The first two rows are the configurations reported in Table 1.

Embedder + reranker nDCG@1 nDCG@5 nDCG@10 R@10 R@50 R@100
Qwen3-Emb-8B (retriever-only) 0.340 0.472 0.494 0.657 0.790 0.830
Qwen3-Emb + Qwen3-Reranker 0.470 0.601 0.623 0.780 0.847 0.858
Qwen3-Emb + KaLM 0.391 0.504 0.532 0.685 0.810 0.836
Qwen3-Emb + BGE 0.400 0.506 0.526 0.662 0.789 0.835
Nemotron-Emb-8B (retriever-only) 0.372 0.506 0.527 0.684 0.789 0.832
Nemotron-Emb + Qwen3-Reranker 0.470 0.599 0.621 0.777 0.852 0.872
Nemotron-Emb + KaLM 0.390 0.505 0.529 0.677 0.818 0.844
Nemotron-Emb + BGE 0.406 0.507 0.529 0.664 0.789 0.838

The design generalizes across the embedder. Substituting Nemotron-Emb-8B for Qwen3-Embedding-8B leaves the result essentially unchanged when the reranker is held fixed, at 0.621 against 0.623 nDCG@10, and the newer embedding model is slightly stronger on its own, which is what we would expect.

Reranking helps in every configuration, and most visibly in the top-1 to top-5 range: with Qwen3-Emb, nDCG@1 rises from 0.340 to 0.470, 0.391, or 0.400 depending on the reranker, and with Nemotron-Emb from 0.372 to 0.470, 0.390, or 0.406. All eight configurations exceed LeanFinder's 0.370 nDCG@1 from Table 1, and on the remaining metrics the KaLM and BGE variants trade places with it.

The two alternative rerankers are weaker than Qwen3-Reranker-8B, which we attribute to their differing in kind rather than to the approach depending on a particular model: KaLM is a 4B model, and BGE dates from 2024. We were not able to find an open-source reranker matching Qwen3-Reranker-8B in scale and generality while being a stable general-purpose model, so these two were the available options, one recent and one architecturally comparable. Our pipeline does benefit from Qwen3-Reranker-8B's quality, but the benefit of adding a reranker at all is general rather than tied to that model.

Q2: Could you provide an ablation over the corpus with different informalization models, and how many first-stage failures arise?

We thank the reviewer for asking for the failure rate and for separating fallback completeness from informalization quality. Of the 310,579 corpus entries, 2,776 (0.89%) required the Gemini 2.5 Pro fallback after the initial Qwen3-32B generation. We reran these 2,776 entries with Qwen3-32B and obtained valid outputs for 1,437 of them (51.8%) on retry.

Manual inspection indicates that a common failure mode was exceeding the approximately 10k-token output cap, including generated reasoning, which had been imposed to control API cost. Gemini was therefore used primarily as a completeness fallback for a corpus intended for public release. Since the fallback affects fewer than 1% of entries, it is unlikely by itself to explain the system-level retrieval gain.

Q3: For the expert curation of the benchmark dataset, is there any agreement or consensus process for resolving differing annotation opinions?

We thank the reviewer for this question. In the curation process of MathlibQR, since generating informal queries from a given formal statement is mathematically trivial and we would like to allow diversity and flexibility in query styles, there is no agreement check process. In the curation of MathlibMPR, since this involves coming up with alternative proofs, at least two experts working on the same problem would collect their annotations together and reach a consensus that the proposed alternative proof strategy is mathematically correct and formalizable in Lean. In most cases, this process simply involves combining proof strategies suggested by different experts.

Reviewer jehTOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies global premise retrieval in Lean 4 / Mathlib: given a theorem, retrieve the library lemmas needed for an entire proof strategy, rather than local premises for a single tactic step. Semantic search systems target single-query matching; premise selection systems target step-wise proof states; neither is designed to recover a full premise set.

The authors propose LeanSearch v2 with two modes. Standard mode builds a Jixia dependency graph, performs bottom-up hierarchical informalization, and runs two-stage retrieval with embedding plus reranker, without Mathlib fine-tuning. Reasoning mode adds a sketch–retrieve–filter–judge–revise loop that decomposes theorems into sub-queries and aggregates filtered premises on top of standard mode.

They introduce two expert-annotated benchmarks, MathlibQR and MathlibMPR, and evaluate search, global retrieval, and downstream proof. Standard mode leads on single-query retrieval; reasoning mode leads on set-level retrieval against reasoning and premise-selection baselines. Downstream proof experiments use a simple reflection loop. Code, data, and benchmarks are to be open-sourced.

Strengths and weaknesses

Quality

Strength: The paper covers search, global premise retrieval, and prove tasks, and compares reasoning retrieval and premise-selection baselines on the same Lean benchmarks. Standard mode uses dependency-aware informalization, kind-aware prompting, and a reranker, with ablations on reranking and kind-aware design. Snapshot mismatch is handled with a fair subset, alternative evaluation perspectives, a strict Covered variant, and ablations on reflection and prover backbone.

Weakness: MathlibMPR is small, with multiple premise groups per query but limited total queries; reported gaps between systems are modest and lack confidence intervals or significance tests. Reasoning mode combines several proprietary and open LLMs, and the reasoning sketch is frozen early in the prove ablation. Prove success rates remain low under a simple reflection loop. Reasoning mode has non-trivial per-query API cost, with limited cost–performance discussion in the main text.

Clarity

Strengths: A worked example contrasts global retrieval with lexical search. The two-mode design is explicit, and the appendix documents rank-discount aggregation, LLM-judge bias correction, and baseline input and corpus differences.

Weaknesses: In the prove task, reasoning mode is used in the first round and standard mode handles later reflection, which is easy to overlook. Some baselines use different query formats in prove versus retrieval evaluation. Jixia extensions' effect on corpus coverage is not quantified, and filter and judge prompt details sit mainly in the appendix.

Significance

Strengths: MathlibQR covers diverse query styles and declaration types. MathlibMPR uses merged pull requests with alternative-routing labels and enforces merges after prover training cutoff.

Weaknesses: Downstream proof success remains low in absolute terms. The task and benchmarks are limited to Lean 4 and Mathlib.

Originality

Strengths: The paper introduces set-level metrics and a reasoning-intensive retrieval loop in Lean. MathlibMPR's premise groups and alternative routing differ from existing reasoning-retrieval benchmarks such as BRIGHT.

Weaknesses: The reasoning pipeline resembles prior multi-stage systems such as DIVER and INF-X, which are already strong baselines. Standard-mode performance relies on a general embedding model and corpus engineering without Mathlib fine-tuning.

Questions
  1. On MathlibMPR, how much of reasoning mode's gain over DIVER comes from the standard-mode backbone versus the sketch–filter–judge loop?

  2. A substantial fraction of queries fail judge acceptance within the revision budget. What are the main failure patterns?

  3. In the prove task, reasoning mode runs only in the first round and reflection uses standard mode. How much does this design contribute to gains over INF-X?

  4. What is the retrieval impact of hierarchical versus flat informalization?

  5. Baselines use different input formats and corpora in prove and retrieval evaluation. Could this systematically favor LeanSearch v2?

Limitations

Yes

Final justification

Recommended score: 5 (Accept). I maintain this score after the rebuttal.

Resolved (high weight). The rebuttal substantively addresses my main empirical and clarity questions. (1) Repeated MathlibMPR runs with means/stds show small variance relative to reported margins, and the ranking over the strongest baseline holds in the worst run. (2) The standard-mode vs. reasoning-mode vs. DIVER ablation shows that gains come mainly from the sketch–filter–judge–revise loop, not the backbone alone. (3) The ReProver corpus-swap experiment bounds the corpus confound: shared corpus helps but does not explain most of the gap. (4) Corrections and clarifications on the sketch-free Table 3 setting, prove-task first-round/reflection protocol, hierarchical informalization, judge failure modes, and retrieval-vs-prover cost are convincing. These points strengthen confidence in the core claims and carry the most weight in my recommendation.

Unresolved / residual (lower weight). MathlibMPR remains modest in query count; absolute prove success is still limited under a minimal reflection loop; evaluation is Lean/Mathlib-specific; and some presentation details (prove protocol, cost discussion, benchmark-scale caveats) should be moved more clearly into the main text. I weigh these as revision items and inherent task constraints rather than reasons to reject: the contribution is the global premise-retrieval task, expert-annotated benchmarks, and a strong retrieval method under a deliberately attribution-friendly prover setup—not a SOTA end-to-end prover.

For authors (short points).

  • Keep the new ablations, variance numbers, and corpus-swap results in the revision.
  • State the prove-task retrieval protocol (reasoning first, then standard-mode reflection) explicitly in the main text.
  • Retain MathlibMPR scale and annotation-cost limitations, plus the cost–performance breakdown, in the main paper.
  • Overall: solid problem formulation, useful resources, and rebuttal evidence that supports acceptance.
Formatting concerns

No such issues were found.

9 comments
Authors · CommentOpenReview ↗

Response to Reviewer jehT [1/7]

We thank the reviewer for the careful and constructive assessment, and for recognizing the coverage of our evaluation across the search, global premise retrieval, and prove tasks. The concerns raised are all well taken, and we address each of them in turn below, adding new evidence and clarifying the paper where the presentation was unclear.

Quality W1: MathlibMPR is small, with limited total queries

We agree the query count is modest. However, we would like to note that expert-judged evaluation sets in mathematical retrieval have long sat in the tens to low hundreds of queries, as annotation by qualified assessors is the binding constraint in this field:

Benchmark Task Queries
NTCIR-12 Wikipedia Formula Browsing [1] Formula retrieval 40
NTCIR-11 Math-2 main task [2] arXiv math retrieval 50
ARQMath-1 / -2 / -3 Task 1 [3, 4, 5] Math answer retrieval 77 / 71 / 78
ARQMath-3 Task 2 [5] Formula retrieval 76
BRIGHT, theorem-based splits [6] Reasoning-intensive retrieval 76 / 111 / 194
Tree-Based Premise Selection, Test A [7] Lean premise selection 100

Larger retrieval sets do exist in this space, with thousands of queries, but their labels are derived automatically from tactic arguments, kernel traces, or citation links rather than reviewed by annotators: LeanDojo [8] and MAPL [9] exceed four thousand queries, while MIRB [10] notes that premises extracted only from successful proofs leave potential false negatives.

The annotation demanded by MathlibMPR is also of a different kind. Rather than classifying the relevance of presented candidates, the annotator must understand how a graduate- to research-level theorem is actually proved in Lean, decide which library results the argument genuinely rests on, and know Mathlib well enough to identify which formalizations are interchangeable for a given step (mean 2.96 premise groups per query) and to construct a viable alternative proof where one exists. Automatic extraction is unreliable at this granularity: the ground truth is a set that must jointly close a proof, and alternative routings appear in no tactic log, since only one route was ever merged. Two further constraints bound the count: candidate PRs must postdate every compared system's corpus snapshot and clear the prover's knowledge cutoff by six months (Appendix A.2.1), and trivial restatements and notational rewrites are filtered out. Scaling MathlibMPR is therefore difficult, but we believe its size and annotation quality suffice to assess a retrieval system on this task: the gaps we report hold across every k, on both metrics, under the stricter original-routing-only criterion (Appendix C.3), and in the same ordering downstream on two further datasets.

References

[1] Zanibbi, Richard, et al. "NTCIR-12 MathIR Task Overview." Proceedings of the 12th NTCIR Conference on Evaluation of Information Access Technologies (2016).

[2] Aizawa, Akiko, et al. "NTCIR-11 Math-2 Task Overview." Proceedings of the 11th NTCIR Conference (2014).

[3] Zanibbi, Richard, et al. "Overview of ARQMath 2020: CLEF Lab on Answer Retrieval for Questions on Math." Experimental IR Meets Multilinguality, Multimodality, and Interaction: 11th International Conference of the CLEF Association, CLEF 2020, Springer, pp. 169-193 (2020).

[4] Mansouri, Behrooz, et al. "Overview of ARQMath-2 (2021): Second CLEF Lab on Answer Retrieval for Questions on Math." Experimental IR Meets Multilinguality, Multimodality, and Interaction: 12th International Conference of the CLEF Association, CLEF 2021, Springer, pp. 215-238 (2021).

[5] Mansouri, Behrooz, et al. "Overview of ARQMath-3 (2022): Third CLEF Lab on Answer Retrieval for Questions on Math." Experimental IR Meets Multilinguality, Multimodality, and Interaction: 13th International Conference of the CLEF Association, CLEF 2022, Springer, pp. 286-310 (2022).

[6] Su, Hongjin, et al. "BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrieval." The Thirteenth International Conference on Learning Representations (ICLR) (2025). Splits: AoPS, TheoremQA-Questions, TheoremQA-Theorems.

[7] Wang, Zichen, Anjie Dong, and Zaiwen Wen. "Tree-Based Premise Selection for Lean4." Advances in Neural Information Processing Systems 38 (2025).

[8] Yang, Kaiyu, et al. "LeanDojo: Theorem Proving with Retrieval-Augmented Language Models." Advances in Neural Information Processing Systems 36 (2023): 21573-21612.

[9] Mikula, Maciej, et al. "Magnushammer: A Transformer-Based Approach to Premise Selection." The Twelfth International Conference on Learning Representations (ICLR) (2024).

[10] Ju, Haocheng and Bin Dong. "MIRB: Mathematical Information Retrieval Benchmark." arXiv preprint arXiv:2505.15585 (2025).

Authors · CommentOpenReview ↗

Response to Reviewer jehT [2/7]

Quality W2: Reported gaps lack confidence intervals or significance tests

We thank the reviewer for this request, and we have run the repetitions where they are informative. Of the three experiments, the first (§4.1) is deterministic, since standard mode performs no sampling, so repetition would return identical numbers. The third (§4.3) is a prover-loop evaluation whose cost makes repetition impractical. The second (§4.2) is the one where variance matters, and we have reproduced it three additional times. One substitution was necessary: Kimi K2 Instruct is no longer served as an endpoint, so the filter uses Kimi-K2.5 in the repeat runs.

Run R@5 R@10 R@20 R@30 R@50 C@5 C@10 C@20 C@30 C@50
Table 2 (original) 36.7 46.1 50.8 56.4 57.1 27.5 30.4 34.8 43.5 43.5
Repeat 1 38.9 47.3 55.8 57.8 59.5 30.4 36.2 42.0 45.0 46.4
Repeat 2 32.2 45.1 51.7 55.8 55.8 23.2 27.5 39.1 42.0 42.0
Repeat 3 35.8 45.3 52.0 56.4 56.9 24.6 30.4 36.2 40.6 40.6
Mean 35.9 46.0 52.6 56.6 57.3 26.4 31.1 38.0 42.8 43.1
Std. dev. 2.8 1.0 2.2 0.8 1.6 3.2 3.6 3.2 1.9 2.5

The run-to-run spread is small relative to the margins we report, and the conclusion does not depend on which run is used: in all four runs, and hence in the worst run at every k, reasoning mode exceeds the strongest baseline value in Table 2 on both metrics. Taking group-recall@10, the four runs span 45.1 to 47.3 against 38.5 for the best baseline cell, and for Covered@20 they span 34.8 to 42.0 against 29.0. The figures reported in Table 2 sit at or slightly below the mean of the four runs on most cells, so the published numbers are not a favorable draw.

Quality W3: Reasoning mode combines several proprietary and open LLMs, and the reasoning sketch is frozen early in the prove ablation

We thank the reviewer for raising this, and we owe an apology for a description in the paper that is simply wrong. The number reported for LeanSearch v2 (reasoning mode) in Table 3 already corresponds to the no-sketch setting: the prover received only the retrieved premises, not the sketch. Appendix B.4 and Table 7 state otherwise, and that wording is an error on our part. We will correct it once the rebuttal period ends, and we apologize for the confusion.

We had in fact tested both configurations while preparing the paper:

Configuration FATE-H MathlibMPR-Prop
Reasoning mode, sketch provided to the prover 20 8
Reasoning mode, sketch not provided (reported in Table 3) 20 7

The published results are therefore the sketch-free configuration, which is the weaker of the two, and they attribute the downstream gain to the retrieved premises rather than to the sketch.

On the sketch acting as a constraint, we would also note that even in the configuration where the sketch is supplied, it serves as a reference rather than a binding plan. The sketch is a natural-language outline that names no Mathlib lemmas and contains no Lean code (§3.2), and the prover is free to depart from it and revise the proof route on its own. So the sketch does not fix the proof strategy that the prover follows.

Authors · CommentOpenReview ↗

Response to Reviewer jehT [3/7]

Quality W4: Prove success rates remain low under a simple reflection loop

The absolute rates follow from two deliberate choices, and we would like to clarify both.

First, the workflow is intentionally minimal. The simple reflection loop is designed to reproduce the behavior of a competent contemporary prover while keeping the surrounding system as simple as possible, so that the retriever is the only component that varies across rows of Table 3. A stronger agent would raise every row, but it would also compensate for a weaker retriever through repeated query reformulation or by proving needed lemmas locally, which is precisely the confound we wanted to avoid (§1). Higher absolute rates and a clean attribution to retrieval are in tension here, and we chose the latter.

Second, the problems are hard. FATE-H consists of problems "at the level of honors course exams or graduate-level difficulty" [1], and on it the FATE paper reports that the best of eight state-of-the-art systems solves 3 of 100 problems at pass@64, with Claude-Sonnet-4 and Gemini-2.5-Pro each solving none ([1], Table 1). Against that baseline, 20% under a far smaller sampling budget is not a low absolute number. Two factors plausibly account for the difference: the prover we use is newer than those evaluated in [1], and our loop lets the model see Lean compiler errors and retrieved premises and repair its first attempt, rather than generating whole proofs in one pass.

What matters for our claim is that the rates are not so low as to be uninformative. Every configuration sits well above the floor, the ordering across retrievers is strict on both datasets, and it is preserved when the prover backbone is downgraded to Kimi K2 Instruct (Appendix D.2).

References

[1] Jiang, Jiedong, et al. "FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levels." arXiv preprint arXiv:2511.02872 (2025).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…