← Latest papers
💻 computer science

ITPEval: Benchmarking Formal Translation Across Interactive Theorem Provers

This paper introduces ITPEval, the first benchmark and unified infrastructure for evaluating automated formal proof translation across four major interactive theorem provers, revealing that current large language models struggle significantly with proof translation due to library mismatches and that native type-checking alone often overestimates semantic fidelity.

Original authors: Jiayi Wu, Robert Joseph George, Anima Anandkumar

Published 2026-07-23
📖 3 min read☕ Coffee break read

Original authors: Jiayi Wu, Robert Joseph George, Anima Anandkumar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where mathematicians speak four different languages, but they are all trying to solve the exact same puzzles. In the high-stakes arena of "formal theorem proving," computers act as the ultimate referees, checking every single step of a math proof to ensure it's 100% correct. However, just like humans who speak French, Japanese, Swahili, and Arabic, these computer systems (called Interactive Theorem Provers, or ITPs) have their own unique grammar, vocabulary, and libraries of pre-approved facts. A proof written perfectly in one system is often gibberish to the others. This creates a lonely problem: if a brilliant proof is written in one language, it can't be easily used or checked by the others. Scientists have been trying to build "universal translators" to bridge this gap, hoping that Artificial Intelligence (AI) could learn to translate these mathematical proofs automatically, allowing the whole community to share their work.

Enter ITPEVAL, a new study that acts like a massive, rigorous language exam for AI. The researchers wanted to see if today's smartest AI models could actually translate formal math proofs between four major systems: Lean 4, Rocq, Isabelle, and HOL Light. They didn't just ask the AI to guess; they built a specialized testing ground with over 1,500 source files and nearly 7,000 theorems. They split the test into two levels: a "Controlled" level with simple, self-contained math problems (like a vocabulary quiz with no outside references), and an "Ecosystem" level using real, messy library code that relies on complex, system-specific rules (like a full conversation with slang and cultural references).

The results were a mix of "not bad" and "still very hard." When the AI tried to translate just the statements of the theorems (the "what"), the best models got about 29.1% right. But when asked to translate the actual proofs (the "how"), the success rate plummeted to just 10.5%. The study found that the biggest hurdle wasn't the math itself or the different logical foundations; it was the "ecosystem." The AI struggled most when it had to navigate the specific libraries, naming conventions, and automation styles of the target system. It's like the AI could understand the sentence "The cat sat on the mat," but failed when asked to translate it into a specific dialect that required using a specific brand of mat and a specific type of cat.

Furthermore, the researchers discovered that simply getting a computer to say "This looks correct" (a type-check) isn't enough. They ran a deeper "meaning check" and found that even when the AI's translation passed the computer's basic test, it was often mathematically weaker or slightly different from the original in 46% of the cases. The study suggests that while AI is getting better at the basics, it still needs to learn how to adapt to the unique "culture" of each math system before it can truly be a universal translator. The authors also explored a "round-trip" test, where they translated math to natural language and back, finding that the results varied wildly depending on which system was used, hinting that using multiple systems together might help, but it's not a magic fix yet.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →