How to Evaluate LLM Mathematical Reasoning and Cost

    A systematic evaluation of large language models should separate mathematical capability, reliability, and practical value. This article explains how to classify reasoning tasks, validate proofs, build reproducible evaluations, and measure costs per accepted result. It also outlines a staged workflow for using LLMs in proof development and technical document preparation without confusing polished output with verified reasoning.

    1. Evaluate Task Outcomes, Not Model Impressions

    When evaluating large language models for mathematical derivation, technical analysis, or long-document generation, users often fall into two traps. They may assume that completing one difficult task demonstrates broadly reliable reasoning. Or they may conclude that high costs and long response times make a model impractical.

    These judgments mix separate dimensions. The first concerns whether capability generalizes; the second concerns service efficiency and economics. A more rigorous evaluation separates three questions:

    1. Capability: Can the model complete the task under the stated conditions, with valid conclusions and reasoning?
    2. Reliability: Does it maintain quality across different problems, changes in wording, and repeated runs?
    3. Practical value: After accounting for waiting time, usage fees, and human review, does it actually reduce the workload?

    These distinctions are especially important for mathematical proofs. A proof can read fluently while failing at a critical step. A model can also reach the correct answer only after several rounds of correction, making the process no more efficient than manual work.

    The basic unit of evaluation should therefore be a task that has completed the full acceptance process, not an individual response.

    2. Classify Tasks Before Comparing Capability

    Mathematical ability is not a single metric. Different tasks place substantially different demands on a model. At minimum, distinguish the following four categories.

    2.1 Knowledge Explanation

    These tasks include explaining definitions, introducing common theorems, outlining proof strategies, and turning textbook material into accessible notes.

    They primarily test knowledge coverage and communication. They are useful for introductory tutoring and organizing reference material, but they do not independently establish strong reasoning capability. Even a complete-looking explanation requires checks for accurate definitions and omitted conditions.

    2.2 Constructing Proofs of Known Results

    When reference material states a proposition without proving it, the model must combine definitions, standard lemmas, and inference rules into an argument. This is more demanding than restating knowledge because it requires organizing separate pieces of information into a complete logical chain.

    However, the absence of a proof on a reference page does not mean that the proof has never appeared elsewhere. The model may have encountered the same result, an equivalent formulation, or a similar argument.

    Success on these tasks can demonstrate an ability to organize proofs, but it does not establish originality.

    2.3 Reasoning Under Changed Conditions

    Removing an assumption, changing the object under study, or asking for a counterexample helps test whether the model understands the relationship between conditions and conclusions.

    For example, if a proposition holds in a finite-dimensional space, will the model extend it to an infinite-dimensional space without justification? If a result depends on compactness, can the model identify where the proof fails when compactness is removed?

    These tests are often more discriminating than simply asking the model to prove a theorem, because familiar proof templates may no longer apply.

    2.4 Assistance with Open Research Problems

    Open problems have no established standard answer. A reasonable role for an LLM is to suggest candidate approaches, analyze special cases, search for possible counterexamples, and help check local arguments.

    There is a substantial gap between generating an apparently novel approach and solving an open problem. The latter requires a complete proof, independent review, and a thorough check against existing results. Without those steps, research capability should not be treated as confirmed.

    3. Core Acceptance Criteria for Mathematical Proofs

    Proof evaluation should use explicit checks rather than an overall impression of how convincing the text sounds.

    3.1 Are the Assumptions Complete?

    A proof should clearly identify the mathematical objects, constraints, and target conclusion. Relevant conditions might include whether a space is finite-dimensional, a mapping is continuous, a set is nonempty, or an operation is commutative. Such details can determine whether the proposition holds.

    A common failure is not total misunderstanding of a theorem, but the silent introduction of assumptions that the problem did not provide. Reviewers should match every assumption actually used in the proof against the original statement.

    3.2 Are the Supporting Results Accurate?

    When the model invokes a lemma, verify both its statement and its scope. A familiar theorem name is not enough to justify the reasoning that follows.

    For critical steps, ask for the full statement of the supporting result and an explanation of why the current objects satisfy its conditions. If the reference cannot be verified, return to the definitions rather than building further arguments on unchecked claims.

    3.3 Is the Logical Chain Complete?

    Phrases such as “clearly,” “it follows easily,” and “by a standard argument” are not necessarily problematic, but they can conceal gaps.

    Check whether each step follows from what precedes it, whether the argument is circular, and whether the desired conclusion has been used as an intermediate premise.

    In long proofs, pay particular attention to the transitions between lemmas. Individually correct local arguments do not guarantee a valid overall proof.

    3.4 Are Boundary Cases Addressed?

    Empty sets, zero elements, degenerate cases, nonuniqueness, and limiting processes are common sources of errors.

    For division, verify that the denominator is nonzero. For limits, verify the convergence conditions. When a proof interchanges a limit with another operation, require justification.

    Boundary-case testing both exposes errors and helps reveal whether the model understands the structure of the proposition.

    4. Evaluate Expository Quality Separately from Proof Correctness

    Turning a proof into notes in another language or a typeset mathematical document is useful, but it is a communication and organization task. It cannot replace correctness checks.

    Notes suitable for teaching or technical discussion usually need:

    • A precise proposition statement and consistent notation.
    • Necessary background definitions.
    • Explanations of key lemmas.
    • A proof developed in clear stages.
    • An intuitive account of the central idea.
    • The scope of applicability, boundary cases, and common misconceptions.

    Record logical correctness and document usability separately. A document may contain a valid proof but use inconsistent notation or a confusing structure. Another may look polished and read naturally while containing a fatal error. These dimensions need different checklists.

    A safer process is to validate the mathematics first and prepare the document afterward. If complex reasoning, language conversion, and formatting are requested simultaneously, it becomes harder to identify which layer caused an error.

    5. Build Reproducible Evaluations Instead of Relying on One Example

    Personal experience can provide useful clues, but it is not enough to support stable capability rankings. Comparable conclusions require controlled evaluation conditions.

    5.1 Build a Task Set with Multiple Categories and Difficulty Levels

    Include knowledge explanation, proof construction, modified assumptions, counterexample construction, and long-document preparation. Each category should contain multiple examples with clear acceptance criteria wherever possible.

    For mathematical tasks, start with propositions that humans can verify rather than open questions whose answers cannot be judged. Include a range of difficulty levels: tasks that are too easy will not distinguish capabilities, while tasks that are too hard may cause every candidate to fail.

    5.2 Standardize Prompts and Context

    When comparing models or configurations, use consistent problem statements, reference materials, and output requirements. Record whether external retrieval is allowed, whether additional definitions are supplied, and whether multiple revision rounds are permitted.

    If one candidate receives detailed guidance and another receives only a short problem statement, the result may reflect differences in input rather than capability.

    Fair comparisons also require the same acceptance criteria and disclosure of whether resource budgets are equal.

    5.3 Repeat Runs and Record Variability

    The same task can produce different outputs. For high-value tasks, run repeated tests and track success rates and error types instead of keeping only the best result.

    Distinguish among:

    • Success on the first attempt.
    • Success after additional guidance.
    • Success after multiple revisions.

    The latter two may still be useful, but they require more human involvement and should not be treated as equivalent to first-attempt correctness.

    5.4 Score Dimensions Separately

    Evaluate correctness, completeness, handling of conditions, ease of verification, document usability, elapsed time, and cost separately.

    For proof tasks, correctness should be an acceptance gate. Strong writing or attractive formatting cannot compensate for a critical logical error.

    Where practical, have multiple reviewers assess outputs independently and without knowing their source. This helps reduce preconceptions about particular models.

    6. Measure Cost per Accepted Result

    Account credits, subscription allowances, and per-call charges provide only partial information. Their accounting rules may differ, so they cannot directly establish which option offers better value.

    A more useful measure is the total cost of an accepted task:

    Total cost = model usage cost + failed-attempt and retry costs + human review cost + revision cost.

    For tasks with strict deadlines, separately record the total elapsed time caused by queueing, generation, and rework.

    Waiting time is not the same as active human work. If users can work on other tasks while waiting, the entire delay should not automatically be counted as labor cost. It may still affect delivery deadlines.

    For example, a proof draft generated quickly may offer little practical benefit if an expert must spend substantial time locating errors. A slower output that is easier to verify and revise may fit a production workflow better.

    Running tasks merely to consume a remaining allowance is not evidence of value. The allowance produces meaningful returns only when it becomes reusable notes, verified arguments, or actual time savings.

    7. Use a Staged Collaboration Workflow

    For complex mathematical tasks, the following process can reduce rework.

    Step 1: Formalize the Problem

    List the definitions, assumptions, target conclusion, and existing results that may be used. Resolve ambiguities before requesting a proof.

    Step 2: Generate a Proof Outline

    Ask the model to identify the intended lemmas, explain how the steps connect, and highlight the most difficult part. Assess whether the route is plausible before generating a long document.

    Step 3: Expand the Argument Section by Section

    Request complete reasoning for the critical steps and check that all required conditions hold. Verify uncertain references before continuing.

    Step 4: Review the Proof for Failure Points

    Check for missing assumptions, circular reasoning, boundary cases, and possible counterexamples.

    The model can assist with this review, but its self-check cannot replace independent verification: it may repeat the same errors that appeared in the original argument.

    Step 5: Prepare the Expository Document

    Once the core proof is confirmed, standardize notation, language, and section structure. Add background explanations and reading guidance.

    Step 6: Preserve the Evaluation Record

    Save the problem, input materials, configuration, outputs, revision history, and final acceptance result. These records make it possible to determine whether efficiency is improving consistently and support future model or workflow choices.

    8. Keep Conclusions Within the Verified Scope

    A useful evaluation does not simply declare that a model is “strong at mathematics.” It specifies which tasks the model can complete, under what input and resource conditions, and how consistently it produces acceptable results.

    For developers and technical teams, LLMs can support proof drafting, preparation of explanatory notes, local derivations, and review. Critical conclusions still require explicit verification mechanisms.

    Research claims, engineering boundary conditions, and other high-risk content should not be accepted merely because the text is confident, the derivation is long, or the formatting looks professional.

    Capability determines what a model can propose. Verification determines whether the result is trustworthy. Cost and turnaround time determine whether the model belongs in the workflow. Evaluating these separately, then making decisions from reproducible task records, is more reliable than relying on a single experience or a subjective ranking.