Evaluating LLM Mathematical Ability: Lessons from a Theorem-Proving Task

    This article outlines a practical method for evaluating large language models on mathematical reasoning: using unpublished theorem-proving tasks, scoring chain-of-thought quality, measuring token cost, and ranking models against familiar anchors. It is aimed at developers and researchers who need evaluations that reflect real reasoning rather than retrieval.

    Why mathematical ability is a stress test for large language models

    In development and research, large language models are no longer judged mainly on copy-editing or code completion. Tasks that demand long-horizon reasoning—mathematical proof among them—separate stronger models from weaker ones. A model that can prove a formal statement from scratch, without a published solution to copy, and produce a well-structured technical write-up, is likely to perform well on other complex reasoning work.

    This article is not about any specific product. It uses a real theorem-proving exercise as the setting and extracts a general evaluation method that developers and research users can reuse.

    Task design: tests with no answer to retrieve

    The main failure mode in math evaluation is using problems whose full solutions already appear in public training data. That measures retrieval and restatement, not reasoning. A more useful setup is:

    1. Take a statement from an authoritative mathematical source that gives the proposition but not a proof.
    2. Require the model to produce a proof from scratch.
    3. Require the output in a standard English lecture-note format.

    This design has three advantages:

    • Verifiable results. Mathematical correctness is objective; proofs can be checked line by line.
    • No easy copying. If no public proof exists, the model must actually reason.
    • Output as deliverable. Lecture-note formatting also tests technical writing and typesetting.

    The prompt should be short: source of the statement, proof requirements, and output format—no step-by-step hints. Low-prompt, high-demand settings expose how well a model plans its own reasoning path.

    Dimension 1: Reasoning quality and chain-of-thought shape

    Correct answers can hide very different reasoning quality. Chain-of-thought quality can be split into three observations:

    1. Conciseness. Strong models jump reasonably between key steps and do not expand obvious details. Very long traces often mean the model lacks a global plan and is only stacking local steps.
    2. Structure. A good proof states a strategy first (for example, case analysis) instead of mixing lemmas, substitutions, and checks.
    3. Self-correction. Watch whether the model backs up and changes path when stuck. Models that never reverse course are unreliable on open-ended math.

    In informal side-by-side use, models tend to fall into tiers: a small first tier that stably handles open mathematical problems with both brevity and depth; a second tier of a few models with similar ability but different styles—some closer to a mathematician’s writing, others more forceful but more verbose; a third tier that is acceptable on closed problems but, on tasks that need an original proof strategy, pads the chain of thought and is inconsistent.

    The ranking is subjective; the method is reproducible: the same unpublished statements, a fixed prompt template, and blind review.

    Dimension 2: Usage cost and value

    Mathematical reasoning is token-heavy. In one stress test near the end of a subscription period, remaining credits were spent on a few intensive proof-and-document tasks with the model in default assistant mode, and the quota was exhausted.

    Practical takeaways:

    1. Cost accounting is required for heavy reasoning. Rankings alone are not enough; estimate tokens or credits per complex task and divide capability by cost. One full proof plus lecture-note generation used about 2% of a monthly quota, which helps estimate how many heavy jobs a month can support.
    2. Queues and concurrency are hidden costs. Peak-time waiting breaks research workflows. For users who embed models in daily work, reliability should weigh at least as much as peak ability.
    3. Use remaining quota on high-return work. If credits are about to expire, concentrate them on batch documentation, code review, or technical survey summaries rather than letting them lapse.

    Dimension 3: Anchoring against models you already know

    Scoring a model in isolation lacks a reference frame. A more reliable approach is an anchor scale: pick two or three models you use often and whose strengths you know. A new model only needs to answer: where does it sit between those anchors?

    For example, a new model might sit between two familiar reasoning models on pure math, while approaching a first-tier bar on technical writing and multi-turn stability. Relative placement is subjective but more useful for selection than an absolute score, because it maps onto your own history and task mix.

    Practical advice for developers

    1. Build a private benchmark set. Collect 10–20 unpublished mathematical statements (or equally hard reasoning tasks) and retest new models regularly.
    2. Log cost. Record tokens and wall time per task to form a cost–capability curve.
    3. Separate closed and open problems. Closed items test execution; open items test strategy. The two often do not correlate.
    4. Treat formatting as a production gate. Stable, well-typeset technical documents determine whether a model can enter a real workflow.

    Closing

    Evaluating mathematical ability is largely evaluating autonomous reasoning and planning. Do not rely only on leaderboards and marketing. Unpublished tasks, measurable cost, and relative placement against familiar models are enough to build a reproducible evaluation that matches real use—and the same discipline applies to managing usage quotas.