Pith. sign in

REVIEW 1 cited by

Machine-Learned Premise Selection for Lean

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2304.00994 v2 pith:X6Z4WMUU submitted 2023-03-17 cs.AI cs.LGcs.LOcs.SC

classification cs.AIcs.LGcs.LOcs.SC
keywords leanprooftrainedassistantfeaturesforestmodelpremises
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Lean-SMT: An SMT tactic for discharging proof goals in Lean

    cs.LO 2025-05 conditional novelty 7.0 of 10

    The paper presents Lean-SMT, a tactic that translates Lean proof goals into SMT-LIB, obtains cvc5 proofs, and reconstructs them as kernel-checked Lean proofs, with promising results on Sledgehammer and SMT-LIB benchmarks.

Pith tools