Proof Artifact Co-training for Theorem Proving with Language Models
Jesse Michael Han, Jason Rute, Yuhuai Wu, Edward W. Ayers, Stanislas Polu
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/jesse-michael-han/lean-step-publicOfficialIn papernone★ 44
- github.com/jasonrute/lean_proof_recordingOfficialIn papernone★ 27
- github.com/jasonrute/lean-proof-recording-publicOfficialIn papernone★ 27
- github.com/wellecks/llmsteppytorch★ 148
Abstract
Labeled data for imitation learning of theorem proving in large libraries of formalized mathematics is scarce as such libraries require years of concentrated effort by human specialists to be built. This is particularly challenging when applying large Transformer language models to tactic prediction, because the scaling of performance with respect to model size is quickly disrupted in the data-scarce, easily-overfitted regime. We propose PACT ( Proof Artifact Co- Training), a general methodology for extracting abundant self-supervised data from kernel-level proof terms for co-training alongside the usual tactic prediction objective. We apply this methodology to Lean, an interactive proof assistant which hosts some of the most sophisticated formalized mathematics to date. We instrument Lean with a neural theorem prover driven by a Transformer language model and show that PACT improves theorem proving success rate on a held-out suite of test theorems from 32\% to 48\%.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| miniF2F-test | PACT (reproduced by Thor) | cumulative | 24.6 | — | Unverified |