Lean Graph Search for Formal Theorem Proving
Following lemma dependencies improved proof success by up to 10% over LeanSearch v2 in the authors’ tests.
LeanGraphSearch builds a graph of dependencies in Lean 4’s Mathlib library to find supporting lemmas that semantic matching can miss. It propagates relevance through dependency chains, then reranks the candidates against the original query. Retrieval tests showed up to 12% higher recall than LeanSearch v2 and broader coverage of annotated proof routes. The authors also tested it across three theorem-proving benchmarks in an iterative loop guided by Lean feedback.
ArXiv · AI/CL/LG's note
LeanGraphSearch builds a graph of dependencies in Lean 4’s Mathlib library to find supporting lemmas that semantic matching can miss. It propagates relevance through dependency chains, then reranks the candidates against the original query. Retrieval tests showed up to 12% higher recall than LeanSearch v2 and broader coverage of annotated proof routes. The authors also tested it across three theorem-proving benchmarks in an iterative loop guided by Lean feedback.
ArXiv · AI/CL/LG's note
score 5