Evaluating LLM Mathematical Reasoning: A Reproducible Framework
A reliable evaluation of large language models for mathematics must separate proof correctness from writing quality and operational costs. This article outlines a reproducible framework for classifying tasks, auditing proofs, comparing prompt conditions, tracking resource use, and running a small baseline experiment to determine where models can assist and where expert review remains essential.
Define Evaluation Goals Before Comparing Models
When discussing whether a large language model is suitable for mathematics, a common mistake is to treat one conversation as evidence of overall capability. Expiring credits, long queues, or a quota exhausted after only one or two tasks are usage costs. They do not directly establish the strength or weakness of a model’s reasoning. A more reliable approach is to fix the tasks first, then compare output quality and resource consumption under equivalent constraints.
For developers and research teams, mathematical tasks generally fall into three categories:
- Turning established textbook proofs into lecture notes.
- Attempting independent proofs of propositions whose public sources omit a proof.
- Proposing testable approaches or counterexamples for open problems.
These categories differ substantially in difficulty. Combining them into one leaderboard can distort the results. An evaluation report should identify the task category and state whether retrieval, follow-up prompts, and human revision are allowed.
Break Proof Evaluation into Auditable Components
A mathematical output should not pass merely because it looks like a proof. Score its components rather than assigning a subjective overall impression to the lecture notes.
- Statement fidelity: Does the output accurately reproduce the assumptions, conclusion, quantifier scope, and mathematical setting? Does it silently strengthen the assumptions or weaken the conclusion?
- Declared dependencies: Are the definitions and lemmas identified? Is there circular reasoning, or is the conclusion being treated as an established fact?
- Inference steps: Does each step follow from earlier steps and the declared tools? Are omitted steps explicitly labeled as proof sketches, with enough guidance to fill them in?
- Boundary cases and counterexamples: Does the output explain why easily misused assumptions are necessary, or provide counterexamples showing that they cannot be dropped?
- Presentation requirements: If English lecture notes are required, are terminology, notation, numbering, and cross-references consistent? Does the LaTeX compile?
Keep the checklist in a structured record rather than scattered across chat histories:
task_id: proof-lecture-001claim_source: public-math-notes (proof omitted by source)constraints: english, latex, no external paste of full solutionschecks:- hypotheses_match: pass/fail- no_circularity: pass/fail- step_gaps: count- counterexample_section: present/absent- latex_compiles: pass/failhuman_revision_ratio: 0.0-1.0token_or_quota_used: relative units only
Quota usage here is a relative measure of consumption, not an invented vendor price or subscription rule. Running the same proposition three times with identical prompts and output-length limits, then recording variation, is more informative than reporting that a single attempt exhausted the available credits.
Use Focused, Reproducible Prompts
A minimal instruction such as “prove this proposition and write it as English lecture notes” provides little guidance. It is useful as a stress test, but should not be the only benchmark. Such a prompt makes the model responsible for interpreting the problem, filling in conventions, choosing a proof strategy, and controlling length. If the result fails, it may be unclear whether the cause is limited capability or missing instructions.
Prepare two prompt conditions and use them as a pair:
- Stress-test prompt: Supply only the proposition, output language, and format requirements. Prohibit pasting an existing proof.
- Specified prompt: Add notation conventions, the scope of permitted prerequisite theorems, the target length, and required counterexamples or remarks.
Save the complete prompts and raw outputs for both conditions. If the stress-test prompt fails but the specified prompt succeeds, report that the model is “unstable when conventions are unspecified,” rather than concluding that it “cannot do mathematics.”
If both conditions produce a polished, standard-looking proof for a proposition whose source omits one, also test key steps by changing a local assumption. Does the model continue to insist on the original conclusion after an assumption changes? This helps distinguish apparent recall from transferable reasoning.
Reasoning Length Is Not Reasoning Quality
Long reasoning traces are often interpreted as evidence of greater care. In mathematical writing, however, excessive length creates two costs: the output becomes harder to audit, and fewer problems can be completed within the same quota.
A more useful comparison is auditability density: Are the key lemmas explicit? How much of the text is redundant self-commentary? Can the final lecture notes be read independently?
Score any available working draft separately from the reader-facing notes. The final document should resemble usable lecture notes: definitions first, proofs divided into sections, and a sentence stating the goal of each section. A working draft should serve only as evidence for checking possible hidden gaps, not receive extra credit for its length.
A concise proof with every step justified should score higher than a lengthy one whose central inequality has no clear basis.
Evaluate Established Results, Proof-Omitted Propositions, and Open Problems Separately
Without separating task types, a capability ranking can confuse organizing known material with handling questions that have no standard answer. Use at least three categories:
- Established-result tasks: A proof is already accepted by the mathematical community. Evaluate restatement, error correction, and explanation.
- Proof-omitted tasks: The statement is public, but its source does not include a proof. Evaluate proof construction rather than reproduction.
- Open-problem tasks: The conclusion remains unsettled or requires substantial background. Evaluate the ability to propose provable subclaims, identify obstacles, and design checks—not claims of having solved the problem.
For open problems, a complete-looking proof that fails to identify possible points of error should be treated as high-risk output. A useful assessment might say: the system is suitable for explaining established results, requires line-by-line human review for proof-omitted propositions, and should be used only for exploratory drafts on open problems. One aggregate score should not replace these distinctions.
Subjective comparisons across model generations or product families—such as “between two generations” or “at a certain level of mathematical writing”—are personal observations, not technical conclusions, unless supported by a fixed task set, blind evaluation, and documented failures. Teams producing internal rankings should publish the task list, prompt templates, scoring rubric, and who reproduced the experiments.
Track Quotas, Queues, and Workflow Separately
Exhausted subscription quotas and queues that prevent continuous iteration are delivery-workflow issues. Confusing them with mathematical capability can lead to poor procurement decisions. Switching models merely to use remaining credits neither measures capability accurately nor establishes a stable workflow.
A more effective process is to:
- Start with a screening test of three to five propositions, recording relative quota consumption and the proportion of human revision.
- Move long-form lecture-note generation into batch processing only after the screening test passes.
- For queue-sensitive work, split the task into a proof outline and a separate English editing and formatting stage, so one failed generation does not waste the entire allocation.
- Preserve compilable intermediate drafts so that switching models requires rerunning only the failed sections.
Where a platform provides general-purpose object storage, logging, monitoring, and alerts, prompts, outputs, compilation logs, and human score sheets can be kept in one traceable record. This is engineering governance, not a claim about model quality.
Score Writing Quality Separately from Mathematical Correctness
English lecture notes introduce stylistic factors: whether sentences sound natural, terminology is idiomatic, and paragraphs are balanced. These affect readability, but they do not establish proof correctness.
Use separate mathematical and writing scores. A clear logical error should disqualify the output on the mathematical dimension; the writing score should indicate whether editing is needed. Treating more human-sounding prose as stronger mathematics is a common evaluation mistake.
A practical rubric can use grades without pretending to offer a benchmark precise to decimal places:
- A: Every step is justified, the LaTeX compiles, and human edits affect wording only.
- B: The main argument is correct, gaps are identifiable, and the revision proportion is below roughly 30%.
- C: The conclusion is on the right track, but key steps cannot be audited.
- D: The output changes assumptions, uses circular reasoning, or contains numerous factual or notation errors.
The roughly 30% threshold is an illustrative workflow criterion, not an official product metric. Teams should adjust it to their own review costs.
Write Conclusions Others Can Reuse
An evaluation summary that colleagues can use should contain four consistent statements:
- Task coverage: How many tasks involved established results, proof-omitted propositions, and open problems?
- Process constraints: Was evaluation blind? Were multiple turns allowed? Was output length limited?
- Results: What proportion received each grade, and what were the characteristic failures, such as skipped steps, notation drift, or fabricated lemmas?
- Costs: What was the relative quota consumption, how did queues affect the number of iterations, and how much time did human revision require?
Only then is it reasonable to conclude that a system is “suitable for drafting lecture notes” or “unsuitable for independently handling open problems.” Without these four statements, claims such as “the only model currently capable of open mathematics” or “between two model generations” lack supporting evidence.
A Minimal Baseline Experiment
A team can establish a baseline in an afternoon rather than waiting for a large leaderboard:
- Select two short propositions from clearly identified sources that omit their proofs, plus one standard textbook theorem as a control.
- Run each task once under both the stress-test and specified prompt conditions. Request English lecture notes and attempt to compile them.
- Have a reviewer familiar with the field apply the five-component checklist and record the revision proportion.
- Turn observed failure modes into checklist items, add them to the next prompt, and examine whether the failures reflect prompt deficiencies or capability limits.
- Expand usage only when the proof-omitted tasks achieve grade B or better and open-problem use is explicitly restricted to exploratory drafts.
The result is not a promotional ranking, but a reviewable engineering judgment: which mathematical tasks a model can make easier to start, and where a human must close the proof gaps. Quotas and queues remain workflow constraints to optimize separately. Mathematical correctness remains a matter of auditable steps.
