atlas

Research map / Large language models / Agents, code and math

LEGO-Prover: Neural Theorem Proving with Growing Libraries

ICLR 2024 · Large language models › Agents, code and math · approach: Retrieval-augmented formal theorem proving · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LEGO-Prover, a neural theorem prover for Isabelle that builds proofs block-by-block from a growing, retrieval-based library of verified lemmas, which is expanded by an evolver using ChatGPT.

Problem

LLM-based theorem provers assume a fixed theorem library and generate whole proofs in one pass, so they fail on long-chain proofs and cannot reuse lemmas proved on other problems.

Approach

A prover decomposes problems into sub-goal lemmas retrieved from and added to a growing vector-store skill library of Isabelle-verified lemmas, while an evolver generalizes existing skills (four directional transformations) and solves requested sub-goals to keep enlarging the library.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LEGO-Prover* instead of Subgoal-LearningTheorem proving with ChatGPT · miniF2F-validsuccess rate: 48.0% -> 57.0%Helped
Use LEGO-Prover* instead of Subgoal-LearningTheorem proving with ChatGPT · miniF2F-testsuccess rate: 45.5% -> 50.0%Helped
Add the growing skill library, including the evolver (ablation)LEGO-Prover · miniF2F-validsuccess rate: 47.1% -> 50.4%Helped
Use human-written instead of model-generated informal proofsLEGO-Prover · miniF2F-validsuccess rate: 52.4% -> 55.3%Helped
Use human-written instead of model-generated informal proofsLEGO-Prover · miniF2F-testsuccess rate: 45.5% -> 50.0%Helped

Surprising findings

Limitations

Experimental setup

Datasets: miniF2F MATH

Benchmarks: miniF2F-valid miniF2F-test

Metrics: pass rate

Baselines: Thor Thor + expert iteration Draft, sketch, and Prove Subgoal-Learning LEGO-Prover without skill library

Builds on: Draft, sketch, and prove Subgoal-Learning Voyager Thor

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy