PaperFormalizer turns research papers into Lean-verified versions with the author in the loop
PaperFormalizer is an agentic pipeline that reads a paper's LaTeX source, builds a dependency graph of its statements, audits them, and formalizes and proves them in Lean against Mathlib. It asks the author whenever a statement is ambiguous and presents every…
Why it matters
It is a concrete example of a specialized pipeline packaged to run inside existing coding agents, beyond everyday coding.
What happened
1 min readPaperFormalizer is an agentic pipeline that reads a paper's LaTeX source, builds a dependency graph of its statements, audits them, and formalizes and proves them in Lean against Mathlib. It asks the author whenever a statement is ambiguous and presents every repair as a proposal. It runs inside Claude Code or Codex and is open source.
Our analysis
The author-in-the-loop design is sensible, since fully automatic formalization often changes what a statement means. The abstract does not report success rates or running costs on real papers, so practical reach is hard to judge. Worth trying for mathematicians and formal-methods researchers; for most engineers it is mainly a pattern for building agent workflows.