How to Evaluate LLM Mathematical Reasoning and Usage Costs
Evaluating a large language model’s mathematical reasoning requires more than judging how convincing its answers look. This article explains how to categorize mathematical tasks, verify proofs, assess lecture-note quality, build a reproducible evaluation process, and measure cost per acceptable result. It also outlines a staged workflow for keeping complex mathematical work verifiable and resource-efficient.
1. From Subjective Impressions to Reproducible Evaluation
In mathematical research and technical writing, large language models (LLMs) are often used to fill in proofs, explain abstract concepts, prepare English lecture notes, and identify gaps in derivations. Their value is straightforward: reducing time spent searching for references and drafting material leaves more time for the central arguments.
However, there is a substantial difference between an answer that looks good and a model that reliably completes a task. Long, fluent lecture notes with neatly formatted notation may conceal missing assumptions, circular reasoning, or invalid lemmas. A short answer, by contrast, may identify the essential issue and provide a sufficiently rigorous proof.
Rather than starting with a general ranking of models, an evaluation should answer three questions:
- What task will the model be asked to perform?
- How will the correctness of its output be verified?
- How much time and how many resources are needed to obtain a usable result?
These questions address task suitability, output reliability, and practical cost. A meaningful technical evaluation must consider all three.
2. Separate Mathematical Tasks by Type and Difficulty
Mathematical ability is not a single metric. Computation, proof construction, research exploration, and lecture-note writing place different demands on a model.
Definitions and Routine Computation
These tasks include explaining terminology, organizing formulas, and carrying out standard derivations. Evaluation should focus on accurate definitions, correct calculations, and explicit statements of the conditions under which formulas apply.
For example, when applying differentiation rules or interchanging summation and integration, a model should check the relevant conditions rather than apply a result based only on the form of an expression. Computational results can also be checked through an independent calculation or substitution back into the original expression.
Reconstructing Proofs of Known Results
When a reference states a proposition without providing its proof, the model must understand the assumptions, identify applicable theorems, and assemble a complete chain of reasoning. This can be more useful than explaining an existing proof, but it also exposes more opportunities for reasoning errors.
The absence of a proof on the reference page does not establish that the model derived the argument independently. It may draw on similar arguments from other sources or combine proof patterns learned during training. Users should first establish whether the output is correct. Claims about its origin or originality require additional evidence.
Proofs That Combine Multiple Topics or Fields
These tasks often require connecting several theoretical tools. A model may name the right theorem while misunderstanding its scope.
Evaluation must therefore go beyond checking theorem names. It should verify that the objects involved satisfy the required hypotheses. A step may depend on compactness, completeness, finite generation, or a particular dimension restriction. If even one necessary condition is unsupported, the subsequent argument may have no valid foundation.
Exploring Open Problems
Open-ended research requires more than generating a plausible-looking proof. It involves recognizing the limits of current knowledge, constructing counterexamples, proposing testable conjectures, and changing direction when an approach fails.
An insightful suggestion in one research discussion does not demonstrate a stable ability to solve open problems. A more defensible conclusion is that the model can support exploration, while every substantive claim still requires independent verification. Fluent presentation is not evidence that a research result is valid.
3. Evaluate Proof Quality Through Logical Completeness
A reliable proof should allow readers to trace where each step comes from, why it holds, and how it contributes to the target conclusion.
Check That All Assumptions Are Preserved
A model may silently replace a general proposition with an easier special case. For example, the original problem may impose only a weak condition, while the proof assumes a stronger property.
The first review step is therefore not to assess the elegance of the derivation, but to compare the original assumptions with every condition used in the proof. Any added assumption must be stated explicitly. If it cannot be derived from the original hypotheses, the response has not proved the original proposition.
Verify That Cited Results Apply
Phrases such as “by a standard theorem” often mark the steps that need the closest scrutiny.
A reliable answer should explain the cited result, its hypotheses, and why the current objects satisfy them. If the model cannot confirm a source, it should state that uncertainty rather than generate a precise-looking citation that cannot be verified.
The number of citations is not a quality metric. One necessary, applicable lemma is more valuable than several unverified theorem names.
Check the Connections Between Steps
Some proofs fail not within individual steps but in the links between them. A model may construct a map without proving that it is independent of the choices made, define local objects without showing that they can be glued together, or prove existence while omitting the required uniqueness argument.
A useful review structure is:
- Derive an intermediate object from the assumptions.
- Prove that the object has the required properties.
- Use those properties to establish the next conclusion.
- Return to the original proposition and verify that the full target has been covered.
If any connection is missing, the proof remains incomplete.
Address Boundary Cases
Empty objects, zero spaces, degenerate cases, and extreme parameter values can reveal hidden assumptions.
Not every set of lecture notes needs an extended discussion of boundary cases. However, cases that affect the conclusion must be handled. Including boundary-case variants in an evaluation set also helps distinguish genuine sensitivity to assumptions from mechanical reuse of proof templates.
4. Assess Expository Quality Separately from Mathematical Correctness
Turning a proof into English lecture notes is a compound task. The reasoning must be valid, and the presentation must support learning.
Good lecture notes typically:
- Introduce notation and necessary background first.
- Clearly distinguish propositions, lemmas, proofs, and explanatory remarks.
- Explain the overall strategy before presenting the formal proof.
- Develop the key steps in sufficient detail.
- Avoid undefined symbols and inconsistent terminology.
- Highlight assumptions that readers might overlook.
Fluent writing cannot substitute for mathematical correctness. These dimensions should be evaluated separately: first establish that the proof is valid, then assess its structure, English expression, and mathematical formatting.
If the output is a source document for mathematical typesetting, also check that its structure is complete, its notation is consistent, and the final document can be generated successfully. Successful compilation establishes basic formatting usability, not the correctness of the mathematics.
5. Build a Small, Reproducible Evaluation Process
Individuals and teams do not necessarily need a complex evaluation system. Consistent tasks, execution conditions, and review criteria can already produce more reliable conclusions than impression-based rankings.
Build a Representative Task Set
The task set should reflect actual work rather than include only problems on which the model is likely to succeed. Useful categories include:
- Standard proof problems to establish a baseline.
- Propositions supplied without proofs to assess proof reconstruction.
- Problems with similar assumptions but different conclusions to test sensitivity to conditions.
- False propositions or statements missing essential hypotheses to test counterexample awareness.
- Lecture-note preparation tasks to assess deliverable quality.
False propositions are particularly important. A reliable model should not comply unconditionally with a request to “prove” a statement. When necessary, it should explain why the claim is false and offer a counterexample or a corrected formulation.
Keep Inputs and Execution Conditions Consistent
Comparisons should use consistent problem statements, background materials, output requirements, permitted tools, and numbers of attempts.
An answer improved through multiple rounds of prompting cannot be directly compared with a single-attempt answer. For long tasks, record timeouts, truncation, and interruptions, since these affect whether the model can deliver usable work.
Use Separate Review Dimensions
Performance can be recorded across five dimensions:
- Correctness: Are there substantive errors that affect the conclusion?
- Completeness: Does the answer cover all assumptions and objectives?
- Verifiability: Are the key steps easy to inspect?
- Presentation quality: Are the notation, structure, and language clear?
- Stability: Are results consistent across repeated runs or changes in wording?
An aggregate score must not conceal a serious error. If the central argument is invalid, strong formatting and writing scores do not make the result ready for use.
Retain Failure Cases
Failure records are often more useful than screenshots of successful answers. Record the error type, its location, whether the model corrected it when challenged, and whether the correction introduced new problems.
Over time, these records help teams identify which tasks are suitable for model-generated drafts and which require expert-led work.
6. Measure Cost per Acceptable Result, Not Just Usage Consumption
Users often focus on how much allowance or credit a task consumes. That is only part of the cost. Queuing, generation, review, revision, and failed retries all affect practical efficiency.
A more useful metric is:
Cost per acceptable result = Total resources consumed ÷ Number of results that pass acceptance review
If a model generates ten sets of lecture notes but only a few pass review, a low cost per call does not necessarily mean good overall economics.
A practical cost estimate is:
Total cost = Model invocation fees + Review labor cost + Revision labor cost + Failed-retry cost
Labor costs must be estimated for the individual or team involved; they are not a universal billing rule. Waiting time should also be recorded. If waiting overlaps with other productive work, it should not all be counted as active labor time, though it still affects turnaround time.
For credits or subscription allowances nearing expiration, prioritize reusable work, such as organizing knowledge notes, checking existing proofs, or building an evaluation task set. Generating long text merely to consume an allowance does not ensure that the resources produce value.
7. Use a Staged Workflow Instead of One Long Prompt
For complex proofs, a four-stage workflow makes quality easier to control.
Stage 1: Confirm the Proposition and Its Conditions
Ask the model to restate the assumptions, target conclusion, and key definitions, and to identify potentially missing conditions.
Do not request the full proof yet. This avoids spending more resources on an incorrect interpretation of the problem.
Stage 2: Propose Proof Strategies
Ask for several possible approaches, the lemmas each one depends on, and the points at which each approach is most likely to fail.
After reviewing the proposed routes, choose one for detailed development.
Stage 3: Generate and Verify the Proof
Request a step-by-step derivation with justification for nonstandard claims. Conduct an independent review focused on mismatched assumptions, circular reasoning, undefined objects, and missing links between steps.
The model’s self-review can provide useful clues, but it cannot replace external verification. Asking the same model repeatedly does not automatically produce independent evidence.
Stage 4: Prepare the Lecture Notes
Once the proof has passed review, rewrite and format it as English lecture notes. Check that the editing process has not changed the mathematical meaning.
A neutral prompt template is:
First, check all assumptions and the target conclusion of the proposition. If essential conditions are missing, identify the issue and try to provide a counterexample. If the proposition is valid, explain the proof strategy and the lemmas it relies on before developing the proof step by step. Explicitly mark any steps you cannot verify, and do not fabricate citations. Finally, organize the result into English lecture notes with consistent notation and a clear structure.
8. Conclusion: Reliable Task Completion Is What Matters
A single impressive answer, a long response, or low usage consumption should not be treated as evidence of overall superiority in mathematical reasoning.
For developers and researchers, the more important questions are whether the model suits the task, preserves every necessary condition, produces verifiable output, and reduces the human effort required to obtain a reliable result.
Combining task categorization, proof review, document checks, and cost accounting turns subjective experience into an actionable evaluation method. LLMs can help explore ideas, generate drafts, and organize lecture notes. In demanding mathematical work, however, trust ultimately rests on traceable arguments, independent verification, and clearly defined responsibility.
