Evaluating Large Language Models for Mathematical Proof and Lecture Generation
This article presents a structured framework for evaluating the mathematical reasoning capabilities of large language models, moving beyond single-use impressions to a systematic assessment based on task stratification, verifiable metrics, benchmark design, cost accounting, and reproducibility. It introduces a five-level task taxonomy, a multi-dimensional evaluation rubric covering correctness and stability, and a practical pipeline for building an internal evaluation loop that supports informed model selection.
Assessments of a large language model’s advanced mathematical ability are often shaped by a single hands-on experience: whether it can independently prove a proposition that lacks a published proof, whether it can structure the proof into a coherent English lecture note, how much subscription quota one task consumes, and how responsive the service is under load. While these observations are useful, they are insufficient for making a sound technical selection. A more reliable approach is to turn “how good it feels” into verifiable evaluation questions: after defining task layers, scoring rules, cost metrics, and reproduction conditions, we can compare different reasoning models across their actual capability boundaries.
1. Stratify Tasks to Avoid Replacing Capability Assessment with Anecdotal Evidence
Mathematical tasks do not represent a single, uniform capability. At a minimum, they should be divided into five layers:
- Basic Derivation: routine formula manipulation, algebraic simplification, and standard calculus or linear algebra derivations, with emphasis on accuracy and completeness of steps.
- Textbook Exercises: multi-step problems with relatively standard answers, where the key requirement is whether intermediate steps can be inspected.
- Proposition Reproduction: independently proving propositions from public sources that lack an accompanying proof, with emphasis on whether the model genuinely constructs an argument rather than restating a known result.
- Open-Problem Assistance: supporting problems that have no standard solution yet, by proposing testable lemmas, counterexample directions, or proof strategies, with value judged by exploration quality rather than immediate correctness.
- End-to-End Lecture Generation: organizing proofs, definitions, examples, exercises, and English exposition into a structured lecture note, judged by logical flow, terminological consistency, and the compilability of the typesetting source.
The demands of these layers differ significantly. Lower-level tasks can be handled reasonably well through pattern matching, while higher-level tasks depend on long-chain reasoning, assumption management, and self-checking. Without stratification, one can easily mistake proficiency at textbook exercises for the ability to support open problems, or replace systematic evaluation with the impression from one lecture-generation session.
2. Establish Verifiable Metrics Instead of Relying on Subjective Impressions
Evaluation metrics should cover correctness, verifiability, expression quality, efficiency and cost, and stability.
For correctness, the final conclusion is not the only criterion. The evaluation must also examine lemma dependencies, boundary conditions, counterexample exclusion, and implicit assumptions. For propositions with no published proof, hidden reference answers or expert blind review should be prepared to prevent the model from achieving superficial correctness by paraphrasing public material.
For verifiability, the model should be required to produce a structured chain of “assumptions–lemmas–proof–conclusion” and provide checkable justifications for key steps. During scoring, one can measure the proportion of valid proof steps, the frequency of circular arguments, and the number of undeclared assumptions.
For expression quality, English lecture notes must maintain consistent terminology, definitions presented before use, and alignment between examples and theorems. If mathematical typesetting source is generated, the evaluation should check the completeness of the structure, the self-consistency of references, and whether any fragments fail to parse.
For efficiency and cost, comparing single-call prices or subscription fees is not enough. The evaluation should track the total quota, total latency, manual review time, and retry count required to complete one acceptable task. The cost of a single task can be abstracted as:
Call-quota consumption + queuing/waiting cost + manual review cost + failure-retry cost
For difficult mathematical tasks, one successful result often requires multiple samples and human filtering. A lower unit price does not necessarily mean a lower total cost.
For stability, multiple samples should be collected under the same prompt to observe conclusion consistency, step drift, and format failure rates. Mathematical proofs are sensitive to detail; occasional correctness is not the same as dependable usability.
3. Design Benchmark Sets with Hidden Answers, Error Injection, and a Separate Open-Problem Track
Three types of sample sets are recommended. The first consists of propositions that have already been proven but whose answers are hidden, used to test reproduction capability. The second consists of propositions from public sources that lack published proofs, used to test independent construction ability, with attention to source attribution and copyright compliance. The third consists of error-injected samples, where subtle errors are embedded in the problem statement or intermediate steps, to test whether the model can detect and correct them. Open problems should be tracked separately; they are not scored against a single “correct answer” but by whether the proposed lemmas are testable, whether the counterexample directions are reasonable, and whether the proof strategy can be advanced.
The evaluation process should be double-blind wherever possible: the evaluator does not know which model generated the output, and the model does not know which sample set a prompt comes from. Automated checks can handle structural completeness, symbolic consistency, and obvious error detection, while human reviewers judge the innovation and rigor of the proofs. All samples, prompts, outputs, scores, and quota consumption should be versioned and logged to ensure reproducibility.
4. Design Prompts and Interaction Protocols to Reduce Superficial Correctness
A high-quality prompt should not simply instruct “prove this proposition and write it as an English lecture note.” It should explicitly require the model to:
- List all assumptions
- Distinguish between known lemmas and lemmas to be proven
- Provide justifications for key steps
- Actively search for counterexamples
- Conduct a final self-check and mark any remaining uncertainty
For propositions without published proofs, the prompt should require the model to state whether it relies on external conclusions, to prevent restatement from being presented as proof.
The evaluation pipeline can be described in pseudocode:
for task in benchmark:for model in candidates:for sample in repeated_runs:response = invoke(model, build_prompt(task))auto_score = check_structure_and_errors(response, task.hidden_checks)human_score = blind_review(response, task.rubric)cost = quota_used(response) + review_time(response)log(task, model, sample, response, auto_score, human_score, cost)report(score, cost, latency, stability)
This pipeline emphasizes repeated sampling, blind review, and cost logging, preventing a single demonstration from dominating the conclusion.
5. Incorporate Cost and Quota Management into Model Selection
Subscription quotas, credits, and call limits are, at their core, budget constraints. A team should track the average quota consumption per acceptable proof task, rather than only the consumption per single interaction. For end-to-end lecture generation, typesetting-source repair, English polishing, and manual review should all be included in the total cost. If a high-difficulty task consumes significant quota but produces directly reusable output, it may still be worth the cost. Conversely, if low-difficulty tasks also consume large amounts of quota, the team should route simple problems to low-cost models and reserve strong reasoning models for difficult problems, supplemented with caching, batch processing, and retry limits.
From an engineering standpoint, general cloud capabilities such as object storage for keeping evaluation samples and outputs, log services for tracking call traces, and monitoring and alerting for failure rates and quota usage can form an auditable evaluation loop. The focus is on the closed loop itself, not on any single experience.
6. Conclusion: Public Leaderboards Are References; a Closed-Loop Evaluation Is the Basis for Model Selection
Evaluating mathematical capabilities should shift from “whether a single use was impressive” to “whether the model is stable, verifiable, and cost-controlled across layered tasks.” Public leaderboards and user discussions can help identify candidate models, but they cannot replace internal evaluation. A team should build its own gold-standard set, scoring rules, and quota ledger, route tasks by difficulty, and run regular regression tests. Only by comparing correctness, verifiability, expression quality, efficiency and cost, and stability in a single view can one avoid being misled by anecdotal cases or price tags, and reach a more robust model-selection decision.
