AI RESEARCH

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

arXiv CS.AI

ArXi:2605.13137v1 Announce Type: cross Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof -- a task we call global premise retrieval. Existing tools address adjacent problems: semantic search engines find individual declarations matching a query, while premise-selection systems predict useful lemmas one tactic step at a time. Neither recovers the full premise set an entire theorem requires. We present LeanSearch v2, a two-mode retrieval system for this task.