Theoretical Computer Science Benchmarks: Making LLM Proofs Machine-Verifiable

    Most LLM leaderboards score closed questions with known answers. This article explains why that misses research ability, and how a theoretical computer science benchmark of about 100 problems uses machine-checkable proofs, executable constructions, and deterministic grading to measure what models can actually verify.

    1. Where the gap starts: scores rise, research ability is not measured

    Over the past two years, large-model leaderboards have been refreshed roughly every two months, with score curves climbing steeply. Most of those benchmarks test closed questions: each item has a single answer, the solution path has likely appeared in training data, and scoring only compares outputs. That kind of evaluation measures pattern matching and formulaic reasoning, but it does not answer a more important question—whether a model can do research.

    The difference between research and problem solving is structural:

    • Problem solving follows a recipe: steps are given, criteria are explicit, and deviation is wrong.
    • Research has no prescribed path. Methods must be invented, and failure is normal.
    • Harder still, many research questions have answers even the problem setter does not know, so no gold solution can be prepared in advance.
    • Grading is extremely expensive: a model may emit hundreds of pages of derivation, and checking them page by page by hand is unrealistic.

    Evaluation therefore has a gap: the tasks need real research difficulty, and scoring must be automatic, objective, and cheap. A recent benchmark from a university interdisciplinary information research group and a large-model team targets that gap. Its technical approach is worth abstracting for reuse.

    2. Why theoretical computer science: proofs can be checked by a machine

    Theoretical computer science (TCS) studies computation itself: how fast a problem can be solved under given resource limits, which problems are inherently unsolvable, and how algorithm lower bounds should be characterized. It sits between mathematics and computer science, and its outputs are mainly theorems and proofs.

    An analogy: a programmer is like a driver, concerned with the engine and the interior. TCS studies traffic itself—the theoretical minimum time between two points, and which roads are impassable.

    The core reason to evaluate with TCS is verifiability of conclusions. A shared view in mathematics and formal methods is that errors in natural-language reasoning are often hard to check, while the correctness of a mathematical proof can be checked automatically by a machine. It is like Sudoku: filling the grid is hard, but scanning a completed grid shows whether it is right. Verifiability turns grading from labor-intensive review into a deterministic program run. That is what makes the whole approach scalable.

    3. Benchmark design: four task types at a scale of about 100 items

    The work builds about 100 problems in four categories, matching four everyday actions of a theoretical computer scientist. Generalized, the design looks like this:

    Task type Research action Scoring
    Concepts and definitions Read definitions and distinguish nearby concepts Exact match against a reference answer
    Constructive solving Design an algorithm or construct an instance, with analysis Run the result and check complexity
    Proof generation Write a complete proof Formal checker or structured verification
    Attempts on open problems Push on unsolved conjectures Record only whether a verifiable new conclusion is produced

    Key design choices:

    1. Difficulty must be research-level, not contest-level. Contest problems have recipes; research problems require building one’s own tools.
    2. The answer space must be decidable. The fourth category does not require solving the problem. It only requires any partial conclusion a machine can confirm, which avoids subjective scoring.
    3. Time separation between problems and training data. Prefer constructions published after the model’s training cutoff to reduce memorization leakage.
    4. Layered reporting instead of a single total score. Report the four abilities separately so it is clear whether a model can compute or can prove.

    4. Grading pipeline: replace subjective review with deterministic execution

    Grading should be a three-stage pipeline. The sketch below is pseudocode; interface names are independent of any implementation:

    1. def grade(item, response):
    2. # 1) Structural parse: extract the proof, construction, or answer body
    3. parsed = parse_response(response, schema=item.schema)
    4. if parsed is None:
    5. return Result(score=0.0, reason="unparsable")
    6. # 2) Deterministic check: formal verification first, then result comparison
    7. if item.checker == "formal":
    8. ok = formal_verify(parsed, item.theorem_stub) # type check / proof check
    9. elif item.checker == "execute":
    10. ok = run_and_compare(parsed, item.oracle, timeout=item.timeout)
    11. else:
    12. ok = exact_match(normalize(parsed), item.answer)
    13. # 3) Resource and timeout limits, so brute-force enumeration cannot buy points
    14. return Result(score=1.0 if ok else 0.0,
    15. reason="verified" if ok else "failed",
    16. cost=parsed.tokens, latency=parsed.latency)

    Engineering points:

    • Timeouts and resource caps must be set explicitly. Otherwise a model can raise its score by exhaustive search, and the benchmark loses meaning.
    • Unparseable outputs score zero, with no retry, so the score reflects real usability.
    • Keep the full trace (prompt, raw output, and check logs) so conclusions are reproducible and auditable.
    • Formal verification depends on proof assistants and formal libraries. Each problem needs a prepared theorem stub and pinned dependency versions. Version drift causes false judgments, so images should be fixed.

    5. Contamination control and difficulty calibration

    • Time split: construct problems after the training cutoff of mainstream models.
    • Rewriting and parameterization: generate variants of the same structure with new parameters so memorized answers fail.
    • Control baselines: compare retrieval-augmented and non-retrieval runs. If scores do not differ, the model is relying on memory rather than reasoning.
    • Human calibration: have domain researchers take the same set and report a human baseline, so a figure such as “the model scored 90” is not left without a reference.
    • Report mean and variance over multiple samples. A single pass rate does not show stability.

    6. How to read the results

    The most notable finding is that, on open conjectures that remain unsolved, none of the tested models independently produced a verifiable solution. That contrasts with the attention around a lab that publicly released hundreds of model-generated manuscripts, grouped into hundreds of result families and spanning more than ten fields.

    The boundary of this finding needs to be stated precisely:

    • It rejects end-to-end autonomous solution of open problems. It does not reject lemma completion inside an existing framework, case enumeration, proof drafts, or formalization transfer.
    • Verifiability cuts both ways: it makes scores trustworthy, and it leaves little room for exaggeration.
    • For engineering practice, models at this stage should be treated as research accelerators, not as the research subject. People remain responsible for choosing problems, designing approaches, and making the final judgment.

    7. Putting it into practice: build the platform with general cloud capabilities

    A self-built evaluation platform does not need a proprietary product. General categories are enough:

    • Object storage: store problem sets, model outputs, and check logs, with immutable archives by problem version.
    • Container platform: run formal checkers and execution sandboxes from fixed-version images so runs are reproducible.
    • Message queue: decouple generation, parsing, and checking, absorb bursts, and support failed-job redelivery.
    • Logging and monitoring alerts: track parse-failure rate, timeout rate, and zero-score rate. Unusual swings usually mean a problem or an image is broken.
    • Compute scheduling: separate inference load from checking load. Checking jobs are short and dense and suit elastic scaling.

    If cloud coding tools or large-model services are used for baseline comparisons, fix the prompt template, sampling parameters, and decoding settings, and archive that configuration. Otherwise results across rounds are not comparable.

    8. Limits and what comes next

    • Limited coverage: about 100 problems cannot represent the full TCS spectrum, and the distribution itself is biased.
    • High formalization cost: not every conclusion can be formalized cheaply, and theorem stubs still need human preparation.
    • Static banks: once a set is public it faces contamination, so new variants must keep being generated.
    • Directions worth exploring include process-level scoring (credit for key proof steps), multi-turn interactive research tasks, and extending verifiable evaluation to other decidable areas such as program semantics and cryptographic protocols.

    In one line: once the grading standard shifts from “does this look like the answer” to “can a machine confirm it,” discussion of large models’ research ability finally has ground that can be rechecked.