ITPEval: Benchmarking Formal Translation Across Interactive Theorem Provers
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 interactive theorem provers (ITPs), with a complementary four-prover proof corpus. Our benchmark comprises 2,634 aligned statement items (26,340 records across 90 directed translation pairs) and 74 proof items (296 records across 12 directed pairs) spanning mathematics and program verification, organized into controlled and ecosystem tiers. We release itpeval, a unified multi-ITP verification infrastructure with state-isolated backends that preserve per-artifact checking semantics. We evaluate statement translation on 4,680 directed tasks across four major ITPs (Lean 4, Rocq, Isabelle/HOL, and HOL Light), spanning dependent type theory and higher-order logic, alongside complementary proof translation and semantic equivalence studies. While agentic translation achieves over 93% statement verification, performance varies substantially across benchmarks and target systems, with no consistent advantage from shared logical foundations; complete proof translation remains considerably harder, reaching 16.44% pass@1. Moreover, high verification does not establish semantic preservation: on a common Lean-target subset, our deterministic bidirectional equivalence checker accepts only 61.18% of translations despite 99.79% verification. Together, these findings highlight the importance of prover-specific ecosystems and the need to distinguish verification from semantic equivalence when evaluating cross-ITP interoperability. Our benchmark and verification infrastructure are publicly released.