ITPEval: Benchmarking Formal Translation Across Interactive Theorem Provers

1Brown University; 2California Institute of Technology
NeurIPS 2026 Evaluations & Datasets Track
An earlier version appeared as a poster at the ICML 2026 AI4Math Workshop.

Abstract

Formal theorem proving has emerged as a frontier challenge for machine learning, yet the ecosystem is fragmented: proofs remain siloed across incompatible systems, limiting both training data for learning-based provers and the portability of verified results. We present ITPEval, a benchmark for evaluating automated formal statement translation across ten ITPs, with a complementary four-prover proof corpus. Our benchmark comprises 2,634 aligned statement items from eight sources of mathematics and program verification, yielding 26,340 prover records, alongside 74 proof items in Lean 4, Rocq, Isabelle/HOL, and HOL Light. The collection includes axiomatized theories, library and competition mathematics, verification conditions, and program correctness specifications. We release itpeval, a unified multi-ITP verification infrastructure with state-isolated warm backends that preserve per-artifact native checking semantics. We evaluate both statement and proof translation across five frontier and open-weight LLMs on 12 directed translation pairs: statement translation peaks at 29.1% pass@1 and proof translation at 10.5%; controlled theorems reach 29.7% proof pass@1 versus 5.2% for ecosystem-level translations, indicating that library mismatch is the largest observed source of proof-translation failure. In addition to pass@k evaluation, a deterministic Lean 4 BEq check establishes equivalence for 54.0% of verified source-to-Lean 4 miniF2F statement translations, showing that native type-checking alone can substantially overestimate semantic fidelity; an exploratory autoformalization/auto-informalization round-trip study suggests target-dependent verification patterns and possible benefits from multi-ITP context.


ITPEval evaluation setting: statement translation, proof translation and an autoformalization round trip across Lean 4, Rocq, Isabelle/HOL and HOL Light

Figure 1. The evaluation setting. Models translate statements and proofs among Lean 4, Rocq, Isabelle/HOL and HOL Light, and a translation counts only if the target prover accepts the whole file.

Ten Provers

Every statement item is written in all ten provers, which gives 90 translation directions. The proof corpus covers the first four.


Lean 4

Dependent type theory with Mathlib.

statements and proofs

Rocq

Calculus of Inductive Constructions with tactic scripts.

statements and proofs

Isabelle/HOL

Higher-order logic with structured Isar proofs.

statements and proofs

HOL Light

Higher-order logic on a small kernel, scripted in OCaml.

statements and proofs

HOL4

Higher-order logic, scripted in Standard ML.

statements

ACL2

First-order logic over applicative Common Lisp.

statements

Agda

Dependently typed programming in Martin-Löf type theory.

statements

Metamath

A minimal substitution checker; set.mm builds ZFC.

statements

Mizar

Tarski-Grothendieck set theory and the Mizar Mathematical Library.

statements

PVS

Classical higher-order logic with predicate subtypes.

statements

Benchmark Design

  • 2,634 aligned statement items from eight sources, each in all ten provers: 26,340 records.
  • 74 proof items in Lean 4, Rocq, Isabelle/HOL and HOL Light: 296 records and 888 directed proof-translation tasks.
  • A controlled tier of self-contained, axiomatized files and an ecosystem tier of real library formalizations, where names, APIs and automation differ.
  • Execution-based scoring: a translation succeeds only when the target prover accepts the generated file. For Lean 4 targets, a BEq check also tests whether the translated statement is equivalent to the reference.
  • The itpeval package checks all ten provers through one interface, with state-isolated warm backends that keep each prover's native checking semantics.

Key Results

  • Across five frontier and open-weight models on 12 directed pairs, statement translation reaches at most 29.1% pass@1 and proof translation 10.5%.
  • Proofs of controlled theorems succeed at 29.7% pass@1, against 5.2% for ecosystem translations. Library mismatch is the largest observed cause of failure.
  • Only 54.0% of the source-to-Lean 4 miniF2F statement translations that type-check are provably equivalent to the reference. Type-checking alone overestimates how faithful a translation is.

Why It Matters

Modern formal mathematics is distributed across proof assistants with different logical foundations, libraries, and proof idioms. ITPEval turns cross-prover translation into a concrete evaluation problem: can an AI system carry a theorem or proof from one ecosystem into another while preserving the mathematical content well enough for machine checking?

Citation

@inproceedings{wu2026itpeval,
  title     = {{ITPEval}: Benchmarking Formal Translation Across Interactive Theorem Provers},
  author    = {Wu, Jiayi and George, Robert Joseph and Anandkumar, Anima},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS), Evaluations and Datasets Track},
  year      = {2026}
}