paper-with-me

Papers

Premise Selection for a Lean Hammer

2025-06-09 · Thomas Zhu, Joshua Clune, Jeremy Avigad, Albert Qiaochu Jiang, Sean Welleck

Neural methods are transforming automated reasoning for proof assistants, yet integrating these advances into practical verification workflows remains challenging. Hammers are tools that interface with external automatic theorem provers to automate tedious reasoning steps. They have dramatically improved productivity in proof assistants, but the Lean proof assistant still does not have a hammer despite its growing popularity. We present LeanHammer, the first end-to-end domain-general hammer for Lean, built on a novel neural premise selection system for a hammer in dependent type theory. Unlike existing Lean premise selectors, our approach dynamically adapts to user-specific contexts and combines with symbolic proof search and reconstruction to create a practical hammer. With comprehensive evaluations, we show that our premise selector enables LeanHammer to solve 21\% more goals relative to existing premise selectors, and generalize well to diverse domains. Our work bridges the gap between neural retrieval and symbolic reasoning, making formal verification more accessible to researchers and practitioners.

📄 PDF Abstract BibTeX arXiv:2506.07477

Code (2)

hanwenzhu/premise-selection 공식 구현
joshclune/leanhammer 공식 구현

Similar Papers 제목 키워드 기반

Magnushammer: A Transformer-Based Approach to Premise Selection

2023-03-08 · Maciej Mikuła, Szymon Tworkowski, Szymon Antoniak, Bartosz Piotrowski 외

This paper presents a novel approach to premise selection, a crucial reasoning task in automated theorem proving. Traditionally, symbolic methods that rely on extensive domain knowledge and engineering effort are applied…

Automated Theorem ProvingLanguage ModelingLanguage ModellingRetrieval

Premise Selection and External Provers for HOL4

2015-09-11 · Thibault Gauthier, Cezary Kaliszyk

Learning-assisted automated reasoning has recently gained popularity among the users of Isabelle/HOL, HOL Light, and Mizar. In this paper, we present an add-on to the HOL4 proof assistant and an adaptation of the HOLyHam…

Learning to Reason with HOL4 tactics

2018-04-02 · Thibault Gauthier, Cezary Kaliszyk, Josef Urban

Techniques combining machine learning with translation to automated reasoning have recently become an important component of formal proof assistants. Such "hammer" tech- niques complement traditional proof assistant auto…

Translation

The Isabelle ENIGMA

2022-05-04 · Zarathustra A. Goertzel, Jan Jakubův, Cezary Kaliszyk, Miroslav Olšák 외

We significantly improve the performance of the E automated theorem prover on the Isabelle Sledgehammer problems by combining learning and theorem proving in several ways. In particular, we develop targeted versions of t…

Automated Theorem Proving

Combining Textual and Structural Information for Premise Selection in Lean

2025-10-24 · Job Petrovčič, David Eliecer Narvaez Denis, Ljupčo Todorovski arxiv

Premise selection is a key bottleneck for scaling theorem proving in large formal libraries. Yet existing language-based methods often treat premises in isolation, ignoring the web of dependencies that connects them. We …