PaperFormalizer: Author-in-the-Loop Autoformalization of Research Papers in Lean
Not on the map. Why?
Abstract (arXiv)
Even a carefully proofread paper can leave small gaps in its proofs or its stated assumptions. We introduce PaperFormalizer, a Lean-based agentic pipeline that helps authors find and close such gaps in their own papers and turn each paper into a Lean-verified version. Starting from the LaTeX source, PaperFormalizer transcribes the paper into a dependency graph of statements, audits each statement in natural language for faithfulness, ambiguity and correctness, and then formalizes and proves the statements in Lean against Mathlib, optional domain libraries and the author's personal toolkit. Only the author knows what a statement is meant to say and how a formalization gap in a result is best fixed. The pipeline therefore stops and asks the author whenever a statement admits more than one reading, presents every repair, in natural language and TeX symbols, as a proposal that the author can accept, decline or redirect, and leaves to the author every decision that could potentially change what the paper claims. The output is an annotated and revised version of the paper, a report of the changes, and Lean code in which each declaration is linked to the statement it formalizes. The author's toolkit grows as more papers are formalized, and authors can share their verified papers so that researchers who build on them can reuse their Lean code. By making verified papers practical to produce, PaperFormalizer aims to make research that rests on mathematical proofs more robust. PaperFormalizer runs inside a coding agent (Claude Code or Codex) and is available at https://github.com/Jiyuan-Tan/PaperFormalizer. Papers with Lean code shared by users are available at https://paperformalizer.org.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 8 of its 11 references that are in the map. Submitted 22 Oct 2026.
Builds on
8 of 11 references.
References · 8
- 2024A Semantic Search Engine for Mathlib4cited by 38
- 2026Automated Conjecture Resolution with Formal Verificationcited by 36
- 2026LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalizationcited by 19
- 2025Lean Formalization of Generalization Error Bound by Rademacher Complexity and Dudley's Entropy Integralcited by 7
- 2026LeanFlow: A Case Study in Workflow-Driven Lean Autoformalizationcited by 6
- 2026CausalSmith: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inferencecited by 3
- 2023Wasserstein-based Minimax Estimation of Dependence in Multivariate Regularly Varying Extremescited by 2
- 2026One-Sided Verification Under Limited Expert Reviewcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026M2F: Automated Formalization of Mathematical Literature at Scale
- 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics
- 2026Understanding Tool-Augmented Agents for Lean Formalization: A Factorial Analysis
- 2026(Auto)formalization is supposed to be easy: Trellis process semantics for spelling out rigorous proofs
- 2026ProofPatch: Reviewing Lean Statements and Keeping the Reviews Valid as Formalizations Evolve
- 2026PaperClaw: Harnessing Agents for Autonomous Research and Human-in-the-Loop Refinement
- 2026KAPPA: Checking the Proofs in Statistics Papers with Lean 4 and Language Model Agents
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction