Preprint
Lean-SMT: An SMT tactic for discharging proof goals in Lean
ArXiV.org
Cornell University
05/21/2025
DOI: 10.48550/arxiv.2505.15796
Abstract
Lean is an increasingly popular proof assistant based on dependent type theory. Despite its success, it still lacks important automation features present in more seasoned proof assistants, such as the Sledgehammer tactic in Isabelle/HOL. A key aspect of Sledgehammer is the use of proof-producing SMT solvers to prove a translated proof goal and the reconstruction of the resulting proof into valid justifications for the original goal. We present Lean-SMT, a tactic providing this functionality in Lean. We detail how the tactic converts Lean goals into SMT problems and, more importantly, how it reconstructs SMT proofs into native Lean proofs. We evaluate the tactic on established benchmarks used to evaluate Sledgehammer's SMT integration, with promising results. We also evaluate Lean-SMT as a standalone proof checker for proofs of SMT-LIB problems. We show that Lean-SMT offers a smaller trusted core without sacrificing too much performance.
Details
- Title: Subtitle
- Lean-SMT: An SMT tactic for discharging proof goals in Lean
- Creators
- Abdalrhman Mohamed - Stanford UniversityTomaz Mascarenhas - Universidade Federal de Minas GeraisHarun Khan - Stanford UniversityHaniel Barbosa - Universidade Federal de Minas GeraisAndrew Reynolds - University of IowaYicheng Qian - Stanford UniversityCesare Tinelli - University of IowaClark Barrett - Stanford University
- Resource Type
- Preprint
- Publication Details
- ArXiV.org
- DOI
- 10.48550/arxiv.2505.15796
- ISSN
- 2331-8422
- Publisher
- Cornell University; Ithaca, New York
- Language
- English
- Date posted
- 05/21/2025
- Academic Unit
- Computer Science
- Record Identifier
- 9984824297102771
Metrics
81 Record Views