mlsanityData to 26 Nov 2026

Lean Finder V2: Semantic Search for Mathlib That Disambiguates User Queries

arXiv 2610.30843 ↗Submitted 22 Oct 2026cs.LG cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce Lean Finder V2, a semantic search framework for Mathlib that disambiguates user queries through complementary model-level adversarial training and input-level query rewriting. Human mathematicians and coding agents rarely search Mathlib by providing detailed context. In practice, they query short properties, notation, aliases, or hypotheses, leaving much of the intended mathematics implicit. In contrast, existing Mathlib search engines unrealistically assume context-rich queries. The scarcity of real-world short queries paired with ground-truth Mathlib statements makes this ambiguity even more intractable. We argue that this is essentially a data problem. Through adversarial training, we scale up the generation of labeled short and ambiguous queries, and learn to disambiguate user queries at both model-level fine-tuning and input-level query rewriting. On the human-curated MathlibQR benchmark, our Lean Finder V2 sets a new state of the art, with at least 11% relative improvement over the previous best Mathlib semantic search engines. On top of our state-of-the-art retriever, optimized query rewriting further improves MathlibQR retrieval. On unlabeled queries from human and coding-agent interactions, Lean Finder V2 is ranked as the strongest system. Integrated with Claude Code, Lean Finder V2 improves proof success on downstream theorem-proving task. Lean Finder V2 is available at: https://leanfinder.github.io/

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 19 of its 29 references that are in the map. Submitted 22 Oct 2026.

Builds on

19 of 29 references.

References · 19

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
  3. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
  4. 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 221
  5. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 182
  6. 2025On-Policy RL Meets Off-Policy Experts: Harmonizing Supervised Fine-Tuning and Reinforcement Learning via Dynamic Weightingcited by 100
  7. 2021Adversarial Retriever-Ranker for dense text retrievalcited by 84
  8. 2017IRGAN: A Minimax Game for Unifying Generative and Discriminative Information Retrieval Modelscited by 76
  9. 2025DeepRetrieval: Hacking Real Search Engines and Retrievers with Large Language Models via Reinforcement Learningcited by 72
  10. 2025Hilbert: Recursively Building Formal Proofs with Informal Reasoningcited by 70
  11. 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematicscited by 60
  12. 2024A Semantic Search Engine for Mathlib4cited by 38
7 more
  1. 2026Automated Conjecture Resolution with Formal Verificationcited by 36
  2. 2025FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levelscited by 31
  3. 2025LeanExplore: A search engine for Lean 4 declarationscited by 24
  4. 2024Grounding by Trying: LLMs with Reinforcement Learning-Enhanced Retrievalcited by 18
  5. 2026LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Provingcited by 14
  6. 2025Lean Finder: Semantic Search for Mathlib That Understands User Intentscited by 10
  7. 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Provingcited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026MathNet: a Global Multimodal Benchmark for Mathematical Reasoning and Retrieval
  2. 2026MathForm: Scaling Mathematical Autoformalization with Knowledge Retrieval and Verification-Guided Refinement
  3. 2026SABER-Math: Automated Benchmark for Information Retrieval Evaluation in Mathematics
  4. 2025The Avengers: A Simple Recipe for Uniting Smaller Language Models to Challenge Proprietary Giants
  5. 2023MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoning
  6. 2026MathAgent: Adversarial Evolution of Constraint Graphs for Mathematical Reasoning Data Synthesis
  7. 2026Measuring Progress in Reasoning Toward Mathematical Discovery with Automatic Verification
  8. 2024Navigating the Labyrinth: Evaluating LLMs' Ability to Reason About Search Problems