How to Evaluate LLM Mathematical and Technical Writing Capabilities

    A reliable evaluation of large language models requires more than a few successful examples or a subjective ranking. This article outlines a reproducible framework for assessing mathematical reasoning, proof quality, technical writing, and cost per deliverable. It explains how to separate retrieval from derivation, audit reasoning, validate outputs, and report task-specific comparisons without overstating the evidence.

    Selecting a large language model for research, development, or knowledge work often invites two mistakes: treating a few successful examples as a systematic evaluation, and combining price, queue times, quota consumption, and personal preference into a single judgment such as “powerful” or “expensive.”

    A more reliable approach separates evaluation into observable, reviewable, and reproducible dimensions. Each dimension should clearly measure capability, cost, or operational usability.

    1. Define the Tasks Before Ranking the Models

    Mathematical reasoning and formal technical writing are not single capabilities. At a minimum, evaluate the following task categories separately rather than using one problem to represent overall performance.

    1. Concept explanation and textbook-level derivation. Ask the model to produce structured lecture notes for standard theorems using specified definitions, notation, and assumptions. These tasks primarily test notation consistency, document organization, and common error rates.
    2. Proof-gap completion. Public sources may state a proposition without proving it, or leave supporting lemmas for the reader to supply. Evaluate whether the model completes the argument under reasonable assumptions or uses vague language to bypass essential steps.
    3. Open or partially open problems. A problem may lack an accepted short proof or require choosing a technical approach. These tasks can assess whether the model produces a testable attempt—not whether a fluent, lengthy response has solved the problem.
    4. Constrained writing. Requirements might include a specified markup language, fixed theorem environments, bilingual terminology, length limits, and citation rules. These tasks measure instruction following rather than reasoning alone.

    For each evaluation item, record the problem statement, permitted assumptions, objects the model must not invent, output format, evaluator, and review method. Run each item independently multiple times to assess consistency instead of retaining only the best response.

    2. Score Proofs Against Mathematical Standards

    For proofs and lecture notes, use a criterion-based rubric rather than an overall impression.

    1. Completeness of assumptions. Are definitions, quantifier order, and implicit conditions explicit? Does the model silently strengthen or weaken the proposition?
    2. Validity of each step. Does every step follow from earlier steps or an established lemma? Are phrases such as “clearly” or “it is easy to see” hiding nontrivial gaps?
    3. Counterexamples and boundary cases. Does the model check degenerate cases, empty sets, characteristic, dimension, or convergence conditions where relevant? Identifying a counterexample can be more valuable than producing correct but uninformative prose.
    4. Notation consistency. Does each symbol retain its meaning throughout? Are diagrams, equation numbers, and cross-references internally consistent?
    5. Reviewability. Can a knowledgeable reader locate errors within a reasonable amount of time? A long document whose mistakes are difficult to isolate has less practical value than a shorter, clearly structured one.

    Be especially wary of outputs that merely look like proofs. Coherent language, dense formulas, and textbook-style sections do not establish validity. Ideally, a domain-qualified reviewer should read adversarially: look for the first invalid step rather than read to the end and assign an impression-based score.

    3. Separate Retrieval and Reproduction from Independent Derivation

    If a complete proof is already publicly available, a highly similar model-generated argument demonstrates retrieval, memorization, or reproduction. It does not establish an ability to fill proof gaps.

    A more informative test uses propositions whose statements are public but whose standard proofs are missing or cannot readily be copied into the required argument. Ask the model to identify the lemmas on which each step depends.

    Evaluation records should include human judgments about which passages may follow familiar textbook patterns and which steps appear specifically constructed for the problem.

    Do not turn “this does not look copied” into a quantitative finding. Without retrieval logs and comparison texts, the appropriate conclusion is limited: “No directly matching public proof was identified; further human verification is required.” This is a review standard, not a marketing claim.

    4. Reasoning Length Is Not Reasoning Quality

    A long reasoning trace may support more thorough self-checking. It may also accumulate irrelevant branches, repeat the same conjecture, and substantially increase latency and cost.

    Evaluate four aspects together:

    1. Proportion of useful steps. After removing repetition, emotive self-talk, and branches that reach no conclusion, how much of the remaining content contributes to the final proof?
    2. Self-correction. When the model encounters a contradiction, does it return to the faulty definition or assumption, or continue elaborating an argument built on that error?
    3. Consistency between reasoning and answer. If the reasoning supports A but the final answer states B, mark the response as a failure—even if the conclusion happens to be correct.
    4. Human handoff. A useful output makes assumptions, lemmas, and unresolved gaps visible so that a reviewer can continue the work. An indivisible block of lengthy prose is harder to use.

    Neither a shorter nor a longer reasoning trace is inherently better. Concise, auditable output is generally more suitable for production than verbose, unauditable output. Exploratory work on difficult problems may justify longer reasoning, but it still needs time, step, or cost limits.

    5. Measure Cost per Task, Not by Slogan

    Cost comparisons should use measurable quantities: input and output volume per successful delivery, retry counts, human rework time, and the sunk cost of failed attempts. Subscription quotas, queues, and rate limits are supply constraints and should be tracked separately from model capability.

    A practical experiment is to fix a set of problems grouped by difficulty, specify retry limits and output caps, and record:

    • The number of successfully completed problems
    • Time spent on human corrections
    • Total resource consumption and expenditure

    Then calculate the combined cost per deliverable page or accepted proof rather than comparing the advertised price of a single conversation. Flag unusually costly attempts separately so that averages do not conceal the long tail.

    Using up a quota just before it expires can introduce two biases. Tasks may be selected to maximize consumption rather than test capability, and failed outputs may receive insufficient review.

    A better approach is to reserve a small, fixed evaluation set and rerun it monthly to observe variation, rather than drawing a broad conclusion from one improvised, demanding task.

    6. Validate Technical Writing Separately

    Strong mathematical performance does not automatically produce usable lecture notes. A delivery checklist can include:

    • Heading hierarchy
    • A clear sequence of definitions, lemmas, theorems, and examples
    • A terminology glossary
    • Separation of exercises and solutions
    • Markup that compiles successfully
    • Consistency between citations and the notation glossary

    Prompts should specify the reader’s level, required environments, and prohibited practices—for example, introducing an undeclared theorem beyond the stated assumptions.

    The following illustrative workflow describes the evaluation process, not any particular platform interface:

    1. Prepare problems and scoring rubrics
    2. Fix the prompt, temperature, and maximum output length
    3. Sample multiple runs and preserve the original outputs
    4. Automatically check formatting and compilation
    5. Have human reviewers score assumptions, steps, boundary cases, and notation
    6. Record retries, latency, cost, and rework
    7. Retain only outputs that meet the acceptance thresholds

    Formatting checks and mathematical review are separate acceptance steps. A document can compile successfully and still contain an invalid proof.

    7. Build Internal Rankings Without Overstating Results

    Every ranking should specify its task domain, sample size, and evaluation date.

    A defensible conclusion might be: “On this set of proof-gap completion and lecture-note tasks, option A had a higher first-pass acceptance rate, while option B produced shorter reasoning and required less rework.”

    That does not support a claim such as “the only model capable of handling open mathematical problems.” Without independent verification, no model should be described as having solved an open problem.

    When the sample is insufficient, explicitly state that no assessment is offered. Options that have not been compared using the same prompts, problem set, and reviewer should not receive a fine-grained ranking. Subjective impressions of earlier versions can guide further testing, but they cannot replace current evaluation.

    8. Put the Framework into Practice

    Build a small, stable problem set with known answers or access to expert review. Separate retrieval and reproduction, standard derivation, proof-gap completion, and open-ended exploration.

    For proofs, allow individual criteria to disqualify an output instead of relying on an average impression score. Report cost, queueing, and quota constraints separately from correctness. Preserve original outputs and revision histories for auditability.

    The purpose is to support model selection and improve workflows—not to turn a single experience into an emotionally driven ranking.

    The evaluation itself has limitations. Small samples are sensitive to problem selection, expert review is expensive, and successful compilation does not establish mathematical correctness. Reports should identify domains that were not covered and periodically replace older problems that models may have memorized.

    Only sustained, reviewable evidence can answer the questions that matter for deployment: Is the model good enough for the task? Where does its cost come from? Which types of work should it handle?