arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.20153

FormalTCS: Benchmarking End-to-End Frontier Formal Theoretical Computer Science Research of Large Language Models

Dingzirui Wang, Xuanliang Zhang, Keyan Xu, Qingfu Zhu, Wanxiang Che

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models (LLMs) have shown growing capabilities for automated theoretical computer science (TCS) research, while existing benchmarks remain far from realistic research settings. We introduce FormalTCS, a benchmark for evaluating LLMs on frontier, end-to-end TCS research. FormalTCS contains 143143 instances drawn from papers accepted to top-tier TCS conferences in 2025-2026. For each instance, we annotate the theorem statements and proof processes in both natural and formal languages to evaluate the main bottlenecks of existing LLMs in TCS. Evaluations of leading LLMs reveal that current models remain far from reliably completing the full TCS research pipeline. In particular, we reveal that autoformalization is the sharpest bottleneck of TCS auto research, where the best model achieves only 11.211.2 for translating natural-language claims into formal theorem statements, compared with 28.728.7 Pass@8 when proving human-provided formal statements. Building on FormalTCS, we further develop an automated TCS research framework that generates, formalizes, filters, and proves new claims. Of 6464 generated claims, only 66 ultimately pass expert evaluation and proof verification, indicating that beyond formalization, limited research taste remains another major barrier to autonomous TCS research.

1 Introduction

Theoretical computer science (TCS) studies the fundamental principles of computation through mathematical methods, including models of computation, algorithms, computational complexity, and the limits of computability (van Leeuwen, 1990; Wigderson, 2019). TCS is an important research topic, as it provides the theoretical foundation for understanding which problems can be computed and how efficiently they can be solved. Given the fundamental importance of TCS and the increasingly strong autonomous research capabilities demonstrated by large language models (LLMs) (Chen et al., 2025), a growing body of work has begun to investigate how well LLMs can perform TCS-related research tasks. For example, LCS-Bench (Feng et al., 2026b) constructs a benchmark from TCS knowledge extracted from textbooks, while TCS-Bench (Cohen-Addad et al., 2026) evaluates LLMs in generating proofs of TCS theorems from natural-language statements.

However, existing TCS benchmarks still have a gap from real-world TCS research due to the following: (i) Incomplete research process. Existing TCS benchmarks primarily evaluate isolated capabilities, such as autoformalization or proof generation. They do not provide an end-to-end evaluation of whether LLMs can conduct TCS research from scratch, making it difficult to identify where current models fail throughout the research process. (ii) Outdated TCS content. Existing benchmarks are largely constructed from textbook material or theorems already available in libraries such as Mathlib (Moura and Ullrich, 2021). As a result, they provide limited insight and may also suffer from the fact that related material has appeared in the model’s training data. (iii) Simplified theorem settings. Existing benchmarks typically focus on relatively self-contained theorems with complete and explicit definitions. In contrast, real TCS papers involve paper-specific definitions and assumptions, as well as multi-layered dependencies among lemmas and theorems. Existing benchmarks, therefore, fall short of measuring whether LLMs can conduct real-world TCS research.

To bridge these gaps, we introduce FormalTCS, a benchmark designed to provide a more realistic evaluation of frontier TCS research. We employ five human experts to collect and annotate theorems from papers accepted by top conferences in TCS. Compared with existing benchmarks, FormalTCS provides a more faithful evaluation of TCS research capabilities: (i) End-to-end evaluation. FormalTCS decomposes TCS research into five stages and evaluates, step by step, an LLM’s ability to transform a natural-language TCS core claim into a corresponding rigorous Lean proof. This design enables a fine-grained diagnosis of the capabilities and bottlenecks of LLMs throughout the TCS research process. (ii) Frontier research content. FormalTCS is constructed from papers accepted to FOCS, STOC, SODA, and COLT in 2025 and 2026. We additionally filter the source papers based on whether they are likely to have been previously exposed to the evaluated LLMs, thereby maintaining the timeliness of the benchmark while reducing the risk of data contamination. (iii) Realistic research theorems. FormalTCS evaluates core theorems drawn directly from real TCS papers while preserving their paper-specific definitions, assumptions, and proof dependencies. It therefore measures the ability to reason about and prove research-level results more accurately.

Table 1: The main findings revealed by FormalTCS.

FindingEvidence
Current LLMs remain far from TCS research end-to-end§4.2
Autoformalization is the sharpest bottleneck of automatic TCS research§4.2
Current LLMs struggle to generate novel and valuable claims of TCS§5

We evaluate a range of leading LLMs on FormalTCS, with the findings summarized in Table 1. Overall, current LLMs still struggle to perform end-to-end TCS research effectively, demonstrating the necessity of FormalTCS. In particular, we find that the primary bottleneck lies in translating a natural-language core claim into appropriate formal definitions and theorem statements, where the current most advanced LLMs can only achieve the performance of 11.2%11.2\%. This suggests that the mathematical modeling capabilities of current LLMs remain a major limitation for TCS research. In addition, building on FormalTCS, we develop an end-to-end TCS research framework that supports the complete pipeline from proposing a TCS core claim to producing a rigorous Lean proof. Our experiments show that existing LLMs can produce rigorous proofs for the core claims they propose themselves. However, human inspection reveals that most of these claims exhibit limited novelty, suggesting that the research taste of current models remains underdeveloped.

Our contributions can be summarized as follows:

  1. We introduce FormalTCS, a benchmark based on real research theorems for evaluating the end-to-end capabilities of LLMs in frontier TCS research.
  2. Our experiments reveal that a key bottleneck for current LLMs is translating natural-language core claims into appropriate formal definitions and theorem statements, indicating that mathematical modeling remains a major weakness of current LLMs.
  3. Building on FormalTCS, we develop an end-to-end research framework for TCS and find that the ability of current LLMs to formulate novel and meaningful research claims remains limited.

References (24)

  • case studies in llm-assisted mathematical research
  • a survey of artificial intelligence for scientific research
  • benchmarking state-of-the-art generative ai theoretical computer science research ability
  • External Links: 2602.10177, Link Cited by: §6
  • External Links: 2606.26525, Link Cited by: §1
  • tracing data contamination in large language models (opens arXiv in a new tab)
  • External Links: 2508.09603, Link Cited by: Appendix G
  • guiding formal theorem provers with informal proofs
  • a frontier model for open-source automated theorem proving
  • hardness of approximation
  • a coding agent for scientific and algorithmic discovery
  • External Links: Link Cited by: 1st item
  • External Links: 2504.21801, Link Cited by: §4.1
  • Nature 625 (7995), pp. 468–475
  • execution outcomes of LLM-generated versus human research ideas
  • External Links: 2605.22763, Link Cited by: §6
  • algorithms and complexity
  • a theory revolutionizing technology and science
  • External Links: 2602.03837, Link Cited by: §6
  • NIPS ’22, Curran Associates Inc., Red Hook, NY, USA. External Links: ISBN 9781713871088 Cited by: §6
  • theorem proving with retrieval-augmented language models
  • Membership Inference Attacks Cannot Prove That a Model was Trained on Your Data
  • scalable synthesis of theorem proving challenges in formal-informal pairs
  • toward reliable ai co-mathematicians through long-horizon lean autoformalization