Evaluating LLMs with Mathematical Proofs: A Four-Dimension Framework and Model Selection Checklist

    This article describes a way to test large language models with mathematical proof problems that have no answer key to look up. Graders score each output on understanding, reasoning, presentation, and factual grounding. It explains how to choose test problems, score results, and run reproducible tests, and it provides a checklist for choosing models for academic, engineering, and enterprise use.

    This article describes a method for testing large language models with mathematical proofs. The test problems have no standard answer, and graders score outputs on four dimensions: understanding, reasoning, presentation, and factual grounding. After reading it, you can design your own tests and use the checklist to choose a model for academic, engineering, or enterprise work.

    1. Why Use Mathematical Proofs to Test LLMs?

    Standard question answering and code generation benchmarks often fail to expose weaknesses in deep reasoning. Mathematical proofs are a stricter test for three reasons.

    First, proofs require multi-step deduction. A proof may invoke several lemmas in sequence, construct auxiliary objects, and trace maps along a commutative diagram. The full chain can contain dozens of steps. If any intermediate step is wrong, the conclusion does not hold.

    Second, mathematical notation is dense, and the room for ambiguity is small. A model must map a natural-language description accurately onto a symbolic system. This translation is harder than ordinary semantic matching.

    Third, proofs require combining existing knowledge. Even when the training data includes a large body of mathematical literature, the proof path for a specific proposition still requires compositional reasoning. Memorization alone is not enough.

    2. How to Choose Test Problems

    A good test problem meets two conditions. First, it is hard enough that most models cannot complete it directly. Second, no standard answer can be retrieved directly. Otherwise, a model may rely on memorized material, and the results will not reflect reasoning ability.

    The test problem in this article comes from a classic result in commutative algebra. The statement can be found in public sources, but those sources do not include a full proof. The problem concerns properties of localization and whether exact sequences of modules remain exact after localization. The argument requires combining several foundational theorems. To avoid leaking the problem, this article does not restate the original proposition.

    In practice, the model receives only the complete statement of the proposition. It is asked to produce an English lecture note in LaTeX that contains a complete proof. Record the prompt, the model settings, and the number of runs.

    3. The Four-Dimension Evaluation Framework

    The framework has four dimensions. The first three assess the quality of the output. The fourth assesses whether the model honestly states how confident it is.

    Dimension Question Assessed Weight
    Understanding Does the output correctly grasp the definitions of all mathematical objects in the proposition and the relationships among them? 20
    Reasoning Is the proof path reliable, and is each derivation step internally consistent? 35
    Presentation Is the lecture note well structured, with accurate terminology and academic writing conventions? 20
    Factual Grounding Does the output clearly flag uncertain lemmas, and does it avoid inventing plausible but unsupported claims? 25

    Reasoning carries the highest weight because the core value of a proof lies in whether its logic holds. Factual grounding also carries a high weight. A fabricated lemma can hide inside several layers of deduction, and readers may find it hard to spot.

    4. Scoring Rubric and Example

    Score each dimension from 0 to 5, then convert it to the weighted scale. The formula is: divide the dimension score by 5, then multiply by the weight. The four weighted scores add up to 100 points.

    The scoring criteria for each dimension are as follows.

    • Understanding: 5 means all object definitions are correct and their relationships are accurate. 3 means one minor definition is inaccurate. 1 means a core object is misunderstood.
    • Reasoning: 5 means every step has a justification, and key transitions can be verified. 3 means the main line is correct, but one key step lacks justification. 1 means the main line breaks down.
    • Presentation: 5 means the structure is complete, the terminology is consistent, and the notation is standard. 3 means the structure is mostly complete, with a few terminology errors. 1 means the text is hard to read.
    • Factual Grounding: 5 means uncertain points are clearly marked and no lemma is invented. 3 means uncertain points are marked, but not completely. 1 means an unverified lemma is used as established fact.

    Here is an example. It only illustrates the scoring method and does not represent the results of any real model. An output scores 4 for understanding, 3 for reasoning, 4 for presentation, and 5 for factual grounding. After conversion, understanding is 16 points, reasoning is 21 points, presentation is 16 points, and factual grounding is 25 points. The total is 78 points.

    At least two people should score independently. Record and discuss large disagreements. Do not keep only the average score.

    5. Reasoning Chain Strategies

    The length of a reasoning chain does not reliably predict proof quality. When evaluating a model, check whether it justifies its key steps, not how long its answer is.

    A long-chain strategy explains each step and checks earlier statements for consistency. It tolerates errors better, but its redundancy can bury the core line of argument. Each additional step also adds another place where an error can occur.

    A short-chain strategy shows only the key transitions. It is concise and efficient, but it demands strong judgment. If the model picks the wrong core transition, the logic breaks. If the transition rests on a correct mathematical fact, readability improves noticeably.

    In this test, the strongest outputs used a moderate approach: they gave full detail at the core derivations and summarized routine conclusions briefly. This style is closer to how human mathematicians write.

    6. Designing a Reproducible Test

    A reproducible test usually includes the following steps.

    1. Fix the prompt and keep a copy of the original text.
    2. Record the model name, version, call date, and key parameters.
    3. Run each model several times, and report the number of runs and the range of scores.
    4. Have at least two people score independently. Publish the scoring sheet and raw outputs so others can verify them.

    Three common mistakes are worth avoiding. First, reporting the result of a single run. Second, publishing only total scores without the breakdown by dimension. Third, treating a small-scale test as a basis for ranking.

    7. Choosing a Model

    Model selection should reflect the risk tolerance of the use case. The checks for three types of use are listed below.

    Academic use

    • Does the model score high on factual grounding? In academic writing, a fabricated lemma is the costliest error.
    • Are its reasoning scores stable across repeated runs?
    • Can it output LaTeX source that compiles directly?
    • The model should not replace human verification. Treat its output as a lead, not a conclusion.

    Engineering use

    • Do both the presentation and reasoning scores reach a usable level?
    • Can downstream programs parse the output format, such as a fixed LaTeX template or structured JSON?
    • Are cost and response latency within an acceptable range?
    • The model should not be used for critical systems that require very high proof correctness without human review.

    Enterprise use

    • Can data stay in a controlled environment, and do the service terms allow processing of internal data?
    • Can the model version be locked, and can the test be rerun before an upgrade?
    • Does the team have the capacity to review the output?
    • For legal or compliance conclusions, a qualified professional must still confirm the result.

    8. Limitations of This Test

    This test used only one problem, so its scale is limited. The model names, versions, and number of runs are not published. The findings are therefore qualitative observations. They do not constitute a ranking or a basis for purchasing decisions. A different problem could change the conclusions.

    9. Next Steps

    Readers are encouraged to apply this framework to problems in their own fields. Use at least three problems, and run each one several times. Save the scoring sheets and raw outputs before making a model selection decision.