# Lean-auto: An Interface between Lean 4 and Automated Theorem Provers

arXiv: https://arxiv.org/abs/2505.14929 · HTML: https://mlsanity.com/paper/2505.14929/

## Key facts

- Cited by 6 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 20 May 2025.

## Built on by (most cited first, 6 of 6)

- [Premise Selection for a Lean Hammer](https://mlsanity.com/paper/2506.07477/) (2025)
- [Certified Program Synthesis with a Multi-Modal Verifier](https://mlsanity.com/paper/2604.16584/) (2026)
- [Formally Solving Answer-Construction Problems in Lean](https://mlsanity.com/paper/2505.18492/) (2025)
- [An Ontology-Based Approach to Optimizing Geometry Problem Sets for Skill Development](https://mlsanity.com/paper/2509.02758/) (2025)
- [Nazrin: An Atomic Neural Proof Automation Tactic in Lean 4](https://mlsanity.com/paper/2602.18767/) (2026)
- [When Agda met Vampire](https://mlsanity.com/paper/2602.18844/) (2026)

## Abstract (arXiv)

Proof automation is crucial to large-scale formal mathematics and software/hardware verification projects in ITPs. Sophisticated tools called hammers have been developed to provide general-purpose proof automation in ITPs such as Coq and Isabelle, leveraging the power of ATPs. An important component of a hammer is the translation algorithm from the ITP's logical system to the ATP's logical system. In this paper, we propose a novel translation algorithm for ITPs based on dependent type theory. The algorithm is implemented in Lean 4 under the name Lean-auto. When combined with ATPs, Lean-auto provides general-purpose, ATP-based proof automation in Lean 4 for the first time. Soundness of the main translation procedure is guaranteed, and experimental results suggest that our algorithm is sufficiently complete to automate the proof of many problems that arise in practical uses of Lean 4. We also find that Lean-auto solves more problems than existing tools on Lean 4's math library Mathlib4.
