potentialpaper

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:51 UTC · 95cb4444984d ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,28 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "5RERl0ybCa"
- }
- ],
- "title": "LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving",
- "authors": [
- "Guoxiong Gao",
- "Zeming Sun",
- "Jiedong Jiang",
- "Wang Yutong",
- "jd xu",
- "Peihao Wu",
- "Bryan Dai",
- "Bin Dong"
- ],
- "abstract": "Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof---a task we call *global premise retrieval*. Existing tools address adjacent problems: semantic search engines find individual declarations matching a query, while premise-selection systems predict useful lemmas one tactic step at a time. Neither recovers the full premise set an entire theorem requires. We present LeanSearch v2, a two-mode retrieval system for this task. Its standard mode applies a hierarchy-informalized Mathlib corpus with an embedding--reranker pipeline, achieving state-of-the-art single-query retrieval without domain-specific fine-tuning (nDCG@10 of 0.62 vs. 0.53 for the next-best system). Its reasoning mode builds on standard mode as its retrieval substrate, targeting global premise retrieval through iterative sketch-retrieve-reflect cycles. On a 69-query benchmark of research-level Mathlib theorems, reasoning mode recovers 46.1% of ground-truth premise groups within 10 retrieved candidates, outperforming strong reasoning retrieval systems (38.0%) and premise-selection baselines (9.3%) on the same benchmark. In a controlled downstream evaluation with a fixed prover loop, replacing alternative retrievers with LeanSearch v2 yields the highest proof success (20% vs. 16% for the next-best system and 4% without retrieval), confirming that retrieval quality propagates to proof generation. Code, data, and benchmarks are available at https://github.com/frenzymath/LeanSearch-v2.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "11197d39-0038-4d0f-9cbc-01938ce757f1"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,18 @@
+{
+ "title": "LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving",
+ "authors": [
+ "Guoxiong Gao",
+ "Zeming Sun",
+ "Jiedong Jiang",
+ "Wang Yutong",
+ "jd xu",
+ "Peihao Wu",
+ "Bryan Dai",
+ "Bin Dong"
+ ],
+ "abstract": "Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof---a task we call *global premise retrieval*. Existing tools address adjacent problems: semantic search engines find individual declarations matching a query, while premise-selection systems predict useful lemmas one tactic step at a time. Neither recovers the full premise set an entire theorem requires. We present LeanSearch v2, a two-mode retrieval system for this task. Its standard mode applies a hierarchy-informalized Mathlib corpus with an embedding--reranker pipeline, achieving state-of-the-art single-query retrieval without domain-specific fine-tuning (nDCG@10 of 0.62 vs. 0.53 for the next-best system). Its reasoning mode builds on standard mode as its retrieval substrate, targeting global premise retrieval through iterative sketch-retrieve-reflect cycles. On a 69-query benchmark of research-level Mathlib theorems, reasoning mode recovers 46.1% of ground-truth premise groups within 10 retrieved candidates, outperforming strong reasoning retrieval systems (38.0%) and premise-selection baselines (9.3%) on the same benchmark. In a controlled downstream evaluation with a fixed prover loop, replacing alternative retrievers with LeanSearch v2 yields the highest proof success (20% vs. 16% for the next-best system and 4% without retrieval), confirming that retrieval quality propagates to proof generation. Code, data, and benchmarks are available at https://github.com/frenzymath/LeanSearch-v2.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}