Magnushammer: A Transformer-Based Approach to Premise Selection
Abstract
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 to this task. In contrast, this work demonstrates that contrastive training with the transformer architecture can achieve higher-quality retrieval of relevant premises, without the engineering overhead. Our method, Magnushammer, outperforms the most advanced and widely used automation tool in interactive theorem proving called Sledgehammer. On the PISA and miniF2F benchmarks Magnushammer achieves (against ) and (against ) success rates, respectively. By combining \method with a language-model-based automated theorem prover, we further improve the state-of-the-art proof success rate from to on the PISA benchmark using x fewer parameters. Moreover, we develop and open source a novel dataset for premise selection, containing textual representations of (proof state, relevant premise) pairs. To the best of our knowledge, this is the largest available premise selection dataset, and the first one for the Isabelle proof assistant.
Cite
@article{arxiv.2303.04488,
title = {Magnushammer: A Transformer-Based Approach to Premise Selection},
author = {Maciej Mikuła and Szymon Tworkowski and Szymon Antoniak and Bartosz Piotrowski and Albert Qiaochu Jiang and Jin Peng Zhou and Christian Szegedy and Łukasz Kuciński and Piotr Miłoś and Yuhuai Wu},
journal= {arXiv preprint arXiv:2303.04488},
year = {2024}
}
Comments
ICLR 2024