Evaluating LLM Mathematical Reasoning and Total Cost of Use
A rigorous evaluation of large language models must assess more than correct answers or polished explanations. This article outlines how to classify mathematical tasks, audit proofs, assess lecture-note quality, and account for retries, queueing, and human review. It also presents a reproducible evaluation workflow for determining where a model reliably reduces the cost of producing trustworthy results.
1. Define What You Are Evaluating
Evaluating a large language model (LLM) requires more than asking whether it is “smart.” The practical questions are which tasks it can perform reliably, how much human supervision it needs, and whether its output justifies the time and resources invested.
Mathematical reasoning provides a useful window into these questions. A model may handle routine calculations consistently yet fail to complete a proof involving several abstract definitions. It may also produce well-structured English lecture notes while omitting a necessary assumption in a critical step. Meanwhile, the overall experience depends on usage limits, queueing, retries, and the effort required to verify the output.
A rigorous evaluation should therefore cover at least four dimensions:
- Reasoning correctness: Are the conclusions and proofs valid?
- Task completion: Does the model actually solve the problem, rather than merely describe an approach?
- Clarity and auditability: Can a reader quickly identify assumptions, lemmas, and key deductions?
- Total cost of use: How much time and resources are required to obtain a usable result?
These dimensions are not interchangeable. Attractive formatting cannot compensate for an invalid proof, and low resource consumption does not establish that a model is worth using. A more meaningful evaluation target is the model’s ability to produce trustworthy results within a defined workflow.
2. Separate Mathematical Tasks by Type and Difficulty
Different mathematical tasks place very different demands on a model. Combining basic calculations, textbook proofs, and open problems into a single comparison usually produces conclusions with little explanatory value.
2.1 Routine Calculations and Basic Proofs
This category includes algebraic manipulation, standard limit calculations, elementary probability derivations, and textbook exercises with explicit assumptions. These tasks help establish whether a model understands basic concepts and can execute consistent reasoning steps.
Evaluation should examine intermediate steps as well as the final answer. For example:
- Does the model confirm that an expression is nonzero before dividing by it?
- Does it handle boundary cases correctly?
- Does it mistake a necessary condition for a sufficient one?
Routine tasks are useful baseline checks, but they should not serve as the sole measure of advanced mathematical ability.
2.2 Proofs Involving Multiple Definitions and Lemmas
These tasks require the model to understand relationships between abstract objects and select an appropriate proof strategy. The main difficulty often lies in organizing dependencies rather than performing individual calculations.
Evaluation should check whether the model identifies definitions accurately, applies lemmas correctly, verifies their prerequisites, and avoids circular reasoning.
For example, if a step requires an object to be compact, the proof must explain whether compactness follows from the problem statement, an earlier result, or an additional assumption. It cannot silently introduce that property.
2.3 Completing Proofs Missing from Reference Material
When reference material states a proposition without providing its proof, the model must construct an argument rather than restate supplied text. This task resembles practical work in research support and teaching-material preparation.
However, an omitted proof does not make a proposition an open problem, nor does a generated proof necessarily constitute original research. A proof may exist elsewhere or follow directly from standard results.
Two questions must therefore be evaluated separately:
- Has the model produced a valid proof?
- Is the proof or result novel?
The first can be assessed through mathematical review. The second requires a broader literature search and cannot be established from a single generated response.
2.4 Research Exploration and Open Problems
Research-oriented tasks often involve finding counterexamples, proposing intermediate conjectures, comparing approaches, and identifying obstacles in existing methods.
Offering an insightful idea and solving an open problem are fundamentally different levels of achievement. Claims of a solution require a complete argument, a review of relevant literature, and independent expert scrutiny.
In practice, a safer role for the model is that of an exploratory assistant: organizing definitions, testing special cases, suggesting possible lemmas, and explaining why an approach fails. Lengthy output or confident language should not turn a candidate idea into an accepted research result.
3. Audit Proofs at Their Logical Interfaces
The most dangerous proof errors often occur between steps: what has the preceding argument established, what does the next step require, and do those two statements match?
3.1 Create an Assumption Checklist
Before evaluation, record the objects, assumptions, and intended conclusion separately. Once the proof has been generated, check how each assumption is used and whether the model introduces any unauthorized restrictions.
If the model proves the result only under stronger assumptions, classify the output as partially complete, not as a correct proof of the original statement.
3.2 Map the Argument’s Dependencies
For a complex proof, treat each key conclusion as a node and record which other conclusions it depends on. This makes two kinds of problems easier to identify:
- A conclusion has no valid supporting argument.
- Conclusions depend on one another in a cycle.
Dependency mapping also helps distinguish local errors from structural failures. A calculation mistake may be repairable, whereas an invalid central lemma may require rebuilding the entire proof strategy.
3.3 Review with Counterexamples in Mind
Do not only try to understand why the model might be right. Actively look for situations in which its reasoning could fail:
- Does the conclusion still hold if a particular condition is removed?
- Does the critical step work for the simplest nontrivial object?
- Are there sufficient conditions for exchanging limits, sums, or integrals?
- If existence is claimed, has the construction actually been completed?
- If uniqueness is claimed, have all alternatives been excluded?
These checks do not necessarily establish correctness, but they can expose gaps quickly.
3.4 Understand the Limits of Verification Tools
Numerical experiments, symbolic computation, and formal verification can assist review, but they provide different kinds of assurance.
Numerical experiments are primarily useful for discovering counterexamples or observing patterns. They cannot generally replace a proof. Symbolic computation can verify certain relationships between expressions, but variable domains and implicit conditions still matter. Formal verification checks formalized statements and their derivations; reviewers must also confirm that the formal statement accurately represents the original mathematical problem.
Self-checking by the same model can provide a low-cost screening step. It does not replace independent review, because the model may repeatedly rely on the same mistaken assumption.
4. Evaluate Lecture-Note Quality Separately
Producing English mathematical lecture notes involves more than answering “How can this proposition be proved?”
Usable notes should explain the context, maintain consistent notation, identify prerequisites, state propositions and assumptions clearly, and divide proofs into understandable stages. Where necessary, they should include examples, boundary cases, and common misconceptions.
However, presentation quality and proof correctness must receive separate assessments.
| Evaluation criterion | Key review question |
|---|---|
| Mathematical correctness | Are the conclusions, lemmas, and deductions valid? |
| Argument completeness | Are the key steps sufficiently justified? |
| Notation consistency | Does each symbol retain the same meaning throughout? |
| Instructional readability | Does the intended reader have enough context to follow the material? |
| Formatting usability | Are formulas, numbering, and cross-references correct? |
Task instructions should also be staged rather than asking for a complete proof and finished lecture notes in one request.
First, ask the model to check the proposition’s statement. Next, have it outline a proof strategy and identify the required lemmas. Then expand the critical steps. Only after the proof passes review should the workflow move to English prose and formatting.
This prevents substantial effort from being spent polishing an invalid argument.
5. Measure Value, Not Just Resource Consumption
An expiring usage allowance can create pressure to “use it all.” But consuming resources has no value by itself. Value comes from outputs that can be retained and reused.
Submitting long tasks with no clear objective or acceptance criteria may generate substantial text without producing a reliable asset. Tasks such as organizing existing proofs, creating teaching exercises, checking notation consistency, and adding counterexample explanations are easier to evaluate against explicit criteria.
5.1 Use Total Cost Rather Than Per-Request Consumption
Total cost should include actual expenditure, retries, and human effort. A conceptual relationship is:
Total cost of a usable result = actual resource cost + retry cost + human verification and revision cost.
Human time can be converted into cost using the organization’s internal accounting method. Subscription fees and usage allowances do not necessarily have a simple linear relationship, so they should not be converted directly without understanding the billing rules.
A request that consumes only a small share of an allowance demonstrates low resource use for that request. It does not, by itself, demonstrate good value.
5.2 Include Queueing in Delivery Time
Delivery time extends beyond model generation:
Total delivery time = queueing time + generation time + retry time + human acceptance-review time.
Long waits can interrupt the thought process during interactive debugging. For batch preparation of materials that can run in the background, the same delay may matter less.
To assess whether a service fits a workflow, record waiting times across different periods and distinguish real-time tasks from asynchronous work. A single response-time observation is not enough.
6. Build a Small, Reproducible Evaluation Workflow
Personal experience can reveal problems, but stable judgments require structured records.
Step 1: Define the Target Tasks
Specify what the model will be used for: basic mathematics tutoring, abstract proof completion, lecture-note preparation, or research exploration.
The clearer the task definition, the easier it becomes to turn evaluation findings into practical decisions.
Step 2: Prepare Representative Problems
Include different difficulty levels and failure modes. The set should contain directly verifiable tasks as well as proofs with easily overlooked assumptions and multistep dependencies.
To reduce the influence of memorized answers, introduce reasonable variations: change assumptions, ask whether a converse holds, or request a counterexample. Verify these variations in advance so that flawed questions do not distort the evaluation.
Step 3: Standardize Inputs and Supporting Resources
Record the full problem statement, prompt, permitted reference materials, and whether computational assistance is allowed.
Tests conducted under different information conditions should be labeled separately rather than combined as though they were equivalent.
Step 4: Repeat Tests and Record Revisions
A single success does not establish reliability, and a single failure does not necessarily establish an absence of capability.
Record the initial output, human hints, retry count, and final status. Distinguish between tasks completed independently and those completed after several rounds of guidance.
Step 5: Apply Graded Acceptance Criteria
Results can be classified as:
- Correct and complete proof.
- Correct main argument with repairable omissions.
- Useful ideas that do not yet constitute a proof.
- Critical errors that prevent acceptance.
Combine these categories with review time and revision counts to determine which tasks genuinely require less work when the model is used.
7. Model Selection Is Workflow Design
A professional evaluation should do more than produce a broad ranking. It should yield conditional conclusions: which tasks a model is suitable for, where human intervention is required, and which outputs are ready to enter the next stage.
For mathematical work, a prudent sequence is to verify the proposition and assumptions, generate a candidate proof, perform counterexample checks and independent review, and only then convert the result into lecture notes or reference material.
Research tasks require stricter confirmation boundaries. Suggestive ideas must remain clearly separated from established conclusions.
Ultimately, the important question is not how many pages a model can generate or how much allowance a request can consume. It is whether the model consistently reduces the total cost of obtaining trustworthy results. Evaluating correctness, auditability, task completion, and delivery cost together makes it possible to use an LLM as a reliable work assistant rather than merely an efficient generator of text awaiting verification.
