Beyond LLM Judge: Mechanical Verification for Agentic Autoformalization
https://arxiv.org/abs/2610.20573v1
The paper introduces a method for verifying Lean formalizations that goes beyond LLM-judged faithfulness. Unlike most existing approaches that rely on LLMs or trained models, it combines LLM-based semantic review with mechanical numerical and vacuity checks, providing checkable feedback and catching errors that LLM judges miss.
The authors apply this method together with an Extract-Verify-Proof autoformalization pipeline to build the Formalized Library of Mathematical Functions (FLMF), a partial formalization of the NIST Digital Library of Mathematical Functions (DLMF).
On three labeled datasets, the method achieves the lowest accepted-error rate among evaluated methods - measured as the fraction of incorrect statements accepted by the verification method. Expert review of the results also surfaced translation and source defects in existing datasets. Code is released on GitHub.