Rigorously Evaluating LLM Mathematical Reasoning and Proof Capabilities

    Evaluating large language models on mathematics requires more than a handful of hard problems and subjective impressions. This article presents a task-tiered, reproducible approach that separates standard problem solving, complex proof construction, and open-problem exploration. It explains how to define consistent test conditions, assess first-pass and repeated performance, layer proof verification, use diagnostic cases, and turn model outputs into reviewable engineering workflows. The goal is to replace rankings based on impressions with evidence about what a model can reliably do, under which budget, and with what level of independent verification.

    1. From Subjective Rankings to Verifiable Capability Assessment

    A common way to evaluate a large language model’s mathematical ability is to select a few difficult problems, inspect whether the answers look satisfactory, and rank models accordingly. This can provide an initial impression, but it is not enough for rigorous conclusions.

    Mathematical tasks differ substantially by level. Some mainly test knowledge retrieval and calculation; some require organizing a long proof; others involve exploring a research direction that is not yet well defined. The same model may perform well on standard problems but fail repeatedly on complex quantifiers, boundary conditions, or long-range dependencies. Therefore, a claim that a model is “strong at mathematics” must be tied to specific tasks, resource limits, and verification standards.

    A more reliable evaluation should answer four questions:

    1. On what types of mathematical tasks does the model perform well?
    2. What inference budget was used to obtain the result?
    3. To what extent was the result independently verified?
    4. When the model fails, can it acknowledge uncertainty instead of generating a seemingly complete but incorrect proof?

    This means the object of evaluation is not only the final answer, but also argument reliability, exploration efficiency, clarity of expression, and engineering cost. Empirical rankings without consistent test conditions are, at best, hypotheses that still need verification.

    2. Distinguish Three Levels of Mathematical Tasks

    2.1 Standard Problem Solving: Focus on Consistency Between Answers and Steps

    Standard problems usually have clear conditions and known answers, such as algebraic calculation, probability analysis, calculus derivations, and basic proof exercises.

    This level is suitable for automated evaluation, but checking only the final numerical value is insufficient. A model may make a mistake in an intermediate step and accidentally arrive at the correct answer through another error. It may also set up the equations correctly but make a calculation error at the end.

    Evaluation should therefore record final-answer correctness, key-step correctness, completeness of condition usage, and whether any invalid transformations were used. For problems with parameters, evaluators should also check whether case analysis is sufficient and whether a conclusion that holds for a special value has been improperly generalized to all values.

    2.2 Complex Proofs: Focus on Logical Closure

    Complex proof tasks usually do not have a short answer that can be matched directly. The evaluation focus should shift to whether the proof is logically closed.

    A credible proof needs to state assumptions, goals, key lemmas, and dependencies between steps clearly. Common defects include:

    • using a core conclusion that has not yet been proved;
    • treating a locally valid statement as globally valid;
    • confusing necessary conditions with sufficient conditions;
    • ignoring boundary issues such as whether an extremum exists or whether a denominator is zero;
    • invoking a theorem without satisfying its applicability conditions.

    These errors often hide inside fluent prose. Natural language, neat structure, and abundant formulas cannot replace strict verification.

    2.3 Open-Problem Exploration: Focus on Contribution Type and Evidence Level

    Open problems do not have a single ready-made answer, so the scoring method for standard problems cannot be reused.

    A model may play several roles in research exploration: explaining existing theory, proposing candidate conjectures, searching for counterexamples, organizing proof routes, discovering special cases, or filling in local arguments. These contributions can be valuable, but they are not equivalent to solving the problem.

    Evaluation should distinguish between:

    • proposing an idea worth further investigation;
    • verifying a conclusion under restricted conditions;
    • providing a complete proof draft that has not been verified;
    • providing a proof that has undergone sufficient independent checking.

    There is a large gap between “can help explore an open problem” and “can solve an open problem.” A single response that looks research-like should not be summarized as a stable ability to solve open problems.

    3. Why Longer Output Does Not Necessarily Mean Stronger Reasoning

    Long derivations often make a model seem to have thought more thoroughly, but length is not a direct indicator of mathematical reliability.

    A long response may contain useful case analysis and necessary explanation, or it may be filled with repetitive narration, incorrect branches, and unproven intermediate judgments. Conversely, a short proof that captures the key structure may be more accurate and easier to verify.

    What matters is the quality of checkable argumentation, not treating the model’s generated explanation as a complete record of its internal reasoning process. Evaluators can require outputs to include:

    • clear definitions of variables and notation;
    • necessary key derivations;
    • theorems used and their applicability conditions;
    • treatment of special cases and boundary conditions;
    • explicit conclusions and statements of uncertainty.

    The goal should be “sufficiently transparent and easy to verify,” not “longer is better.”

    Naturalness of expression should also be evaluated separately. For teaching, detailed explanations matter; for research, compact and accurate arguments are more valuable. Mathematical correctness and presentation quality should not be merged into a single score, because doing so can reward answers that are well written but contain proof gaps.

    4. Build a Reproducible Mathematical Evaluation Process

    4.1 Construct a Tiered Test Set

    The test set should cover different knowledge areas and different reasoning structures, rather than only collecting the hardest problems.

    Problems can be divided by area, such as algebra, analysis, geometry, combinatorics, and probability. Each problem should also be labeled according to whether it mainly tests calculation, construction, counterexample search, induction, or multi-step proof. The set should also include tasks with insufficient conditions, propositions that are themselves false, and tasks that require clarifying definitions, so that evaluators can check whether the model identifies the issue instead of mechanically producing a proof.

    Test materials should include public classic problems, reviewed newly written problems, and mathematical subproblems from real business contexts. Merely changing the numbers in classic problems may not effectively eliminate memorization and template reuse; key assumptions or reasoning structures should also be changed.

    The problem bank does not need to be large at the beginning, but every problem should have a clear basis for verification. Problem quality is usually more important than quantity.

    4.2 Standardize Inputs and Operating Conditions

    Fair comparison requires controlling prompts, context materials, output limits, external tool permissions, and number of attempts as much as possible.

    In particular, two modes should be distinguished:

    • Independent solving mode: no external computation or retrieval is used, mainly observing the model’s own problem-solving performance.
    • Tool-assisted mode: the model may call calculation programs or retrieve materials, observing the performance of the complete workflow.

    Both modes are valuable, but they should not be mixed into a single ranking. For tool-assisted results, evaluators should separately record whether the tool was executed correctly, whether the model interpreted the result correctly, and whether the final conclusion went beyond what the tool evidence supports.

    In addition, actual inputs, outputs, runtime, and failure cases should be recorded. Otherwise, a single impressive-looking result cannot be reviewed, and it is difficult to determine whether it depended on special context.

    4.3 Evaluate Both First-Pass Success and Repeated-Attempt Performance

    Keeping only the best result from multiple runs overestimates the everyday user experience, while testing only once may be affected by random variation.

    It is advisable to report first-response pass rate, success under a fixed number of attempts, consistency across repeated runs, and the time and resources required to obtain a verifiable result.

    It is also important to note that generating multiple candidate answers and reliably selecting the correct answer are two different capabilities. If selection requires substantial expert time, that cost must be included in the workflow; it should not be treated as a problem the model has already solved automatically.

    5. Use a Layered Approach for Proof Verification

    5.1 Basic Checks: Eliminate Obvious Errors

    First check whether notation is consistent, whether variable ranges are clear, whether calculations are correct, and whether the key conclusion actually answers the problem.

    For applied mathematical problems, evaluators should also check units, dimensions, constraints, and the practical meaning of the result. A numerically correct formula that violates business constraints still cannot be used directly.

    5.2 Local Checks: Verify Critical Transitions

    In complex proofs, the steps most worth checking are often those after phrases such as “obviously,” “it follows that,” or “it is easy to prove.”

    Reviewers should ask, step by step: What conditions does this step depend on? Does it use a conclusion that has not yet been obtained? Does it still hold under a different boundary case? Can a counterexample be found?

    For example, when dealing with extrema of functions, it is necessary to distinguish between the existence of a minimum and the existence of only an infimum. When exchanging integrals and limits, the conditions required for the exchange must be stated rather than performing the operation solely because the forms look similar.

    5.3 Independent Checks: Avoid Repeating the Same Error

    Having another model response check the proof can help find problems, but it cannot serve as a final guarantee. Different responses may still share similar error patterns.

    More robust methods include human review, independent derivation, numerical experiments, counterexample search, and, where appropriate, formal proof checking. These methods have different levels of evidential strength: numerical experiments can reveal errors but usually cannot prove a general proposition; formal checking can verify an encoded argument, but its guarantee is still limited by whether the formal proposition, assumptions, and encoding accurately correspond to the original problem.

    6. Test Evaluation Criteria with a Concrete Case

    Consider the proposition: “A continuous function on a closed interval necessarily attains its maximum and minimum.”

    This statement needs to make clear that it refers to a real-valued continuous function defined on a closed bounded interval. If the interval is changed to an open interval, the conclusion no longer holds in general. For example, the function f(x)=x on the interval 0<x<1 has neither a maximum nor a minimum, although it has a supremum and an infimum.

    When evaluating a model, evaluators can ask it to perform the following tasks in sequence:

    1. Explain the conditions required for the original proposition to hold.
    2. Determine whether it still holds after removing the endpoints.
    3. Construct a counterexample and explain why it is valid.
    4. Distinguish between extrema and bounds.
    5. Check an intentionally flawed proof that confuses the concepts above.

    This set of tasks is more diagnostic than asking for the theorem statement only once. It tests knowledge understanding, sensitivity to conditions, counterexample construction, and error identification at the same time, and it can reduce the influence of answering from familiar wording alone.

    7. Engineering Implementation: Treat the Model as a Reviewable Mathematical Collaborator

    For developers and enterprise users, the value of an LLM’s mathematical ability is not only solving difficult problems. It also includes assisting with requirements modeling, optimization analysis, metric definition, and algorithm justification.

    A recommended workflow is “task definition—candidate derivation—independent verification—result delivery.”

    In the task definition stage, variable ranges, business constraints, objective functions, and acceptable approximation levels should be specified. In the candidate derivation stage, the model can be asked to provide different routes and mark the assumptions each route depends on. In the independent verification stage, calculation checks, human review, or stricter proof verification should be selected according to risk.

    The final deliverable should include conclusions, applicable conditions, verification records, and unresolved problems. For high-risk decisions, unverified derivations should not directly trigger production actions.

    At the same time, teams should build a failure-case library and continuously record issues such as omitted conditions, incorrect citations, circular reasoning, and overconfidence. Such records are more useful than a single overall score for helping teams determine which tasks are suitable for automation and which must retain human review.

    8. Conclusion: Replace Impressions with Evidence and Rankings with Tasks

    Rigorous evaluation of LLM mathematical ability cannot rely on brand impressions, version labels, output length, or a few successful examples. It should be based on task tiers, consistent conditions, repeated testing, and independent verification.

    Standard problems focus on consistency between answers and steps; complex proofs focus on logical closure; open-problem exploration focuses on actual contributions and evidence levels. The three can complement one another, but they cannot replace one another.

    For developers, the most valuable conclusion is not that a model is “generally the strongest,” but a clear statement of what it can reliably complete under a given task and budget, which results need review, and what signals require stopping automated processing. Only by turning these boundaries into executable evaluation and review mechanisms can mathematical reasoning capability become reliable engineering value.