How to Evaluate Mathematical Reasoning in Large Language Models

    A reliable evaluation of mathematical reasoning in large language models requires more than checking final answers. This article explains how to design repeatable proof tasks, score reasoning quality, distinguish proof writing from lecture-note generation, and compare models while accounting for retries, usage limits, and human review costs.

    Mathematical reasoning is a demanding test of whether a large language model (LLM) can reason rather than merely produce fluent text. Definitions must be used consistently, steps must be verifiable, and conclusions must follow from the argument.

    A few difficult questions submitted with leftover subscription credits, followed by a verdict based on a single success or failure, do not provide a stable assessment. A more reliable approach is to turn “Can this model write a sound proof?” into repeatable evaluation tasks, then use a consistent rubric to record both output quality and resource consumption.

    What the Evaluation Should Answer

    An evaluation should go beyond whether an answer sounds authoritative. It should address four questions:

    1. Does the model understand the statement? It must distinguish the assumptions, the conclusion, and the established results it is allowed to use.
    2. Is the argument logically complete? Check for missing steps, circular reasoning, and assumptions that have been silently strengthened.
    3. Is the model constructing an argument or reproducing a familiar one? When no proof is supplied, determine whether the output addresses the actual problem rather than restating a similar text.
    4. What does an acceptable result cost? Track context usage, retries, and usage credits or tokens.

    An evaluation is useful for engineering decisions only when it considers correctness and cost together.

    Task Design: Require a Proof Rather Than Supply One

    Good mathematical evaluation tasks should have clear statements, support different difficulty levels, and resist answers assembled directly from retrieved source text.

    One approach is to rewrite propositions from public lecture notes or textbooks as self-contained problems. State explicitly that no proof is provided and that the model must develop its own argument. Also specify which lemmas it may use. This helps distinguish reproduction from reasoning.

    Sample tasks across difficulty levels rather than selecting only the hardest open problems:

    • Basic: Expanding definitions, applying equivalent transformations, and deriving standard bounds. These test notation and logical discipline.
    • Advanced: Selecting appropriate lemmas, handling boundary conditions, or separating cases.
    • Open-ended: Working with incomplete assumptions or conclusions whose validity or strength is uncertain. The priority is whether the model acknowledges uncertainty instead of forcing a definitive proof.

    Use a fixed prompt structure for every task:

    • The proposition to be proved.
    • Permitted prerequisite results.
    • Required output language.
    • Formatting requirements.
    • Prohibited behavior, such as fabricated references or unexplained key inequalities.

    Stable prompts make results more comparable across models and evaluation runs.

    How to Score Proof Quality

    Do not reduce evaluation to a binary correct-or-incorrect judgment. Use a five-dimensional rubric, with each dimension scored from 0 to 2, for a maximum of 10 points.

    1. Fidelity to assumptions: Does the proof introduce assumptions absent from the problem?
    2. Logical completeness: Is every key inference justified? Are quantifiers and domains handled correctly?
    3. Structural completeness: Does the response restate the goal, present the proof, and connect the conclusion back to the claim? Are relevant counterexamples or boundary cases addressed?
    4. Honesty: If the model cannot complete the proof, does it identify the obstacle rather than conceal it with vague language?
    5. Editability: Are symbols consistent and sections easy to locate for human review and revision?

    During manual review, prioritize three high-risk errors:

    • Using “obviously” at the hardest step.
    • Presenting an existence proof as a construction without actually producing the required object.
    • Citing nonexistent theorem numbers.

    Long reasoning traces do not automatically deserve higher scores. Excessive length may indicate an uncontrolled search process. Concise, verifiable arguments usually have greater engineering value. Human-like writing is a readability consideration, not a substitute for correctness.

    The following checklist can be added directly to an evaluation record:

    1. Proposition ID:
    2. Difficulty: Basic / Advanced / Open-ended
    3. Ready-made proof supplied: No
    4. Number of attempts:
    5. Additional assumptions introduced: Yes / No (list them)
    6. Locations of key logical gaps:
    7. Fabricated citations: Present / Absent
    8. Final assessment: Ready to use / Minor revision / Major rewrite / Discard
    9. Credits or tokens consumed:
    10. Human review time:

    Long Lecture Notes and Short Proofs Test Different Abilities

    Turning a proposition into lecture notes tests an additional set of skills: heading hierarchy, definitions before use, separation of examples from proofs, consistent notation, and a clear path through the material.

    A correct short proof does not guarantee good lecture notes. Fluent lecture notes do not guarantee that every mathematical step is valid.

    Evaluate these outputs separately, either through two generation tasks or two scorecards: first request only a proof, then request lecture notes. For the lecture-note task, also check:

    • Definition order: Are terms and symbols defined before use, without forcing readers to search backward?
    • Example relevance: Do examples illuminate the proposition rather than present unrelated calculations?
    • Layout readiness: Can the text be typeset as formal lecture notes, with equations and prose arranged appropriately?
    • Appropriate length: Does the length match the difficulty? Excessive detail can obscure errors, while excessive brevity can hide missing steps.

    If the intended use is educational material, include human revision cost in the overall assessment. A correct but difficult-to-review text may be less efficient overall than a slightly flawed text with a clear structure.

    Usage Limits, Queues, and Resource Strategy

    Subscription allowances and API quotas are limited resources. A common mistake is to spend remaining credits on difficult, long-output tasks without a planned evaluation. Longer queues and failed retries can increase consumption without producing reusable comparison data.

    A better strategy is to:

    • Run a short smoke test to confirm that the model follows the required format before requesting a long proof.
    • Set a retry limit and maximum output length for each problem to prevent attempts from expanding indefinitely.
    • Schedule high-value tasks when sufficient quota is available and concurrency is lower, reducing the risk of incomplete runs associated with delays.
    • Record input size, output size, and whether caching or previous conversation context was used. This helps estimate how much of the monthly allowance produces useful results.
    • When credits or a subscription period are about to expire, run an existing standard problem set rather than improvising new tasks. The spending can then contribute to comparable evaluation data.

    The relevant metric is cost per usable proof, not simply the cost of one request. An output that consumes only a small share of the monthly quota but requires hours of manual rewriting may cost far more than the usage bill suggests.

    How to Make Cross-Model Comparisons Credible

    A single impressive answer or conspicuous failure can distort a comparison. At minimum, use the same problem set, prompt template, scoring standards, and similar decoding settings. Report means and variances, not just the best attempt.

    When the sample is small, vague descriptions such as “between two common capability levels” are insufficient. Report the number of problems, the pass rate, and representative failure patterns.

    For internal selection, broad capability profiles can be more useful than rankings:

    • Basic-task reliability: The model consistently completes basic tasks, but advanced proofs require humans to supply key steps.
    • Advanced-task reliability: Most advanced arguments are complete, and the model can stop and explain uncertainty on open-ended tasks.
    • High-risk overconfidence: The model frequently presents complete but unverifiable proofs of open problems. The risk outweighs the benefit for direct use in production content workflows.

    Product formats also matter. Chat interfaces, batch-processing interfaces, and long-context interfaces can produce different experiences even when their underlying mathematical capabilities are similar. Queuing, truncation, and tool restrictions can affect results.

    Record the interface used so that interface differences are not mistaken for reasoning differences. Shorter reasoning traces and more natural prose may be reported as separate experience metrics. They should not be blended with mathematical accuracy into a single score used to claim that a model is better in every respect.

    A Practical Evaluation Workflow

    1. Build a set of 20–50 self-contained problems, labeling difficulty and whether a public proof exists.
    2. Fix the prompt template and scoring rubric. Have two reviewers check at least 20% of the samples.
    3. Start with basic tasks to calibrate scoring consistency, then proceed to advanced and open-ended tasks.
    4. Record usage consumption, retries, queue time, and human editing time alongside quality scores.
    5. Count only outputs marked Ready to use or Minor revision as usable results, and calculate the cost per usable result.
    6. Rerun the same problem set monthly to monitor changes in capability rather than replacing the entire benchmark with new trending problems.

    The purpose of mathematical reasoning evaluation is to support decisions: which tasks can be drafted automatically, which require final expert review, and which are not worth the resource cost.

    Combining task design, logical completeness, hallucination control, and cost accounting in one evaluation record turns an anecdotal model review into a reusable engineering method.