Lean-Auto: An Interface Between Lean 4 and Automated Theorem Provers
Open Access
- 23 July 2025
- book chapter
- Published by Springer Nature
- p. 175-196
Abstract
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.Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- A Higher-Order Vampire (Short Paper)2024
- Extending a High-Performance Prover to Higher-Order Logic2023
- cvc5: A Versatile and Industrial-Strength SMT Solver2022
- The Lean 4 Theorem Prover and Programming Language2021
- Universe Polymorphism in Coq2014
- The Isabelle Framework2008
- Z3: An Efficient SMT Solver2008
- Optimizing proof search in model elimination1996
- Type classes in Haskell1994
- Inductively defined types1990