How to Evaluate LLM Mathematical Reasoning and Cost

    Evaluate large language models by the mathematical results they can reliably deliver—not by polished prose, response length, or quota consumption. This article outlines a staged proof-generation workflow, a reusable evaluation set, acceptance criteria, and a cost framework that accounts for fees, retries, waiting time, and human review.

    1. Start with the Problem You Need to Solve

    A common mistake when evaluating a large language model (LLM) is to turn a few successful answers, a polished set of lecture notes, or a single instance of quota usage into an overall capability ranking. Mathematical reasoning, technical writing, interaction efficiency, and resource cost are separate dimensions. A broad label such as “strong” or “weak” cannot adequately describe them.

    For developers, educators, and researchers, the more useful question is whether a model can consistently produce verifiable results for a specific task—and how much time, money, and human review those results require.

    Consider two distinct types of need.

    The first is resource utilization. A user has credits or quota that will expire soon and wants to convert them into useful work through more demanding tasks. Queueing, waiting, and the rate of consumption affect this process.

    The second is a specialized task. A user wants the model to construct a proof from a mathematical proposition and organize it into complete English lecture notes. This requires more than fluent writing: the model must understand definitions, identify assumptions, build an argument, and ensure that the proof has no unresolved logical gaps.

    These needs should be evaluated separately. Rapid resource consumption may reflect a large task, extensive output, or repeated attempts. It does not directly demonstrate strong reasoning. Likewise, professional-looking notes do not establish that their mathematical claims are valid.

    A sound evaluation framework therefore measures both output quality and the cost of obtaining it.

    2. Mathematical Capability Is Not a Single Metric

    Routine Problem Solving: Can the Model Handle Known Problems Correctly?

    Routine tasks include algebraic calculations, basic proofs, standard methods, and textbook exercises. These usually have definite answers or established solutions, making them useful for testing baseline reliability.

    Evaluation should go beyond checking the final answer. Review whether the model:

    • Uses all necessary conditions supplied in the problem.
    • Introduces stronger assumptions without justification.
    • Omits boundary cases.
    • Performs correct calculations within an invalid argument.
    • Reaches consistent conclusions under equivalent formulations.

    For example, if a proposition concerns a continuous function but the proof immediately uses derivatives, the model may have silently strengthened “continuous” to “differentiable.” Even if the final conclusion is correct, the proof is not acceptable.

    Proof Construction: Can the Model Connect Definitions to Conclusions?

    Asking a model to find a proof from a proposition is more demanding than asking it to reproduce a standard solution. It must choose a strategy, identify intermediate lemmas, and ensure that every deduction follows from the stated assumptions.

    However, the absence of a proof in one source does not mean that no proof exists elsewhere. Nor does it establish that the model has conducted original research. The proposition may already be known, be equivalent to a classical result, or follow directly from standard methods.

    A more accurate description of this task is independently generating a proof that can be reviewed, rather than demonstrating original discovery.

    Evaluation should focus on the proof itself: whether the argument is valid, its dependencies are explicit, and its critical steps can be independently checked. Speculation about whether the model has encountered similar material is less useful.

    Research Assistance: Can the Model Help Advance an Unresolved Problem?

    Open problems differ substantially from routine proof tasks. They may have no known solution, and their precise scope may need clarification before productive work can begin.

    A model can help researchers:

    • Analyze special cases.
    • Search for potential counterexamples.
    • Compare the strength of different assumptions.
    • Suggest potentially useful intermediate propositions.
    • Identify gaps in candidate proofs.
    • Turn intuition into more precise mathematical statements.

    These contributions can be valuable, but they do not automatically amount to solving an open problem. A reliable assessment of research contribution requires rigorous verification, confirmation of the problem’s status, and review by people with relevant expertise.

    When evaluating research assistance, record how many useful leads the model produces, which incorrect approaches it rules out, and what important obstacles it identifies—not merely how many proofs it claims to have completed.

    3. Turn Lecture-Note Generation into a Verifiable Workflow

    Requesting complete lecture notes in a single response is convenient, but fluent prose can conceal mathematical errors. A staged workflow is more reliable.

    Stage 1: Fix the Proposition, Definitions, and Scope

    Begin with the complete statement of the proposition and a list of relevant definitions and assumptions. For specialized terminology, confirm which convention applies.

    The same term can have different meanings across fields or textbooks. Without fixed definitions, a model may mix concepts during the proof, producing locally plausible steps that do not form a valid overall argument.

    A useful prompt is:

    Restate the proposition and list all assumptions, relevant definitions, and notation conventions. If the statement is ambiguous, identify the ambiguity rather than choosing the interpretation most favorable to the proof.

    Stage 2: Request a Proof Outline First

    Before drafting the full text, ask for the proof strategy, including major steps, intermediate lemmas, and theorems the model expects to use.

    This can expose problems early. If the outline already depends on unmet conditions, expanding it will only increase the review burden.

    For example:

    Provide only the proof structure and explain which conditions each step requires. Distinguish established results, lemmas that still need proof, and unresolved critical steps. Do not treat the claim to be proved as an established fact.

    Stage 3: Expand the Critical Lemmas Individually

    Develop the hardest and most error-prone steps separately. Avoid compressing several deductions into a phrase such as “this follows immediately.”

    Mathematical writing can omit routine calculations, but it must not omit the logical bridge that determines whether the conclusion holds. In particular, explain the applicable conditions for existence claims, interchange of limits, local-to-global arguments, and mappings between objects.

    If the model cannot complete a critical step, mark the proof as incomplete. More prose does not resolve a logical gap.

    Stage 4: Review Independently, Then Assemble the Notes

    The review stage should have a different objective from the generation stage. Instead of asking the model to “complete the proof,” ask it to “find the most likely points of failure.”

    Check, in order:

    1. Whether the assumptions of every cited theorem are satisfied.
    2. Whether each object exists and has the required properties.
    3. Whether the argument is circular.
    4. Whether a special case has been mistaken for the general case.
    5. Whether empty sets, zero objects, degenerate parameters, or other boundary cases have been omitted.
    6. Whether a simple counterexample invalidates an intermediate step.

    Model self-review can help identify problems, but it does not replace independent verification. A person with relevant mathematical knowledge should still review the critical arguments.

    Once the mathematics is confirmed, refine the English, format equations, organize sections, and add examples. Separating proof correctness from readability usually reduces unnecessary rework.

    4. A Simple Example of Why Review Matters

    Consider the proposition:

    A continuous real-valued function on a closed interval attains a maximum and a minimum.

    A flawed proof might say: “Set the derivative equal to zero, find all stationary points, and compare the function values.”

    The problem is that a continuous function need not be differentiable. Extrema may also occur at endpoints. This approach does not cover all functions allowed by the proposition.

    A more reliable route uses compactness. A closed bounded interval is compact. A continuous image of a compact set is compact, and a nonempty compact subset of the real numbers contains its supremum and infimum. The function therefore attains its maximum and minimum.

    If the intended readers have not studied compactness, the notes need to introduce the relevant results or use a proof suited to their background.

    This example illustrates two aspects of proof quality: logical correctness and transparent dependencies for the intended audience. Using a theorem the reader has not learned does not necessarily make a proof wrong, but it may make the lecture notes incomplete.

    5. Build a Reusable Evaluation Set Instead of Relying on Impressions

    Developers can create a fixed evaluation set covering different difficulty levels and failure modes. At a minimum, it should include the following categories:

    Task category Primary focus Common failure modes
    Basic calculation Computational accuracy and consistency across steps Sign errors, omitted terms
    Standard proof Theorem application and recognition of conditions Citing theorems whose assumptions are not satisfied
    Proof construction Logical connections and lemma development Missing steps, circular reasoning
    Flawed-proof review Counterexample construction and gap detection Polishing the text without correcting the argument
    False-statement detection Handling uncertainty and recognizing the need for counterexamples Forcing a proof of a false claim
    Lecture-note generation Organization, clarity, and explanation of dependencies Fluent writing with incomplete reasoning
    Exploratory tasks Useful leads and analysis of failed approaches Presenting conjectures as theorems

    Keep input materials, task instructions, permitted external resources, and stopping conditions as consistent as possible. If the model supports an adjustable reasoning budget, record the actual setting so that differences in resource allocation are not mistaken for differences in capability.

    Multiple independent runs on the same task can reveal consistency, but the number of runs and their limits should be explicit. One successful attempt establishes only that a successful sample exists—not that everyday performance is reliable. One failure likewise does not invalidate the model’s capabilities across an entire field.

    Score separate dimensions rather than relying only on a single aggregate score:

    • Mathematical correctness.
    • Proof completeness.
    • Adherence to assumptions.
    • Verifiability of citations and dependencies.
    • Error-detection ability.
    • Writing quality.
    • Amount of human revision required.

    Mathematical correctness should take priority. A proof with a critical logical error should not receive a high rating simply because it is fluent or lengthy.

    6. Measure Cost per Accepted Result

    Credits, points, and monthly quotas are accounting mechanisms, and they may not be directly comparable across services. A set of notes that consumes a small fraction of one account’s quota demonstrates only its resource use under that account’s rules. It does not establish a general cost advantage.

    A more useful metric is the total cost required to produce each result that passes review.

    A conceptual formula is:

    Cost per accepted result = (Direct usage fees + Human review cost + Failed-attempt and retry costs) / Number of accepted results

    If no results pass acceptance, the ratio cannot be used as a normal unit-cost measure. Record instead that the expenditure produced no acceptable output.

    Human review cost can be estimated by multiplying review time by an internally chosen hourly cost. Subscription fees that have already been paid and cannot be recovered are sunk costs. When deciding whether to continue using a service, focus on the marginal benefits and costs of additional tasks rather than inventing unnecessary work to avoid “wasting quota.”

    Time should also be broken down into:

    • Time waiting to enter processing.
    • Time to the first response.
    • Time to complete the output.
    • Time spent on human review and revision.
    • Total time to a deliverable result.

    Queueing is particularly disruptive in interactive research because each new step often depends on the previous result. Independent tasks may be suitable for batch processing or asynchronous scheduling. For proof exploration that depends heavily on feedback, response consistency matters more than nominal quota alone.

    7. Define Final Acceptance Criteria

    Model-generated mathematical lecture notes should meet at least the following conditions.

    First, the proposition, assumptions, and notation must remain consistent throughout. Definitions must not change meaning midway through the argument.

    Second, critical proof steps must be individually verifiable. Phrases such as “obviously” or “similarly” must not conceal the central difficulty.

    Third, cited results must be traceable and confirmable. Unverified references should be explicitly marked rather than presented as established facts.

    Finally, the notes must distinguish proved conclusions, intuitive explanations, examples, and conjectures. Exploratory material can remain, but its status must be clear so that readers do not mistake heuristic reasoning for rigorous proof.

    Important research results and high-stakes uses also require independent human review. Where appropriate, formal verification methods can check parts of an argument. However, translating a natural-language proof into a formal representation requires additional work; it is not an automatic guarantee of correctness.

    8. Evaluate Model Value Through Verifiable Deliverables

    An LLM’s professional value should not be determined by response length, the apparent complexity of its reasoning narrative, or how much quota a task consumes. A short proof may be rigorous, while a long one may repeatedly avoid the decisive step.

    A more reliable approach is to define the task, examine the result, and then calculate the full cost of obtaining an acceptable output.

    For mathematics and technical writing, use the workflow:

    Clarify the proposition → Plan the proof → Expand critical steps → Review independently → Assemble the lecture notes

    Maintain a fixed evaluation set and track correctness, consistency, waiting time, and the amount of human revision required.

    The resulting assessment may be less eye-catching than a simple leaderboard, but it answers the practical questions that matter: where the model provides reliable help, where expert intervention remains necessary, and whether the available budget is producing usable, verifiable results.