atlas

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

MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Libraries

NeurIPS 2026 · Large language models › Agents, code and math · approach: Software engineering agents · 0 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.

Introduces MathlibPR, a benchmark of build-passing Mathlib4 PR snapshots labeled merge-ready vs not-merge-ready, and a three-stage protocol evaluating LLM models and coding agents on judging merge-readiness; finds none reliably distinguish the classes.

Problem

Whether LLMs can judge if build-passing Lean/Mathlib4 pull requests are merge-ready (follow conventions, fit the library), a review step that currently bottlenecks Mathlib growth and is not captured by kernel-based correctness checks.

Approach

Builds a benchmark from real Mathlib4 PR histories where all snapshots already compile, labels accepted versus revised-or-unmerged snapshots, and evaluates with staged context (diff and guidelines, then linter/import diagnostics, then PR title/description) plus read-only repository access for agents, using structured reviewer JSON with eight rubric axes.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Mathlib4 closed PR histories

Benchmarks: MathlibPR

Metrics: MR recall NMR recall balanced accuracy valid-output rate AUROC within-PR pairwise accuracy

Baselines: DeepSeek-R1-Distill-Qwen Qwen3-8B Goedel-Prover-V2-32B Kimina-Prover-Distill-8B Codex Claude Code

Builds on: LeanDojo CodeReviewer SWE-bench

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