How to Evaluate LLM Mathematical Proof Capabilities
A reliable evaluation of an LLM’s mathematical proof capabilities requires more than an impressive example or a benchmark ranking. This article outlines a reproducible framework covering task design, expert review, proof-oriented prompts, evaluation pipelines, and cost control. The goal is to measure how consistently a model produces acceptable proofs—and the total cost of each accepted result.
When discussing whether a general-purpose large language model is good at advanced mathematics, people often point to a complete proof, an English-language lecture note, or a model leaderboard. These can provide useful signals, but drawing conclusions directly from them can overestimate or underestimate a model’s practical value.
A successful response may involve a problem that closely matches the model’s familiar knowledge distribution or a prompt that happens to work particularly well. A failure may reflect sampling variation, overly strict formatting requirements, or a missing definition in the context.
A more useful question is therefore not “How good is this particular model?” but:
Given clearly defined tasks, quality thresholds, budgets, and risk constraints, how consistently can the model produce mathematical proofs accepted by experts, and what is the total cost per accepted result?
This turns subjective impressions into reproducible, auditable engineering metrics.
1. Break Mathematical Proof Capability into Verifiable Tasks
Advanced mathematical proof is not ordinary question answering. A complete task typically involves understanding the statement and assumptions, identifying the mathematical domain, choosing a proof strategy, constructing intermediate lemmas, checking the sufficiency of each step, avoiding fabricated references, and maintaining consistent notation. Some tasks also require readable lecture notes.
A failure at any stage can invalidate the entire proof.
For practical evaluation, divide tasks into several levels:
- Basic calculations and definition reformulation. Check symbol interpretation, coherent derivations, and correct mathematical formatting.
- Reproving textbook theorems. Use statements with publicly available proofs, but ask for a different proof approach to assess understanding rather than reproduction.
- Supplying missing proofs in public materials. This is a particularly valuable category: the goal is to construct a proof from definitions and established results, rather than repeat an existing answer.
- Open-ended exploration. Tasks may include finding counterexamples, suggesting proof strategies, or verifying special cases. Treat outputs as research leads, not established conclusions.
- Long-form lecture notes. Once proof correctness is established, evaluate organization, teaching quality, terminology consistency, and language.
Dataset design should minimize contamination. For missing-proof tasks, prioritize internally curated or reformulated statements, or statements from public materials that do not include complete proofs. Retain expert reference proofs or a set of acceptable proofs.
The dataset should also have a balanced difficulty distribution, including routine exercises and problems requiring multiple lemmas or complex constructions. A high failure rate on an exclusively difficult dataset does not establish that a model is unusable. An exclusively easy dataset cannot reveal its limits.
2. Use a Scoring Rubric, Not “It Looks Good”
For each problem, use a fatal-error gate followed by multidimensional scoring.
First, check for fatal errors, such as:
- Proving the wrong implication or direction of the central statement.
- Circular reasoning.
- Treating an unverified claim as an established theorem.
- Missing assumptions.
- Ambiguous or inconsistent symbol references.
- Fabricated citations.
A response containing a fatal error should fail rather than qualify for a high score.
For responses that pass this gate, assess the following dimensions:
- Correctness: Are the conclusion and key steps valid? Are there unresolved gaps?
- Completeness: Does the proof cover all cases and address boundary conditions?
- Rigor: Is each inference justified, and are the conditions of every lemma satisfied?
- Independence: Does the model construct a proof rather than reproduce closely matching text?
- Verifiability: Can experts check the proof efficiently? Are key lemmas and dependencies clearly identified?
- Presentation: Are notation, paragraphs, equations, and surrounding text clear and consistent?
- Cost: How much compute, latency, human review time, and rework does the response require?
- Stability: How much do repeated runs on the same problem vary, and what failure types occur?
An adjustable weighted score can give correctness and rigor the highest weights, with presentation and teaching quality receiving secondary weight. The precise weights matter less than double-blind expert review, adjudication of disagreements, and traceable scoring records.
Do not use a single generation as the basis for a capability claim. Run each problem multiple times and examine the acceptance rate, worst-case outcomes, and average review cost.
3. Constrain the Proof Process, Not Just the Output Format
A common mistake is to provide a statement and ask the model to “prove it and write English lecture notes.” That may be useful for an informal trial, but it is insufficient for systematic evaluation.
A stronger prompt explicitly addresses assumptions, proof structure, and self-checks. For example:
Task: Prove proposition P under the stated assumptions.Input: The proposition, definitions, and established results you may use.Constraints:1. Do not cite literature or results that have not been explicitly provided.2. If a step cannot be proved, label it "unresolved step."Do not conceal gaps with vague language.3. State the conditions under which each key lemma applies.4. If producing English lecture notes, use consistent terminologyand include a notation guide.Output structure:1. Restatement of the proposition and notation guide2. Overview of the proof strategy3. Proof4. Self-check: assumptions, boundary conditions, circular reasoning,and permitted references5. Unresolved steps or possible counterexamples
This structure offers two benefits. First, separating the strategy from the proof helps experts quickly determine whether a problem lies in the overall approach or in the details. Second, explicitly requesting uncertainty disclosure reduces the risk of outputs that look complete but contain hidden gaps.
For difficult problems, ask for a proof outline first. A human can then confirm the direction before the model generates a complete proof and lecture notes. This staged process can reduce review costs compared with a single long generation.
4. Standardize Evaluation with an Engineering Pipeline
Evaluation should not depend on manually copying and pasting prompts and responses. A lightweight pipeline can version the problem set and prompts, pin the model version, retain output logs, and store expert reviews in a structured format.
The following pseudocode illustrates the workflow:
cases = load_stratified_math_dataset()results = []for case in cases:for run in 1..K:prompt = build_prompt(case,require_outline=True,prohibit_fabricated_citations=True)response = general_model_service.generate(prompt,budget_limit=case.budget)review = double_blind_expert_review(response.text,case.reference_proofs_or_acceptance_criteria)results.append({case_id: case.id,level: case.level,run_id: run,tokens: response.usage,latency: response.latency,fatal_error: review.fatal_error,score: review.score,review_minutes: review.minutes,failure_types: review.failure_types})summarize(results)
At a minimum, report these metrics:
- Proof acceptance rate: The number of runs accepted by expert reviewers divided by the total number of runs.
- Fatal-error rate: An indicator of suitability for high-risk applications.
- Cost per accepted proof:
(model call costs + human review costs + rework costs) / number of accepted proofs. - Average review time: An elegant-looking proof that is difficult to verify still imposes a cost.
- Stability range: Variation across repeated runs, rather than only the best result.
- Additional long-form metrics: Lecture-note structure, terminology consistency, readability of equations and surrounding text, and citation practices.
5. Control Costs Without Creating Low-Value Work to Use Up Credits
When subscription allowances, trial credits, or concurrency allocations are nearing expiration, it can be tempting to assign arbitrary tasks simply to consume the remaining resources.
That is poor cost management. An allowance is a resource, not inventory that must be exhausted. What matters is the useful output it produces.
A better approach is tiered routing:
- Use lower-cost general-purpose capabilities for problem screening, formatting, rewriting duplicate proofs, and archiving failure cases.
- Reserve scarce reasoning budgets for difficult, high-value statements, such as theorems without proofs in public materials or missing proofs in important projects.
- Set maximum budgets and stopping conditions for high-value tasks. Generate an outline first, obtain human confirmation, and only then produce the full proof.
- Cache frequently used problems and maintain version records to avoid repeatedly spending resources on the same work.
- When concurrency or queues are constrained, prioritize verifiable, reusable tasks over low-value experiments.
The underlying cost model is straightforward:
Total cost = model call cost + human verification cost + rework cost + queueing cost.
A model that responds quickly but produces frequent proof errors may require repeated expert checks. Its total cost can exceed that of a slower approach with a clear structure and explicitly identified gaps.
6. Replace Anecdotes and Rankings with Task-Level A/B Tests
Public discussions often swing between two extremes: one impressive proof is treated as evidence that a model can solve open mathematical problems, while one incorrect response is treated as evidence that it is entirely unusable.
A more reliable approach is task-level A/B testing. Use the same problem set, prompts, budgets, and review criteria to compare model versions or workflows on cost per accepted proof and high-risk error rate.
Open-problem settings require particular care. For a problem without a publicly available complete solution, a coherent model response is still only a research lead until it undergoes rigorous mathematical review.
In these settings, evaluation should focus less on a simple correctness judgment and more on whether the output:
- Offers a new approach that can be checked.
- Suggests a valuable counterexample.
- Exposes gaps in a proposed proof.
Do not combine these exploratory tasks with textbook theorem proving as though they measured the same capability.
7. Base Conclusions on Reproducible Engineering Metrics
To determine whether a general-purpose LLM is suitable for advanced mathematical proof and lecture-note writing, use the following checklist:
- Define task levels, distinguishing theorem reproving, missing-proof completion, open exploration, and long-form writing.
- Build a hidden evaluation set to reduce training-data contamination and single-example bias.
- Apply a fatal-error gate and multidimensional rubric through double-blind expert review.
- Require proof outlines, assumption checks, unresolved-step disclosure, and citation constraints in prompts.
- Record proof acceptance rate, fatal-error rate, average review time, and cost per accepted proof.
- Spend resources on high-value tasks rather than creating low-value calls to exhaust remaining credits.
- Use A/B tests in the actual target workflow instead of relying on isolated successes or leaderboard positions.
An evaluation becomes useful when “the model looks strong” is replaced with “the model consistently produces acceptable proofs on the target problem set at a manageable total cost.”
For teams selecting a model, the most credible evidence is not a widely shared proof. It is a repeatable, auditable evaluation process that also explains how and why the model fails.
