How to Systematically Evaluate LLM Math Reasoning and Task Cost
Evaluating large language models on math tasks requires more than admiring a few impressive proofs. This article breaks evaluation into four verifiable dimensions—accuracy, stability, verifiability, and cost per qualified task—and provides a practical framework: layering math tasks by difficulty, auditing proofs for logical gaps, scoring document generation separately from proof quality, measuring cost against accepted deliverables, and building a reproducible testing pipeline under limited budgets.
1. Turn “Is the Model Good?” into Verifiable Questions
When evaluating large language models, users often encounter two seemingly contradictory experiences: one model can prove complex mathematical propositions and produce well-structured lecture notes, while another consumes a large share of quota on a single task—compounded by queueing and rework—until it becomes hard to use consistently.
These experiences are not actually contradictory; they correspond to different evaluation dimensions. The first concerns reasoning quality and content organization, while the second concerns cost, latency, and service availability. A model that excels on one difficult problem is not necessarily suited for high-frequency work; conversely, a fast, inexpensive model may be unable to handle serious proof tasks.
So the more valuable question is not “which model is absolutely stronger,” but rather:
- For a given task, how often does the model produce a correct result?
- How much human review and editing does a correct result require?
- How long does it take from submitting a request to receiving a usable deliverable?
- What is the actual cost of completing one qualified task?
- Is the model stable across multiple runs under identical conditions?
Only by separating these questions can evaluation results help developers make practical choices.
2. Math Capability Must Be Layered
The difficulty of a math task is not determined solely by formula length—it also depends on knowledge dependencies, reasoning depth, and whether an established solution path already exists.
1. Routine Computation and Standard Problem Solving
These tasks usually have clear inputs, well-known methods, and easily checked results—for example, algebraic simplification, differentiation, or solving finite-dimensional linear systems.
Evaluation should focus on result accuracy, edge cases, and whether the model misapplies computation rules. A concise, correct solution is often more valuable than a long, elaborate analysis.
However, good performance on this tier only shows the model has mastered some standard methods; it does not imply strong proof ability.
2. Proof Completion for Known Results
When reference material states a proposition but omits its proof, the model must identify the relevant definitions and theorems and then construct a complete derivation. This is more challenging than restating an answer, but it is still a derivation of a known result.
One important distinction: the fact that a particular document omits a proof does not mean the proposition has never been proved, nor that the model’s derivation is genuinely novel. The argument may exist in other textbooks, papers, or equivalent formulations.
Evaluation should therefore focus on whether the proof is correct, dependencies are explicit, and the argument is complete—not on concluding from a missing proof in the reference page that the model possesses original research capability.
3. Long-Chain Arguments Across Domains
Some tasks require invoking multiple knowledge systems simultaneously. For example, a proof may connect algebraic structures, topological properties, and local constructions.
The risks in such tasks usually arise at the interfaces: Can a result from one domain be applied under another domain’s conditions? Does a local property extend to the whole? Does a construction satisfy the required existence and uniqueness?
Evaluation should break long proofs into independent propositions and check them segment by segment, rather than only verifying whether the final conclusion matches expectations.
4. Open Problems and Research Exploration
Research exploration differs fundamentally from standard proof work. A model may propose inspiring conjectures, constructions, or proof directions, but “producing a complete write-up” is not the same as “solving an open problem.”
For research-oriented output, you must verify the precise problem statement, known progress, genuinely new steps in the derivation, and whether counterexamples or hidden assumptions exist. For major claims, independent review by someone with relevant domain expertise is essential.
The safest positioning for this tier: treat the model as an exploration assistant, not as an unverified final arbiter.
3. Proof Evaluation: From Fluent Text to Logic Audits
Mathematical proofs are linguistically seductive. Correct terminology, complete structure, and a natural conclusion can all mislead readers into assuming the argument holds. Reliable checking must cover the following stages.
1. Fix the Proposition and Assumptions First
Test inputs should include the full proposition, symbol definitions, and applicable conditions. Do not provide only an isolated conclusion and let the model guess the context.
In particular, make explicit:
- What category the objects belong to;
- Whether finiteness, compactness, continuity, or similar conditions hold;
- The order of quantifiers in the conclusion;
- Whether special or degenerate cases exist;
- Which prior theorems are allowed.
Omitted assumptions cause two problems: the model may prove a different proposition, or it may silently introduce conditions not present in the original problem.
2. Check Every Theorem Invocation
A common model error is not failing to know a theorem, but applying it when its conditions are not met—for example, extending a result that holds only in finite dimensions to arbitrary spaces, or treating a construction requiring specific conditions as unconditional.
Every time an important theorem is invoked, check three things:
- Does the theorem’s actual statement match how it is described?
- Does the current object satisfy all premises?
- Is the resulting conclusion sufficient to support the next step?
If any of these is missing, mark the step as pending verification rather than accepting it because of confident phrasing.
3. Detect Circular Reasoning and Smuggled Conclusions
Some proofs restate the target conclusion in different words and then use it as an intermediate step. For example, a proof might aim to show a map has a certain property while implicitly assuming that same property during construction.
An effective check is to build a dependency map for the proof: which premises and prior steps does each conclusion rely on? If a step depends directly or indirectly on the final conclusion, circularity is likely.
For long proofs, a dependency table usually exposes problems faster than repeatedly rereading the full text.
4. Stress-Test with Counterexamples and Edge Cases
When a model claims a conclusion holds under broad conditions, ask it to analyze the minimal scale, degenerate objects, and what happens when a specific assumption is removed.
This yields two benefits: it may directly surface a counterexample, and it helps confirm exactly which step of the proof depends on a given assumption.
Note that passing small-scale checks provides only limited support and cannot replace a general proof; another model’s agreement also does not, on its own, constitute evidence of correctness.
4. Score Lecture Note Generation Separately from Proof Quality
An English mathematical lecture note typically contains proofs, terminology translation, structural organization, and mathematical typesetting all at once. These capabilities should be evaluated separately—otherwise, polished formatting can mask reasoning flaws.
A two-stage workflow is recommended.
Stage one handles only the mathematical content: fix the proposition, list dependencies, generate proof drafts, and complete necessary verification.
Stage two handles the deliverable format: unify notation, adjust section ordering, add background explanations, polish English expression, and generate typesetting source code that meets requirements.
This prevents spending a large budget on a proof that has not yet been established, and reduces the risk of format edits unintentionally rewriting mathematical content.
Acceptance of lecture notes should include at least two checklists:
Math checklist: Accurate proposition statements, complete assumptions, valid derivations, consistent notation, and no omitted key steps.
Presentation checklist: Consistent terminology, clear section hierarchy, correct formula cross-references, necessary background for the target audience, and source code that complies with delivery requirements.
“Being able to generate a document smoothly” and “the proofs in that document are valid” are two different things.
5. Evaluate Cost by Qualified Output, Not Consumption Speed
A rapidly shrinking quota does not indicate a strong model. Long outputs, multiple revision rounds, repeated submissions, or complex tasks all increase consumption without necessarily improving accuracy.
Likewise, a task that consumes only a small fraction of the monthly quota does not prove the model is generally economical. Different services use different quota definitions, input and output lengths, and billing schemes, so single-run proportions are rarely comparable across scenarios.
A more useful metric is:
Average cost per qualified task = total actual cost during the test period ÷ number of tasks passing acceptance.
Total actual cost should be defined according to your use case and may include model invocation fees, human verification time, revision time, and consumption from failed tasks. If the number of qualified tasks is zero, the configuration should not be recorded as low-cost—it should be judged as not yet meeting usability requirements.
Additionally, track end-to-end time separately:
End-to-end time = queueing time + generation time + human review time + rework time.
For interactive work, queueing directly affects efficiency; for offline batch processing, longer waits may be acceptable as long as deadlines are met. Cost and latency must therefore be evaluated within the actual workflow.
6. Build a Reproducible Testing Process
Ranking models based on a few highlight cases is easily distorted by question selection, prompting style, and output randomness. Developers should establish a fixed, small test set and gradually expand coverage.
1. Build a Layered Question Bank
The question bank can include routine computation, proof completion, assumption analysis, counterexample construction, and lecture note organization. Each question should record:
- The complete input;
- The expected conclusion or acceptance criteria;
- Key steps that must appear;
- Known common errors;
- Whether external references are allowed.
The bank should include both tasks with a high success likelihood and tasks near the capability boundary—otherwise, it cannot distinguish between different configurations.
2. Fix Test Conditions
When comparing configurations, use the same questions, the same output requirements, and similar budget constraints wherever possible, and record the test date, available context length, and whether retrieval is enabled.
If one configuration can consult references and another cannot, the test measures the overall effect of different workflows and cannot be attributed simply to differences in the model’s reasoning.
3. Run Multiple Times and Log Failure Patterns
Running the same question multiple times can produce results of varying quality. Testing should therefore focus on stability, not just the best single run.
Beyond “correct” versus “incorrect,” record more specific failure types: omitted assumptions, theorem misuse, skipped derivation steps, circular reasoning, formatting errors, incomplete responses, and so on. Failure classification directly guides later process improvements.
4. Preserve Raw Outputs and Scoring Rationale
Test records should retain complete outputs and the reasoning behind human scores, not just a total score. This way, when model configurations or prompt templates change, the team can trace where improvements occurred—and whether new risks were introduced.
Final reports should state the sample size and task scope. Conclusions from limited testing should be expressed as “how the model performed on this test set under these conditions,” not extrapolated into all-domain capability rankings.
7. Increase Effective Output on a Limited Budget
Submitting a flood of complex tasks just to use up remaining quota is usually poor resource management. A better approach is to organize work around actual needs.
Prioritize reusable assets: verified proof templates, terminology glossaries, course outlines, and common-error checklists. These accumulate value, whereas one-off long outputs often do not.
For high-difficulty tasks, first request a proof roadmap and key lemmas, then decide whether to proceed. If the direction is clearly wrong, stop early rather than letting the model finish an entire lecture note only to discard it.
For multi-round work, retain confirmed assumptions, definitions, and valid steps to avoid regenerating everything from scratch each round. Setting budget caps and stop conditions also prevents endless revision cycles from creating uncontrolled consumption.
Ultimately, LLM evaluation should rest on four pillars: correctness, stability, verifiability, and cost per qualified task. Mathematical reasoning in particular demands independent review, while document generation requires clear delivery standards. Only by combining capability testing with engineering process can you determine whether a model genuinely improves productivity—or merely produces longer text that looks more like an answer.
