Evaluating LLMs for Mathematical Reasoning and Real-World Usage Costs

    This article presents a practical framework for evaluating large language models on mathematical reasoning and real-world usage cost. Rather than judging models by fluent text or isolated impressive outputs, it turns user impressions into testable questions, decomposes reasoning into proposition understanding, knowledge invocation, proof planning, local derivation, and technical delivery, and proposes layered test sets, reproducible interaction modes, and a validity-first review process that flags fatal errors before scoring quality. It also outlines a staged workflow from proof outline to final lecture note and defines cost metrics that include waiting, human review, and rework. The goal is to help developers and enterprises build a reliable, auditable, and cost-aware collaboration process for LLM-assisted mathematical work.

    I. When Evaluating LLMs, Turn “User Impressions” into Testable Questions

    When people review a mathematical lecture note generated by an LLM, two opposing judgments often emerge. One view holds that the model can start from a brief instruction and organize complex definitions, proofs, and formulas, so it already offers strong research assistance. The other view worries that although the text is fluent, it may hide key steps that have never been proved.

    These views are not mutually exclusive. LLMs can significantly lower the barrier to organizing material and drafting proofs, but completeness of output and logical correctness are not the same thing.

    Therefore, the core question should not be “which model appears smarter,” but rather:

    1. Given a clear mathematical proposition, can the model produce a correct proof?
    2. Does the proof rely on undeclared assumptions, or contain circular reasoning?
    3. Is performance stable under repeated tests and variations of the problem?
    4. How much human editing does the generated content need before it can be used?
    5. After accounting for API calls, waiting, review, and rework, is the task cost reasonable?

    These questions apply not only to mathematical proofs but also to algorithm analysis, code review, and technical design arguments. They point to one principle: evaluate capability by task outcomes, not by text length, confidence of expression, or a single impressive output.

    II. Decompose Mathematical Reasoning into Five Layers

    The difficulty of a mathematical task is not concentrated in formula calculation. High-quality proofs usually require crossing several stages: understanding, planning, argumentation, and expression.

    The first layer is proposition understanding.

    The model needs to accurately identify objects, assumptions, quantifiers, and conclusions. For example, “for any object there exists a mapping” and “there exists a mapping that applies to any object” have different logical meanings. If the model misreads the proposition at this stage, later derivations may be formally complete but still fail to prove the original proposition.

    The second layer is knowledge invocation.

    The model needs to select applicable definitions, lemmas, and theorems and verify their conditions. A common risk is not complete ignorance of a theorem, but remembering the conclusion while ignoring its premises, thereby incorrectly generalizing a property from a special case to a general one.

    The third layer is proof planning.

    Complex propositions often require establishing intermediate conclusions before completing the overall argument. The model should be able to identify which steps follow directly from definitions, which steps require additional lemmas, and whether different lemmas form circular dependencies.

    The fourth layer is local derivation.

    This layer focuses on whether each step holds, for example, whether a mapping is well-defined, whether a construction depends on arbitrary choices, whether a limit process satisfies exchange conditions, and whether a local property is sufficient to imply a global conclusion.

    The fifth layer is technical delivery.

    Even a correct proof may not be suitable as lecture material. Delivery quality also includes consistent notation, complete definitions, reasonable chapter organization, accurate formula typesetting, and whether necessary explanations are sufficient.

    These five layers should be evaluated separately. Polished formatting cannot compensate for proof errors, and a short derivation does not necessarily mean stronger capability; the key is whether the non-optional logical steps are fully covered.

    III. A Reference Without a Proof Does Not Mean the Model Has Done Original Research

    When a public source lists a proposition but gives no proof, asking the model to complete the proof is a valuable test scenario. However, the conclusions this scenario can support should remain restrained.

    First, the absence of a proof in one source does not mean the same proof does not exist in other textbooks, lecture notes, or discussion materials. A single output cannot confirm whether the model relied on existing patterns to perform knowledge recombination.

    Second, even when a classic proposition lacks a readily available proof, it may directly depend on mature standard methods. Supplying a proof demonstrates knowledge invocation and reasoning organization, but it should not automatically be equated with solving an open problem.

    Finally, research conclusions require stricter validation. In addition to the proof itself, one should confirm whether the problem is genuinely still unsolved, whether the conclusion covers all conditions, whether known counterexamples exist, and whether the claimed new method has already appeared in the relevant literature.

    Therefore, a more reliable evaluation statement is: under the specified input conditions, the model generated a proof draft that was checked and found correct. Whether it is original or constitutes a research advance requires independent evidence.

    IV. Build a Layered Test Set and Avoid Ranking Models from a Single Problem

    A single case is easily affected by familiarity with the problem, prompting style, and stochastic generation. To judge mathematical reasoning capability, one should build a test set that covers different difficulties.

    Tasks can be divided into four categories.

    The first category is basic derivation problems.

    These problems test basic abilities such as definition understanding, quantifier handling, direct proof, and proof by contradiction. The problems need not be complex, but they should expose common logical errors.

    The second category is multi-step proof problems.

    These tasks require combining multiple conclusions and are suitable for observing whether the model can plan a proof structure, control dependencies, and maintain consistent notation and assumptions across a long output.

    The third category is condition-sensitive problems.

    By deleting, replacing, or weakening one assumption in the original proposition, one checks whether the model still mechanically reuses the original proof. Some variants remain true, some require additional conditions, and some should lead to a counterexample.

    The fourth category is error diagnosis problems.

    The model is given a proof containing a hidden error and is asked to locate the problem and explain its impact. This can distinguish “generating text that resembles a proof” from “reviewing the validity of an argument.”

    During testing, the source, input version, and expected checkpoints should also be retained. Preferring self-authored problems with clear sources, no public release, and authorized use can reduce interference from familiarity with existing answers, but this still cannot assert that overlap with training data has been completely excluded.

    V. Make the Evaluation Process Reproducible

    Fair comparison requires controlling variables outside the model as much as possible.

    First, unify the problem input. Mathematical notation, preceding definitions, allowed cited conclusions, and output language should remain consistent. If one test provides additional background and another does not, the results should not be compared directly.

    Second, fix the interaction rules. It is recommended to split testing into three modes:

    1. Single-turn response: no follow-up prompts, observing independent completion capability.
    2. Self-review: ask the model to check an existing proof for gaps.
    3. Limited correction: allow a reviewer to point out specific issues, then observe the repair effect.

    The three modes reflect different forms of value and should not be mixed together in statistics with multi-round human-guided results and single-turn results.

    Third, record runtime conditions that may affect results, such as input context, output length limits, whether access to external material is allowed, whether auxiliary computation is invoked, and the actual generation settings used. If a service does not provide a certain control capability, record that explicitly rather than assuming that test conditions are the same.

    Finally, repeat tests on the same problem. A single success shows that the task was completed once; the success ratio across multiple independent runs provides information about stability. Complete records should also be kept for failed samples, avoiding the practice of showing only the best-looking output.

    VI. Correctness Review Should Focus on “Fatal Errors,” Not Only Composite Scores

    Mathematical proofs are clearly non-compensatory: if a key conclusion is not proved, it cannot be compensated for by formatting and language expression.

    Therefore, a two-stage method of “validity first, quality second” is recommended.

    The first stage judges whether the proof is valid, focusing on:

    • Whether it accurately proves the conclusion required by the problem;
    • Whether necessary assumptions are omitted;
    • Whether it cites an inapplicable theorem;
    • Whether circular reasoning appears;
    • Whether it restates the conclusion to be proved as a premise;
    • Whether it skips a key step that determines whether the conclusion holds.

    If a fatal error exists, it should be marked as a failure rather than simply having a small number of points deducted.

    The second stage evaluates quality only for valid proofs or content explicitly marked as locally valid, including whether the proof is concise, whether notation is consistent, whether background explanation is sufficient, and whether the lecture structure suits the target readers.

    Review should preferably be performed by people familiar with the relevant field. Other models can help identify suspicious points, but agreement among multiple models cannot replace independent mathematical verification.

    Auxiliary computation also has clear boundaries. A finite number of numerical samples can help find counterexamples but usually cannot prove a universal proposition over an infinite range. Formal verification can provide rigorous checking within the adopted axioms, definitions, and formal statements, but only if the proposition and proof have been correctly formalized.

    VII. Recommended Workflow from “Proof Generation” to “Lecture Delivery”

    If the goal is a mathematical lecture note for learning or internal discussion, it is not advisable to ask the model to output a complete final draft in one pass. A more reliable approach is to proceed in stages.

    Step 1: Define the task boundary.

    Provide the full proposition, relevant definitions, target reader level, and allowed cited conclusions, and require the model to mark parts it cannot confirm. Input material should be desensitized as necessary, avoiding upload of research content or internal material that is not authorized for disclosure.

    Step 2: Review the proof outline first.

    Ask the model to provide the main lemmas, dependencies, and hardest steps. At this point, prioritize checking whether the route is valid rather than polishing language. If the overall direction is wrong, adjusting early saves more cost than revising a long final draft.

    Step 3: Verify key lemmas item by item.

    Separately check steps with strict dependency conditions or a high risk of ambiguity. When necessary, require an explanation of edge cases and determine whether the result still holds after removing a certain assumption.

    Step 4: Generate the complete lecture note.

    After the proof route passes review, organize definitions, propositions, proofs, examples, and notes. Non-core background can be appropriately compressed, while key derivations should explicitly state their basis.

    Step 5: Independent review and formatting check.

    Logical review and formatting review are best performed separately. The fact that a document formats correctly only indicates that its syntax and structure basically satisfy typesetting requirements; it does not indicate that the mathematical content is correct.

    The value of this workflow is that it moves high-risk logical judgments earlier and reduces the time spent editing an incorrect proof.

    VIII. Cost Is Not Just Quota Consumption or Per-Call Price

    How much monthly quota a particular generation consumes only reflects resource usage for a specific account and a specific task; it cannot directly represent general cost-effectiveness.

    The real task cost includes at least:

    Total task cost = API usage cost + waiting cost + human review cost + rework cost.

    Human review and rework are often underestimated. A model that is cheap but has subtle errors may consume more expert time than a model with higher API cost but more reliable results.

    For batch tasks, one can further calculate:

    Cost per accepted deliverable = total task cost over the evaluation period ÷ number of accepted deliverables.

    This metric is closer to actual value than per-call cost, but acceptance criteria and task difficulty must be unified. If different models handle very different problem distributions, this metric also loses comparability.

    Runtime experience should also be recorded separately, including queue time, timeout rate, retry count, and peak-hour availability. Remaining resource balance does not mean the task can necessarily be completed on time; conversely, rapidly exhausting resources does not prove that the model completed more effective work.

    IX. Enterprises and Developers Should Assign Model Responsibilities by Risk

    Different tasks have different reliability requirements.

    For formatting, notation consistency, background explanation, and first-draft writing, efficiency and cost can be prioritized. For core lemmas, algorithm correctness, and arguments that affect major decisions, stricter review processes should be established.

    In practice, layered responsibilities can be used:

    • The model handles retrieval clue organization, proof drafts, and hints about suspicious steps;
    • Professionals handle key judgments, condition verification, and final acceptance;
    • Automated checks handle formatting, calculations, and consistency issues that can be mechanically verified.

    When a task exceeds the verified capability range, the model should be allowed to clearly state uncertainty rather than be forced to generate a complete answer. For high-risk scenarios, “accurately identifying steps that cannot be confirmed” is usually more valuable than “confidently filling in an erroneous derivation.”

    X. Conclusion: What Really Deserves Comparison Is Reliable Delivery

    The most important goal in evaluating LLM mathematical capability is not to find a permanently valid overall ranking, but to establish a chain of evidence that matches actual tasks.

    An excellent proof draft can show that the model has useful assistance capability; a set of test results that spans problem types, is repeatable, and has undergone independent review can better indicate its capability boundaries. Only by examining correctness, stability, human effort, and resource consumption together can one judge whether it is suitable for entering a real workflow.

    For developers and enterprises, the reasonable goal is not to make the model appear like an omniscient expert, but to build a collaboration system in which errors are discoverable, processes are traceable, costs are measurable, and results are acceptable. This matters more for the long-term application value of LLMs than the impressiveness of a single output.