LLM Mathematical Proof Evaluation and Typesetting: A Reproducible Guide

    This guide outlines a reproducible approach to evaluating large language models on mathematical proof generation and typesetting. It covers task definition and prompt standards, proof quality dimensions, typesetting acceptance, the limits of long reasoning and leaderboards, cost and quota management, and a selection checklist. Readers learn how to build auditable evaluation workflows that combine automated checks, expert review, and archival records.

    LLM Mathematical Proof Evaluation and Typesetting: A Reproducible Guide

    1. Problem Background: From Solving Problems to Writing Proofs

    Evaluation of large language models’ mathematical abilities is shifting from “Can it produce the final answer?” to “Can it produce an inspectable proof process?” A computational problem can be judged by comparing results, but a mathematical proof output includes definitions, lemmas, reasoning chains, citation relationships, and typesetting structure. A correct conclusion alone is not enough to demonstrate quality. In public mathematical materials in particular, some propositions are stated without proofs, and the model must organize the argument itself. Such tasks are more likely to expose the model’s reasoning stability, knowledge boundaries, and tendency to fabricate.

    Therefore, evaluating a model for mathematical proof work should not stop at asking “Can it do it?” It should establish a reproducible task set and acceptance criteria. A reasonable evaluation process should include at least task definition, prompt specification, proof correctness checks, originality boundary checks, typesetting output acceptance, cost accounting, and human review. A single trial can serve as a clue, but it cannot directly support a stable ranking.

    2. Establishing Reproducible Task Definitions and Prompt Standards

    Task definitions should specify inputs, outputs, and constraints. The input can be a mathematical proposition, a set of known definitions, and the scope of allowed citations. The output should include the theorem statement, the main proof, necessary lemmas, citation checks, and typesetting source. The prompt should require the model to distinguish between “restating a common proof” and “organizing an argument independently,” and it should prohibit fabricated literature or citations. For example, the following template can be used:

    Task: Prove the following proposition and output compilable mathematical typesetting source.
    Requirements: 1) State the theorem; 2) Provide a complete proof; 3) List the definitions and lemmas used; 4) If the proposition already has a proof in common materials, clearly mark the relationship as restatement or paraphrase; 5) Do not fabricate citations; 6) Output an English lecture-note structure with a title, abstract, theorem, proof, and reference placeholders.

    The prompt should also constrain length, notation system, and readability requirements. Otherwise, the model may hide gaps with large jumps in reasoning or create an impression of professionalism with complex notation. For team evaluation, it is advisable to fix the prompt version and record the input proposition, model output, elapsed time, quota usage, and human conclusion to form traceable samples.

    3. Proof Quality Evaluation: Correctness, Completeness, and Originality Boundaries

    Proof quality should be divided into at least three dimensions. The first is correctness: whether each reasoning step holds, and whether there is circular reasoning, incorrect substitution, or an unproven implicit lemma. The second is completeness: whether the proof covers all conditions of the proposition, discusses boundary cases, and uses self-consistent definitions. The third is the originality boundary: when a proposition already has a proof in public materials, the model output may be a restatement, paraphrase, or reorganization. The model should not be considered to have completed an original proof merely because the source material did not include a proof.

    Evaluation should be performed paragraph by paragraph by people with a mathematical background, marking each part as “directly acceptable,” “needs additional lemmas,” “contains errors,” or “cannot be determined.” For citation relationships, the model should be asked to list the types of citation sources, but it should not be asked to invent specific references. A safer approach is to have the model output a “citation checklist” and have a human verify whether common theorem restatements are present. If the task itself is a research-oriented open problem, the weight of a “single correct answer” should be reduced, and evaluation should instead focus on the argument approach, verifiable intermediate conclusions, and counterexample search ability.

    4. Typesetting Output and Readability Acceptance for English Lecture Notes

    Mathematical proofs must not only be correct but also readable. Typesetting source should clearly present theorems, proofs, formula numbering, and cross-references; English lecture notes should use accurate terminology, have a reasonable paragraph hierarchy, and maintain consistent notation. Acceptance checks can include whether formulas compile, whether numbering is continuous, whether theorem and proof environments match, whether variables are defined repeatedly, whether long formulas are readable, and whether reference placeholders follow a standard format.

    Readability evaluation can use a scoring table: structural completeness, terminology accuracy, notation consistency, proof traceability, and clarity of English expression can each carry a certain weight. Weights should not be fixed; they should be adjusted according to team goals. For example, teaching materials place more value on explanatory quality, while research drafts place more value on conciseness and verifiability. It is important to emphasize that attractive typesetting cannot replace proof correctness. On the contrary, excessive packaging may conceal logical gaps, so “traceability” should be given an important position.

    5. Long Reasoning Chains, Open Problems, and the Limits of Leaderboards

    Reasoning-enhanced models often produce long chains of thought, but length does not equal correctness. During evaluation, distinguish between “intermediate steps that can be verified” and “intermediate steps that merely repeat narration.” For open mathematical problems, a model may provide valuable exploration directions, or it may provide an argument that looks plausible but cannot be closed. Such tasks require expert review and multiple samples; conclusions should not be drawn from a single output.

    Informal leaderboards also have limitations: different models may perform very differently across problem types, prompts, quotas, and entry points; some models are stable on closed problems but fluctuate noticeably on open problems; some outputs are concise but omit boundary cases, while others are lengthy but inspectable. A more reasonable method is to build a team’s own blind test set covering textbook problems, repository propositions, research-oriented problems, and typesetting tasks, score them by dimension, and record confidence intervals. Leaderboards can serve as a reference, but they should not replace reproducible evaluation.

    6. Cost and Quota Management: Putting Models into Engineering Workflows

    Mathematical proof tasks often produce long outputs and require many retries, so cost cannot be ignored. The cost of a single task can be roughly expressed as: input token cost + output token cost + retry and human review cost. Under subscription quotas or credit systems, teams should also consider implicit costs caused by quota expiration, queueing, and task failures. When quotas are about to expire, low-risk, batchable tasks that can be reviewed by humans can be concentrated for consumption, such as generating proof drafts, organizing lecture-note structure, and checking notation consistency. However, high-risk conclusions should not be used directly in production.

    For engineering implementation, a workflow of “model output—automated checks—human review—archiving” is recommended. Automated checks can verify whether typesetting source compiles, whether citation placeholders are complete, and whether theorem numbering is continuous. Human review checks proof correctness and originality boundaries. Archiving should retain prompts, outputs, and scores. This both uses models to improve efficiency and controls the spread of errors.

    7. Selection and Implementation Checklist

    Model selection can follow this checklist: 1) Clarify the task type: closed problem, repository proposition, or open problem; 2) Fix prompts and the sample set; 3) Establish five-dimensional scoring for proof correctness, completeness, originality boundaries, typesetting quality, and cost; 4) Conduct blind tests and multiple sampling; 5) Record quota consumption and queueing time; 6) Set thresholds for human review; 7) Retain audit records for high-risk outputs. For teams, the most reliable conclusions come from their own task sets and acceptance processes, not from a single trial or informal comparison.

    In short, evaluation of large language models’ mathematical proof capabilities should return to what is verifiable, reproducible, and auditable. Models can serve as assistants for proof drafts and lecture-note organization, but final quality still depends on task definition, human review, and engineering workflows. Only by turning evaluation into a system can teams make robust choices across different models and quota strategies.