Work

LeanDojo-v2: A Comprehensive Library for AI-Assisted Theorem Proving in Lean

Year: 2026
Type: preprint
Abstract: Building on recent progress in machine learning for formal theorem proving in Lean, we introduce LeanDojo-v2: an end-to-end framework that unifies repository data extraction, LLM fine-tuning, proof search, AI autocompletion, and LLM-assisted theorem proving in a single software library. In addition, we provide Lean4Code, a lightweight IDE that integrates the various features of LeanDojo-v2 through a simple, mathematician-friendly UI. These tools will enable mathematicians and researchers to easily fine-tune language models on domain-specific Lean codebases and experiment with LLM-assisted theorem proving without a complex setup.
Source: arXiv
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7225643127
Cites: 12
Cited by: 7
Related to: 10