Turing Agent: Agentic Formal Verification for Mathematical Research

Researchers at the Shanghai AI Laboratory Agent Center, with UESTC, HKU and SUFE, present Turing Agent, a harness for end-to-end Lean formalization of research-level theoretical computer science, from statement formalization to assembled proofs.
Ask this paper
Architecture. A theorem formalization agent turns informal claims into faithful Lean statements, and a proof formalization agent builds the proofs. A DAG of proof obligations allows parallel work, an experience pool stores lemmas and lessons from failed attempts, and selective semantic review checks critical intermediate claims.
Benchmarks. Against direct generation and general coding harnesses including Codex CLI and Claude Code, Turing Agent reaches about 57% to 62% faithful formalization success on Formal TCS Bench and 83% overall pass@1 on a TCS subset of RLMEval, with GLM-5.3 and DeepSeek-V4-Pro.
Open problems. Built on DeepSeek, it completes the formal verification of three previously unresolved TCS tasks from OpenAI's October 2026 collection. One required about a hundred formally verified auxiliary claims.
Byproducts. Formalization surfaced simpler alternative proofs and unnecessary dependencies in original proofs, and produced reusable lemmas.
Abstract
Large language models (LLMs) are rapidly advancing mathematical discovery, moving beyond benchmark-level problem solving to tackle frontier research problems. This progress is ushering mathematics into an era of proof abundance, raising a fundamental challenge: how can we ensure the correctness of the ever-growing volume of AI-generated proofs and transform them into trustworthy, machine-verified mathematical knowledge? We introduce Turing Agent, an agent harness designed to orchestrate end-to-end formal verification of research-level mathematics. Its wo-scale architecture integrates theorem formalization and proof formalization agents, empowered by structured proof decomposition, parallel verification, accumulated proof experience, and selective semantic review. Leveraging our collaborations with theoretical computer science (TCS) researchers, we focus our evaluation on TCS, a particularly demanding domain characterized by intricate quantification, complex dependencies, and stringent semantic requirements. Against direct generation and general-purpose coding harnesses, including Codex CLI and Claude Code, Turing Agent achieves approximately 57-62% faithful formalization success on Formal TCS Bench and 83% overall pass@1 on a TCS-focused subset of RLMEval, using GLM-5.3 and DeepSeek-V4-Pro. Notably, Turing Agent, built on DeepSeek, successfully completes the formal verification of three previously unresolved TCS tasks from OpenAI's October 2026 collection. One particularly challenging TCS problem required about a hundred formally verified auxiliary claims. Moreover, by actively exploring and refining the formalization process, Turing Agent can uncover simpler alternative proofs, expose unnecessary dependencies in original proofs, and generate reusable mathematical knowledge as a byproduct of verification.