Evaluating LLM Mathematical Reasoning and Cost
Assessing a large language model’s mathematical ability requires more than checking a polished proof or comparing subscription prices. This article presents a task-based evaluation framework covering proof verification, staged prompting, reproducible testing, and the full cost of waiting, review, and rework. It explains how to judge model-assisted workflows by verified results rather than output length or isolated successes.
1. Start with Task Completion, Not Model Rankings
Two common mistakes in evaluating large language models are judging overall capability from a single impressive response and judging value from subscription prices or remaining usage credits. The first overlooks consistency; the second confuses money already spent with benefits actually delivered.
Mathematical reasoning requires particular caution. A proof with a complete structure and sophisticated terminology is not necessarily valid. A longer derivation does not necessarily solve a harder problem. For developers, educators, and researchers, the more useful questions are:
- Does the model understand the statement and its assumptions accurately?
- Can it produce a proof that can be checked step by step?
- Can it identify missing conditions, potential counterexamples, or proof gaps?
- How much human effort is needed to make the result usable?
- What is the actual task cost after waiting, retries, and review?
The appropriate unit of evaluation is therefore the complete workflow for a specific task, not a model’s position in a ranking.
2. Separate Mathematical Tasks by Level
Different mathematical tasks require different capabilities. Comparing them using a single standard can be misleading.
Explanation and Teaching Materials
This level includes explaining concepts, working through examples, organizing topics, and preparing lecture notes.
Evaluation should focus on accurate definitions, clear explanations, examples that satisfy the stated conditions, and suitability for the intended audience. Strong performance here demonstrates an ability to organize mathematical knowledge, but it does not establish that the model can independently handle complex proofs.
For example, lecture notes may have a fluent introduction, consistent notation, and a polished structure while omitting a necessary condition in a key derivation. Writing quality and reasoning correctness must be assessed separately.
Constructing Proofs of Known Statements
At this level, the model must build a logical chain from explicit assumptions to a stated conclusion.
It needs to understand the relevant definitions, choose a proof strategy, develop intermediate lemmas, and check whether cited results apply. Common failures include proving a similar statement instead of the requested one, invoking a theorem whose conditions are not satisfied, and using “clearly” to skip the difficult part.
The absence of a proof in one reference does not establish that the model has made an original discovery. A proof may exist elsewhere, or the statement may follow directly from a standard result. The more reliable test remains whether the proof itself is valid.
Research Assistance and Open-Problem Exploration
Open problems have no established, generally accepted complete solution. Models can help investigate special cases, organize equivalent formulations, search for counterexamples, or suggest proof strategies. These contributions should not be equated with solving the problem.
Evaluate research assistance through verifiable incremental results, such as:
- Identifying a necessary assumption missing from the original statement.
- Producing a valid counterexample that satisfies all the assumptions.
- Proving a previously unverified special case.
- Reducing the problem to a more precise subproblem.
- Detecting circular reasoning in a proposed proof.
An output claiming to solve an open problem requires stricter independent scrutiny than a routine proof. Confident language, length, and complex notation do not reduce the verification burden.
3. A Checkable Example of Proof Quality
Consider the following statement:
Suppose (f) is continuous on the closed interval ([a,b]) and satisfies (f(x)>0) for every (x\in(a,b)). Must there be a constant (m>0) such that (f(x)\ge m) for every (x\in[a,b])?
A plausible but incorrect answer is: a continuous function attains its minimum on a closed interval, so that minimum must be positive.
The problem is that positivity is required only on the open interval, not at the endpoints. For (a<b), the function
[
f(x)=(x-a)(b-x)
]
is positive throughout the open interval but equals zero at both endpoints. It therefore has no positive lower bound of the required kind.
If the assumption is changed to strict positivity on the entire closed interval, the conclusion holds. Continuity and compactness ensure that the function attains a minimum. Since the point where it attains that minimum belongs to the closed interval, strict positivity guarantees that the minimum is greater than zero.
This example shows that reliable mathematical reasoning requires more than recalling the right theorem. It requires checking quantifiers, domains, and boundary conditions precisely. A model’s ability to catch these details is often more informative than its ability to generate a long proof.
4. Review Proofs at Five Levels
For a complex proof, use a structured review rather than simply reading from beginning to end for fluency.
Level 1: Interpretation of the Statement
First, confirm that the model is proving the original statement.
Check variable ranges, quantifier order, the strength of the conclusion, and any special conventions. For example, “for every object, there exists a parameter” is not equivalent to “there exists a parameter that works for every object.” If the model changes the quantifiers when restating the problem, even a complete proof may fail to answer the original question.
Level 2: Use of Assumptions
List all assumptions separately, then identify where the proof uses them.
An unused assumption does not necessarily indicate an error; the conclusion may hold under weaker conditions. However, if the original statement includes important restrictions and the proof never addresses them, further verification is warranted.
Also check whether the model has silently added assumptions, such as treating a general object as finite or assuming the existence of a limit that the problem does not guarantee.
Level 3: Dependencies
The proof should distinguish conclusions that follow from definitions, those that rely on known theorems, and those that require additional proof.
A simplified dependency chain can help:
Original assumptions → Lemma 1 → Lemma 2 → Key construction → Final conclusion
If the proof of Lemma 2 depends on the final conclusion, the argument is circular. This check is especially important for long proofs, where circular dependencies may be hidden behind different notation or equivalent formulations.
Level 4: Local Derivations
Check each equality, inequality, mapping, and set relation.
Pay particular attention to whether division is valid, whether exchanging limits and integrals is justified, whether an object belongs to the specified space, and whether existence has been mistaken for uniqueness. A model may identify a sound overall strategy while introducing errors in individual steps.
Level 5: Boundary Cases and Counterexamples
Actively test degenerate cases and extreme inputs, such as empty sets, zero objects, endpoints, low-dimensional cases, or cases without compactness.
Counterexample testing cannot prove a statement true, but it can efficiently disprove a false one. It is often a cost-effective step in reviewing model outputs.
5. Constrain Verification Before Requesting a Finished Draft
Asking a model to “prove this statement and turn it into complete lecture notes” can encourage it to prioritize the appearance of a finished product. A more reliable approach is to resolve the mathematics first and handle presentation afterward.
Stage 1: Check the Statement
Use a prompt such as:
Restate the proposition precisely, listing all assumptions, variable ranges, and the conclusion. Check for obvious counterexamples or missing conditions. If the statement is ambiguous, identify the ambiguity before attempting a long proof.
This stage can reveal errors in the problem statement early and reduce unnecessary generation.
Stage 2: Submit a Proof Outline
Provide a checkable proof outline, identifying the required lemmas and their dependencies. Explain which assumptions each step uses. Mark any unresolved critical step as a gap rather than replacing it with a general assertion.
The value of an outline is that it exposes the difficult parts. It should help a reviewer quickly assess whether the strategy is viable, not simply maximize length.
Stage 3: Develop the Critical Steps
Once a strategy appears reasonable, ask the model to address the hardest lemmas first rather than expanding every section at once.
If a critical lemma fails, stop pursuing that route instead of spending more budget elaborating an invalid argument.
Stage 4: Review Independently and Prepare the Final Version
Only then request teaching or presentation materials, including a notation list, prerequisites, a formal proof, and necessary explanatory notes.
When the deliverable is in English, review the mathematics and the language separately. Terminology and formatting checks cannot substitute for mathematical verification.
6. Measure More Than Usage Credits
When unused credits are about to expire, users may feel compelled to consume them. However, fees already paid and no longer refundable are sunk costs. They should not justify starting low-value tasks.
The actual cost of using a model includes at least four components:
[
C{\text{total}}
=
C{\text{invocation}}
+
C{\text{waiting}}
+
C{\text{review}}
+
C_{\text{rework}}
]
Invocation costs should come from actual billing or usage records. Waiting, review, and rework can be estimated from the time they require. If several people must review a result, include the collaboration cost as well.
A more useful metric than cost per generation is:
[
C_{\text{accepted task}}
=
\frac{\text{Total cost during the evaluation period}}
{\text{Number of tasks that meet acceptance criteria}}
]
If no tasks meet the acceptance criteria, record the current workflow as unusable rather than hiding the problem behind average consumption figures.
A claim that “one set of lecture notes used only a small fraction of the monthly allowance” describes consumption under a particular billing scheme. It does not, by itself, demonstrate a cost advantage. You also need to know whether the notes were correct, whether they required rework, and whether similar tasks can be completed consistently.
7. Treat Queueing Time as a Workflow Constraint
A capable model may still be unsuitable for urgent work if request waiting times are unpredictable.
Distinguish generation time from end-to-end completion time. The latter includes queueing, failed attempts and retries, review, and revision cycles. It better reflects the user’s actual experience.
For nonurgent tasks, batch submission, result caching, and staged generation can reduce repeated work. For tasks requiring immediate interaction, response-time consistency deserves greater weight. Before submitting sensitive material, check the applicable data-handling rules and remove sensitive information where necessary.
Do not launch many low-value tasks concurrently merely to consume credits. Doing so can increase queueing and review burdens while making important tasks harder to manage.
8. Build Reproducible Evaluation Records
A practical evaluation of mathematical capability should cover different difficulty levels and failure modes:
- Concept explanation: Check the accuracy of definitions and examples.
- Standard proofs: Check the logical chain and the conditions of invoked theorems.
- Missing-condition detection: Check whether the model recognizes that a statement is false as written.
- Counterexample construction: Check whether the counterexample satisfies the original assumptions.
- Long-proof review: Check whether the model detects hidden errors.
- Research exploration: Record verified local contributions.
For every task, retain the original problem, prompts, outputs, invocation settings, elapsed time, usage records, and human review notes. Repeat some tasks to assess consistency and avoid drawing conclusions from isolated successes.
Report proof correctness, completeness of conditions, gap-detection ability, presentation quality, and end-to-end cost separately. In particular, excellent formatting must not compensate for a critical proof error. For a task requiring a rigorous proof, an invalid critical step means the result fails acceptance.
9. Evaluate Reliability, Efficiency, and Cost Together
The value of an LLM in mathematical work is not the amount of text it generates, but the amount of verifiable work it saves.
Models can assist with organizing concepts, drafting proofs, searching for counterexamples, and preparing lecture notes. As tasks move toward complex proofs and research problems, explicit review mechanisms become increasingly important. Short proofs may skip essential steps, while long proofs may contain substantial redundancy. Logical completeness, not length, should determine quality.
The most reliable workflow is to define the task and acceptance criteria first, then have the model check the statement, propose a strategy, and develop the critical steps. Independent review should precede final presentation. Combining this process with end-to-end timing and the actual cost per accepted task provides a sound basis for deciding whether a model-assisted workflow is worth continued use.
