mlsanityData to 26 Nov 2026

Lean Graph Search for Formal Theorem Proving

arXiv 2610.22339 ↗Submitted 15 Oct 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Retrieving relevant lemmas is crucial for formal theorem proving, enabling provers to build machine-checkable proofs from established mathematical results. Recent retrieval systems match library declarations to a target theorem or its intermediate proof steps, but make limited use of multi-hop dependencies among declarations. These dependencies can reveal supporting lemmas that are not necessarily lexically similar to the target theorem but recur in proofs of related problems. To this end, we propose LeanGraphSearch, a graph-based retrieval method for Lean 4 that constructs a graph from Mathlib's forward dependencies and traverses it to uncover supporting lemmas through multi-hop dependency chains. Specifically, LeanGraphSearch links each declaration to the premises it depends on, uses a graph-based ranking algorithm to propagate relevance from semantically matched declarations to their dependencies, and reranks the expanded candidates against the original query. Across two mathematical retrieval benchmarks, LeanGraphSearch improves recall by up to 12% over the strongest baseline, LeanSearch v2, on MathlibQR and increases coverage of complete annotated proof routes on MathlibMPR, covering up to 3.7% of extra groups. More importantly, we evaluate whether these retrieval gains translate into improved end-to-end theorem proving by integrating LeanGraphSearch into an iterative proving loop guided by Lean feedback. Across three theorem proving benchmarks, LeanGraphSearch improves pass rate at {8, 16, 32} reflection turns by as much as 40% compared to vanilla prover and at most 10% compared to LeanSearch v2, showing higher accuracy-cost efficiency. These findings highlight the value of dependency graph search for theorem proving and motivate further research on structure-aware search for proof discovery.

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

Builds on

42 of 78 references.

References · 42

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  2. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,566
  3. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,508
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,322
  5. 2022MTEB: Massive Text Embedding Benchmarkcited by 681
  6. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
  7. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 430
  8. 2023Llemma: An Open Language Model For Mathematicscited by 410
  9. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
  10. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 319
  11. 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 212
  12. 2022HyperTree Proof Search for Neural Theorem Provingcited by 211
30 more
  1. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 184
  2. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 182
  3. 2024BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrievalcited by 179
  4. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 125
  5. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 105
  6. 2023An In-Context Learning Agent for Formal Theorem-Provingcited by 91
  7. 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 88
  8. 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 84
  9. 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 78
  10. 2025Hilbert: Recursively Building Formal Proofs with Informal Reasoningcited by 70
  11. 2025Knowledge Graph-Guided Retrieval Augmented Generationcited by 67
  12. 2023FIMO: A Challenge Formal Dataset for Automated Theorem Provingcited by 58
  13. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 55
  14. 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 42
  15. 2025DIVER: A Multi-Stage Approach for Reasoning-intensive Information Retrievalcited by 42
  16. 2025CombiBench: Benchmarking LLM Capability for Combinatorial Mathematicscited by 38
  17. 2025FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levelscited by 31
  18. 2017HolStep: A Machine Learning Dataset for Higher-order Logic Theorem Provingcited by 29
  19. 2025Aria: An Agent For Retrieval and Iterative Auto-Formalization via Dependency Graphcited by 26
  20. 2025LeanExplore: A search engine for Lean 4 declarationscited by 24
  21. 2025REAL-Prover: Retrieval Augmented Lean Prover for Mathematical Reasoningcited by 23
  22. 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworkscited by 15
  23. 2026LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Provingcited by 14
  24. 2025Premise Selection for a Lean Hammercited by 11
  25. 2025Lean Finder: Semantic Search for Mathlib That Understands User Intentscited by 10
  26. 2025Learning an Effective Premise Retrieval Model for Efficient Mathematical Formalizationcited by 5
  27. 2026Matlas: A Semantic Search Engine for Mathematicscited by 4
  28. 2025Combining Textual and Structural Information for Premise Selection in Leancited by 2
  29. 2026TheoremBench: Evaluating LLMs on Theorem Proving in Formal Mathematicscited by 2
  30. 2026MA-ProofBench: A Two-Tiered Evaluation of LLMs for Theorem Proving in Mathematical Analysiscited by 2

Built on by

Not cited yet.