Systematically Evaluating LLM Mathematical Reasoning Capabilities and Usage Costs
Evaluating large language models (LLMs) for complex tasks like mathematical reasoning requires moving beyond subjective impressions to a systematic, verifiable approach. This article explores how to deconstruct mathematical capabilities into testable levels, design effective prompts for reviewability, establish fair evaluation methodologies, and calculate the true cost of achieving reliable results. It also provides practical guidance for developers integrating LLMs into technical and mathematical knowledge workflows.
1. Evaluating LLMs Should Start from Specific Tasks
When discussing whether an LLM is “powerful,” it is easy to fall into two traps: drawing an overall conclusion based on a single impressive response, or ranking capabilities based on experiences under different usage conditions. For high-difficulty tasks such as mathematical reasoning or generating technical lecture notes, these evaluation methods lack sufficient explanatory power.
A complete user experience actually involves multiple stages: whether there is a wait after submitting the task, whether the model can accurately understand the proposition, whether the proof holds, whether the output is easy to verify, and how much time the user must spend on revisions. A significant issue in any stage can diminish the final value.
Therefore, the more relevant questions are not “which model looks smarter,” but:
- Within a specified mathematical domain and difficulty range, what tasks can it accomplish?
- Is the key reasoning in the output correct, and are there hidden conditions?
- Is the quality stable across similar tasks?
- What is the overall cost from submitting the request to obtaining a usable result?
- Is the result suitable for assisting research or writing lecture notes, or does it only provide preliminary ideas?
These questions apply to both individual users and developers or enterprise teams integrating models into knowledge workflows.
2. Break Down Mathematical Capabilities into Verifiable Levels
Mathematical capability is not a single metric. Understanding definitions, reconstructing proofs, identifying errors, and exploring unknown problems require different skills and cannot be measured with the same yardstick.
2.1 Definition Understanding and Condition Identification
Basic evaluation should check whether the model can accurately explain the objects, assumptions, and conclusions in a proposition. For example, whether a mapping requires continuity, whether a set must be compact, or whether an algebraic object needs to satisfy a finitely generated condition.
Many incorrect proofs are not calculation errors but rather the result of missing conditions while still applying familiar conclusions. If the model does not explicitly list the assumptions, it may treat an inference that only holds in special cases as a universal fact.
During evaluation, you can actively delete a key assumption to see if the model points out that the proposition no longer holds and provides a counterexample or explanation. This tests the depth of its understanding better than simply asking it to recite definitions.
2.2 Proof Reconstruction of Known Propositions
Providing an accurate statement of a proposition and requiring the model to independently organize a proof is a practical test. It examines whether the model selects an appropriate proof route, supplies necessary lemmas, and connects local reasoning into a complete argument.
However, “no proof provided in the reference materials” does not mean the model is solving a new mathematical problem. The proposition may already have a widely circulated proof or come directly from common theory. Even if the model generates a different formulation, it does not prove it completed an original derivation.
A more rigorous evaluation should focus on the proof itself: whether the conclusions used are applicable, whether each step holds, whether there is circular reasoning, and whether truly difficult steps are hidden behind phrases like “obviously” or “easily verifiable.”
2.3 Error Diagnosis and Repair
Identifying errors often reflects reasoning reliability better than generating fluent text. You can prepare proof drafts containing quantifier confusion, omitted conditions, illegal exchange of limits, or unproven existence assertions, and ask the model to locate the first failing step.
A good response should not only point out “there is a problem here,” but also explain:
- What conditions that step relies on;
- Why the current assumptions are insufficient;
- Whether it can be fixed by adding conditions;
- Whether a counterexample exists if the original conclusion does not hold.
These types of tasks are particularly valuable for technical review, teaching assistance, and research discussions.
2.4 Exploration of Unsolved Problems
For unsolved mathematical problems, the model should be positioned as an exploration assistant rather than an automated theorem prover. It can help organize related definitions, analyze special cases, propose candidate lemmas, or check local derivations within a specific route.
There is a significant gap between “proposing valuable ideas” and “solving an unsolved problem.” The latter requires a complete proof, independent review, and thorough verification against existing research. A long, seemingly rigorous text generated by the model is not enough to cross this threshold.
Therefore, when evaluating exploration capabilities, record whether the model produced verifiable intermediate results rather than just whether it confidently claimed a successful proof.
3. Math Lecture Generation: Evaluate Correctness and Readability Separately
Generating complete lecture notes from a proposition is one of the most practically valuable applications of LLMs. They can help build structures, organize symbols, explain proof ideas, and output mathematically typeset source text suitable for further editing.
However, lecture quality involves at least three independent dimensions.
3.1 Mathematical Correctness
First, confirm whether the proposition is accurate, whether the proof covers all cases, and whether the cited lemmas meet the application conditions. For key steps, it should be possible to derive from premises to conclusions rather than relying on linguistic coherence to create a sense of credibility.
For example, if the model proves existence by constructing an object, you must check whether the construction is well-defined; if it uses a quotient structure, you must check whether the operation or mapping is independent of the choice of representative.
3.2 Dependency Completeness
Lecture notes target different readers and require different levels of background supplementation. For beginners, basic lemmas may need to be expanded; for professional readers, standard results can be appropriately cited, but the version and conditions used should be specified.
“Self-consistent” does not mean proving everything from basic definitions, but rather that the reader can clearly know what has been proven and what is used as a premise.
3.3 Expression and Formatting Quality
Consistency of symbols, clarity of formulas, and logical chapter organization all affect the reading experience. However, these belong to expression quality and cannot replace mathematical verification.
During evaluation, it is best to score separately: a lecture with concise text but correct proofs may be more valuable than one with a magnificent structure but critical flaws.
4. Prompt Design: Make Proofs Easy to Review, Not Just Complete
A brief request can quickly yield a draft, but high-difficulty tasks require clearer delivery constraints. It is recommended to use a neutral template like the following:
Please write an English math lecture based on the proposition below. First accurately restate the assumptions and conclusions, then list the definitions and lemmas the proof relies on. Provide necessary derivations and do not skip key steps with “obviously.” State the applicable conditions for cited standard conclusions; do not fabricate unconfirmed sources. If you find the proposition lacks assumptions, first explain the problem and provide a counterexample or revision suggestion. Finally, list the steps that require manual focus for checking and provide editable mathematically typeset source text.
The purpose of this template is not to guarantee the model will never make mistakes, but to increase the checkability of the output.
For complex propositions, a phased interaction can also be adopted:
- First analyze the assumptions, conclusions, and possible proof routes;
- After selecting a route, address key lemmas one by one;
- Organize the verified steps into a complete proof;
- Generate lecture notes, examples, and exercises;
- Unify terminology and symbols.
A phased process reduces the waste of expanding on erroneous foundations and makes it easier to locate issues. However, multi-turn conversations may cause early errors to be repeatedly carried over, so each phase should clearly state which conclusions have been verified and which remain to be confirmed.
5. Establish Fair and Reproducible Evaluation Methods
Personal experience is good for discovering problems but insufficient to support a stable capability ranking. To form reliable conclusions, test conditions should be fixed and complete records retained.
5.1 Build a Tiered Task Set
The task set can cover basic proofs, multi-lemma combinations, counterexample construction, error diagnosis, and exploratory analysis. Each question should have clear acceptance criteria to avoid judging quality solely based on reading impressions.
Mathematical domains should also be appropriately diverse. A model that excels at computational problems does not necessarily excel at arguing abstract structures.
5.2 Control Input and Interaction Budgets
When comparing, try to use the same problem statements, background materials, and output requirements. How many rounds of revision are allowed, whether hints are provided, and whether access to external materials is permitted should all be determined in advance.
A direct answer and a result after multiple rounds of human guidance should not be treated as performance under the same conditions.
5.3 Record Failure Types
In addition to the pass rate, failure reasons should be classified and tallied, such as omitted assumptions, misuse of lemmas, broken proofs, invalid counterexamples, or fabricated sources. The failure distribution is more instructive for usage than a single total score.
If the model frequently makes errors in condition checking, proposition pre-review should be strengthened; if the main issue is lecture organization, its reasoning assistance value can be retained while only adjusting the writing workflow.
5.4 Use Repeated Tests and Independent Verification
The same question can be run repeatedly to observe output stability. However, repeatedly getting similar answers does not mean the answers are correct, as errors can also appear consistently.
Key conclusions should be reviewed by individuals with relevant backgrounds. Finite sample calculations can help find counterexamples but usually cannot prove general propositions. Formal checks can provide more rigorous verification when appropriate definitions and proof environments are available, but converting natural language proofs into a checkable form also incurs practical costs.
6. Cost Evaluation: Token Consumption Is Not Everything
Usage cost should not only look at how many tokens or monthly quota a task consumed. A more meaningful metric is the “total cost of obtaining a qualified result.”
The following accounting approach can be adopted:
Effective Task Cost = API Call & Retry Cost + Manual Verification Cost + Modification Cost + Opportunity Cost from Waiting.
Among these, manual verification and opportunity costs may not appear directly on the bill, but they often determine the actual return. A lecture that requires an expert to rework sentence by sentence may not be economical even if the generation cost is low.
For services with noticeable queuing, queue time, generation time, and manual processing time should be recorded separately. Only recording the speed after the model starts generating will omit the delay the user actually experiences.
If a package quota is about to expire, existing expenditures are sunk costs, but subsequent usage will still consume time. Submitting tasks with no practical utility just to clear the quota does not prove the tool is valuable. A more reasonable approach is to choose tasks with clear acceptance criteria and actual near-term needs, such as organizing verified proofs, unifying lecture symbols, or generating checkable exercise drafts.
7. How Developers Can Apply Evaluation Results to Actual Workflows
When integrating models into mathematical or technical knowledge workflows, it is recommended to distinguish three output states:
- Draft: Can be used to inspire ideas, but not as a reliable basis;
- Reviewed: Has undergone manual inspection and can enter internal discussions or teaching preparation;
- Verified: Key conclusions have appropriate independent verification basis and can be used according to established norms.
Simultaneously, input materials, model outputs, revision records, and review opinions should be saved to ensure traceability when problems arise. For long-term evaluation, the service version or evaluation time should also be recorded; if the version cannot be fixed, it must be clarified that the conclusions only apply to the corresponding test period.
When involving unpublished research, internal lecture notes, or sensitive materials, data usage permissions and confidentiality requirements must also be checked. Although mathematical content may seem unrelated to personal information, it may contain unpublished research results.
Ultimately, evaluating the mathematical capabilities of LLMs should not rely on brand impressions, single impressive outputs, or unverified rankings. Instead, it should return to three questions: Is the reasoning correct? Is the result stable? Is it cost-effective to obtain reliable results? Testing these three questions separately and making choices based on specific tasks will allow the model to become a manageable assisting capability rather than an unreviewable source of answers.
