Rigorously Evaluating LLM Mathematical Reasoning and Usage Cost
How should you actually evaluate whether a large language model is good at mathematical reasoning and worth its cost? This article breaks LLM evaluation into capability, delivery, and operational layers, proposes a five-tier classification of mathematical tasks, outlines six standards for checking proof quality, and explains how to separate proof generation from document writing, build a stratified task suite, and measure cost per accepted task rather than quota consumption. It offers practical guidance for individual researchers and engineering teams who need verifiable, traceable AI-generated proofs without being misled by fluent prose or abstract leaderboard rankings.
Rigorously Evaluating LLM Mathematical Reasoning and Usage Cost
Ask the Right Questions Before Judging a Model
Whether a large language model is “good” cannot be determined by how fluent its answers sound, nor by whether it happens to complete a single difficult task. For mathematical reasoning and professional document generation, three questions really matter: Can it produce correct results? Can those results withstand inspection? And how much does it cost to obtain trustworthy output?
In practice, evaluations often mix different dimensions. Some people focus on whether their remaining quota gets used up, some on whether the model can turn an unproved proposition into an English textbook chapter, and others rank models by a handful of hard problems. These experiences have reference value, but they are not enough to draw reliable conclusions.
A more sensible approach is to split evaluation into three related but non-interchangeable layers:
- Capability: understanding definitions, finding proof paths, handling boundary conditions, and discovering counterexamples.
- Delivery: organizing reasoning into complete, symbolically consistent, readable documents.
- Operations: the quota, wait time, interaction rounds, and manual review effort required to finish a task.
A model may write well yet leave gaps in critical proof steps; it may also reason strongly but respond slowly and require many retries, making it unsuitable for high-frequency production work. Evaluation should therefore start from concrete workloads, not from generic rankings.
Classify Mathematical Tasks Instead of Comparing Them All at Once
Mathematical ability is not a single metric. Computational problems, textbook proofs, professional propositions, and open research questions place markedly different demands on a model.
1. Standard Computation and Basic Derivation
These tasks usually have definite answers and low verification cost—solving equations, computing limits, performing algebraic manipulations in a bounded number of steps.
Evaluation should focus on answer accuracy, consistency of the derivation, and whether domain and applicability conditions are respected. For example, does the model check that a denominator is nonzero before dividing, or exclude extraneous solutions introduced by squaring? An answer that happens to be correct but relies on an invalid step should still be recorded as a reasoning defect.
2. Reconstructing Proofs of Known Results
Here the model must reconstruct a proof from definitions and standard theorems. This is closer to professional mathematical work than direct computation, but “no ready-made proof was provided” does not mean “no reference material exists at all.”
A model may have learned similar results, standard proof patterns, or related lemmas from training. Successfully generating a proof demonstrates some knowledge organization and reasoning ability, but that alone does not establish original research capability.
When evaluating, check whether the model finds a genuinely applicable lemma, verifies the lemma’s hypotheses, and does not simply restate the conclusion as if it justified itself.
3. Cross-Concept Synthesis
When a task involves multiple definitions, constructions, or theoretical backgrounds, the difficulty is often not any single step but the handoff between different conditions.
For example, a proof may first construct an object, then discuss its existence and uniqueness, and finally verify that it satisfies the target property. If any condition fails to carry through, later conclusions can collapse.
At this level, focus on the dependency chain: what each intermediate conclusion relies on, and whether the preceding argument has already supplied those conditions.
4. Open Research Problems
Open problems have no directly checkable reference answers. A model suggesting new ideas, generating candidate lemmas, or identifying special cases can be helpful, but none of this means the problem is solved.
Be especially wary of the false confidence created by long arguments. Research-grade conclusions should be confirmed through expert review, independent derivation, or formal verification under the applicable conditions. A model’s claim that “the proof is complete” is not evidence of verification.
The Core of Proof Quality Is Inspectability
Evaluating a mathematical proof should not stop at the final conclusion; the argument structure must also be examined. Use at least the following six standards.
1. Is the Proposition Restated Accurately?
The model should clearly state the objects, hypotheses, and conclusions, and must not quietly strengthen assumptions mid-proof. If the original proposition only requires an object to satisfy a general property, but the proof additionally assumes finiteness or invertibility, the result is merely a weaker version of the claim.
2. Are Definitions and Notation Consistent?
The same symbol should keep a single meaning throughout. The set an object belongs to, the domain and codomain of a map, and the scope of an operation should all be spelled out wherever possible.
Notation issues are not just typesetting problems. If an input to a map falls outside its domain, the corresponding expression has no valid basis to begin with.
3. Are the Lemmas Actually Applicable?
When citing standard theorems, check their full premises. A familiar-sounding name does not guarantee the current situation meets the applicability conditions.
For lemmas that cannot be confirmed, mark them “pending verification” rather than inventing a source or presenting uncertain content as established fact.
4. Are Key Steps Expanded?
Phrases like “clearly,” “it is easy to see,” and “by standard results” are acceptable for trivial steps, but cannot substitute for core arguments.
A useful test: if this sentence were deleted, could a reader independently complete the reasoning from what is already provided? If not, require the model to explain the intermediate steps.
5. Are Boundary Cases Handled?
Empty objects, zero values, degenerate cases, and non-unique choices can expose hidden assumptions. Boundary checks cannot prove overall correctness, but they effectively surface common flaws.
6. Is There Circular Reasoning?
Some proofs look formally complete, but the lemma used to support the conclusion is actually equivalent to the original claim—or even depends on it. Drawing the dependency graph makes such problems easier to spot.
A high-quality proof should therefore not merely “read plausibly”; it should let a reviewer trace the basis of every conclusion step by step.
Split Proof Generation and Document Writing into Two Stages
Asking the model to output a complete English textbook chapter in one shot does save draft-writing time, but it also forces the model to juggle proof search, logical verification, language organization, and formula typesetting simultaneously—making errors much harder to localize.
A more robust workflow solves the mathematics first, then handles the writing.
Stage 1: Produce a Reviewable Proof
A prompt template like this works well:
Restate all assumptions and conclusions of the proposition precisely, list the definitions and candidate lemmas involved, and outline the proof strategy. Then expand the proof step by step, stating which conditions each step uses. If any step cannot be confirmed, mark it explicitly—do not paper over gaps with vague wording. Finally, check boundary cases, hidden assumptions, and circular dependencies.
The goal of this stage is not a polished document but an exposed argument structure.
Stage 2: Write the Educational Material
Once the proof has been reviewed, ask the model to organize it into teaching content:
Based on the verified proof, write an English textbook section containing background, definitions, the proposition, the proof, examples, and caveats. Keep notation consistent and explain the intuition behind key steps. Do not introduce unverified conclusions; if additional lemmas are needed, flag them separately and provide their justification.
Typesetting quality and mathematical correctness should be accepted separately. If formulas render correctly, the document is usable at the presentation layer—it does not mean the proof holds. Conversely, a correct but hard-to-read proof can be improved through later editing without redoing the reasoning.
Replace Impressionistic Rankings with a Task Suite
A single success only shows the model performed well on that task; it says nothing about all areas of mathematics. The difficulty of professional tasks is also affected by problem phrasing, context length, reference material, and how users prompt.
Build a stratified task suite covering:
- Standard computation and boundary condition checks;
- Textbook-level proof reconstruction;
- Diagnosis of intentionally flawed proofs;
- Counterexample construction for false propositions;
- Multi-step arguments for professional propositions;
- Editing and rewriting of mathematical teaching material.
The suite should mix true propositions, false propositions, and propositions with missing hypotheses. Otherwise, a model can score a superficially high completion rate by “always attempting a proof” without ever demonstrating the ability to recognize defective problems.
When comparing models, keep problems, reference material, output requirements, and interaction budgets as consistent as possible, and record the difference between first answers and revised ones. An answer that needs several rounds of pointed feedback before its flaws are fixed should not be scored the same as one that passes review on the first attempt.
Scoring can be divided into correctness, completeness, verifiability, and presentation quality. Weights should be set by purpose: research assistance prioritizes correctness and risk identification; teaching material prioritizes explanation quality. In no scenario should polished prose be allowed to mask critical errors.
Quota Consumption Is Not Effective Output
“A task barely dented my monthly quota” reflects personal experience but cannot be compared out of context. Different systems use different quota definitions, input lengths, output lengths, and internal computation methods, so quota percentages are not a uniform technical metric.
A more meaningful measure is cost per accepted task:
Cost per accepted task = total input during the evaluation window ÷ number of tasks that passed acceptance.
Total input should include not only recorded API costs but also manual review, failed retries, and the workflow loss caused by waiting. If you convert time into cost, state the conversion method up front so estimates are not mistaken for precise facts.
For individual tasks, a simple record works:
Task ID:Task type:Input and reference material:Generation cost or quota consumed:Wait time:Interaction rounds:Manual review time:Critical errors found:Passed final acceptance: yes/no
Remaining quota has already been paid for, but that does not mean it must be burned through high-consumption tasks. Whether continued use is worthwhile depends on how much additional value the next unit of input delivers. Manufacturing useless output to drain a balance does nothing to improve real cost efficiency.
Queuing and Stability Determine Practical Value Too
Professional work has a continuous rhythm. Long queues, timeouts, or interrupted output break the flow of reasoning and review. Even when the model’s final answer is high quality, overall efficiency may suffer.
So recording average wait time is not enough. Track typical waits and long-tail waits as well, and distinguish queue time from actual generation time.
Task failures should also be classified:
- System failure: timeout, interruption, or inability to obtain complete output;
- Reasoning failure: wrong result or a missing key argument;
- Delivery failure: content mostly correct but violating the agreed structure;
- Acceptance failure: reliability cannot be confirmed within a reasonable review budget.
This classification points to the right fixes. System problems cannot be solved by prompt tuning, and reasoning problems cannot be papered over by faster responses.
Practical Recommendations for Developers and Research Teams
For individual researchers, position the model as a proof-draft generator, counterexample search assistant, and editing assistant for teaching material—and always keep a human confirmation step. For unsolved problems, record which parts have been verified and which are merely heuristic suggestions.
For engineering teams, separate the generation pipeline from the acceptance pipeline. Generation produces candidate results; verification checks logic, format, and task requirements. Retain inputs, versions, revision history, and acceptance decisions for important artifacts to enable traceability.
A second model can help surface problems, but its endorsement is no substitute for independent verification. Different models may share similar knowledge—and similar error patterns; multiple consistent answers may simply repeat the same mistake.
For enterprise knowledge production, additionally define the scope of permitted source material, requirements for handling sensitive information, and accountability for publication approval. Being technically able to generate a professional document does not mean its content is ready for external release.
Conclusion: Measure Models by Trustworthy Outcomes, Not Confident Sounding Answers
Rigorous evaluation of large language models must simultaneously observe task difficulty, proof correctness, document quality, review cost, and service stability. A long answer does not imply deep reasoning; a fluent write-up does not guarantee a valid proof; and rapidly burning quota does not mean equivalent value was obtained.
The most reusable evaluation method is to build a stratified task suite, keep test conditions consistent, separate proof from writing, and account for cost in terms of accepted deliverables. What ultimately matters is not where a model sits in some abstract ranking, but whether it can sustainably reduce the total effort required to obtain trustworthy results within clearly defined working boundaries.
