Theory-Scale Auto-Formalization of Logic for Computer Science
Yuming FengFrederick PuOne AnOsbert BastaniLi ZhangJiani HuangXujie SiZiyang Li
Yuming Feng
Frederick Pu
One An
Osbert Bastani
Li Zhang
Jiani Huang
Xujie Si
Ziyang Li
+8
The paper introduces LCS-Bench, a stand-alone benchmark for theory-scale auto-formalization that goes beyond isolated statements by requiring coherent translation of many interdependent definitions, lemmas, and theorems. It is built via a semi-automated agentic pipeline combining concept graphs, formal signature planning, issue tracking, sorry-filling with counter-example search, and expert faithfulness review, yielding 327 textbook items, over 4,076 Lean declarations, and more than 85K lines of Lean code. A data engine derives five evaluation tracks, and a novel protocol uses definitional equivalence checkers; across 17 models, state-of-the-art performance reaches only 20.3% on auto-formalization.

OpenReview ·
· May 1, 2026