paper-with-me

Papers

Machine-Learned Premise Selection for Lean

2023-03-17 · Bartosz Piotrowski, Ramon Fernández Mir, Edward Ayers

We introduce a machine-learning-based tool for the Lean proof assistant that suggests relevant premises for theorems being proved by a user. The design principles for the tool are (1) tight integration with the proof assistant, (2) ease of use and installation, (3) a lightweight and fast approach. For this purpose, we designed a custom version of the random forest model, trained in an online fashion. It is implemented directly in Lean, which was possible thanks to the rich and efficient metaprogramming features of Lean 4. The random forest is trained on data extracted from mathlib -- Lean's mathematics library. We experiment with various options for producing training features and labels. The advice from a trained model is accessible to the user via the suggest_premises tactic which can be called in an editor while constructing a proof interactively.

📄 PDF Abstract BibTeX arXiv:2304.00994

Code (1)

bartoszpiotrowski/lean-premise-selection 공식 구현

Similar Papers 제목 키워드 기반

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 …

Premise Selection for a Lean Hammer

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

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…

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

2026-05-13 · Guoxiong Gao, Zeming Sun, Jiedong Jiang, Yutong Wang 외 arxiv

Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof -- a task we call global premise retrieval. Existing tools address adjacent problems: semant…

LeanDojo: Theorem Proving with Retrieval-Augmented Language Models

2023-06-27 · NeurIPS 2023 11 · Kaiyu Yang, Aidan M. Swope, Alex Gu, Rahul Chalamala 외

Large language models (LLMs) have shown promise in proving formal theorems using proof assistants such as Lean. However, existing methods are difficult to reproduce or build on, due to private code, data, and large compu…

Automated Theorem ProvingGPUMathRetrieval

Premise Selection for Mathematics by Corpus Analysis and Kernel Methods

2011-08-17 · Jesse Alama, Tom Heskes, Daniel Kühlwein, Evgeni Tsivtsivadze 외

Smart premise selection is essential when using automated reasoning as a tool for large-theory formal proof development. A good method for premise selection in complex mathematical libraries is the application of machine…

Mathematical Proofs