mlsanityData to 7 Oct 2026

Lean Finder: Semantic Search for Mathlib That Understands User Intents

arXiv 2510.15940 ↗First posted 8 Oct 2025cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

We present Lean Finder, a semantic search engine for Lean and mathlib that understands and aligns with the intents of mathematicians. Progress in formal theorem proving is often hindered by the difficulty of locating relevant theorems and the steep learning curve of the Lean 4 language, making advancement slow and labor-intensive. Existing Lean search engines, though helpful, rely primarily on informalizations (natural language translation of the formal statements), while largely overlooking the mismatch with real-world user queries. In contrast, we propose a user-centered semantic search tailored to the needs of mathematicians. Our approach begins by analyzing and clustering the semantics of public Lean discussions, then fine-tuning text embeddings on synthesized queries that emulate user intents. We further align Lean Finder with mathematicians' preferences using diverse feedback signals, encoding it with a rich awareness of their goals from multiple perspectives. Evaluations on real-world queries, informalized statements, and proof states demonstrate that our Lean Finder achieves over 30% relative improvement compared to previous search engines and GPT-4o. In addition, Lean Finder is compatible with LLM-based theorem provers, bridging retrieval with formal reasoning. Lean Finder is available at: https://leanfinder.github.io

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 38 of its 57 references that are in the map. First posted on arXiv 8 Oct 2025.

Builds on

38 of 57 references.

References · 38

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  5. 2018Datasheets for Datasetscited by 1,371
  6. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
  7. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  8. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  9. 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 410
  10. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
  11. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  12. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 270
26 more
  1. 2022Autoformalization with Large Language Modelscited by 252
  2. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
  3. 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 189
  4. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 153
  5. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 140
  6. 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 126
  7. 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 115
  8. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 80
  9. 2024TheoremLlama: Transforming General-Purpose LLMs into Lean4 Expertscited by 58
  10. 2024Herald: A Natural Language Annotated Lean 4 Datasetcited by 54
  11. 2018First Experiments with Neural Translation of Informal to Formal Mathematicscited by 52
  12. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
  13. 2024Process-Driven Autoformalization in Lean 4cited by 45
  14. 2024Learning Formal Mathematics From Intrinsic Motivationcited by 45
  15. 2020INT: An Inequality Benchmark for Evaluating Generalization in Theorem Provingcited by 44
  16. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  17. 2023Multilingual Mathematical Autoformalizationcited by 38
  18. 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
  19. 2024A Semantic Search Engine for Mathlib4cited by 30
  20. 2025PDE-Controller: LLMs for Autoformalization and Reasoning of PDEscited by 23
  21. 2025REAL-Prover: Retrieval Augmented Lean Prover for Mathematical Reasoningcited by 18
  22. 2025LeanExplore: A search engine for Lean 4 declarationscited by 13
  23. 2025Premise Selection for a Lean Hammercited by 6
  24. 2023CoProver: A Recommender System for Proof Constructioncited by 5
  25. 2025MIRB: Mathematical Information Retrieval Benchmarkcited by 5
  26. 2025Learning an Effective Premise Retrieval Model for Efficient Mathematical Formalizationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 7.

7 papers.