How to Scientifically Evaluate LLM Mathematical Reasoning and Usage Cost
Evaluating a large language model for mathematical work requires more than asking whether it is "smart." This article presents a structured framework for assessing LLM mathematical reasoning across distinct capability layers—definition understanding, proof construction, presentation, and uncertainty handling—and explains how to separate evaluation of known propositions from open problems. It also covers building reproducible evaluation pipelines, designing prompts that support verification, modeling the true cost of model usage including review and rework time, and avoiding low-value work driven by unused quotas. Readers will learn how to convert occasional positive experiences into reliable, auditable workflows with clear task boundaries and cost accounting.
1. Start by Defining What the Model Should Do for You
Evaluating a large language model should never be reduced to asking “how strong is it?” The right questions are: on which types of tasks can it reliably deliver acceptable results, at what cost, and which risks must be borne by the user.
In mathematical and technical writing scenarios, users typically want a model to do three kinds of work: completing proofs that source materials leave out, organizing scattered derivations into structured lecture notes, and assisting with the exploration of unsolved problems. Although all three involve mathematical reasoning, the capability demands they place on the model differ substantially.
Completing the proof of a known proposition hinges on correctly identifying the hypotheses, invoking applicable results, and building a complete logical chain. Organizing lecture notes additionally requires consistent notation, a sensible narrative order, and explanations of key steps appropriate to the reader’s background. Exploring open problems involves handling unknown conclusions: the model must neither presuppose an answer nor present plausible conjectures as established facts.
A polished set of lecture notes demonstrates some organizational and expressive ability, but it does not prove the model can do original mathematical research. Conversely, a single failed response is not a summary of performance across all tasks. Professional evaluation must analyze task type, verification method, and resource constraints within a single framework.
2. Decompose Mathematical Ability into Checkable Layers
1. Understanding definitions: does the model grasp the boundaries of a statement?
The first step in mathematical reasoning is not computation but confirming the objects and conditions involved. The model must correctly understand every concept and distinguish necessary conditions, sufficient conditions, and the scope in which a conclusion holds.
For example, an intuition valid in finite-dimensional spaces does not automatically extend to infinite-dimensional ones, and a result that relies on compactness cannot be applied when compactness is missing. A model that ignores such distinctions may produce proofs that are locally fluent but globally invalid.
To test this layer, ask the model to first list the definitions, hypotheses, and the statement to be proven, then explain which conditions are likely to play a role. Asking “does the statement still hold if we remove a certain hypothesis?” often exposes gaps in understanding more effectively than asking for a repeated proof.
2. Proof construction: is there a closed logical chain?
A proof is not a concatenation of individually correct sentences. Every step must follow from the given conditions, prior conclusions, or permitted theorems, and the final result must match the proposition exactly.
Common failure patterns include:
- Restating the target conclusion in different words and using it as a premise;
- Applying a theorem without checking its preconditions;
- Jumping from a locally valid claim to a globally valid one;
- Proving a weaker result while claiming the original proposition is done;
- Using “clearly” or “obviously” to mask a missing argument at a critical point.
Evaluation should focus on these weak points rather than on proof length, terminology density, or professional-looking formatting.
3. Presentation: is the output suitable for human reading and review?
Mathematical lecture notes must not only be correct; readers should understand why a particular proof route was chosen. Good output includes problem background, notation conventions, key lemmas, proof structure, and necessary explanations.
However, presentation quality and correctness should be scored separately. A well-written, neatly formatted piece may still contain errors, while a terse derivation may be entirely correct. Conflating the two biases evaluation toward answers that merely “look like an expert wrote them.”
4. Handling uncertainty: does the model know when not to conclude?
When facing a difficult problem, reliable behavior is not always producing a complete answer, but accurately distinguishing proven conclusions, reasonable conjectures, and incomplete steps.
If a lemma remains unproven, the output should clearly identify the gap and explain why it matters. Unverifiable references should retain their uncertainty rather than being fabricated. An answer that exposes its own boundaries is usually more practically valuable than one that conceals gaps.
3. A Missing Proof in the Source Does Not Imply Originality
When a mathematical text states a proposition without a proof and the model fills in a complete derivation, this can genuinely reduce the cost of learning and writing. But the phenomenon itself says nothing about whether the proof is original.
The relevant argument may already exist in other textbooks, papers, or course materials, or may be a direct corollary of a standard result. Whether the generation process involved recombining known knowledge, transferring a familiar proof pattern, or something more exploratory usually cannot be determined from the output text alone.
A more robust evaluation targets the result itself:
- Is the derivation correct?
- Does it rely on undeclared conclusions?
- Are the results it uses verifiable?
- Does it fill in the key steps the source omitted?
- Is it usable and understandable for the intended audience?
For developers and researchers, these questions yield more reproducible judgments than “did the model come up with it on its own,” and they connect more directly to practical value.
4. Known Propositions and Open Problems Must Be Evaluated Separately
Known propositions have a clear correctness target and can be verified against standard proofs, independent derivations, or expert review. Open problems are different: even if the model produces a lengthy proof, this alone does not establish that the problem has been solved.
In open-problem scenarios, more meaningful metrics include whether the model can accurately delineate the problem, identify relevant tools, analyze special cases, search for potential counterexamples, and point out genuine obstacles along existing approaches.
For instance, when a statement cannot be solved directly, the model might study low-dimensional cases, restricted versions, or necessary conditions for the conclusion to hold. Such results may not constitute a breakthrough, but they can still offer research value.
For this reason, sweeping “math ability leaderboards” built from a handful of anecdotal cases should be avoided. Different models may excel respectively at standard proofs, long-form organization, symbolic computation, or exploratory analysis, and rankings may shift with task distribution, prompting style, and review criteria.
5. Build a Reproducible Evaluation Pipeline
1. Construct test sets by task type
A test set should cover at least the following categories:
- Definition explanation and concept discrimination;
- Proofs of standard propositions;
- Completion of omitted proofs;
- Diagnosis of flawed proofs;
- Counterexample analysis after modifying conditions;
- Long-form mathematical lecture note generation;
- Analysis of exploratory questions.
Flawed-proof diagnosis is particularly important: it tests whether the model actually checks the reasoning instead of simply continuing the input. Counterexample tasks test boundary awareness and prevent “attempt a proof” from being the model’s only operating mode.
Test problems should span difficulty levels and lengths, and should not cherry-pick cases where the model easily succeeds. Where necessary, apply structural variations to familiar propositions to reduce the influence of reciting existing proofs.
2. Fix the comparison conditions
When comparing models or configurations, keep the problems, prompt requirements, tool permissions, output language, and time budget consistent. If one system can retrieve external material while another relies only on its internal knowledge, the difference in results cannot be interpreted as a pure difference in reasoning ability.
Record generation parameter settings where configurable; where they cannot be controlled, note the limitation. For important tasks, run multiple independent trials so that occasional successes or failures are not mistaken for stable capability.
3. Separate scoring dimensions
Record correctness, completeness, verifiability, presentation quality, response time, and resource consumption separately rather than compressing everything into a single score.
Correctness should take priority. A substantively wrong proof cannot be offset by elegant writing or faster speed. For lecture note tasks, also check whether notation is consistent, whether hypotheses stay consistent throughout, and whether later sections rely on conclusions that were never established earlier.
For human review, mask the model’s identity before grading to reduce the influence of prior impressions. For disputed cases, record the exact location of the error rather than leaving only a vague verdict such as “average performance.”
6. Prompt Design Should Serve Verification, Not Just Generation
Simply asking the model to “prove this proposition and write it up as lecture notes” tends to mix multiple goals. A more effective approach splits the work into stages.
The first stage asks the model to restate the proposition and list the hypotheses, notation, and permitted results. The second stage requires a concise proof skeleton with key lemmas flagged. The third stage expands the proof while checking each condition item by item. Only then is the result organized into reader-facing lecture notes.
A general-purpose prompt structure looks like this:
First, restate the proposition accurately and state all hypotheses explicitly. Then provide a proof skeleton listing the lemmas required and their preconditions. Supply independently checkable arguments for key steps. If any step cannot be completed, identify the gap explicitly and do not present conjecture as conclusion. Once the proof has been verified, organize it into clearly structured lecture notes with consistent notation.
The goal is a reviewable proof artifact, not longer reasoning text. Greater length may simply reflect repeated explanations, abandoned proof routes, or notation redundancy, and does not automatically bring higher reliability.
For long lecture notes, maintain a symbol table and a list of confirmed results and attach them when generating each section to reduce context drift.
7. Count Quotas, Waiting Time, and Human Review as Real Costs
The cost of using a model is not limited to subscription or API fees. It also includes the time consumed by queueing, rework, and manual verification.
A simplified task cost model can be written as:
Total task cost = API/spend cost + review hours × personnel rate + rework hours × personnel rate + additional cost from waiting and failures.
Waiting cost is not necessarily linear in time. For non-urgent tasks, queueing may be merely an inconvenience; for fast-turnaround deliverables, it can block downstream work.
Also note that “this lecture note consumed a small share of the monthly quota” only describes the resource footprint of that single task and says nothing about all mathematical tasks. Input length, output length, retry count, and the service’s own metering rules can all change actual consumption. Without standardized conditions, credit or quota ratios across different systems should not be compared directly.
A more meaningful metric is cost per usable result: how many resources are required to obtain a proof or lecture note that has passed review and meets delivery requirements. A cheap first draft that demands heavy rework may be a worse deal than a pricier call that produces more stable results.
8. Do Not Manufacture Low-Value Work to Burn Through Remaining Quota
When a subscription is about to expire with plenty of quota left, users often feel they “must use it up to avoid losing out.” But fees already paid are sunk costs; subsequent tasks should still be judged by their incremental value.
Generating a pile of unneeded lecture notes just to consume quota increases review burden and crowds out more valuable work. The sensible approach is to pick tasks with genuine demand: completing proofs awaiting write-up, unifying notation across course materials, checking historical drafts for logical gaps, or summarizing common errors and their fixes.
A tiered approach also works: run low-cost pipelines for definition cleanup and structural organization, and reserve stricter reasoning and review for key proofs. The point of tiering is not to lower quality across the board, but to concentrate resources where errors are most likely and most costly.
9. From Personal Impressions to Reliable Conclusions
The end product of professional evaluation should be a “scope of applicability” statement rather than blanket praise or dismissal.
That statement should answer: which tasks the model can draft independently; which require step-by-step review; which are suitable only for idea generation; and under what resource and time constraints using it still pays off.
For known mathematical propositions, models can handle proof drafting, material organization, and lecture note writing, but key arguments must still be verified. For open problems, models are better suited to assisting exploration, mapping approaches, and testing local ideas—unverified output should never be treated as a research conclusion.
The core of evaluating a large language model is not whose answer is longer or whose tone is more confident, but who can consistently deliver correct, checkable, usable results within clearly defined task boundaries at an acceptable cost. Establishing task tiering, independent verification, and cost tracking is what turns occasional good experiences into a reliable workflow.
