How to Evaluate Advanced Mathematical Proof Ability in Large Language Models

    A reproducible way to evaluate large language models on advanced mathematical proofs, covering layered acceptance criteria, task-set design, prompt protocols, unit cost of a verified proof, and auditable scoring instead of one-off impressions.

    1. Why a Single Attempt Is Not Enough

    On advanced mathematical tasks, model output is clearly stochastic. The same problem can produce very different proof paths under different prompts, sampling settings, and context lengths. Judging from one success or one failure makes it easy to treat a lucky hit as stable ability, and just as easy to treat a difference in writing style as a gap in reasoning. Evaluating advanced mathematical ability should therefore move from impression-based review to reproducible evaluation.

    A reproducible evaluation should answer at least four questions: Does the task have explicit acceptance criteria? Can the output be checked step by step? Can the cost be measured? Can the result be repeated on a fixed model version with a fixed prompt? Only when all four conditions are met does the evaluation have engineering value. Otherwise it collapses into a subjective impression of one output, or into an argument about product rankings.

    2. Layer the Object of Evaluation: From a Correct Answer to a Checkable Proof

    Advanced proof ability is not a single dimension. Split the object of evaluation into layers, each with its own acceptance criteria:

    1. Basic calculation and symbolic derivation. Focus on computational correctness, symbolic consistency, and boundary conditions. This layer is suitable for fast regression, but it does not represent advanced proof ability.
    2. Completing a proof of a known statement. Given a known conclusion without a full proof, the model must supply the proof. Acceptance focuses on whether assumptions are explicit, lemmas hold, and steps close.
    3. Construction and counterexamples. The model must construct an object, give a counterexample, or verify existence. Acceptance focuses on whether the construction is valid and whether the counterexample meets every condition.
    4. Exploring open problems. The model proposes possible paths, decomposes subproblems, and points out failure modes. This layer should not use “whether the open problem was solved” as the only metric. Look instead at whether the ideas are testable and whether the model avoids fabricating conclusions.
    5. Formalization and lecture-note writing. The model turns a natural-language proof into a structured note or checkable formal steps. Acceptance focuses on clear definitions, verifiable citations, and a complete proof chain.

    Layering matters because lower layers can be screened quickly with automatic checks, while higher layers need human review and an evidence-chain review. Scoring mixed layers together hides differences such as “calculations are correct but the proof is incomplete” or “the idea is novel but not verifiable.”

    3. Design the Task Set for Difficulty, Verifiability, and Regression

    The task set should include three kinds of samples: standard exercises from public textbooks or papers, self-built statements that still need proofs, and tasks designed specifically around counterexamples and boundary conditions. Each problem should come with acceptance material, such as a reference proof, a formal checking script, human-review checkpoints, or counterexample verification conditions. Open tasks that cannot be checked automatically should be labeled as exploratory and must not be mixed into statistics for decidable tasks.

    The task set also needs a regression mechanism. After each change to the model version, prompt template, or sampling parameters, rerun the same regression set and record accuracy, completeness, average call cost, and human review time. The regression set should not be large, but it should cover different layers and proof structures, such as direct proof, proof by contradiction, construction, induction, and case analysis.

    4. Prompts and Interaction Protocol: Expose a Checkable Proof Chain

    Prompts should not ask only for “the answer.” They should require a proof structure that can be inspected. A sound protocol is staged interaction: first a proof plan and assumptions, then the full proof, then self-check and revision. The prompt should forbid fabricated citations and skipped steps, and it should require the lemmas used and the conditions under which they apply. For lecture-note tasks, definitions, theorems, proofs, and remarks should be presented in separate layers.

    An illustrative evaluation flow is:

    1. function evaluate(taskSet, client, budget, verifier):
    2. records = []
    3. for task in taskSet:
    4. plan = client.call(buildPlanPrompt(task), maxTokens=budget.plan)
    5. proof = client.call(buildProofPrompt(task, plan), maxTokens=budget.proof)
    6. check = verifier(task, proof)
    7. records.append({
    8. "taskId": task.id,
    9. "layer": task.layer,
    10. "verified": check.ok,
    11. "issues": check.issues,
    12. "cost": client.lastCost(),
    13. "latency": client.lastLatency()
    14. })
    15. return aggregate(records)

    The point of this flow is not the code itself, but the three stages of plan, proof, and verification. The plan stage exposes how the model understands the task, the proof stage tests whether the reasoning closes, and the verification stage turns subjective judgment into a recorded acceptance result.

    5. Cost and Quota: Turn Spend into Cost per Valid Proof

    In real engineering work, ability has to be evaluated together with cost. Metrics should not stop at whether one call succeeded. They should measure the cost per valid proof: how many calls, how much context, and how much human review time are needed on average to finish one verifiable proof, and whether queuing or rate limits are triggered. On hard tasks, repeated sampling and self-checks raise cost sharply, so set a budget ceiling and a fallback strategy.

    The evaluation service should log calls, quota use, failure reasons, and human review records. In a cloud deployment, object storage can hold the task set and output samples, a logging service can record the call chain, and monitoring alerts can track quota and abnormal failure rates. That controls cost and also supplies data for later regression analysis.

    6. Scoring and Verification: Build an Auditable Acceptance Sheet

    The score sheet should cover at least correctness, completeness, verifiability, concision, and stability. Correctness asks whether the conclusion and key steps hold. Completeness asks whether assumptions, lemmas, and closure of the proof are all present. Verifiability asks whether citations and steps can be checked independently. Concision asks whether there is redundancy or unnecessary detours. Stability asks whether results stay consistent across samples. Formal tasks can use a proof checker as an aid. Natural-language proofs still need human review of key lemmas and boundary conditions.

    Common mistakes include ranking models from a single hard problem, substituting writing style for reasoning quality, treating a novel approach to an open problem as a solution, ignoring human review cost, and ignoring how version and prompt changes affect results. A more reliable practice is to publish a layered report rather than a single ranking.

    7. Practical Recommendations

    Start with a small, verifiable regression set and expand layers gradually. Freeze prompt templates and sampling parameters, and record model versions and call logs. Put a budget gate on high-cost tasks, and require human review for high-risk conclusions. Treat verifiable proof output as the core acceptance standard, not whether the answer looks polished. Evaluating advanced mathematical ability in large language models should come back to an engineering method that is reproducible, auditable, and cost-controlled.