Stanford's PaperFormalizer turns research papers into Lean-verified versions with author in the loop

StanfordUniversity · hf · 2026-10-27

Stanford researchers introduced PaperFormalizer, a Lean-based agentic pipeline (running inside Claude Code or Codex, open-sourced) that helps authors find and close proof gaps and turn papers into Lean-verified versions.

The pipeline transcribes LaTeX into a dependency graph of statements, audits each in natural language for faithfulness, ambiguity and correctness, then formalizes and proves them against Mathlib and the author's personal toolkit. It stops to ask the author whenever a statement admits multiple readings, presenting each repair as an accept/decline/redirect proposal. Output includes an annotated revised paper, a change report, and Lean code linking each declaration to its statement. Verified papers can be shared so follow-up researchers reuse the Lean code.

Original post →

More from coding & agent

coding & agent channel →