potentialpaper

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

Import NeurIPS 2026 submission 5RERl0ybCa: 5 notes

@openreview[bot] · 2026-11-22 17:54 UTC · 70f9b9cbd462 ·

Evidence

reviews/openreview/5rerl0ybca/forms.json added

+++ b/reviews/openreview/5rerl0ybca/forms.json
@@ -0,0 +1,227 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ },
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "quality",
+ "clarity",
+ "significance",
+ "originality"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 6
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 5
+ },
+ {
+ "key": "quality",
+ "label": "Quality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "clarity",
+ "label": "Clarity",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "significance",
+ "label": "Significance",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "originality",
+ "label": "Originality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "contribution_type",
+ "label": "Contribution type",
+ "type": "choice"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "strengths_and_weaknesses",
+ "label": "Strengths and weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions",
+ "label": "Questions",
+ "type": "text"
+ },
+ {
+ "key": "limitations",
+ "label": "Limitations",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ },
+ {
+ "key": "paper_formatting_concerns",
+ "label": "Formatting concerns",
+ "type": "text"
+ },
+ {
+ "key": "ethical_concerns",
+ "label": "Ethical concerns",
+ "type": "choice"
+ },
+ {
+ "key": "code_of_conduct_acknowledgement",
+ "label": "Code of conduct",
+ "hidden": true
+ },
+ {
+ "key": "responsible_reviewing_acknowledgement",
+ "label": "Responsible reviewing",
+ "hidden": true
+ }
+ ]
+ },
+ "Rebuttal": {
+ "label": "Rebuttal",
+ "fields": [
+ {
+ "key": "rebuttal",
+ "label": "Rebuttal",
+ "type": "text"
+ }
+ ]
+ },
+ "Ethics_Review": {
+ "label": "Ethics review",
+ "fields": [
+ {
+ "key": "scope_of_ethics_concerns",
+ "label": "Scope",
+ "type": "choice"
+ },
+ {
+ "key": "ethics_review",
+ "label": "Ethics review",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/notes/dazfahqpgb.json added

+++ b/reviews/openreview/5rerl0ybca/notes/dazfahqpgb.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "DaZfAhqPgb",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer jehT",
+ "content": {
+ "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.\n\nThe 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.\n\nThey 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.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "### Quality\n\n**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.\n\n**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.\n\n### Clarity\n\n**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.\n\n**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.\n\n### Significance\n\n**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.\n\n**Weaknesses:** Downstream proof success remains low in absolute terms. The task and benchmarks are limited to Lean 4 and Mathlib.\n\n### Originality\n\n**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.\n\n**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.",
+ "quality": 3,
+ "clarity": 4,
+ "significance": 4,
+ "originality": 3,
+ "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?\n\n2. A substantial fraction of queries fail judge acceptance within the revision budget. What are the main failure patterns?\n\n3. 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?\n\n4. What is the retrieval impact of hierarchical versus flat informalization?\n\n5. Baselines use different input formats and corpora in prove and retrieval evaluation. Could this systematically favor LeanSearch v2?",
+ "limitations": "Yes",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No such issues were found.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "**Recommended score: 5 (Accept).** I maintain this score after the rebuttal.\n\n**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.\n\n**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.\n\n**For authors (short points).**\n- Keep the new ablations, variance numbers, and corpus-swap results in the revision.\n- State the prove-task retrieval protocol (reasoning first, then standard-mode reflection) explicitly in the main text.\n- Retain MathlibMPR scale and annotation-cost limitations, plus the cost–performance breakdown, in the main paper.\n- Overall: solid problem formulation, useful resources, and rebuttal evidence that supports acceptance."
+ },
+ "createdAt": "2026-06-25T16:31:51.222Z",
+ "modifiedAt": "2026-11-18T13:45:43.893Z",
+ "url": "https://openreview.net/forum?id=5RERl0ybCa&noteId=DaZfAhqPgb",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/notes/drw6vvq6nx.json added

+++ b/reviews/openreview/5rerl0ybca/notes/drw6vvq6nx.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "drw6vVQ6Nx",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer VSUR",
+ "content": {
+ "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). \n\nThe 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. \n\nEvaluation 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.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strength:\n- paper is clear and well written\n- premise retrieval is an important problem, and this paper shows good results.\n- 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.\n- detailed evaluation and ablations.\n\nWeakness:\n\nMy 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. \n\nSome smaller points:\n- 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. \n- 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.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "1. can you integrate other retrieval models into your agentic pipeline for global premise retrieval?\n2. 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",
+ "rating": 4,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "no concern.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "Most main concerns are addressed. I will keep my initial positive score of 4."
+ },
+ "createdAt": "2026-06-24T00:06:42.063Z",
+ "modifiedAt": "2026-11-18T13:45:47.155Z",
+ "url": "https://openreview.net/forum?id=5RERl0ybCa&noteId=drw6vVQ6Nx",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/notes/eouyltpzqd.json added

+++ b/reviews/openreview/5rerl0ybca/notes/eouyltpzqd.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "EouYltpzQd",
+ "replyTo": null,
+ "kind": "meta_review",
+ "invitation": "Meta_Review",
+ "signature": "Area Chair SgYf",
+ "content": {
+ "metareview": "The paper defines a new retrieval task for theorem proving: given a theorem, retrieve the library lemmas needed for an entire proof strategy.\n\nThe reviews' main concerns are\n- 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?\n- one reviewer pointed out that this paper is closely related to the approach taken in [1], which was not referenced in the submission\n- lack of novelty in the approach, as it seems to simply apply an approach such as [1] and using the sketch for retrieval.\n\n\n[1] Jiang, Albert Q., et al. \"Draft, sketch, and prove: Guiding formal theorem provers with informal proofs.\" arXiv preprint arXiv:2210.12283 (2022)."
+ },
+ "createdAt": "2026-07-21T19:00:17.909Z",
+ "modifiedAt": "2026-11-18T15:26:01.043Z",
+ "url": "https://openreview.net/forum?id=5RERl0ybCa&noteId=EouYltpzQd",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/notes/grfwrqu8l0.json added

+++ b/reviews/openreview/5rerl0ybca/notes/grfwrqu8l0.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "grfwrQU8l0",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 4FQc",
+ "content": {
+ "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.\n* 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.\n* 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.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "## Strengths\n\n* 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.\n* 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.\n\n## Weaknesses\n* 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.\n* 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.\n\n[1] Jiang, Albert Q., et al. \"Draft, sketch, and prove: Guiding formal theorem provers with informal proofs.\" arXiv preprint arXiv:2210.12283 (2022).",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 2,
+ "questions": "* Q1: Can the method generalize across retrieval models? A version of Table 1 with different retrieval models could address this question.\n* 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.\n* 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.",
+ "rating": 4,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No formatting issue.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "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."
+ },
+ "createdAt": "2026-06-24T10:07:05.489Z",
+ "modifiedAt": "2026-11-18T13:45:45.560Z",
+ "url": "https://openreview.net/forum?id=5RERl0ybCa&noteId=grfwrQU8l0",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/notes/lfbu71besk.json added

+++ b/reviews/openreview/5rerl0ybca/notes/lfbu71besk.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "lfbU71BEsK",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "metareview": "The paper defines a new retrieval task for theorem proving: given a theorem, retrieve the library lemmas needed for an entire proof strategy.\n\nThe reviews' main concerns are\n- 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?\n- one reviewer pointed out that this paper is closely related to the approach taken in [1], which was not referenced in the submission\n- lack of novelty in the approach, as it seems to simply apply an approach such as [1] and using the sketch for retrieval.\n\n\n[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."
+ },
+ "createdAt": "2026-09-24T11:28:49.107Z",
+ "modifiedAt": "2026-11-18T15:00:03.640Z",
+ "url": "https://openreview.net/forum?id=5RERl0ybCa&noteId=lfbU71BEsK",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/5rerl0ybca/submission.json added

+++ b/reviews/openreview/5rerl0ybca/submission.json
@@ -0,0 +1,12 @@
+{
+ "schema": "submission/1",
+ "id": "5RERl0ybCa",
+ "venue": {
+ "id": "NeurIPS.cc/2026/Conference",
+ "name": "NeurIPS 2026",
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"
+ },
+ "number": 34807,
+ "url": "https://openreview.net/forum?id=5RERl0ybCa",
+ "license": "CC-BY-4.0"
+}

versions/v_pmvysgxm.json added

+++ b/versions/v_pmvysgxm.json
@@ -0,0 +1,22 @@
+{
+ "date": "2026-05-05",
+ "kind": "submitted",
+ "label": "NeurIPS 2026",
+ "submissions": [
+ {
+ "venue": "NeurIPS 2026",
+ "status": "accepted",
+ "decision": "Accept (poster)",
+ "number": 34807,
+ "url": "https://openreview.net/forum?id=5RERl0ybCa",
+ "reviews": "openreview/5rerl0ybca",
+ "evidence": [
+ "https://openreview.net/forum?id=5RERl0ybCa"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=5RERl0ybCa",
+ "evidence": [
+ "https://openreview.net/forum?id=5RERl0ybCa"
+ ]
+}