Theory-Scale Auto-Formalization of Logics for Computer Science
Summary
Introduces LCS-Bench, a theory-scale benchmark for auto-formalization of logics for computer science, covering 327 textbook items over 4,076 Lean declarations. Evaluation on 14 models shows the benchmark is challenging, with SOTA models achieving only 20.1% on auto-formalization tasks.
View Cached Full Text
Cached at: 06/26/26, 05:20 AM
# Theory-Scale Auto-Formalization of Logics for Computer Science Source: [https://arxiv.org/abs/2606.26525](https://arxiv.org/abs/2606.26525) [View PDF](https://arxiv.org/pdf/2606.26525) > Abstract:Auto\-formalization is critical for scalable formal verification, but existing progress largely focuses on isolated statements, while theory\-scale auto\-formalization, which coherently translates hundreds of interdependent definitions, lemmas, and theorems, remains open due to challenges in consistency, faithfulness, scalability, and correctness\. In this paper, we introduce LCS\-Bench, a stand\-alone, theory\-scale benchmark based on Logics for Computer Science\. LCS\-Bench is built through a novel semi\-automated agentic pipeline that leverages concept graphs, formal signature planning, issue tracking, sorry\-filling with counter\-example search, complemented by faithfulness review from human experts\. The resulting artifact covers 327 textbook items, over 4,076 Lean declarations, and more than 85K lines of Lean code\. The dataset supports broad evaluation through a data engine that automatically derives five tracks of evaluation benchmarks, measuring different aspects of auto\-formalization and theorem\-proving capabilities\. We also introduce a novel evaluation protocol featuring definitional equivalence checkers, enabling more fine\-grained and faithful assessment\. Through extensive evaluation on 14 models, we demonstrate that \(1\) LCS\-Bench is of high quality, consistent, and faithful; \(2\) the benchmark is challenging, with state\-of\-the\-art models achieving only 20\.1% on auto\-formalization tasks; and \(3\) our analysis reveals key findings regarding theory\-scale auto\-formalization and suggests promising directions for future work\. ## Submission history From: Ziyang Li \[[view email](https://arxiv.org/show-email/44c6f5a4/2606.26525)\] **\[v1\]**Thu, 25 Jun 2026 01:59:53 UTC \(3,093 KB\)
Similar Articles
Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Bases
This position paper argues for theory-level autoformalization, which formalizes entire theories including axioms, definitions, and lemmas as coherent libraries, rather than isolated statements. It discusses the significance, alternative views, open challenges, and proposes paths forward for this shift in formalization research.
FormalTCS: Benchmarking End-to-End Frontier Formal Theoretical Computer Science Research of Large Language Models
FormalTCS is a benchmark for evaluating large language models on end-to-end theoretical computer science research, revealing significant limitations, especially in autoformalization.
Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics
Presents an agentic framework using general coding LLMs to autoformalize research-level mathematics into Lean 4 code, evaluated on Putnam problems and STOC conference papers.
FaithformBench: Benchmarking Faithfulness of Mathematical Chain-of-Thought Autoformalisation
Introduces FaithformBench, a benchmark for assessing the faithfulness of mathematical chain-of-thought autoformalisation systems by measuring validity and invalidity preservation on perturbed steps. Applied to eight AF systems, it reveals widespread sycophancy where invalid inputs are silently corrected.
ChaosBench-Logic v2: Evaluating LLM Logical Reasoning over Dynamical Systems at Scale
ChaosBench-Logic v2 is a large-scale benchmark of 40,886 questions over 165 dynamical systems that evaluates LLMs' logical reasoning abilities, revealing near-random performance on regime transition reasoning and systematic failure modes even in frontier models.