- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper introduces a search engine for Mathlib and introduces the task of "global premise retrieval", which tries to recover a set of Mathlib lemmas that a theorem's proof rests on, and argues this sits in a gap between two existing lines: per-state premise selection (too local) and single-query semantic search (recovers one declaration, not a coherent set).
The proposed system has two modes. Standard mode is a no-fine-tuning pipeline with Qwen3 embedding and reranker over informalized Mathlib corpus. Reasoning mode further wraps standard mode in a sketch-retrieve-filter-judge-revise loop that plans at proof-strategy granularity and re-routes when the corpus cannot support a planned step.
Evaluation uses a mathlib query benchmark for testing retrieval perforamnce, and MathlibMPR benchmark built with premise-group annotations for a proof. Then the authors further incorporated their system into a proving pipeline that used FATE-H as the benchmark. LeanSearchV2 outperforms other retrieval system on most metrics.
Strengths and weaknesses
Strength:
- paper is clear and well written
- premise retrieval is an important problem, and this paper shows good results.
- The "global premise retrieval" formulation is new. The distinction between co-relevant documents and a logically coherent premise set whose elements chain to close a proof is genuine.
- detailed evaluation and ablations.
Weakness:
My main concern is the eval for global premise retrieval. The sketch-retrieve-judge-revise loop seems to only run on LeanSearchV2 standard mode. Other retrievers are not ran on your agentic loop, so Table 2 doesn't have a fair comparison. This also makes comparison not compute-matched. Reasoning mode spends frontier model budget across sketch/judge/revise/filtering, while most other models you compare with are just a single encoder pass. The compute-mismatch problem also arises in the downstream theorem proving task, where reasoning mode uses a lot more compute budget than other modes.
Some smaller points:
- Section 4.1 describes LeanFinder as "a fine-tuned dense retriever with a learned reranker," which misstates its architecture as it doesn't have a reranker.
- Given the extra compute reranker uses in your pipeline, it would help to report the latency the reranker adds on top of the bare retriever, so the accuracy/cost trade-off of the rerank stage is visible.
Questions
- can you integrate other retrieval models into your agentic pipeline for global premise retrieval?
- 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
Paper formatting concerns
no concern.
Final justification
Most main concerns are addressed. I will keep my initial positive score of 4.
Meta-review
The paper defines a new retrieval task for theorem proving: given a theorem, retrieve the library lemmas needed for an entire proof strategy.
The reviews' main concerns are
[1] Jiang, Albert Q., et al. "Draft, sketch, and prove: Guiding formal theorem provers with informal proofs." arXiv preprint arXiv:2210.12283 (2022).