atlas

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

Proving Theorems Recursively

NeurIPS 2024 · Large language models › Agents, code and math · approach: Retrieval-augmented formal theorem proving · 2 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 POETRY, which proves theorems in Isabelle recursively level by level by searching verifiable proof sketches with sorry placeholders and recursively proving the deferred conjectures.

Problem

Step-by-step search-based neural theorem proving relies on short-sighted heuristics (log probability, value scores) that lead to distracting subgoals and limit the length of findable proofs.

Approach

Replace step-by-step proof search with recursive best-first search over level-wise proof sketches: intermediate conjectures are temporarily closed with the sorry tactic, verified at the current level, and then proved at deeper levels, with node status propagation (OPEN, FAILED, PROVED, HALF-PROVED) to handle backtracking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use recursive level-by-level proof search instead of step-by-step provingProofGPT 1.3B on miniF2F-valid · miniF2F-validpass@1: 39.3% -> 42.2%Helped
use recursive level-by-level proof search instead of step-by-step provingProofGPT 1.3B on miniF2F-test · miniF2F-testpass@1: 37.3% -> 42.2%Helped
use recursive level-by-level proof search instead of step-by-step provingProofGPT 1.3B on PISA · PISApass@1: 48.9% -> 49.6%Helped
use recursive level-by-level proof search instead of step-by-step provingProofGPT 1.3B on PISA single-level · PISA single-levelpass@1: 65.5% -> 65.4%No clear effect
use recursive level-by-level proof search instead of step-by-step provingProofGPT 1.3B on PISA multi-level · PISA multi-levelpass@1: 11.1% -> 13.6%Helped
replace beam-search decoding with sampling (ablation)GPT-f Baseline on miniF2F-valid · miniF2F-validpass@1: 39.3% -> 30.3%Hurt
replace beam-search decoding with sampling (ablation)GPT-f Baseline on miniF2F-test · miniF2F-testpass@1: 37.3% -> 31.5%Hurt
replace beam-search decoding with sampling (ablation)GPT-f Baseline on PISA · PISApass@1: 48.9% -> 43.2%Hurt
replace beam-search decoding with sampling (ablation)GPT-f Baseline on PISA single-level · PISA single-levelpass@1: 65.5% -> 57.8%Hurt
replace beam-search decoding with sampling (ablation)GPT-f Baseline on PISA multi-level · PISA multi-levelpass@1: 11.1% -> 9.8%Hurt
use recursive proof search rather than step-by-step searchProofGPT 1.3B on miniF2F · miniF2Fmaximum proof length: 3 -> 18Helped
use recursive proof search rather than step-by-step searchProofGPT 1.3B on PISA · PISAmaximum proof length: 10 -> 26Helped

Surprising findings

Limitations

Experimental setup

Datasets: PISA miniF2F

Benchmarks: miniF2F-valid miniF2F-test PISA

Metrics: pass@1 success rate average proof length maximum proof length

Baselines: GPT-f Baseline Thor w/o sledgehammer PACT FMSCL Leandojo COPRA Thor + expert iteration Thor + Magnushammer

Builds on: GPT-f PISA Thor proof-pile

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