Evaluating Mathematical Reasoning in LLMs: A Practical Framework
A practical guide to evaluating large language models' mathematical reasoning. Learn how to design verifiable proof tasks, define scoring dimensions, run structured human review, and avoid common pitfalls like inflated complexity scores and incomparable cross-model benchmarks.
Evaluating a large language model’s mathematical reasoning ability is not about whether it “can chat about math.” The core question is whether the model can independently organize definitions, lemmas, and derivations in the absence of a ready-made proof, and leave behind evidence that can be reviewed. A common approach in public discussions is to hand the model an algebra or geometry statement and ask it to write an English lecture note in proper mathematical typesetting. This kind of task is closer to real work than multiple-choice or fill-in-the-blank questions: the statement usually has no standard solution to copy, and the output must be both logically closed and reviewable by a human.
What the Evaluation Should Solve
When enterprises bring LLMs into research assistance, lecture-note drafting, or formalized explanations alongside code, four pain points come up repeatedly.
First, surface fluency can mask logical gaps. A model may produce a seemingly complete proof, but wave through key steps with “obviously” or “by a standard result,” leaving reviewers unable to locate errors.
Second, a longer chain of thought does not mean stronger reasoning. Longer intermediate output is sometimes just repetition of definitions or rewriting of symbols, with few steps that actually advance the proof. If evaluation judges only by length or the subjective impression that “the model thought hard,” complex output gets overrated.
Third, quotas and queuing distort usage. When a subscription is about to expire or leftover quota would go to waste, users tend to burn the remaining allowance on one oversized task. This can reveal how stable the model is under pressure and long context, but the sample size is too small to serve as a capability ranking.
Fourth, cross-model comparisons often lack a shared problem set, shared constraints, and shared acceptance criteria. A single prompt like “prove this statement and write it up as lecture notes” means different people imagine different levels of rigor, making the results incomparable.
Evaluation should therefore fix the task contract first, and only then discuss differences between models.
Task Design: Breaking “Write Lecture Notes” into Verifiable Steps
Rather than issuing one overarching prompt, decompose a math task into the following layers.
Scope of the statement. Specify the category the objects live in, the axioms or textbook chapters assumed, and any stronger theorems that are off-limits. If the original literature provides no proof, state explicitly that the model must not pretend to cite a nonexistent proof, and require it to flag the known facts each step depends on.
Output structure. Require the output to follow a fixed skeleton: “Notation and conventions, restatement of the statement, proof strategy, step-by-step proof, counterexamples or edge cases, remaining gaps.” English write-up and review comments can be separated: the body in mathematical English, the review notes in the reviewer’s preferred language.
Evidence grading. Each step must be tagged as: expansion of a definition, direct computation, citation of a standard lemma, or heuristic conjecture. Conjectures must appear in their own section and must not be mixed into the formal proof.
Stopping conditions. When circular reasoning appears, a symbol is undefined, or a key lemma missing from the original literature is required, the model should stop and list what is missing instead of papering over it with filler.
Illustrative task constraints can be written as a checklist rather than a prompt template tied to any one chat product:
Statement: prove P under the given category and assumptions.Constraints:- Do not cite any existing proof text for this statement- Declare the definition or lemma used at each step- Mark uncertainty as OPEN; never disguise it as proven- Deliver LaTeX body text plus a "reviewer question list"Acceptance:- Notation table is complete- No circular reasoning- OPEN items can be replaced or supplied with lemmas by a human
The benefit of this design: even if the model’s math ability is mediocre, failure shows up as a “gap list” that a human can pick up, rather than as a long essay no one can fix.
Capability Dimensions: Profiles, Not a Single Ranking
Ranking models in a single strongest-to-weakest list suits casual conversation, not engineering decisions. A more reliable approach is profile scoring, with each dimension rated 0 to 3, keeping the raw output for reference.
- Fidelity to definitions: Does the model tamper with the statement, quietly strengthen assumptions, or switch categories?
- Proof progress: Do the critical inequalities, exact sequences, limits, or induction steps actually appear, rather than restated background?
- Citation discipline: Does the model name the conditions of standard lemmas? Does it still apply them when conditions are not met?
- Honesty about gaps: Are things the model cannot do clearly flagged, rather than buried in long paragraphs?
- Editability: Consistent notation, sections that can be replaced independently, easy for a human to turn into lecture notes.
- Cost and stability: Context length under equivalent tasks, number of failed retries, and the impact of timeouts and queuing on delivery.
“The model can work on open math problems” should mean: given no standard answer, it can still propose a verifiable lemma-level route and honestly mark the unproven parts. It does not mean “publication-quality correctness in a single generation.” Open-problem samples should be rare and extremely expensive to review; one or two impressive successes must not override the error rate on routine statements.
Different models’ preferences for “concise” versus “verbose” output should be recorded as style, not converted directly into strength or weakness. A concise chain is easier for humans to review; a verbose chain may contain useful side paths, or may dilute errors. The evaluation report should preserve both the final proof and intermediate drafts, but scoring is based on the final verifiable text. No matter how elegant the intermediate process, if the formal proof skips steps, points must be deducted for the skipped steps.
Human Review: More Critical Than Automated Scoring
Math tasks are not well suited to using another model as the sole judge. Two-person review, or separating “author” and “reviewer” roles, is recommended.
Fix the review order:
- Check the notation table first. Any undefined symbol is an immediate structural failure—no need to read further.
- Draw the dependency graph. Point each lemma at the prior results it uses, and check for cycles.
- Spot-check the three computation-densest steps. Expand one concrete instance or a low-dimensional special case to see whether the conclusion still holds.
- Finally, check whether the gap list matches the body text. If the body presents something as settled while the list flags it as unproven, the generation process was internally inconsistent.
When errors are found, record the error type rather than just writing “wrong”: strengthened assumptions, wrong quantifier order, missing boundary conditions, symbol collisions, treating heuristics as proofs. These labels support comparison when switching models or prompts later, instead of leaving only the memory that “it felt fine once.”
For lecture-note-style output, also try “reverse compression”: ask for the proof to be reduced to a dependency outline of no more than a dozen lines. If it cannot be compressed, the original is probably circling; if a key step disappears after compression, that step was never actually proved.
Quotas, Queuing, and Experimental Hygiene
Subscriptions, queues, and leftover credits change how people use models: consuming an entire quota with one oversized proof near expiry yields stress samples, not everyday samples. Experimental hygiene requires logging two classes of runs separately.
- Baseline runs: fixed problem set, fixed length cap, fixed retry count—used for horizontal comparison.
- Stress runs: deliberately long contexts or consecutive problems, to observe whether the model forgets notation, repeats paragraphs, or drops rigor in the later portion.
Do not treat “spending the leftover quota” as an evaluation goal in itself. Quota is a cost constraint; convert it into “human revision time per verifiable proof + invocation cost.” A model that produces very long text in one shot may cost more overall if revision takes even longer.
Queuing and timeouts belong in the experiment log too: waiting itself makes people skim on review and accept the first draft more readily. Reports must note whether runs happened during congested periods; otherwise stability conclusions are not reproducible.
Billing rules and specific quota numbers vary by platform. Evaluation documents should only record “abstract quota units consumed by this task” and “whether queuing was triggered”—never turn some particular subscription plan’s percentage into a universal performance metric.
A Workable Pipeline: From Statement to Archivable Lecture Notes
A repeatable process can look like this:
- Select statements. Sample from statements the team actually needs, covering computational, structural, and counterexample types—don’t pick only problems the model is good at. Attach a note on whether the literature already provides a proof.
- Freeze prompts and scoring sheets. No mid-run criteria changes; if changes are needed, open a new evaluation version.
- Generate. Keep three artifacts: the raw output, the notation table, and the gap list.
- Automated pre-check. Check bracket matching, undefined macros, duplicate section headings, and other formatting issues. Passing pre-check does not mean mathematical correctness.
- Human review. Write back by error type. If fixable, locally rewrite that lemma; if not, downgrade to “draft, not citable.”
- Archive. Statement, constraints, model version, timestamp, cost, and review verdict go into a single record. Skip cross-generation capability comparisons when versions cannot be traced.
If a proof needs programmatic assistance—say, a concrete matrix computation or small-scale enumeration—archive the computation spec and its inputs and outputs, and note which steps relied on computation and which were proved by hand. Never present externally computed results as if the model derived them “in its head.”
How to Read Evaluation Conclusions
A sound conclusion reads something like: “On this set of structural statements without existing proofs, Model A scores higher on gap honesty but is inconsistent in definition fidelity; Model B produces shorter text with more skipped steps. Neither reaches the level of a final lecture-note draft; both are suitable for lemma-level drafts.”
An unsound conclusion is a blanket “comprehensively surpasses” or “the only model that can handle open problems.” Mathematical ability varies widely across problem distributions. One English lecture note that consumed very little quota only shows that sample was cheap—it says nothing about the capability ceiling.
For engineering teams, the more useful decision is which steps can be handed to the model for drafting (notation tables, proof outlines, question lists) and which must be closed by humans (key lemmas, quantifiers, boundary conditions). Placing the model in the role of “traceable draft generator” is safer than placing it in the role of “judge.”
If the evaluation pipeline runs in the cloud, object storage can archive statements and review records, while logs and monitoring track timeouts and failure rates. There is no need to tie the evaluation to any particular chat product’s subscription story. Capability conclusions are valid only for the archived problem sets, prompt versions, and review standards they were produced under; swap in a different batch of problems and the profile may invert. Keeping that boundary is what makes an evaluation stand up to re-examination.
