Evaluating LLM Mathematical Reasoning for R&D Teams

    A practical guide to evaluating large language models for proof drafting, technical lecture notes, and review assistance. Learn how to define task tiers, assess verifiable deliverables, control evaluation variables, account for compute and human review costs, and integrate models into a repeatable review workflow.

    R&D teams adopting large language models often make two mistakes: treating one fluent response as evidence of broad competence, or equating rapid quota consumption and long queues with poor usability. Mathematical reasoning and technical writing make both biases particularly visible. A proof may read like a textbook while quietly changing the assumptions of a crucial lemma. A lengthy explanation may simply repackage existing material.

    If the goal is to determine whether a model can reliably support lecture notes, proof drafts, and review assistance, evaluation must be repeatable, comparable, and tied to operational costs—not based on impressions from a chat session.

    Evaluate Tasks, Not Product Impressions

    Mathematical capability is not a single score. At minimum, divide it into three tiers, each with different acceptance criteria.

    Tier 1: Self-Contained Problems

    The prompt supplies the proposition, definitions, and permitted theorems. The model must derive the result within that specified framework.

    This tier tests symbolic manipulation, assumption checking, and completeness of presentation. Many mainstream models can produce apparently correct responses on well-covered undergraduate topics. These problems therefore make useful baselines, but should not determine model selection on their own.

    Tier 2: Filling Gaps in the Literature

    Public sources may state a proposition without proving it, or distribute its proof across multiple references with inconsistent notation. The model must organize lemmas, choose a proof strategy, and turn the result into lecture notes that compile.

    The question is not whether the model can repeat existing material, but whether it can maintain logical completeness when information is incomplete. Explicitly prohibit invented page references and theorem numbers, and require each step to identify the assumptions it uses.

    Tier 3: Open Problems

    These problems have no accepted solution, or their existing proofs are disputed. The appropriate expectation is not a definitive answer, but testable partial results, counterexample-search strategies, and clearly stated limits.

    Treating an isolated insight on an open problem as stable capability can lead teams to overestimate what a model can safely handle in production. Open problems are useful stress tests, not suitable as the sole basis for ranking models.

    Use the same prompt constraints across all three tiers: output language, notation, length limit, whether staged self-checks are allowed, and explicit uncertainty labeling. Comparing models under different prompting styles measures prompt engineering differences as much as model differences.

    Replace Subjective Praise with Verifiable Deliverables

    Mathematical outputs should support automated spot checks and expert review. Standardize four types of deliverables.

    1. Structured Proofs

    Require separate sections for assumptions, the claim to prove, lemmas, the main proof, and boundary cases. Number each lemma individually.

    Reviewers should check whether the main proof actually uses each lemma and whether any stated assumptions remain unused before judging the quality of the prose.

    2. Text with a Controlled Level of Formality

    Full formalization is expensive and unnecessary for many teams. A more practical approach is to require consistent labels for critical steps, such as “by definition,” “assume for contradiction,” and “construct a mapping.”

    The following platform-independent checklist can support rule-based scans in evaluation scripts. It does not replace mathematical review.

    1. Required fields: proposition statement, assumption list, proof body,
    2. uncertain steps, self-check conclusion
    3. Prohibited: fabricated reference identifiers, examples presented as
    4. general proofs, omitted quantifiers
    5. Limits: each proof must stay within the agreed word limit;
    6. a timeout counts as incomplete

    3. Compile-Ready Technical Notes

    Mathematical writing is valuable only if readers can verify it. Require a standard markup format for formulas, definition environments, and cross-references, with compilation performed locally or in continuous integration.

    Compilation failures, inconsistent notation, and definitions introduced after their first use should count as writing defects, even when the overall proof strategy is sound.

    4. An Error Checklist

    Ask the model to identify the three most fragile steps at the end of its response and explain how to check them using counterexamples or special cases.

    An answer that exposes its weak points is usually better suited to human review than one that simply declares the proof complete.

    Score Dimensions Separately

    Assess logical correctness, fidelity to assumptions, traceability of steps, notation consistency, readability, and resource consumption separately.

    A severe failure in any critical dimension should disqualify the output. Examples include misapplying a key theorem, reversing a quantifier, or treating an unproved conclusion as an established fact.

    A weighted aggregate score can be useful for recordkeeping, but should not support claims of overall superiority.

    Treat Quotas, Latency, and Queues as Part of Practical Capability

    Extended reasoning tasks consume context capacity, generated tokens, and waiting time. For services billed by usage quota or request, a lecture-note task that consumes several percentage points of a monthly allowance may indicate a high-cost task rather than an inefficient model.

    Record costs explicitly:

    • Input length
    • Output length
    • Number of self-correction rounds
    • End-to-end latency
    • Number of retries after failures

    Otherwise, a cheaper model that requires repeated attempts may cost more overall than a slower model that succeeds once.

    Define Three Budget Categories

    Routine budget: Use this for self-contained problems and short proofs. Limit interaction rounds and maximum output length, then measure first-pass success within those limits.

    Lecture-note budget: Allow longer outputs, but cap compile-and-revise cycles—for example, at three rounds. Stop once the limit is reached rather than polishing formatting indefinitely.

    Exploration budget: Reserve this for open problems and track it separately from routine usage.

    This separation prevents teams from sending heavy tasks through unsuitable access routes merely to use remaining quota. It also helps distinguish reasoning failures from queue delays and rate limits.

    Include Human Review Time

    A document generated in five minutes but requiring two hours of expert work to disprove costs more in practice than a short proof generated in ten minutes and checked in twenty.

    Longer reasoning is neither inherently better nor inherently worse. Keep additional steps only when they improve verifiability or reduce rework. Verbose intermediate reasoning that cannot be checked merely increases the reading burden.

    Control Variables Instead of Chasing Leaderboards

    Informal comparisons in public chats are easily distorted by leaked questions, different prompts, different sampling settings, retrieval access, or unequal numbers of attempts.

    Internal comparisons should control at least the following variables:

    • Problem coverage: Stratify the test set by domain, such as algebra, analysis, and foundational logic. Include both standard exercises and problems whose sources state a result without providing a proof.
    • Reference status: Before evaluation, have a human prepare a reference proof for each sample or explicitly label it as having no standard answer.
    • Prompt versions: Store prompts under version control. Do not add ad hoc instructions during the evaluation.
    • External retrieval: Disable retrieval or apply the same retrieval conditions to every model. Otherwise, the comparison measures information access rather than reasoning alone.
    • Generation settings: Record random seeds where supported, or at least fix decoding parameters. If the service does not expose these controls, disclose the reproducibility limitation and increase the sample size.
    • Repeated trials: Run each problem several times and report pass-rate intervals rather than displaying only the best answer.

    Be cautious with strong claims about solving open mathematical problems. A more defensible conclusion is:

    Under the specified problem set, budget, and review criteria, Model A achieved a higher first-pass success rate, a lower severe-error rate, and less human revision time than Model B.

    Do not extrapolate a single success into a claim that one system alone can handle open problems. Nor should reasoning length become a proxy for intelligence.

    Models may make different trade-offs between concision and exploration. Shorter outputs may resemble publishable lecture notes, while longer outputs may be more useful as working drafts. Both must satisfy the same disqualification rules.

    Move from Pilot Evaluation to Routine Use

    Implement the process in four steps rather than selecting a supposedly strongest model first and looking for tasks afterward.

    Step 1: Freeze the Test Set and Rubric

    The set need not be large, but it should represent the team’s actual work:

    • Completing missing proofs
    • Revising lecture notes
    • Checking derivations written by students or colleagues
    • Converting natural-language propositions into symbolic statements

    For each problem, record its difficulty, whether a standard proof exists, and which theorems are permitted.

    Step 2: Run a Small Blinded Review

    Remove model identifiers from generated outputs. Have two reviewers with relevant domain expertise score them independently, then hold a brief discussion to resolve disagreements.

    Prioritize severe logical errors over stylistic preferences.

    Step 3: Calculate Cost per Usable Output

    For example, measure how many human-validated proofs or lecture-note pages are produced per thousand quota units.

    Also record how queuing, timeouts, and interruptions affect completion rates. An access route that cannot return results reliably during peak periods should not sit on the critical path before a deadline. It may still be useful for nonurgent drafts.

    Step 4: Integrate Models into a Review Loop

    Use a review loop, not an automatic publishing loop. Proofs, lecture notes, and external technical documents must retain human sign-off.

    Models can produce initial drafts, standardize notation, and suggest fixes for compilation errors. The author remains accountable for the result.

    For open problems, label outputs as conjectures or drafts by default and attach a verification plan.

    Supporting the Workflow in the Cloud

    A cloud-based evaluation can store problems, scoring records, and compilation logs in object storage, schedule batch runs through a task queue, and use logging and monitoring to track timeouts and failure categories.

    If using general-purpose cloud resources such as Baidu AI Cloud, treat them as infrastructure for compute, storage, and scheduling. Evaluation conclusions must come from the test set and human review, not platform marketing. Do not include unpublished interfaces, prices, or performance figures in reports.

    Standardize Prompts and Lecture-Note Structure

    A short instruction such as “prove this proposition and write lecture notes” can reveal a model’s default style, but it is unsuitable for formal evaluation.

    It leaves notation, reader background, and prohibited approaches unspecified. Models fill in those gaps differently, making results difficult to compare.

    Split the prompt into a stable prefix and problem-specific variables.

    Stable Prompt Prefix

    Specify that:

    • The readers are R&D staff with the relevant undergraduate background.
    • The model must restate the proposition before proving it.
    • It must not introduce stronger theorems outside the permitted set. If one is necessary, it must list it separately and explain why.
    • Every new symbol must be defined before use.
    • The proof must include a self-check using a special case before it concludes.
    • The output must separate the lecture-note body from reviewer notes.

    Change only the proposition, given conditions, and word limit between problems.

    Lecture-Note Template

    Use a consistent structure:

    1. A short motivation paragraph
    2. Definitions
    3. Proposition
    4. Proof
    5. Examples
    6. Common mistakes
    7. Exercises

    Examples should follow as special cases of the main proof, not introduce an unrelated line of intuition. The common-mistakes section should focus on quantifiers, boundary conditions, and steps skipped as “obvious.”

    This creates reusable writing standards that remain valuable even when the team changes models.

    Common Failure Modes and Countermeasures

    Repackaged Retrieval Presented as a Proof

    The model rewrites retrieved content and presents it as an original derivation.

    Countermeasure: Disable retrieval, or require every external fact to be traceable to materials supplied in the prompt. Spot-check citations that do not appear in those materials.

    Locally Plausible, Globally Invalid Reasoning

    Individual steps look correct, but the conditions required by one lemma do not carry through to the next.

    Countermeasure: Require a dependency graph showing which lemmas support the main conclusion and which assumptions support each lemma. Review that graph before reading the prose.

    Notation Drift

    The same object changes symbols, or the proof conflates finite and infinite objects, or open and closed sets.

    Countermeasure: Maintain a symbol table. Return outputs for revision when compilation or rule-based checks flag undefined symbols.

    Excessive Confidence

    An open problem is presented as solved.

    Countermeasure: For problems without standard answers, require three sections: “Partial Results,” “Unresolved Questions,” and “Next Verification Steps.” An unsupported claim of a complete solution counts as a severe error.

    Uncontrolled Costs

    Repeated self-correction exhausts the budget without improving on the first draft.

    Countermeasure: Set a revision budget. Every round must address specific defects from the previous round; prohibit aimless rewrites.

    Write Internal Conclusions That Can Be Verified

    Limit evaluation reports to three types of conclusions.

    Capability conclusions: Identify the task tiers where performance is stable and the error categories the model handles reliably.

    Cost conclusions: Report usable output per unit of expenditure and latency distributions.

    Usage conclusions: State whether the model is suitable for drafting, producing review checklists, or exploratory work only.

    Avoid unverifiable rankings such as “outperforms another model in every respect.” For routine proof drafting and lecture-note preparation, prioritize low severe-error rates and manageable revision costs. For open-ended exploration, allocate a separate budget and treat every output as material that remains subject to falsification.

    Reliable evaluation turns an abstract impression of intelligence into observable error rates, rework time, and resource consumption. Once the problem set, prompts, budgets, and sign-off requirements are fixed, models can change while the method remains with the team. That is a stronger foundation for engineering decisions than any single impressive chat response.