How to Evaluate LLM Mathematical Reasoning and Effective Task Cost
Evaluating LLMs on mathematical tasks requires more than a single hard problem or a polished proof. This article presents a practical framework for defining task types, checking proof validity and teaching quality, building repeatable test sets, and measuring effective task cost rather than token quota alone.
How to Evaluate LLM Mathematical Reasoning and Effective Task Cost
1. Turn “Is the Model Good?” into Verifiable Questions
A common way to evaluate a large language model is to give it a difficult problem, inspect whether the answer looks complete, and then form an overall judgment from the experience. This approach can reveal potential capability, but it is not enough for rigorous conclusions.
Mathematical tasks are especially sensitive. A long, well-formatted, fluently written proof may omit a key condition. A short derivation may already capture the core structure. Answer length, writing style, and model confidence cannot replace a correctness judgment.
A more reliable method is to first clarify the purpose of use, then evaluate whether the model can consistently deliver the required result. At minimum, distinguish four types of tasks:
- Knowledge explanation: explaining definitions, theorems, and their intuitive meaning.
- Proof completion for an existing proposition: filling in a derivation under explicit assumptions and producing a checkable proof.
- Teaching material generation: organizing correct content into lecture notes, including background, lemmas, examples, and notation.
- Research question exploration: proposing conjectures, finding counterexamples, or analyzing special cases for questions whose answers are not yet known.
These four task types differ in difficulty and acceptance criteria. A model that is good at explaining textbook material is not necessarily able to complete advanced proofs. Being able to complete a proof for one proposition does not mean the model can independently solve open problems.
Evaluation should therefore center on “under what conditions, for what task, with what verification method, and at what cost,” rather than producing a single ranking detached from context.
2. No Ready Proof Does Not Mean No Reusable Path
Asking a model to supply a proof for a proposition that is given without one is a valuable test. It requires the model to turn a statement into reasoning steps rather than merely restate the conclusion.
However, the absence of a proof in one source does not prove that no proof exists elsewhere. It also does not rule out that the model has seen related lemmas, similar conclusions, or standard argument patterns. Such a test can assess the quality of the task at hand, but it cannot by itself prove that the model has original research capability.
2.1 First Check Whether the Proposition Is Complete
The input to a proof task should include at least:
- the object under discussion and its structure;
- all premises;
- the precise conclusion to be proved;
- the definitions and theorems that may be used;
- relevant notation, context, and conventions.
For example, a result involving continuity, compactness, or completeness may lack the relevant space type or topological conditions. The model may then silently add common assumptions and end up proving a different proposition.
Professional evaluation should treat “the input is incomplete” as a valid response. The model should not be required to start deriving unconditionally. When ambiguity exists, explicitly stating what information is missing is often more reliable than directly producing a formally complete proof.
2.2 Check for Hidden Proof Gaps
Common problems include:
- treating existence as uniqueness;
- improperly switching the order of quantifiers;
- using a theorem without satisfying its premises;
- generalizing a finite-case conclusion directly to the infinite case;
- using an equivalent form of the target conclusion as an unproved lemma;
- changing the order of limits, integrals, or sums without checking conditions.
These errors are usually not exposed by formatting quality. Review should check key reasoning nodes one by one, not just whether the final conclusion matches expectations.
2.3 Check Whether Lemma Dependencies Are Closed
A proof can be viewed as a dependency graph: the main conclusion depends on several lemmas, and those lemmas depend on definitions or known theorems. A valid proof must state the source of each key dependency and avoid circularity.
If a lemma is stronger or harder than the original proposition and the model merely calls it “obvious,” the proof has not been completed; the difficulty has only been shifted. For lemmas outside the allowed knowledge scope, require the model to prove them or explicitly list them as unresolved steps.
3. Evaluate Proof Correctness and Lecture Quality Separately
Mathematical lecture notes must be correct, and they must also be easy to learn from and review. Even a valid raw proof may have confused notation, insufficient background, or skipped steps. Conversely, a beautifully organized lecture can hide logical errors.
It is therefore useful to separate delivery quality into two dimensions.
Mathematical Quality
Focus on whether the proposition is faithfully represented, whether assumptions are sufficient, whether the derivation is valid, whether boundary cases are covered, and whether circular reasoning appears. For key conclusions, it should be possible to locate explicit proof passages rather than relying on the overall narrative and asking readers to fill in gaps themselves.
Teaching and Expression Quality
Focus on whether definitions appear before use, whether notation is consistent, whether each lemma has a clear role, and whether the text explains the direction of reasoning between paragraphs. For lecture notes in a foreign language, terminology and semantic accuracy should also be checked, but fluency is not evidence of mathematical correctness.
A safer generation workflow is staged:
- Extract the proposition and assumptions, confirming that the meaning is unchanged.
- Generate a proof skeleton, listing key lemmas and dependencies.
- Fill in the proof section by section, with emphasis on difficult steps.
- Organize the material for teaching, adding background, explanations, and necessary examples.
- Perform a consistency review, checking notation, references, and the scope of conclusions.
This workflow helps localize problems to specific stages. Asking the model to output a long lecture in one pass is convenient, but once an error appears, the entire document often needs to be reviewed again.
4. Open-Problem Exploration Requires Stricter Evidence
Research-level mathematical tasks differ clearly from routine proof tasks. For an unsolved problem, a model may propose an inspiring route, or it may repackage a failed idea as a seemingly novel approach.
To judge its value as research assistance, look for independently verifiable progress, such as:
- proving a special case under restricted conditions;
- constructing a counterexample that satisfies all constraints;
- identifying the exact point where a proof route fails;
- reducing the original problem to a clearer subproblem;
- discovering an overlooked condition and verifying its necessity.
It is essential to distinguish “exploration suggestions” from “completed results.” A reasonable research route does not mean a conclusion has been obtained. If the model proposes a candidate proof, people with relevant expertise should review it step by step.
For key steps that cannot yet be proved, the model should clearly mark them as conjectures, lemmas to be proved, or inferences with insufficient evidence. Being able to describe uncertainty accurately is an important research-assistance capability.
5. Build a Repeatable Math Capability Test Set
A single success case is easily affected by problem selection, context prompts, and generation randomness. To form a more stable judgment, build a small, layered, reviewable test set.
5.1 Layer by Capability Requirement
Test problems can cover:
- definition understanding and basic derivation;
- multi-step proposition proofs;
- tasks requiring construction of objects or counterexamples;
- cross-module integrated arguments;
- diagnosis of incorrect proofs;
- identification of conditions when information is insufficient.
Incorrect-proof diagnosis is especially useful. It tests whether the model truly understands reasoning constraints rather than merely being good at continuing text in a mathematical style.
5.2 Fix Inputs and Acceptance Conditions
During testing, keep the proposition text, allowed knowledge, output requirements, and supplementary materials as consistent as possible. If one test provides detailed background and another provides only a brief description, the results are not directly comparable.
If different runs provide different external retrieval, calculation, or verification capabilities, record them separately. Otherwise, the evaluation may measure the capability of the whole workflow rather than the model alone.
5.3 Record Both First Output and Repair Process
If the model’s first output is wrong but it corrects the answer after the problem is pointed out, the result can still have practical value. However, first-pass success rate and repair capability should be recorded separately. Do not treat a result obtained after multiple rounds of human guidance as a one-pass completion.
Suggested fields to record:
| Dimension | What to Record |
|---|---|
| Correctness | Correct, repairable gaps, key-step error, or incomplete |
| Completeness | Whether all assumptions and conclusions are covered |
| Verifiability | Whether key reasoning and lemma sources can be located |
| Stability | Differences in results across multiple runs of the same task |
| Repair cost | Feedback rounds required and manual review time |
| Delivery efficiency | Queue time, generation time, and actual resource consumption |
There is no need to rush to combine all fields into a single score. For research assistance, a critical error may act as a veto. For lecture drafts, expression quality and modification cost also matter. Different scenarios should use different acceptance strategies.
6. Move from Quota Consumption to Effective Task Cost
When using a model, it is easy to focus on membership price, remaining quota, or per-call consumption. But resource consumption is only part of the cost. Queueing and manual review also affect practical value.
A conceptual calculation method is:
Effective task cost = model usage cost + waiting and execution cost + manual review cost + failure rework cost
This is not a billing formula for any platform. It is a workflow evaluation framework. Whether waiting time is a significant cost depends on whether the task blocks subsequent work. Manual review cost depends on problem difficulty, risk level, and how verifiable the result is.
For example, generating a lecture may consume little quota, but if a specialist must spend a long time repairing the proof, the actual cost can still be high. Conversely, a call that consumes more resources but delivers a more checkable proof structure may be more cost-effective.
It is therefore better to observe “the number of tasks that pass acceptance” and “the average total cost per effective deliverable,” rather than focusing only on how much quota was used.
Purchased quota should not become a reason to create meaningless tasks. A better use is to perform work with clear acceptance criteria, such as checking existing proofs, generating terminology notes, organizing examples, or diagnosing reasoning gaps. If the task itself has no value, quota consumption does not turn into benefit.
7. Use Layered Collaboration for Real Work
Not every mathematical task should be handled in the same way. A layered process can be built according to difficulty and error risk.
Low-Risk Organization Tasks
These include notation unification, paragraph restructuring, terminology explanation, and lecture structure organization. Such tasks can be automated more heavily, but the review must still check whether the organization changes mathematical meaning.
Medium- and High-Difficulty Proof Tasks
First have the model generate a proof skeleton, then fill it in step by step. Theorems with strict conditions, nontrivial constructions, and limit operations should receive dedicated review. Do not assume that the second half is correct just because the first half is correct.
Research Exploration Tasks
Position the model as a collaborator that suggests routes, checks local derivations, and looks for potential counterexamples. Important results must be independently verified. Key jumps that the model cannot explain should remain marked as unresolved.
Formal verification can strengthen the checking of formalized propositions and their proofs, but it is still necessary to confirm that the formal expression faithfully corresponds to the original problem. Passing verification does not eliminate all modeling bias.
8. Conclusion: Evaluate Capability and the Delivery Process
Reliable LLM evaluation should not rely on model impressions, single cases, or answer length. It should be built on clear tasks, uniform inputs, independent review, and complete cost records.
For mathematical scenarios, the most important question is not whether the model can write text that “looks like a proof.” It is whether the model can provide a reasoning process that is checkable, repairable, and traceable without silently changing the conditions. For developers and researchers, the useful conclusion is not a broad ranking but a task-boundary checklist: which work can be initially completed by the model, which must be reviewed step by step, and which can only be used for exploration.
Only by examining correctness, expression quality, runtime stability, and effective task cost together can evaluation move from scattered experience toward repeatable technical judgment.
