Reliable Evaluation and Benchmarks for Statement Autoformalization

Auguste Poiroux, Gail Weiss, Viktor Kunčak, Antoine Bosselut
6/11/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: augustepoiroux/LeanInteract (132 stars, MIT, last commit 2026-04-12).

Abstract

Evaluating statement autoformalization, translating natural language mathematics into formal languages like Lean 4, remains a significant challenge, with few metrics, datasets, and standards to robustly measure progress. In this work, we present a comprehensive approach combining improved metrics, robust benchmarks, and systematic evaluation, to fill this gap. First, we introduce BEq+, an automated metric that correlates strongly with human judgment, along with ProofNetVerif, a new dataset for assessing the quality of evaluation metrics, containing 3,752 annotated examples. Second, we develop two new autoformalization benchmarks: ProofNet#, a corrected version of ProofNet, and RLM25, with 619 new pairs of research-level mathematics from six formalization projects. Through systematic experimentation across these benchmarks, we find that current techniques can achieve up to 45.1% accuracy on undergraduate mathematics but struggle with research-level content without proper context. Our work establishes a reliable foundation for evaluating and advancing autoformalization systems.

View on arXivView PDF

Code Implementations(1)

MIT

LeanInteract: A Python Interface for Lean 4

13214PythonFeb 5, 20256 months agoMIT
autoformalizationlean4machine-learningpythontheorem-proving

Similar Papers

Cite this paper

@article{poiroux2024reliable,
  title  = {Reliable Evaluation and Benchmarks for Statement Autoformalization},
  author = {Auguste Poiroux and Gail Weiss and Viktor Kunčak and Antoine Bosselut},
  year   = {2024},
  eprint = {2406.07222},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07222v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07222.svg)](https://codeofpaper.com/paper/2406.07222)

Discussion