crush: Extensible Proof Automation for Lean
Mike He, Dexin Zhang, Aarti Gupta
Abstract
Lean's rich expressiveness supports higher-order functions, inductive datatypes, and user-defined abstractions, making it challenging to translate proof obligations into first-order Satisfiability Modulo Theory (SMT) queries and reconstruct kernel checked proofs. We present crush, an extensible SMT-backed proof automation framework for Lean. To bridge the gap between Lean's higher-order constructs and the solver's first-order logic, crush uses defunctionalization to encode function values and their applications. We formalize this translation for a supported higher-order fragment and prove its soundness. Moreover, crush provides metaprogramming interfaces for extending both Lean-to-SMT translation and the reconstruction of Lean proofs from solver certificates without modifying the translation pipeline. We implement crush as both a tactic and a backend for other third-party automation systems. We show that across four such use cases that target verification and general proof automation, crush discharges more obligations than the competing backends and reconstructs more kernel-checked proofs than the baselines.
Create a lesson
Related papers
Proof Checking Continuous Reachability
Shared title terminology · Long Qian, André Platzer
Proof-Relevant Interpolation for Circular Proofs in Linear Logic
Shared title terminology · Daniel Osorio-Valencia, Alexis Saurin
Canonical Proof Nets for Intuitionistic Multiplicative Linear Logic
Shared title terminology · Matteo Acclavio, Willem Heijltjes, Dominic J. D. Hughes
Towards Understanding the Complexity of CAQE: A Proof-Theoretic Analysis of its Core Procedure
Shared title terminology · Benjamin Böhm, Olaf Beyersdorff
Lean-PEP: Performance-Estimation Certificates to Formally Verified Algorithmic Bounds
Shared title terminology · Xinyuan Guo, Andersen Ang
Strategic disclosure and epistemic manipulation in extensive games
Shared title terminology · Sergei Artemov, Benjamin Prud'homme