LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving
Update NeurIPS 2026 submission 5RERl0ybCa: 25 notes
@openreview[bot] · 2026-11-24 15:45 UTC · 50facddec946 ·
reviews/openreview/5rerl0ybca/notes/17coqdahvz.json added
+++ b/reviews/openreview/5rerl0ybca/notes/17coqdahvz.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "17COQDAHvz",+ "replyTo": "drw6vVQ6Nx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer VSUR [4/4]",+ "comment": "**Smaller point 1: Section 4.1 describes LeanFinder as a fine-tuned dense retriever with a learned reranker, which misstates its architecture**\n\nWe thank the reviewer for catching this. The reviewer is correct: LeanFinder is a single-stage dense\nretriever, fine-tuned contrastively and then aligned with a preference objective, and it has no reranking\nstage. We will correct the description in §4.1.\n\n**Smaller point 2: It would help to report the latency the reranker adds on top of the bare retriever**\n\nWe thank the reviewer for this suggestion. On our hosted\nservice, embedding retrieval takes 54.5 ms per query on average and the reranking stage adds 113.2 ms, for\n168 ms end to end. So the reranker roughly triples query latency, and in exchange it contributes about\n+10 points of nDCG and Recall at k <= 10, with a further +2 to 3 from kind-aware prompting\n(Appendix D.1). Since the retrieval stage is a small fraction of the cost of the prover loop it feeds, we\nconsider this a favorable trade, though the retriever-only configuration remains available and is\nreported throughout Table 1 for readers who need the lower latency.\n\n**Q1: Can you integrate other retrieval models into your agentic pipeline for global premise retrieval?**\n\nWe thank the reviewer for this suggestion. We have now done so. We substituted the two Lean-side semantic search engines for standard mode\nas the retrieval substrate inside the sketch-filter-judge loop, leaving every other component unchanged,\nand evaluated on MathlibMPR:\n\n| Substrate in the loop | R@5 | R@10 | R@20 | R@30 | R@50 |\n| --- | --- | --- | --- | --- | --- |\n| LeanExplore | 11.3 | 22.5 | 35.4 | 41.4 | 49.0 |\n| LeanFinder | 25.3 | 37.4 | 44.9 | 50.5 | 54.7 |\n| Standard mode (ours) | 36.7 | 46.1 | 50.8 | 56.4 | 57.1 |\n\n| Substrate in the loop | C@5 | C@10 | C@20 | C@30 | C@50 |\n| --- | --- | --- | --- | --- | --- |\n| LeanExplore | 8.7 | 17.4 | 24.6 | 27.5 | 33.3 |\n| LeanFinder | 14.5 | 26.1 | 34.8 | 39.1 | 42.0 |\n| Standard mode (ours) | 27.5 | 30.4 | 34.8 | 43.5 | 43.5 |\n\nTwo observations. First, the loop transfers. With LeanFinder as the substrate it reaches 37.4\ngroup-recall@10 and 26.1 Covered@10, which is competitive with the strongest reasoning-retrieval baseline\nin Table 2, the DIVER full pipeline at 38.0 and 24.6, even though the substrate itself is a single-stage\ndense retriever. The sketch-filter-judge loop is therefore not specific to our substrate. Second, the\nsubstrate still matters: the ordering of the three inside the loop follows their standalone search quality\nin Table 1, and standard mode leads at every k on both metrics.\n\nAs noted under Weakness 1, we substituted the semantic search engines rather than ReasonIR, DIVER, and\nINF-X because the latter are complete reasoning-retrieval pipelines rather than single-query retrievers,\nbuilt to be invoked once on a full query rather than many times inside an outer loop that issues a\nsub-query per planned proof step.\n\n**Q2: Can you provide a compute-matched evaluation for global premise retrieval and downstream theorem proving?**\n\nWe thank the reviewer for this question. We provide the enhanced-DIVER comparison and the downstream end-to-end timing analysis under Weakness 2 above. The enhanced DIVER variant improves at every reported cutoff but remains below LeanSearch v2 reasoning mode."+ },+ "createdAt": "2026-08-01T12:27:22.050Z",+ "modifiedAt": "2026-11-19T17:17:21.906Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=17COQDAHvz",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/1sor03gmxk.json added
+++ b/reviews/openreview/5rerl0ybca/notes/1sor03gmxk.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "1sOr03gmXK",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [4/7]",+ "comment": "**Quality W5: Non-trivial per-query API cost, with limited cost-performance discussion in the main text**\n\nWe thank the reviewer for this point. We would like to make two remarks, on where the cost sits and on why\nit is warranted.\n\nOn the cost itself, reasoning mode is the most expensive retriever we evaluate, at roughly 1.10 USD and\n48.5 s per query, against 1.9 s for INF-X and ReasonIR and 9.2 s for DIVER. But retrieval is a small part\nof an end-to-end Lean prover workflow. In the prove task the prover averages 320.6 s per query on solved\nproblems and 454.9 s on failed ones, so even for reasoning mode, the heaviest retriever, retrieval is 13.1%\nof end-to-end time on solved problems and 9.6% on failed ones.\n\nThe share falls further in a production setting, because our loop is deliberately modest: a single\ntrajectory capped at 8 reflection rounds, one attempt per problem. Production provers expend far more\nverifier-guided compute per problem. Seed-Prover refines each proof attempt up to 8 to 16 times under\nPass@8-16 in its lightest setting, which it reports as equivalent to whole-proof generation at Pass@64-256\nand as taking 1 to 2 hours per problem, and its medium setting nests a further 8 x 8 budget inside that [1].\nAdding reflection rounds lowers the retrieval share further still, since reasoning mode runs once at the\nfirst attempt and the reflection rounds fall back to standard mode, which costs 168 ms per query. The\nbottleneck in time and compute is the prover, not retrieval, and systems using different retrievers\ntherefore have nearly the same end-to-end cost.\n\nOn whether the cost is warranted, our reading is that this task genuinely requires an explicit reasoning\nprocess, and the measurements support that. Simple query rewriting is sufficient on BRIGHT-style\nbenchmarks but not here: INF-X applies a single query rewriter with no further reasoning stage, and its\nrewriter underperforms its own bare retriever on MathlibMPR, with group-recall@10 of 17.4 against 28.2,\nwhile DIVER, which invests substantially more inference-time reasoning, reaches 38.0. Similarly, the\nlightweight premise-selection systems are well suited to advancing a local proof state, but recover\nproportionally few premise groups at every k on this benchmark, which we read as a scope mismatch rather\nthan a quality gap. Global premise retrieval requires deciding which library results an entire proof should\nrest on, and that is not reducible to similarity search or to a one-step query transformation at any\nbudget. We would also note that the ability to spend more compute for better results on this task is part\nof what we are proposing: our framework converts additional inference-time compute into retrieval quality,\nwhich single-pass architectures cannot do regardless of budget. Cheaper configurations remain available for\nusers who want them: standard mode alone reaches 14 of 100 on FATE-H against 4 without retrieval, and\ndisabling the judge and reviser gives 16 against 20 (Appendix D.3).\n\n**References**\n\n[1] ByteDance Seed AI4Math. \"Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving.\" arXiv preprint arXiv:2507.23726 (2025).\n\n**Clarity W1: In the prove task, reasoning mode is used in the first round and standard mode handles later reflection, which is easy to overlook**\n\nWe thank the reviewer for pointing this out. We agree it is easy to miss in the current presentation,\nand we will revise the paper to state the division explicitly in §4.3 rather than only in\nAppendix B.4."+ },+ "createdAt": "2026-08-01T12:12:10.072Z",+ "modifiedAt": "2026-11-19T17:17:22.252Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=1sOr03gmXK",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/4gdwszcwzc.json added
+++ b/reviews/openreview/5rerl0ybca/notes/4gdwszcwzc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "4GDwsZcWzc",+ "replyTo": "i3rejWDLdM",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 4FQc",+ "content": {+ "comment": "Thank you for your prompt reply to my additional enquiries.\n\nRegarding W2, the reason I commented that PERC is related work is that it utilises pseudocode to match the search space, and this approach to corpus informalisation seems to align with yours.\n\nGiven that all of my concerns have been resolved by your additional experimental results and comments, I will consider raising my assessment during the reviewer discussion period."+ },+ "createdAt": "2026-08-04T04:10:14.721Z",+ "modifiedAt": "2026-11-19T17:17:21.758Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=4GDwsZcWzc",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/9arlqkw60b.json added
+++ b/reviews/openreview/5rerl0ybca/notes/9arlqkw60b.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "9arlQKw60b",+ "replyTo": "EouYltpzQd",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the Area Chair [1/3]",+ "comment": "We thank the Area Chair for the summary, and for identifying the three concerns the reviews converge on. We\nrespond to each below, drawing together the material in our replies to Reviewers jehT, 4FQc, and VSUR.\n\n**AC1: The reasoning mode requires a larger budget of LLM calls than its baselines, so the baselines are not compute matched**\n\nThis is raised by Reviewer VSUR (Weakness, and Question 2) and by Reviewer jehT (Quality, on per-query API\ncost).\n\nWe would like to note first that the ability to spend more compute for better results is part of what we are\nproposing, not an incidental advantage, and that the compute gap is itself one of our findings rather than\nonly an artifact of the comparison.\n\nThe premise-selection systems are deliberately lightweight, LeanStateSearch being a representative case, and\nthis is appropriate for the task they were built for. But because that line of work is also named premise\nselection, it is easily read as already covering what we call global premise retrieval, and the measurements\nshow it does not: these systems recover proportionally few premise groups at every k (Table 2). Part of what\nwe want to make explicit is that the two tasks have different requirements. Global premise retrieval needs\nsubstantive mathematical reasoning to decompose a theorem into the lemmas its proof should rest on, and this\nis not reducible to similarity search at any budget.\n\nThe reasoning-retrieval baselines make the same point from the other direction. INF-X applies a single query\nrewriter with no further reasoning stage, and on the BRIGHT leaderboard it reports a higher nDCG@10 than the\nmulti-stage DIVER pipeline; on MathlibMPR the ordering reverses, with DIVER at 38.0 group-recall@10 against\nINF-X at 28.2, and the INF-X rewriter falling to 17.4, below its own bare retriever. We read this as a\ndifference in what the two evaluations ask for rather than as a shortcoming of BRIGHT, which is a\nwell-designed benchmark for reasoning-intensive retrieval. Its mathematical portions do not extend to\ngraduate level and beyond, where a proof rests on several lemmas that must fit together and several viable\nroutes may exist, so a single well-formed rewrite can capture most of what a query needs and a compact\narchitecture such as INF-X's can be at an advantage. In our setting the same architecture is at a\ndisadvantage, which is consistent with our reading that global premise retrieval requires reasoning that is\ncarried out in stages rather than in one transformation. Our framework converts additional inference-time\ncompute into retrieval quality on this task, which single-pass architectures cannot do regardless of budget.\n\nWe would also note that Table 2 is not a comparison of a multi-stage system against single encoder passes\nthroughout: the DIVER full pipeline runs DeepSeek-R1-Distill-Qwen-14B for query expansion and a\nGroupRank-32B listwise reranker on top of its retriever, which is why we singled it out in §4.2 as the\nclosest baseline to our result, and reasoning mode leads it by 8.1 points of group-recall@10 and 5.8 points\nof Covered@10.\n\nWe 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.\n\n| System | R@5 | R@10 | R@20 | R@30 | C@5 | C@10 | C@20 | C@30 |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|\n| DIVER-original | 27.7 | 38.0 | 46.6 | 52.8 | 18.8 | 24.6 | 29.0 | 33.3 |\n| DIVER-enhanced | 31.7 | 40.8 | 49.9 | 55.2 | 20.3 | 26.1 | 33.3 | 40.6 |\n| LeanSearch v2 (reasoning mode) | 36.7 | 46.1 | 50.8 | 56.4 | 27.5 | 30.4 | 34.8 | 43.5 |\n\nThe enhanced variant improves DIVER on both metrics at every reported cutoff, but LeanSearch v2 reasoning mode remains higher throughout.\n\nFor the downstream setting, we would like to emphasize that the compute asymmetry at the retrieval stage does\nnot carry into the workflow as a whole, because retrieval is not the bottleneck there. A retrieval system of\nthis kind serves as a tool for a prover agent, and proving dominates the cost: swapping in a cheaper\nretriever changes the end-to-end cost very little while changing the success rate substantially. Our loop is\nalso deliberately modest: a single trajectory capped at 8 reflection rounds, one attempt per problem. Production provers expend far more verifier-guided\ncompute per problem: Seed-Prover refines each proof attempt up to 8 to 16 times under Pass@8-16 in its\nlightest setting, which it reports as equivalent to whole-proof generation at Pass@64-256 and as taking 1 to\n2 hours per problem, and its medium setting nests a further 8 x 8 budget inside that [1]."+ },+ "createdAt": "2026-08-01T12:29:52.344Z",+ "modifiedAt": "2026-11-19T17:17:21.848Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=9arlQKw60b",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/bfhhqf6qw6.json added
+++ b/reviews/openreview/5rerl0ybca/notes/bfhhqf6qw6.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "BfhHqF6Qw6",+ "replyTo": "drw6vVQ6Nx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer VSUR [3/4]",+ "comment": "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].\n\nMeasured 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.\n\n**References**\n\n[1] ByteDance Seed AI4Math. \"Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving.\" arXiv preprint arXiv:2507.23726 (2025)."+ },+ "createdAt": "2026-08-01T12:26:28.335Z",+ "modifiedAt": "2026-11-19T17:17:21.926Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=BfhHqF6Qw6",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/emgdw02t7b.json added
+++ b/reviews/openreview/5rerl0ybca/notes/emgdw02t7b.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "EMGDW02T7b",+ "replyTo": "grfwrQU8l0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer 4FQc [3/3]",+ "comment": "**Q1: Can the method generalize across retrieval models? A version of Table 1 with different retrieval models could address this question.**\n\nWe thank the reviewer for this suggestion, and we have run it. We repeated the Search task on MathlibQR with\na second embedding model and two alternative rerankers, giving eight embedder-reranker combinations. The\nfirst two rows are the configurations reported in Table 1.\n\n| Embedder + reranker | nDCG@1 | nDCG@5 | nDCG@10 | R@10 | R@50 | R@100 |\n| --- | --- | --- | --- | --- | --- | --- |\n| Qwen3-Emb-8B (retriever-only) | 0.340 | 0.472 | 0.494 | 0.657 | 0.790 | 0.830 |\n| Qwen3-Emb + Qwen3-Reranker | 0.470 | 0.601 | 0.623 | 0.780 | 0.847 | 0.858 |\n| Qwen3-Emb + KaLM | 0.391 | 0.504 | 0.532 | 0.685 | 0.810 | 0.836 |\n| Qwen3-Emb + BGE | 0.400 | 0.506 | 0.526 | 0.662 | 0.789 | 0.835 |\n| Nemotron-Emb-8B (retriever-only) | 0.372 | 0.506 | 0.527 | 0.684 | 0.789 | 0.832 |\n| Nemotron-Emb + Qwen3-Reranker | 0.470 | 0.599 | 0.621 | 0.777 | 0.852 | 0.872 |\n| Nemotron-Emb + KaLM | 0.390 | 0.505 | 0.529 | 0.677 | 0.818 | 0.844 |\n| Nemotron-Emb + BGE | 0.406 | 0.507 | 0.529 | 0.664 | 0.789 | 0.838 |\n\nThe design generalizes across the embedder. Substituting Nemotron-Emb-8B for Qwen3-Embedding-8B leaves the\nresult essentially unchanged when the reranker is held fixed, at 0.621 against 0.623 nDCG@10, and the newer\nembedding model is slightly stronger on its own, which is what we would expect.\n\nReranking helps in every configuration, and most visibly in the top-1 to top-5 range: with Qwen3-Emb, nDCG@1\nrises from 0.340 to 0.470, 0.391, or 0.400 depending on the reranker, and with Nemotron-Emb from 0.372 to\n0.470, 0.390, or 0.406. All eight configurations exceed LeanFinder's 0.370 nDCG@1 from Table 1, and on the\nremaining metrics the KaLM and BGE variants trade places with it.\n\nThe two alternative rerankers are weaker than Qwen3-Reranker-8B, which we attribute to their differing in\nkind rather than to the approach depending on a particular model: KaLM is a 4B model, and BGE dates from\n2024. We were not able to find an open-source reranker matching Qwen3-Reranker-8B in scale and generality\nwhile being a stable general-purpose model, so these two were the available options, one recent and one\narchitecturally comparable. Our pipeline does benefit from Qwen3-Reranker-8B's quality, but the benefit of\nadding a reranker at all is general rather than tied to that model.\n\n**Q2: Could you provide an ablation over the corpus with different informalization models, and how many first-stage failures arise?**\n\nWe 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.\n\nManual 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.\n\n**Q3: For the expert curation of the benchmark dataset, is there any agreement or consensus process for resolving differing annotation opinions?**\n\nWe thank the reviewer for this question. In the curation process of MathlibQR, since generating informal\nqueries from a given formal statement is mathematically trivial and we would like to allow diversity and\nflexibility in query styles, there is no agreement check process. In the curation of MathlibMPR, since\nthis involves coming up with alternative proofs, at least two experts working on the same problem would\ncollect their annotations together and reach a consensus that the proposed alternative proof strategy is\nmathematically correct and formalizable in Lean. In most cases, this process simply involves combining\nproof strategies suggested by different experts."+ },+ "createdAt": "2026-08-01T12:23:38.653Z",+ "modifiedAt": "2026-11-19T17:17:22.026Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=EMGDW02T7b",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/eouyltpzqd.json modified
+++ b/reviews/openreview/5rerl0ybca/notes/eouyltpzqd.json@@ -5,11 +5,12 @@"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)."+ "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-07-21T19:00:17.909Z",- "modifiedAt": "2026-11-18T15:26:01.043Z",+ "modifiedAt": "2026-11-19T05:03:47.805Z","url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=EouYltpzQd","license": "CC-BY-4.0"}
reviews/openreview/5rerl0ybca/notes/ew6k6cktis.json added
+++ b/reviews/openreview/5rerl0ybca/notes/ew6k6cktis.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "ew6k6ckTis",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [7/7]",+ "comment": "**Q2: A substantial fraction of queries fail judge acceptance within the revision budget. What are the main failure patterns?**\n\nWe thank the reviewer for this question. We conducted an ablation study on the 23 queries rejected by\nthe judge in the final round, out of 69 problems in MathlibMPR. Among these, all 23 were found to\ncontain Mathlib coverage issues, that is, some steps in the proof sketch lacked retrieved formal\ntheorems. The judge indicated that in several cases this was because the steps were too large or vague\nto retrieve a precise match. Additionally, mathematical errors were identified in 9 of the 23 rejected\nqueries.\n\n**Q3: 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\nWe thank the reviewer for asking us to isolate this design choice. The LeanSearch v2 standard-mode and reasoning-mode rows use the same standard-mode retrieval path during later reflection rounds. Their principal difference is that reasoning mode supplies a global premise set before the first proof attempt, whereas standard mode does not retrieve until reflection.\n\nUnder this comparison, adding the first-round global premise set raises proof success from 14 to 20 on FATE-H and from 5 to 7 on MathlibMPR-Prop. INF-X obtains 16 and 5 respectively. So in this workflow the first-round reasoning output contributes +6 and +2 over the common standard-reflection baseline, and yields a net +4 and +2 over INF-X.\n\n**Q4: What is the retrieval impact of hierarchical versus flat informalization?**\n\nWe thank the reviewer for this question. We observe that hierarchical informalization substantially\nimproves translation quality, which in turn benefits downstream retrieval. In early experiments, newly\nintroduced formal abbreviations were often unrecognized by the LLM. For example, the statement\n\n```\ntheorem dite_eq_or_eq : (∃ h, dite P A B = A h) ∨ ∃ h, dite P A B = B h\n```\n\nwas either left untranslated or mistranslated as \"... the value of `dite P A B` is either `A` or `B`,\"\nwhereas `dite` actually abbreviates \"dependent if-then-else.\" Such distorted informalizations are not\nembedded near the correct semantic vector, degrading retrieval performance. Hierarchical\ninformalization resolves this by enabling the model to correctly translate `dite` as \"if-then-else.\"\nThe same failure mode is documented for context-free informalization in [1], whose Appendix E contrasts\nboth cases: a p-adic norm mistranslated as p^(-p) when the definition of `padicNorm` was unavailable,\nand `Gamma` misread as a matrix when only the abbreviated name was visible.\n\n**References**\n\n[1] Gao, Guoxiong, et al. \"Herald: A Natural Language Annotated Lean 4 Dataset.\" arXiv preprint arXiv:2410.10878 (2024).\n\n**Q5: Baselines use different input formats and corpora in prove and retrieval evaluation. Could this systematically favor LeanSearch v2?**\n\nWe thank the reviewer for raising this potential confound. We separate the reasoning-retrieval and premise-selection comparisons. In §4.2, INF-X, ReasonIR, DIVER, and LeanSearch v2 reasoning mode receive the same informal-plus-formal query and search the same hierarchy-informalized Mathlib corpus. The premise-selection systems cannot consume that interface directly; they take proof states and use their released or hosted corpora, matching their intended use. We therefore regard those rows as a scope comparison rather than a fully architecture-controlled comparison.\n\nTo quantify the corpus effect, we reran ReProver with different views of our corpus (R denotes Recall (group) and C denotes Covered):\n\n| System / corpus | R@5 | R@10 | R@20 | R@30 | R@50 | C@5 | C@10 | C@20 | C@30 | C@50 |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|\n| ReProver, native corpus | 3.0 | 5.5 | 7.6 | 8.8 | 10.3 | 0.0 | 1.4 | 2.9 | 4.3 | 4.3 |\n| ReProver, LeanSearch v2 corpus | 6.3 | 10.7 | 15.5 | 17.3 | 19.0 | 5.8 | 8.7 | 11.6 | 11.6 | 11.6 |\n| LeanSearch v2 (reasoning mode) | 36.7 | 46.1 | 50.8 | 56.4 | 57.1 | 27.5 | 30.4 | 34.8 | 43.5 | 43.5 |\n\nThe shared corpus substantially improves ReProver, but its result remains far below LeanSearch v2 reasoning mode. Corpus mismatch therefore explains part of the gap, but not most of it."+ },+ "createdAt": "2026-08-01T12:17:37.594Z",+ "modifiedAt": "2026-11-19T17:17:22.091Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=ew6k6ckTis",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/fw6bmp3xrm.json added
+++ b/reviews/openreview/5rerl0ybca/notes/fw6bmp3xrm.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Fw6BmP3Xrm",+ "replyTo": "grfwrQU8l0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer 4FQc [2/3]",+ "comment": "**W2: The method relies on ordinary retrieval models without fine-tuning, so informalization rather than mathematical reasoning closes the relevance gap**\n\nWe thank the reviewer for this careful point, and we would like to clarify which part of the system the\nobservation applies to.\n\nQwen3-Embedding and the reranker constitute standard mode, whose task is the canonical Mathlib search\nsetting: given a natural-language query, retrieve the declaration that matches it (§4.1). The\nmathematical reasoning this requires is limited, since the query already describes the target, and we\nagree that a general-purpose embedding model with kind-aware prompting over an informalized corpus is\nsufficient for it. The relevance gap at Line 35, where the connections require mathematical reasoning\nand the relevant lemmas are linked to the problem by the logical architecture of a proof strategy rather\nthan by shared vocabulary, is not this task. It is global premise retrieval, and it is addressed by\nreasoning mode.\n\nReasoning mode is where the reasoning is placed, and it uses models chosen for that capability: Claude\nSonnet 4.5 for sketch generation, judging, and revision, and Kimi K2 Instruct for the document filter\n(§3.2). Given a target theorem it commits to a proof strategy at the granularity of which results should\nexist and how each contributes, phrases a retrieval query for each step, vets the returned candidates\nagainst the planned step, and, when the library turns out not to support a step, receives structured\nfeedback identifying which steps failed and why and re-routes the sketch. Standard mode is a black-box\nretrieval service underneath this loop: reasoning mode issues natural-language queries against it and\nconsumes ranked results, never reaching into the embedder or reranker (§3.2). Because the reasoning is\nfactored out this way, each sub-query arriving at the encoders is already an explicit statement of what\nto look for, which is the conventional semantic-matching task these models are strong at. That division\nof labor is what allows an untuned encoder to serve adequately, and it is why the two modes are evaluated\nseparately, on §4.1 and §4.2 respectively.\n\nOn informalization, we agree it lowers the reasoning burden, but we would like to note the limit of what\nit can carry. An informalized description states what a declaration means in accessible natural\nlanguage, more accurately and in more detail than the formal statement alone. It does not record when\nthat declaration becomes useful, and at this level of mathematics it could not: anticipating the problems\nin which a given lemma will be the right move would require enumerating the proof strategies it might\nparticipate in, which is not feasible for graduate-level and research-level mathematics. Deciding that a\ngoal should be reshaped to match a particular theorem's\ninterface, or that a route through cyclotomic polynomials will close a statement about irreducibility\n(Figure 1), is inference about a proof strategy, and it happens in reasoning mode. This is consistent\nwith the numbers: every reasoning-retrieval baseline in Table 2 reads the same\nhierarchy-informalized corpus that we do, yet reasoning mode leads all of them, so the informalized\ncorpus alone does not account for the gap."+ },+ "createdAt": "2026-08-01T12:22:47.449Z",+ "modifiedAt": "2026-11-19T17:17:22.080Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=Fw6BmP3Xrm",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/haxxjn4ltn.json added
+++ b/reviews/openreview/5rerl0ybca/notes/haxxjn4ltn.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "haxXjn4ltN",+ "replyTo": "drw6vVQ6Nx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer VSUR [1/4]",+ "comment": "We thank the reviewer for the careful reading, and in particular for recognizing that the distinction\nbetween co-relevant documents and a logically coherent premise set is genuine. We address the main\nconcern and the smaller points below.\n\n**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**\n\nWe thank the reviewer for pressing on this, as it is the comparison we thought hardest about. We have now run\nthe loop on other retrievers, and we report that experiment under Question 1 below: substituting LeanFinder\nor LeanExplore for standard mode as the retrieval substrate, with every other component unchanged, shows that\nthe loop transfers rather than being specific to our own retriever, while the substrate still matters. With\nLeanFinder in the substrate slot the loop reaches 37.4 group-recall@10 and 26.1 Covered@10, competitive with\nthe DIVER full pipeline at 38.0 and 24.6, even though LeanFinder is a single-stage dense retriever.\n\nThe 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.\n\nWe therefore compare against those systems at the pipeline level instead. Each is run in the configuration\nits own paper prescribes, over our hierarchy-informalized Mathlib corpus so that the reading material is\nidentical across systems, and every published ablation of INF-X and DIVER is reported individually so that\neach appears at its strongest configuration (Table 2, Table 6). We would also note that this is not a\ncomparison of a multi-stage system against single encoder passes throughout: the DIVER full pipeline runs\nDeepSeek-R1-Distill-Qwen-14B for query expansion and a GroupRank-32B listwise reranker on top of its\nretriever, which is why we singled it out in §4.2 as the closest baseline to our result, and reasoning mode\nleads it by 8.1 points of group-recall@10 and 5.8 points of Covered@10."+ },+ "createdAt": "2026-08-01T12:25:23.291Z",+ "modifiedAt": "2026-11-19T17:17:21.958Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=haxXjn4ltN",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/i3rejwdldm.json added
+++ b/reviews/openreview/5rerl0ybca/notes/i3rejwdldm.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "i3rejWDLdM",+ "replyTo": "OyAxdmlJ7k",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow-up on Reviewer 4FQc's further comments",+ "comment": "We are grateful to the reviewer for reading our response so closely and for the two follow-up\nobservations.\n\nOn W1, we agree and will discuss DSP [1] in the related work. The reviewer is also right that the sketch has\nbecome a common device here: since DSP introduced it, a line of Lean 4 systems has adopted the same\ndecomposition, including DeepSeek-Prover-V2 [2], Delta Prover [3], and Hilbert [4], each of which cites DSP\nas the precedent it extends. Situating our use of the sketch within that line is a better framing than\npresenting the loop without it.\n\nOn W2, we agree that matching in informal space is an established idea, and we appreciate the pointer to\nPERC [5], which is a helpful reference for us and one we were not aware of. We would gently note two\nrespects in which our setting seems to differ. One is the object being retrieved. PERC retrieves examples,\nthe more commonly studied setting, where an example is useful because its solution process can be\nreferenced. A premise tends to be useful for a somewhat different reason: it applies directly to the target\nproof and collapses a portion of it, so relevance turns less on a proof being instructive than on a result\nbeing usable at a specific step. The other concerns how much informalization can carry. As we\nnoted in our earlier response, it does help, but it is not what closes the relevance gap on its own: every\nreasoning-retrieval baseline in Table 2 reads the same hierarchy-informalized corpus that we do, and\nreasoning mode still leads them. What informalization cannot supply is the choice of proof route. An\nefficient route through Mathlib often departs from the natural mathematical argument, and which route is\nviable depends on what the library happens to contain, so a plan phrased once does not settle it. The\nfilter, judge, and revision steps were added for this: the filter may return an empty set for a planned\nstep, and the judge acts on that absence by re-routing the sketch, so a step the library does not support is\nabandoned rather than filled with the nearest available candidate.\n\n**References**\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).\n\n[2] Ren, Z. Z., et al. \"DeepSeek-Prover-V2: Advancing formal mathematical reasoning via reinforcement learning for subgoal decomposition.\" arXiv preprint arXiv:2504.21801 (2025).\n\n[3] Zhou, Yichi, et al. \"Solving formal math problems by decomposition and iterative reflection.\" arXiv preprint arXiv:2507.15225 (2025).\n\n[4] Varambally, Sumanth, et al. \"Hilbert: Recursively building formal proofs with informal reasoning.\" arXiv preprint arXiv:2509.22819 (2025).\n\n[5] Yoo, Jaeseok, et al. \"PERC: Plan-as-query example retrieval for underrepresented code generation.\" Proceedings of the 31st International Conference on Computational Linguistics (2025)."+ },+ "createdAt": "2026-08-03T06:35:37.333Z",+ "modifiedAt": "2026-11-19T17:17:21.744Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=i3rejWDLdM",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/ivdfdiolu5.json added
+++ b/reviews/openreview/5rerl0ybca/notes/ivdfdiolu5.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "IvDFdiOlU5",+ "replyTo": "ew6k6ckTis",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer jehT",+ "content": {+ "comment": "Thank you for the thorough and constructive rebuttal. The new analyses largely address my main concerns.\n\nIn particular, the repeated runs on MathlibMPR with reported means/stds are helpful, and the worst-run comparison still preserves the ranking over the strongest baseline. The ablation decomposing reasoning mode vs. standard mode vs. DIVER (Q1) clarifies that the gain is driven by the sketch–filter–judge–revise loop rather than the backbone alone. The ReProver corpus swap (Q5) also usefully bounds the corpus confound: shared corpus helps, but does not close most of the gap. I also appreciate the correction that Table 3 uses the sketch-free setting, and the clarifications on prove-task protocol, cost relative to the prover loop, hierarchical informalization, and judge failure modes.\n\nA few points remain worth reflecting in the revision for accuracy of presentation: (i) state explicitly in the main text that prove-task reflection uses standard mode after a first-round reasoning retrieve; (ii) keep the MathlibMPR scale limitation visible, even while situating it among other expert-annotated math IR sets; (iii) retain the cost numbers and the “retrieval vs. prover” breakdown in the main paper. None of these change my overall positive assessment.\n\nI maintain my rating."+ },+ "createdAt": "2026-08-02T14:54:48.908Z",+ "modifiedAt": "2026-11-19T17:17:21.745Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=IvDFdiOlU5",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/j663lsandw.json added
+++ b/reviews/openreview/5rerl0ybca/notes/j663lsandw.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "j663LsaNDW",+ "replyTo": "EouYltpzQd",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the Area Chair [3/3]",+ "comment": "**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**\n\nThis is raised by Reviewer 4FQc (Weakness 1), and relates to Reviewer jehT's Originality point on resemblance\nto prior multi-stage systems.\n\nWe agree DSP [1] is pioneering work: it introduced the proof sketch and demonstrated that this decomposition\nimproves prover performance. We will add it to the related work. We would like to note, however, that the\nresemblance is narrower than it appears, and that what the two systems do with a sketch is close to opposite.\n\nFirst, we apologize for an error in our writing, which we also report to Reviewer jehT. Appendix B.4 and\nTable 7 state that the sketch text is inserted into the prover prompt, but the numbers reported in Table 3\nwere in fact obtained without the sketch: the prover received only the retrieved premises. We will correct\nthis description once the rebuttal period ends.\n\nWe had in fact tested both configurations. Giving the prover the retrieved premises alone solves 20 of 100 on\nFATE-H and 7 of 50 on MathlibMPR-Prop, the figures reported in Table 3; additionally supplying the sketch\nsolves 20 and 8, and every problem solved without the sketch is also solved with it, the difference being one\nadditional problem on MathlibMPR-Prop. This is the clearest evidence we have that the retrieved premises, not\nthe sketch, are what drives the downstream gain: the sketch adds at most one problem on top of them. We would\nadd that even in the configuration where the sketch is supplied, it serves as a reference rather than a\nbinding plan: it names no Mathlib lemmas and contains no Lean code (§3.2), and the prover is free to depart\nfrom it and revise the proof route on its own.\n\nSecond, our sketch is therefore not the object handed downstream. In DSP the sketch is exactly that: it\nguides the prover, and its open conjectures are what the automated prover is asked to discharge. In our\nsystem the sketch never leaves reasoning mode, where its only role is to produce good global retrieval\nqueries, and it is discarded before anything reaches the prover.\n\nThird, DSP contains no retrieval component, and its library is never searched. The open conjectures in a\nsketch are closed by Sledgehammer together with a fixed set of tactic heuristics, so whatever premises enter\na proof are found by Sledgehammer's internal proof search rather than by any learned or semantic retriever.\nDSP therefore has no way to represent the situation our task is built around, namely that the library may or\nmay not contain a result that a planned proof step requires. Reasoning mode treats this as a first-class\nsignal: the filter may return an empty set when no candidate genuinely supports a planned step, and the judge\nacts on that absence by re-routing the sketch, so a route that is valid in principle but uncoverable in\npractice is abandoned rather than filled with the nearest available candidates.\n\nFourth, the objective differs, and with it what a sketch is for. DSP targets final prover performance,\nmeasured as pass rate on miniF2F in Isabelle. We target global premise retrieval as a task in its own right,\ndistinguish it from the local premise selection that has served ITP tactic steps, and provide a method for\nit; the downstream proof experiment is supporting evidence rather than the contribution. Accordingly, our\nsketch is not a transcription of a mathematical proof but a search for the route that is most efficient in\nthe formal library, which often departs from the natural argument by routing through existing results and\nreshaping the goal to match a theorem's interface (§1). A sketch written to be completed by an automated\nprover and a sketch written to elicit the right library lemmas are different objects, even though both are\ncalled proof sketches.\n\nOn the novelty of the approach more broadly, prior retrieval work in formal mathematics is almost entirely\nlocal premise selection serving ITP tactic steps. To our knowledge this is the first work to bring\nreasoning-retrieval techniques and concepts into Lean premise retrieval, and to separate global from local\npremise retrieval, a distinction that has been conflated in this literature. Our contribution is the task\nformulation and an effective method for it, not the observation that multi-stage pipelines help.\n\n**References**\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-08-01T12:31:19.438Z",+ "modifiedAt": "2026-11-19T17:17:21.899Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=j663LsaNDW",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/jbcdk5thw8.json added
+++ b/reviews/openreview/5rerl0ybca/notes/jbcdk5thw8.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "JBcDK5Thw8",+ "replyTo": "drw6vVQ6Nx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer VSUR",+ "content": {+ "comment": "I appreciate the detailed response from the authors. Most concerns are addressed.\n\nMy remaining question is about the practical use case of global premise retrieval. Frontier Lean agents mostly work by divide-and-conquer, decomposing until each subgoal is within reach of the model, at which point what they need is premises for the subgoal in front of them rather than the full set for the original theorem. Where does global premise retrieval fit into such a system in practice? Section 1 argues the task matters for producing efficient, idiomatic proofs rather than merely compiling ones, but that motivation is not tested here, since the Prove task measures compile success. A description of the concrete integration point would help.\n\nMy rating was already positive and I will maintain it."+ },+ "createdAt": "2026-08-03T14:42:24.825Z",+ "modifiedAt": "2026-11-19T17:17:21.768Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=JBcDK5Thw8",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/jbxxpkywzb.json added
+++ b/reviews/openreview/5rerl0ybca/notes/jbxxpkywzb.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "JbXxPkYwZb",+ "replyTo": "JBcDK5Thw8",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow-up on Reviewer VSUR's further comments",+ "comment": "We thank the reviewer for this thoughtful question. In the research-level formalization that motivates our\nwork, retrieval is nearly indispensable. This is less apparent in high-school competition settings such as\nIMO or miniF2F, where proofs rarely depend on complex library infrastructure. Frontier formalizers usually\nbegin by searching and reading Mathlib to assess the maturity of the supporting definitions and theorems,\nchoose a viable global formalization route, and only then divide and conquer. For example, if Mathlib does\nnot sufficiently support a natural route through complex analysis, an experienced formalizer may recognize\nthis through search or prior experience and reroute the proof through better-supported real-analysis\nresults.\n\nGlobal premise retrieval thus operates, explicitly or implicitly, in the *divide* stage. Experts\nrecursively decompose a problem, sometimes revising the sketch when blocked, until each local goal is small\nenough to solve directly. Much of the work lies in this process, making global premise selection a natural\noperation that our paper isolates for study. In our pipeline, failure to find credible support for a\nplanned step steers the agent away from areas with weaker infrastructure, while a strong retrieved theorem\ncan avoid rebuilding a long chain of existing results. This is the concrete point at which global premise\nretrieval enters the formalization workflow. Modern tool-using formalization agents built on Codex or\nClaude Code already work in much this way.\n\nDivide-and-conquer without first retrieving premises or reasoning about Mathlib's structure remains\neffective in some domains, as DeepSeek-Prover-V2 demonstrates [1]. For IMO-style problems, missing library\nsupport rarely forces a detour, and rebuilding a local result is inexpensive and often unavoidable because\nthe resulting lemmas are problem-specific computations unlikely to exist in Mathlib. Omitting retrieval\ntherefore sacrifices little while greatly simplifying training. At the research level, missing library\nsupport can force a detour, while deep dependency chains make rebuilding costly. In addition, a\nwell-organized formalization should reuse existing results effectively, in line with Mathlib's quality\nstandards. These needs become increasingly visible as automated formalization advances from high-school\ncompetitions toward frontier mathematics, and they are precisely what motivated global premise retrieval.\n\n**References**\n\n[1] Ren, Z. Z., et al. \"DeepSeek-Prover-V2: Advancing formal mathematical reasoning via reinforcement learning for subgoal decomposition.\" arXiv preprint arXiv:2504.21801 (2025)."+ },+ "createdAt": "2026-08-04T06:45:39.870Z",+ "modifiedAt": "2026-11-19T17:17:21.834Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=JbXxPkYwZb",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/kuph9eytrp.json added
+++ b/reviews/openreview/5rerl0ybca/notes/kuph9eytrp.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Kuph9eytrP",+ "replyTo": "IvDFdiOlU5",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow-up on Reviewer jehT's further comments",+ "comment": "Thank you for the thoughtful follow-up and for confirming that the new analyses address your main concerns. We will make concise revisions to the main text to state the first-round reasoning and subsequent standard-mode reflection protocol explicitly, keep the scale limitation of MathlibMPR clearly visible, and retain the cost figures together with the retrieval-versus-prover breakdown. We greatly appreciate your careful and constructive feedback."+ },+ "createdAt": "2026-08-03T06:36:24.690Z",+ "modifiedAt": "2026-11-19T17:17:21.723Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=Kuph9eytrP",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/mlykialuwy.json added
+++ b/reviews/openreview/5rerl0ybca/notes/mlykialuwy.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "MlykIaLuwY",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [2/7]",+ "comment": "**Quality W2: Reported gaps lack confidence intervals or significance tests**\n\nWe thank the reviewer for this request, and we have run the repetitions where they are informative. Of the\nthree experiments, the first (§4.1) is deterministic, since standard mode performs no sampling, so\nrepetition would return identical numbers. The third (§4.3) is a prover-loop evaluation whose cost makes\nrepetition impractical. The second (§4.2) is the one where variance matters, and we have reproduced it\nthree additional times. One substitution was necessary: Kimi K2 Instruct is no longer served as an\nendpoint, so the filter uses Kimi-K2.5 in the repeat runs.\n\n| Run | R@5 | R@10 | R@20 | R@30 | R@50 | C@5 | C@10 | C@20 | C@30 | C@50 |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| Table 2 (original) | 36.7 | 46.1 | 50.8 | 56.4 | 57.1 | 27.5 | 30.4 | 34.8 | 43.5 | 43.5 |\n| Repeat 1 | 38.9 | 47.3 | 55.8 | 57.8 | 59.5 | 30.4 | 36.2 | 42.0 | 45.0 | 46.4 |\n| Repeat 2 | 32.2 | 45.1 | 51.7 | 55.8 | 55.8 | 23.2 | 27.5 | 39.1 | 42.0 | 42.0 |\n| Repeat 3 | 35.8 | 45.3 | 52.0 | 56.4 | 56.9 | 24.6 | 30.4 | 36.2 | 40.6 | 40.6 |\n| Mean | 35.9 | 46.0 | 52.6 | 56.6 | 57.3 | 26.4 | 31.1 | 38.0 | 42.8 | 43.1 |\n| Std. dev. | 2.8 | 1.0 | 2.2 | 0.8 | 1.6 | 3.2 | 3.6 | 3.2 | 1.9 | 2.5 |\n\nThe run-to-run spread is small relative to the margins we report, and the conclusion does not depend on\nwhich run is used: in all four runs, and hence in the worst run at every k, reasoning mode exceeds the\nstrongest baseline value in Table 2 on both metrics. Taking group-recall@10, the four runs span 45.1 to\n47.3 against 38.5 for the best baseline cell, and for Covered@20 they span 34.8 to 42.0 against 29.0. The\nfigures reported in Table 2 sit at or slightly below the mean of the four runs on most cells, so the\npublished numbers are not a favorable draw.\n\n**Quality W3: Reasoning mode combines several proprietary and open LLMs, and the reasoning sketch is frozen early in the prove ablation**\n\nWe thank the reviewer for raising this, and we owe an apology for a description in the paper that is\nsimply wrong. The number reported for LeanSearch v2 (reasoning mode) in Table 3 already corresponds to the\nno-sketch setting: the prover received only the retrieved premises, not the sketch. Appendix B.4 and\nTable 7 state otherwise, and that wording is an error on our part. We will correct it once the rebuttal\nperiod ends, and we apologize for the confusion.\n\nWe had in fact tested both configurations while preparing the paper:\n\n| Configuration | FATE-H | MathlibMPR-Prop |\n| --- | --- | --- |\n| Reasoning mode, sketch provided to the prover | 20 | 8 |\n| Reasoning mode, sketch not provided (reported in Table 3) | 20 | 7 |\n\nThe published results are therefore the\nsketch-free configuration, which is the weaker of the two, and they attribute the downstream gain to the\nretrieved premises rather than to the sketch.\n\nOn the sketch acting as a constraint, we would also note that even in the configuration where the sketch\nis supplied, it serves as a reference rather than a binding plan. The sketch is a natural-language outline\nthat names no Mathlib lemmas and contains no Lean code (§3.2), and the prover is free to depart from it\nand revise the proof route on its own. So the sketch does not fix the proof strategy that the prover\nfollows."+ },+ "createdAt": "2026-08-01T12:02:52.690Z",+ "modifiedAt": "2026-11-19T17:17:22.268Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=MlykIaLuwY",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/o461xenhxz.json added
+++ b/reviews/openreview/5rerl0ybca/notes/o461xenhxz.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "o461xeNHxz",+ "replyTo": "EouYltpzQd",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the Area Chair [2/3]",+ "comment": "Measured in our setting, standard mode takes 168 ms per query, of which 54.5 ms is embedding retrieval and\n113.2 ms the reranking stage. Per-query retrieval time is about 1.9 s for INF-X and ReasonIR, 9.2 s for\nDIVER, and 48.5 s for reasoning mode, at roughly 1.10 USD, against a prover cost that averages 320.6 s per\nquery on solved problems and 454.9 s on failed ones. Even for reasoning mode, the heaviest retriever,\nretrieval is 13.1% of end-to-end time on solved problems and 9.6% on failed ones. The share falls further in\na production setting with more reflection rounds, since reasoning mode runs once at the first attempt and\nthe reflection rounds fall back to standard mode. The bottleneck in time and compute is the prover, not\nretrieval, and systems using different retrievers therefore have nearly the same end-to-end cost.\n\nCheaper configurations also remain available for users who want them: standard mode alone reaches 14 of 100\non FATE-H against 4 without retrieval, and disabling the judge and reviser gives 16 against 20\n(Appendix D.3).\n\n**References**\n\n[1] ByteDance Seed AI4Math. \"Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving.\" arXiv preprint arXiv:2507.23726 (2025)."+ },+ "createdAt": "2026-08-01T12:30:50.720Z",+ "modifiedAt": "2026-11-19T17:17:21.849Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=o461xeNHxz",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/oxeycqavnf.json added
+++ b/reviews/openreview/5rerl0ybca/notes/oxeycqavnf.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "OxeyCQAVnf",+ "replyTo": "drw6vVQ6Nx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer VSUR [2/4]",+ "comment": "**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**\n\nWe 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.\n\nAll systems use the same evaluation protocol, and the results are as follows:\n\n| System | R@5 | R@10 | R@20 | R@30 | C@5 | C@10 | C@20 | C@30 |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|\n| DIVER-original | 27.7 | 38.0 | 46.6 | 52.8 | 18.8 | 24.6 | 29.0 | 33.3 |\n| DIVER-enhanced | 31.7 | 40.8 | 49.9 | 55.2 | 20.3 | 26.1 | 33.3 | 40.6 |\n| LeanSearch v2 (reasoning mode) | 36.7 | 46.1 | 50.8 | 56.4 | 27.5 | 30.4 | 34.8 | 43.5 |\n\nThe enhanced variant improves DIVER on both metrics at every reported cutoff, but LeanSearch v2 reasoning mode remains higher throughout.\n\nThis 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.\n\nMore 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.\n\nThe 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.\n\nThe 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."+ },+ "createdAt": "2026-08-01T12:26:01.077Z",+ "modifiedAt": "2026-11-19T17:17:21.926Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=OxeyCQAVnf",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/oyaxdmlj7k.json added
+++ b/reviews/openreview/5rerl0ybca/notes/oyaxdmlj7k.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "OyAxdmlJ7k",+ "replyTo": "grfwrQU8l0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 4FQc",+ "content": {+ "comment": "I sincerely appreciate the authors' response to my concerns.\n\nAs the questions I raised have all been addressed as I expected, I do not have any further inquiries related to them.\n\nRegarding the first weakness I raised (W1), it would be clearer if the authors commented on this in the related work section, since their inspiration aligns closely with DSP. Although their work has not been discussed in terms of RAG, the idea of using a sketch is closely related to this.\n\nFor the second one (W2), the response strengthens my view that matching the document and query in the informal language space is effective. Although it leverages the knowledge of the reasoning model, this is a well-known approach, as also attempted by PERC [1], the code retrieval work.\n\n[1] Yoo, Jaeseok, et al. \"PERC: Plan-as-Query Example Retrieval for Underrepresented Code Generation.\" Proceedings of the 31st International Conference on Computational Linguistics. 2025."+ },+ "createdAt": "2026-08-02T14:37:38.197Z",+ "modifiedAt": "2026-11-19T17:17:21.849Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=OyAxdmlJ7k",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/pk6wyeazlt.json added
+++ b/reviews/openreview/5rerl0ybca/notes/pk6wyeazlt.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Pk6wYEazlT",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [6/7]",+ "comment": "**Originality W1: The reasoning pipeline resembles prior multi-stage systems such as DIVER and INF-X**\n\nWe thank the reviewer for this assessment, and we agree these are strong baselines, which is why we\nreport every published configuration of both at its best setting. We would like to note two differences\nbeyond stage count.\n\nThe first is that we specifically target the shortcuts available in Lean, which general-purpose\nreasoning retrieval has no reason to consider. An efficient Lean proof often routes through existing\nlibrary results, deliberately reshaping the goal to match a theorem's interface even when this departs\nfrom the natural mathematical argument (§1). Which route is viable therefore depends on what the\nlibrary happens to contain, and retrieval cannot be reduced to transforming the query once and then\nencoding it: the system has to plan a proof strategy, find out which steps the library actually\nsupports, and re-route when it does not. Reasoning mode is built around this, which is why the filter\nmay return an empty set for a planned step and the judge acts on that absence, abandoning a route that\nis mathematically valid but unsupported rather than filling it with the nearest available candidates.\nINF-X, by contrast, performs a single query transformation before retrieval, which suits BRIGHT-style\nqueries but leaves little room for this kind of reasoning, and the effect is visible in Table 2: its\nquery rewriter underperforms its own bare retriever on MathlibMPR, with group-recall@10 of 17.4 versus\n28.2.\n\nThe second is the setting. Prior retrieval work in formal mathematics is almost entirely local premise\nselection serving ITP tactic steps. To our knowledge this is the first work to bring\nreasoning-retrieval techniques and concepts into Lean premise retrieval, and to separate global from\nlocal premise retrieval, a distinction that has been conflated in this literature. Our contribution is\nthe task formulation and an effective method for it, not the observation that multi-stage pipelines\nhelp.\n\n**Originality W2: Standard-mode performance relies on a general embedding model and corpus engineering without Mathlib fine-tuning**\n\nWe thank the reviewer for raising this, and we would like to note that this was a deliberate design\nchoice rather than an omission.\n\nMathlib evolves quickly, and a retriever fine-tuned on one snapshot tends to become tied to that\nsnapshot's naming and structural conventions. Avoiding fine-tuning keeps the system cheap to maintain\nas the library changes, and keeps it transferable to the AI-generated formal libraries now appearing,\nwhose style and conventions may differ substantially from Mathlib. Domain knowledge enters instead\nthrough the informalized corpus and kind-aware prompting, both of which are rebuilt rather than\nretrained when the library moves.\n\nThe evidence suggests the fine-tuning is not needed for this task. Standard mode already leads\nLeanFinder, which is fine-tuned on Mathlib, on nearly every reported cell of Table 1, reaching\nnDCG@10 of 0.623 against 0.533, and the reranker and kind-aware prompting account for the margin\n(Appendix D.1). Task-specific training would also risk overfitting to a single snapshot, which is the\nfailure mode we most wanted to avoid.\n\n**Q1: On MathlibMPR, how much of reasoning mode's gain over DIVER comes from the standard-mode backbone versus the sketch-filter-judge loop?**\n\nWe thank the reviewer for asking for this decomposition. We evaluated LeanSearch v2 standard mode directly on MathlibMPR (R denotes Recall (group) and C denotes Covered):\n\n| System | R@5 | R@10 | R@20 | R@30 | R@50 | C@5 | C@10 | C@20 | C@30 | C@50 |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|\n| DIVER (full pipeline) | 27.7 | 38.0 | 46.6 | 52.8 | 55.0 | 18.8 | 24.6 | 29.0 | 33.3 | 37.7 |\n| LeanSearch v2 (standard mode) | 24.4 | 28.4 | 35.8 | 40.3 | 44.9 | 20.3 | 21.7 | 23.2 | 26.1 | 29.0 |\n| LeanSearch v2 (reasoning mode) | 36.7 | 46.1 | 50.8 | 56.4 | 57.1 | 27.5 | 30.4 | 34.8 | 43.5 | 43.5 |\n\nStandard mode alone is weaker than DIVER, whereas the complete reasoning pipeline is stronger. Relative to standard mode, the sketch-filter-judge-revise loop adds 17.7 points of Recall@10 and 8.7 points of Covered@10, which produces the final +8.1 and +5.8 advantage over DIVER. The gain is therefore not explained by a strong retrieval backbone alone. Standard mode remains important as the substrate that supplies both positive matches and empty-result signals to the outer loop."+ },+ "createdAt": "2026-08-01T12:15:52.098Z",+ "modifiedAt": "2026-11-19T17:17:22.123Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=Pk6wYEazlT",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/u9yahns9zq.json added
+++ b/reviews/openreview/5rerl0ybca/notes/u9yahns9zq.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "U9yaHns9ZQ",+ "replyTo": "grfwrQU8l0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer 4FQc [1/3]",+ "comment": "We thank the reviewer for the detailed reading, and in particular for recognizing the value of an\nexpert-verified retrieval benchmark for this field. We address the two weaknesses and the three\nquestions below.\n\n**W1: LeanSearch v2 does not seem to make a novel contribution; it reads as an adaptation of draft-sketch-prove to the RAG framework**\n\nWe thank the reviewer for raising this comparison, and we agree DSP [1] is pioneering work: it\nintroduced the proof sketch and demonstrated that this decomposition improves prover performance. We\nwill add it to the related work. We would like to note, however, that the resemblance is narrower\nthan it appears, and that what the two systems do with a sketch is close to opposite.\n\nFirst, we apologize for an error in our writing. Appendix B.4 and Table 7 state that the sketch text is\ninserted into the prover prompt, but the numbers reported in Table 3 were in fact obtained without the\nsketch: the prover received only the retrieved premises. We will correct this description.\n\nWe had in fact tested both configurations while preparing the paper:\n\n| Configuration | FATE-H (n=100) | MathlibMPR-Prop (n=50) |\n| --- | --- | --- |\n| Reasoning mode, sketch provided to the prover | 20 | 8 |\n| Reasoning mode, sketch not provided (reported in Table 3) | 20 | 7 |\n\nEvery problem solved without the sketch is also solved with it, the difference being one additional problem\non MathlibMPR-Prop. This is the clearest evidence we have that the retrieved premises, not the sketch, are\nwhat drives the downstream gain: the sketch adds at most one problem on top of them, and the configuration\nwe report is the weaker of the two.\n\nSecond, our sketch is therefore not the object handed downstream. In DSP the sketch is exactly that: it\nguides the prover, and its open conjectures are what the automated prover is asked to discharge. In our\nsystem the sketch never leaves reasoning mode, where its only role is to produce good global retrieval\nqueries, and it is discarded before anything reaches the prover.\n\nThird, DSP contains no retrieval component, and its library is never searched. The open conjectures in a\nsketch are closed by Sledgehammer together with a fixed set of tactic heuristics, so whatever premises\nenter a proof are found by Sledgehammer's internal proof search rather than by any learned or semantic\nretriever. DSP therefore has no way to represent the situation our task is built around, namely that the\nlibrary may or may not contain a result that a planned proof step requires. Reasoning mode treats this as\na first-class signal: the filter may return an empty set when no candidate genuinely supports a planned\nstep, and the judge acts on that absence by re-routing the sketch, so a route that is valid in principle\nbut uncoverable in practice is abandoned rather than filled with the nearest available candidates.\n\nFourth, the objective differs, and with it what a sketch is for. DSP targets final prover performance,\nmeasured as pass rate on miniF2F in Isabelle. We target global premise retrieval as a task in its own\nright, distinguish it from the local premise selection that has served ITP tactic steps, and provide a\nmethod for it; the downstream proof experiment is supporting evidence rather than the contribution.\nAccordingly, our sketch is not a transcription of a mathematical proof but a search for the route that\nis most efficient in the formal library, which often departs from the natural argument by routing\nthrough existing results and reshaping the goal to match a theorem's interface (§1). A sketch written to\nbe completed by an automated prover and a sketch written to elicit the right library lemmas are\ndifferent objects, even though both are called proof sketches.\n\n**References**\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-08-01T12:20:37.568Z",+ "modifiedAt": "2026-11-19T17:17:22.103Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=U9yaHns9ZQ",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/ww3nfmo30d.json added
+++ b/reviews/openreview/5rerl0ybca/notes/ww3nfmo30d.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "ww3nfmo30D",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [5/7]",+ "comment": "**Clarity W2: Some baselines use different query formats in prove versus retrieval evaluation**\n\nWe thank the reviewer for raising this, and we should have explained the rationale in the main text. Each\nbaseline was given the input its own paper prescribes, so that every system operates in the regime it was\ndesigned and trained for.\n\nReProver, LeanPremise, and LeanStateSearch take a Lean proof state as the query and a Lean declaration as\nthe document, so we supplied the extracted proof state and the formal corpus. Informalized descriptions\nwould have been off-distribution rather than more generous: LeanStateSearch, for instance, pre-trains its\nencoder from scratch on formal corpora with a tokenizer learned for formal language, precisely to avoid\nrelying on natural-language models. ReasonIR, DIVER, and INF-X are instead trained on natural-language\ndocuments and verbose queries, so we ran\nthem over our hierarchy-informalized Mathlib corpus, which is the richer input in their case and is itself\none of this paper's contributions, with query formats following what each paper supports.\n\nThe prove task follows the same rule, which is why its formats differ from the retrieval evaluation: a\nretriever that consumes a proof state receives the state extracted at the current attempt, while one that\nconsumes a theorem statement receives the informal description and formal statement. We did not arrange a\nmore favorable input format for LeanSearch v2 than for the baselines: for every system, including our own,\nwe chose the format we judged would let it perform at its best.\n\n**Clarity W3: Jixia extensions' effect on corpus coverage is not quantified, and filter and judge prompt details sit mainly in the appendix**\n\nWe thank the reviewer for pointing this out, and we will add the following quantification to the paper. The\nmain effect of the Jixia extensions is to add supplemental hidden Mathlib entries that can appear in a\nrealistic Lean proof, such as the auto-generated `.mk` and `.rec` declarations of a structure. Taking\nMathlib v4.28.0-rc1 as the example, the official Mathlib documentation covers 234,434 entries, whereas our\nJixia-enhanced corpus contains 310,579, an increase of about 32%. These additional declarations are\nretrievable targets in exactly the same way as source-level ones, so the extension widens what any query can\nreach rather than only refining metadata. The filter and judge prompts sit in the appendix for space reasons\nonly.\n\n**Significance W1: Downstream proof success remains low in absolute terms**\n\nWe thank the reviewer for raising this point, which we address together with Quality W4 above. We would\nadd that the goal of this work is to identify global premise retrieval as a task and to give an\neffective method for it, rather than to present a state-of-the-art prover system, and the minimal\nsetting was chosen deliberately to serve that goal.\n\n**Significance W2: The task and benchmarks are limited to Lean 4 and Mathlib**\n\nWe thank the reviewer for this observation. Global premise retrieval is most meaningful for long,\nabstract mathematical reasoning within deep theories, problems typical of graduate-level mathematics\nrather than high school or elementary undergraduate exercises. To the best of our knowledge, Mathlib is\nthe only unified library that covers nearly all undergraduate theorems and extends into\nresearch-frontier topics, thereby enabling the formalization of PhD- and research-level statements.\nAccordingly, existing formal benchmarks at this level, such as LeanCat [1], FATE [2], and\nMA-ProofBench [3], are all built upon Mathlib. We therefore believe that Lean with Mathlib is currently\nthe only reasonable platform for evaluating global premise retrieval.\n\n**References**\n\n[1] Xu, Rongge, et al. \"LeanCat: A Benchmark Suite for Formal Category Theory in Lean (Part I: 1-Categories).\" arXiv preprint arXiv:2512.24796 (2025).\n\n[2] Jiang, Jiedong, et al. \"FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levels.\" arXiv preprint arXiv:2511.02872 (2025).\n\n[3] Pu, Lushi, et al. \"MA-ProofBench: A Two-Tiered Evaluation of LLMs for Theorem Proving in Mathematical Analysis.\" arXiv preprint arXiv:2606.13782 (2026)."+ },+ "createdAt": "2026-08-01T12:14:58.094Z",+ "modifiedAt": "2026-11-19T17:17:22.353Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=ww3nfmo30D",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/xofxrvcyuv.json added
+++ b/reviews/openreview/5rerl0ybca/notes/xofxrvcyuv.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "xofXRVcyUV",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [1/7]",+ "comment": "We thank the reviewer for the careful and constructive assessment, and for recognizing the coverage of\nour evaluation across the search, global premise retrieval, and prove tasks. The concerns raised are\nall well taken, and we address each of them in turn below, adding new evidence and clarifying the\npaper where the presentation was unclear.\n\n**Quality W1: MathlibMPR is small, with limited total queries**\n\nWe agree the query count is modest. However, we would like to note that expert-judged evaluation sets\nin mathematical retrieval have long sat in the tens to low hundreds of queries, as annotation by\nqualified assessors is the binding constraint in this field:\n\n| Benchmark | Task | Queries |\n| --- | --- | --- |\n| NTCIR-12 Wikipedia Formula Browsing [1] | Formula retrieval | 40 |\n| NTCIR-11 Math-2 main task [2] | arXiv math retrieval | 50 |\n| ARQMath-1 / -2 / -3 Task 1 [3, 4, 5] | Math answer retrieval | 77 / 71 / 78 |\n| ARQMath-3 Task 2 [5] | Formula retrieval | 76 |\n| BRIGHT, theorem-based splits [6] | Reasoning-intensive retrieval | 76 / 111 / 194 |\n| Tree-Based Premise Selection, Test A [7] | Lean premise selection | 100 |\n\nLarger retrieval sets do exist in this space, with thousands of queries, but their labels are derived\nautomatically from tactic arguments, kernel traces, or citation links rather than reviewed by\nannotators: LeanDojo [8] and MAPL [9] exceed four thousand queries, while MIRB [10] notes that premises\nextracted only from successful proofs leave potential false negatives.\n\nThe annotation demanded by MathlibMPR is also of a different kind. Rather than classifying the\nrelevance of presented candidates, the annotator must understand how a graduate- to research-level\ntheorem is actually proved in Lean, decide which library results the argument genuinely rests on, and\nknow Mathlib well enough to identify which formalizations are interchangeable for a given step (mean\n2.96 premise groups per query) and to construct a viable alternative proof where one exists. Automatic\nextraction is unreliable at this granularity: the ground truth is a set that must jointly close a\nproof, and alternative routings appear in no tactic log, since only one route was ever merged. Two\nfurther constraints bound the count: candidate PRs must postdate every compared system's corpus\nsnapshot and clear the prover's knowledge cutoff by six months (Appendix A.2.1), and trivial\nrestatements and notational rewrites are filtered out. Scaling MathlibMPR is therefore difficult, but\nwe believe its size and annotation quality suffice to assess a retrieval system on this task: the gaps\nwe report hold across every k, on both metrics, under the stricter original-routing-only criterion\n(Appendix C.3), and in the same ordering downstream on two further datasets.\n\n\n**References**\n\n[1] Zanibbi, Richard, et al. \"NTCIR-12 MathIR Task Overview.\" Proceedings of the 12th NTCIR Conference on Evaluation of Information Access Technologies (2016).\n\n[2] Aizawa, Akiko, et al. \"NTCIR-11 Math-2 Task Overview.\" Proceedings of the 11th NTCIR Conference (2014).\n\n[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).\n\n[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).\n\n[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).\n\n[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.\n\n[7] Wang, Zichen, Anjie Dong, and Zaiwen Wen. \"Tree-Based Premise Selection for Lean4.\" Advances in Neural Information Processing Systems 38 (2025).\n\n[8] Yang, Kaiyu, et al. \"LeanDojo: Theorem Proving with Retrieval-Augmented Language Models.\" Advances in Neural Information Processing Systems 36 (2023): 21573-21612.\n\n[9] Mikula, Maciej, et al. \"Magnushammer: A Transformer-Based Approach to Premise Selection.\" The Twelfth International Conference on Learning Representations (ICLR) (2024).\n\n[10] Ju, Haocheng and Bin Dong. \"MIRB: Mathematical Information Retrieval Benchmark.\" arXiv preprint arXiv:2505.15585 (2025)."+ },+ "createdAt": "2026-08-01T11:57:25.695Z",+ "modifiedAt": "2026-11-19T17:17:22.287Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=xofXRVcyUV",+ "license": "CC-BY-4.0"+}
reviews/openreview/5rerl0ybca/notes/xtvayqqgul.json added
+++ b/reviews/openreview/5rerl0ybca/notes/xtvayqqgul.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "XTvAyQQguL",+ "replyTo": "DaZfAhqPgb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer jehT [3/7]",+ "comment": "**Quality W4: Prove success rates remain low under a simple reflection loop**\n\nThe absolute rates follow from two deliberate choices, and we would like to clarify both.\n\nFirst, the workflow is intentionally minimal. The simple reflection loop is designed to reproduce the\nbehavior of a competent contemporary prover while keeping the surrounding system as simple as\npossible, so that the retriever is the only component that varies across rows of Table 3. A stronger\nagent would raise every row, but it would also compensate for a weaker retriever through repeated\nquery reformulation or by proving needed lemmas locally, which is precisely the confound we wanted to\navoid (§1). Higher absolute rates and a clean attribution to retrieval are in tension here, and we\nchose the latter.\n\nSecond, the problems are hard. FATE-H consists of problems \"at the level of honors course exams or\ngraduate-level difficulty\" [1], and on it the FATE paper reports that the best of eight\nstate-of-the-art systems solves 3 of 100 problems at pass@64, with Claude-Sonnet-4 and Gemini-2.5-Pro\neach solving none ([1], Table 1). Against that baseline, 20% under a far smaller sampling budget is\nnot a low absolute number. Two factors plausibly account for the difference: the prover we use is\nnewer than those evaluated in [1], and our loop lets the model see Lean compiler errors and retrieved\npremises and repair its first attempt, rather than generating whole proofs in one pass.\n\nWhat matters for our claim is that the rates are not so low as to be uninformative. Every\nconfiguration sits well above the floor, the ordering across retrievers is strict on both datasets,\nand it is preserved when the prover backbone is downgraded to Kimi K2 Instruct (Appendix D.2).\n\n**References**\n\n[1] Jiang, Jiedong, et al. \"FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levels.\" arXiv preprint arXiv:2511.02872 (2025)."+ },+ "createdAt": "2026-08-01T12:10:59.432Z",+ "modifiedAt": "2026-11-19T17:17:22.259Z",+ "url": "https://openreview.net/forum?id=5RERl0ybCa¬eId=XTvAyQQguL",+ "license": "CC-BY-4.0"+}