Beyond LLM Judge: Mechanical Verification for Agentic Autoformalization
Anna Mei, Michael R. Douglas
Key points
From the paper's conclusion- We apply this method, along with our Extract-Verify-Proof autoformalization pipeline, to construct the Formalized Library of Mathematical Functions (FLMF), a partial formalization of the NIST Digital Library of Mathematical Functions (DLMF).
Abstract
We introduce a novel method for verifying Lean formalizations that goes beyond LLM-judged faithfulness. Unlike most verification methods, which rely on LLMs or trained models, our method combines LLM-based semantic review with mechanical numerical and vacuity checks, providing checkable feedback and detecting errors missed by LLM judges. We apply this method, along with our Extract-Verify-Proof autoformalization pipeline, to construct the Formalized Library of Mathematical Functions (FLMF), a partial formalization of the NIST Digital Library of Mathematical Functions (DLMF). On three labeled datasets, our method achieves the lowest accepted-error rate among the evaluated methods, measured as the fraction of incorrect statements accepted by the verification method. Expert review of the results also identifies translation and source defects in existing datasets. Code available at https://github.com/annamei1/FLMF-Ch7ErrFunc-Release.git.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PaperFormalizer: Author-in-the-Loop Autoformalization of Research Papers in LeanarXiv · 2026
- Fyan: A Human--AI Harness with Semantic Auditing for Document-Level FormalizationarXiv · 2026
- Paper2Lean: Agentic Autoformalization of Mathematical Research Papers at ScalearXiv · 2026
- From Sorry to QED: Refining LLM Math Proofs via Angelic ExecutionarXiv · 2026
- AI-Assisted Auto-formalization for Trustworthy Scientific Computing: Case Studies and Lessons LearnedarXiv · 2026
- LLM-Assisted Verification in DafnyarXiv · 2026