atlas

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

Lean Workbook: A large-scale Lean problem set formalized from natural language math problems

NeurIPS 2024 · Large language models › Agents, code and math · approach: Retrieval-augmented formal theorem proving · 3 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.

Builds Lean Workbook, a ~57K formal-informal Lean 4 problem set produced by an iterative active-learning autoformalization pipeline with compile checks, back-translation NLI filtering, and human correction.

Problem

Formal theorem proving with LLMs in Lean is limited by the scarcity of formalized contest-level math statements; manual formalization is expensive.

Approach

An iterative active-learning autoformalization loop: fine-tune a translation model, translate AoPS forum problems to Lean 4, filter by Lean compilation and LLM-based back-translation NLI, have experts fix failure patterns, and retrain each round.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add human-labeled data through iterative fine-tuningFinal-round Model · Active learning datasetCPN: 136670 -> 205079Helped
Add human-labeled data through iterative fine-tuningFinal-round Model · Active learning datasetNPN: 37122 -> 57231Helped
Fine-tune on Lean WorkbookFinal-round Model · Active learning datasetCPN: 205079 -> 228928Helped
Fine-tune on Lean WorkbookFinal-round Model · Active learning datasetNPN: 57231 -> 82893Helped
Add Lean Workbook to training dataInternLM2-Math-Plus fine-tuned on Mathlib · MiniF2F-validaccuracy: 44,3 -> 50.4Helped
Add Lean Workbook to training dataInternLM2-Math-Plus fine-tuned on Mathlib · MiniF2F-testaccuracy: 37.3 -> 46.7Helped
Use Lean Workbook Plus data for translationFinal-round Model · Number theory problemstranslation correctnessHurt

Surprising findings

Limitations

Experimental setup

Datasets: MiniF2F ProofNet AoPS (Art of Problem Solving) forum problems Compfiles

Benchmarks: MiniF2F valid MiniF2F test Lean Workbook manual accuracy sampling IMO problems from Compfiles

Metrics: compile pass number NLI pass number correct translation rate accuracy Pass@1024

Baselines: Mathlib-only fine-tuning DeepSeek-Prover

Builds on: MiniF2F ProofNet Lean 4 Mathlib

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