potentialpaper

Beyond LLM Judge: Mechanical Verification for Agentic Autoformalization

Anna Mei, Michael R Douglas

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We complement LLM-based autoformalization verification with mechanical numerical and vacuity checks. This method is combined with an Extract-Verify-Proof pipeline to formalize the Digital Library of Mathematical Functions.

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. We will release these findings, along with the FLMF dataset, with this paper.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
8 Sep 2026ICLR 2027 (under review)submittedICLR 2027Withdrawnreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Withdrawn · 3 reviews · OpenReview

Updated 24 Nov 2026, 17:20 UTC.

Reviewer 3f8EOpenReview ↗
Rating
1/4
Confidence
4/4
Soundness
2/3
Presentation
2/3
Informativeness
1/3
Read review
Summary

This paper proposes a verification method for evaluating autoformalized Lean code. The method combines numerical verification and LLM-based checking for formal statements, along with vacuity checking for proofs. The paper also introduces an autoformalization pipeline that first extracts equations from the source material, then applies the proposed verification method to evaluate agent-generated autoformalizations, and finally employs agents to prove the autoformalized statements. Experiments on 1,810 informal–formal pairs from four datasets demonstrate that the proposed verification method achieves low accepted-error rates.

Strengths
  1. The dataset constructed in this paper could serve as a useful benchmark.

  2. The human evaluation resources used in this paper could support further analyses, such as the case studies presented in Section 5 and the error analysis in Table 3.

Weaknesses
  1. The verification method is not really novel. It is merely a small exploration of combining tool-based verification and LLM judgments. Also, the verification workflow in Figure 1 does not involve a theorem prover, which is unacceptable for a method claimed to verify autoformalization. The validation of the method is also flawed. The primary metric, accepted-error rate, is basically the precision score (false positives/predicted positives). Recall is not evaluated.

  2. The proposed autoformalization pipeline has been tested experimentally but not evaluated, which makes it difficult to compare with other methods. This seems to be an intuitive application without any supporting evidence.

Questions for the authors

I think this paper is far from complete as an ICLR submission, and substantial improvements cannot be achieved through questions and the rebuttal process.

Reviewer 747POpenReview ↗
Rating
2/4
Confidence
4/4
Soundness
1/3
Presentation
3/3
Informativeness
1/3
Read review
Summary

This paper studies mathematical statement autoformalization: given an informal mathematical statement, the goal is to generate a Lean theorem that is both formally valid and semantically faithful to the source.

The authors propose an Extract–Verify–Prove pipeline. First, equations and constraints are extracted from the NIST Digital Library of Mathematical Functions (DLMF). LLM agents then build a dependency DAG, identify and write required definitions, and generate Lean theorem statements. The generated statements are checked semantically using direct LLM comparison and back-translation, and numerically when applicable. After verification, an LLM agent generates proof plans and Lean proofs, which are checked for compilation and absence of `sorry'. A final vacuity check replaces the theorem goal with an unrelated proposition to detect proofs that succeed only because of contradictory assumptions.

The paper makes three main contributions. First, it introduces numerical and vacuity checks as complements to LLM-based semantic verification. Second, it integrates these checks into a gated Extract–Verify–Prove autoformalization pipeline. Third, it applies the method to existing datasets and identifies previously unnoticed formalization and source-level defects.

Strengths
  • The proposed pipeline is able to identify previously unnoticed formalization defects in existing datasets, demonstrating practical value beyond benchmark-level evaluation.
Weaknesses
  • I am not convinced that proof generation should be part of evaluating formalization faithfulness. A faithful formalization should preserve the meaning of the original mathematical statement even when the statement itself is false or difficult to prove.

  • The inclusion of proof generation and vacuity checking appears to implicitly assume that the source mathematical statement is intended to be provable, which restricts the scope of the proposed notion of faithfulness.

  • More generally, it is not entirely clear whether the paper is evaluating statement-level formalization faithfulness, mathematical validity of the source statement, or proof-level validity, as these notions are partially mixed within the pipeline.

Questions for the authors

see weaknesses

Reviewer HFtoOpenReview ↗
Rating
1/4
Confidence
4/4
Soundness
1/3
Presentation
1/3
Informativeness
1/3
Read review
Summary

This paper proposes a verification framework for agentic autoformalization, combining semantic, numerical, and vacuity checks to improve the reliability of Lean formalizations. The framework is integrated into an Extract–Verify–Prove pipeline and evaluated on multiple datasets.

Strengths
  1. Important problem. The paper tries to address the reliability of autoformalization, which is crucial for constructing trustworthy mathematical libraries.
Weaknesses

W1. Unclear role of numerical checks in faithfulness verification.

While the paper emphasizes faithfulness verification, numerical checks primarily assess mathematical validity rather than translation faithfulness. As demonstrated in Case Study 2, a faithful formalization may fail numerical checks because the original mathematical statement is incorrect. Conversely, an unfaithful formalization may still pass numerical checks. The authors should clarify how numerical checks contribute to faithfulness verification and distinguish translation errors from mathematical errors in their evaluation.

W2. Limited applicability of numerical verification.

Numerical checking, a key component of the proposed framework, is mainly applicable to numerically evaluable mathematical statements. Its applicability to more general mathematical domains, such as abstract algebra and topology, is limited.

W3. Insufficient discussion of related work.

The paper claims that all existing autoformalization verification methods rely on LLM judgments, which is overstated. Greiner-Petter et al.[1] have already investigated symbolic and numerical verification of DLMF formulas. The authors should better discuss these related approaches and clarify the novelty of their proposed numerical checking method. Moreover, sampling-based approaches to verifying the correctness of propositions have been extensively studied in the SMT related literature[2,3]. The authors should discuss how their work relates to these existing approaches.

W4. Insufficient evaluation of the reliability–coverage trade-off.

The proposed method achieves lower accepted-error rates but also rejects more correct statements than some baselines. For example, on FLMF, it achieves a 4.8% accepted-error rate while flagging 45.1% of correct statements. Although prioritizing reliability is reasonable, the current evaluation does not fully characterize this trade-off.

Minor Issue

The Introduction section heading appears to be missing. The paper proceeds directly from the abstract to introductory text, followed by "1 Related Work."

References

[1] Greiner-Petter, André et al. “Comparative Verification of the Digital Library of Mathematical Functions and Computer Algebra Systems.” International Conference on Tools and Algorithms for Construction and Analysis of Systems (2022).

[2] Griggio, A., Phan, Q.-S., Sebastiani, R., & Tomasi, S. (2011). Stochastic Local Search for SMT: Combining Theory Solvers with WalkSAT.

[3] Cohl, H. S., Greiner-Petter, A., & Schubotz, M. (2018). Automated symbolic and numerical testing of DLMF formulae using computer algebra systems. In Intelligent Computer Mathematics (CICM 2018), LNCS 11006, pp. 39–52.

Questions for the authors

How do the authors distinguish translation faithfulness from mathematical validity in their verification framework, given that numerical checks may reject faithful formalizations of incorrect source statements?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…