How Theoretical Computer Science Evaluates the Research Capabilities of Large Language Models
As large language models (LLMs) demonstrate impressive performance on standardized tests and coding challenges, it is tempting to equate "solving problems" with "conducting research." However, theoretical computer science (TCS) offers a more rigorous evaluation framework by leveraging formal verification. This article explores how TCS-based benchmarks assess true research capabilities, from reproducing known results to tackling open conjectures. It details the methodology for designing machine-verifiable evaluations, the unique advantages of formal proofs in mathematics and CS, and the implications for software engineering, evaluation ecosystems, and talent development.
Theoretical Computer Science (TCS) studies the boundaries of computation itself: which problems can be efficiently solved, what the optimal cost is, and which approaches are fundamentally impossible. It complements engineering: engineering focuses on how to build systems, while theory focuses on feasibility, complexity, and provable guarantees. In recent years, LLMs have seen rapid score increases in code generation, competitive programming, and standardized exams, making it easy for outsiders to equate “answering questions” with “doing research.” The difference is significant. Answering questions usually involves established steps and standard answers; research has no fixed recipe, the problem itself may not have a complete solution, and even the problem setter may not hold the final proof.
Therefore, an evaluation closer to daily scientific research that can still be objectively graded is needed. TCS happens to possess a key property: a large number of conclusions can be formalized, and proofs can be machine-checked for validity. This reduces the risk of “models claiming to solve hard problems that humans struggle to verify,” making the evaluation both difficult and credible.
Why Existing Leaderboards Fail to Reflect Research Proficiency
Common capability leaderboards mostly cover multiple-choice questions, fill-in-the-blanks, short proofs, or programming competitions. They can show whether a model has mastered textbook-level techniques or can reproduce known derivations under prompts, but they struggle to answer: Can the model propose correct lemmas, identify counterexamples, and provide verifiable new arguments on open problems? The research process also includes topic selection, abstraction, eliminating wrong paths, and writing intuitions into rigorous proofs. If questions are too close to textbooks, the model might just be fitting the question types in its training data; if questions are too open and cannot be automatically graded, scores become incomparable and irreproducible.
A pragmatic principle is to create questions that “look like real research but can be machine-graded.” The more open a question resembles scientific research, the higher the cost and subjectivity of manual grading; in TCS, many statements can be encoded as theorems in formal systems, and proof checkers only accept logically closed derivations. Thus, without sacrificing difficulty, correctness can shift from “looking like a paper” to “whether the proof passes verification.”
What Full-Domain Theoretical Evaluation Assesses
A full-domain theoretical evaluation for frontier models usually covers the main types of work in a theoretical computer scientist’s daily routine, rather than just score-grinding in a single sub-direction. A question bank can be designed with about a hundred questions divided into four task categories, corresponding to: reading and reproducing known results, completing key lemmas within a known framework, constructing counterexamples or compactness arguments, and exploratory proof attempts for long-term open problems. Each category should clearly define inputs (definitions, known theorems, allowed axioms, and inference rules) and outputs (formal statements plus proof scripts or structured proof trees), with specified timeouts, proof lengths, and allowed auxiliary lemma ranges, to prevent models from scoring by vaguely “telling stories” in natural language.
The first category leans toward “literature-level understanding”: given standard definitions and classic theorems, the model is asked to fill proof gaps or rewrite informal proofs into checkable forms. This examines symbolic discipline and local correctness, not creativity. The second category is a “routine research slice”: the problem has a recognized conjecture or incomplete textbook steps, the answer is known in the expert community, but the model still needs multi-step combination. The third category emphasizes negative results: given a seemingly reasonable algorithm or bound, the model must construct a counterexample or prove the non-existence of a certain type of reduction. The fourth category is closest to open research: long-term unsolved problems, where the model is allowed to provide partial progress (special cases with stronger conditions, new obstacle arguments), but whether it is ultimately “solved” must be based on a machine-verifiable complete proof.
The significance of this stratification is: if a model scores high on the first two categories but collapses on the latter two, its advantage remains pattern matching and short-range reasoning; if a new proof passes verification in the fourth category, only then can we talk about a qualitative change in research capability. A sober conclusion from public evaluation reports is that for those still-unsolved open conjectures, tested frontier models failed to independently provide verifiable complete solutions. This does not negate the model’s value in assisting retrieval, rewriting proof drafts, or checking local loopholes, but it makes clear that “automatically solving open conjectures” is currently not a reality.
Verifiability: The Unique Condition of Math and Theoretical CS
Some argue that generative models in many domains produce hard-to-verify errors, while mathematics and theoretical computer science are relatively special: whether a proof is right or wrong can, in principle, be handed over to machines. This is similar to checking if the rules are satisfied after completing a Sudoku—solving is hard, but verification can be mechanized. Therefore, anchoring evaluation on checkable proofs is more robust than anchoring it on fluent academic prose. In practice, caution is still needed: formalization itself has costs, and definition encoding, library selection, and the tactic language of proof assistants will affect difficulty; evaluations should publicize formal specifications to avoid mistaking “knowing the syntax of a certain library” for “understanding the theorem.”
For engineering readers, verifiability also brings R&D process insights. Critical invariants, protocol security, and the correctness of compiler optimizations in complex systems can similarly be partially formalized. LLMs are suitable for generating candidate proofs and counterexamples, but final adoption should still go through automated checking or rigorous review. Cloud object storage, container platforms, logging, and monitoring can be used to save formal artifacts, reproduce checking pipelines, and audit failure cases, turning evaluation from a one-time score into a sustainable regression suite. This only involves general cloud capabilities and does not depend on a specific vendor’s proprietary interfaces.
Methodological Key Points for Test Design and Grading
When designing such tests, several principles are recommended. First, coverage: complexity, algorithms, provable security in cryptography, learning theory, and impossibility results in distributed and concurrent systems, avoiding testing only a single hot direction. Second, leakage control: question statements should be newly combined as much as possible to reduce the chance of direct hits from web originals; simultaneously, some samples should be public for reproducibility. Third, grading granularity: in addition to pass/fail, record whether lemmas hold, where type errors occur, and whether undeclared axioms are introduced. Fourth, human-machine division of labor: for open problems, allow humans to set standards for “acceptable partial results,” but these must be written clearly in advance and not relaxed post-hoc based on model outputs.
For users, a reasonable expectation is to treat the model as a research assistant—accelerating formalization, searching for similar lemmas, checking algebraic calculations—rather than taking unverified natural language proofs directly as theorems. Teams can internally use the same set of theoretical questions to regression-test new model versions, observing whether improvements only occur on short proofs while long-range open questions remain at zero.
Implications for R&D and Talent Development
For algorithm and system R&D, theoretical evaluation reminds us: rising benchmark scores do not automatically mean correctness on critical paths is established. We need to identify the “provable parts” from business logic and back them up with types, invariants, and checkers. For talent development, the four task categories correspond to reading papers, completing proofs, finding counterexamples, and tackling open problems, which can serve as a seminar exercise framework: first require handwritten outlines, then try machine checking, and compare the structural differences between model drafts and human proofs.
For the evaluation ecosystem, we should reduce promoting “scientific breakthroughs” based solely on unverifiable open generation, and adopt more reproducible, checkable protocols. The collective failure on open conjectures actually gives mathematicians and theorists a sigh of relief: automated problem solving has not yet replaced proofs, and machine verification remains the quality threshold. In the future, if new verified results emerge, they should be independently reproduced and proof objects made public, rather than stopping at leaderboard numbers.
In summary, the value of full-domain theoretical computer science evaluation lies not in creating another score-grinding leaderboard, but in breaking down research capabilities into observable, verifiable behaviors and honestly reporting the upper limits on open problems. Distinguishing between answering questions and conducting research, and submitting proofs to machine checks, is a more professional starting point for current discussions on the scientific research potential of large models.
