MathVis: Can AI Reason through Drawing? A Benchmark for Mathematical Figure Generation
Summary
MathVis introduces a 512-task benchmark evaluating LLMs' ability to generate mathematical diagrams and perform diagram-assisted reasoning, with GPT-6-astra, Claude Fable 5, and Gemini 3.1 Pro achieving only 31.25%, 26.56%, and 22.85% Pass@1, revealing that models still rely primarily on symbolic reasoning rather than visual diagrams.
View Cached Full Text
Cached at: 10/12/26, 06:35 AM
# Can AI Reason through Drawing? A Benchmark for Mathematical Figure Generation
Source: [https://arxiv.org/html/2610.12954](https://arxiv.org/html/2610.12954)
Hao ZhaoAffiliation:Tsinghua University \(tsinghua\.edu\.cn\)Xinke LiAffiliation:City University of Hong Kong \(cityu\.edu\.hk\)Linxi YuAffiliation:CIS, Cornell University \(cornell\.edu\)Xiaosong GaoAffiliation:Zhihu \(zhihu\.com\)Shanshan XiaoAffiliation:Tsinghua University \(tsinghua\.edu\.cn\)
September 2026
###### Abstract
This paper introduces MathVis, a benchmark designed to evaluate LLMs’ ability to visualize frontier mathematical problems and perform diagram\-assisted reasoning\. The benchmark consists of 512 tasks, each comprising a mathematical statement, a reference diagram, executable TikZ/SVG code, a Gold Intermediate Representation \(IR\), atomic rubrics, and error codes\. Through rigorous evaluation, GPT\-6\-astra, Claude Fable 5, and Gemini 3\.1 Pro achieve Pass@1 scores of merely31\.25%31\.25\\%,26\.56%26\.56\\%, and22\.85%22\.85\\%, respectively\. We found that although the tasks require visualization, LLMs still reason primarily through formal languages and symbols, rarely relying on visual diagrams\. Furthermore, while the solutions generated by LLMs may contain all the necessary elements, they are often visually confusing to humans\. Ultimately, this benchmark aims to visualize mathematical problems and promote research on enabling LLMs to simplify their reasoning via visual diagrams\.
SoTALab · Frontier Data Lab
MATHVIS\-2026\-09
Preprint
Keywords:Evaluation Benchmark · MathVis · Large Language Models · Advanced Mathematical Figure Generation · Executable Graphics · TikZ/SVG
## 1 Introduction
Formal language is central to modern mathematics, but diagrams and constructive methods remain useful for developing and communicating mathematical ideas\.
prove: every simple closed curve divides the plane into two regions for which it is the common boundary

Figure 1:Visualizing the Jordan Curve Theorem\. While the formal topological proof of this theorem is complex, a precise diagram delineating the inner and outer regions can make the reasoning process more intuitive\.In advanced research, text\-based symbols can struggle to convey complex structural information directly, such as high\-dimensional topological relations, morphism compositions \(e\.g\., commutative diagrams\), or manifold coordinate transformations\. Precise mathematical figures can help compress these abstract relations, reduce symbolic ambiguity, and clarify proof strategies\. Producing dependable academic figures, however, is demanding\. It requires creators to understand mathematical abstractions and to control code construction precisely, since even small topological or metric deviations can derail the deductive process\.
As illustrated in[Figure1](https://arxiv.org/html/2610.12954#S1.F1), the Jordan Curve Theorem provides a compact example of how formal statements relate to visual intuition\.
This need for “math\-to\-figure conversion” exposes a weakness of current Large Language Models \(LLMs\)\. Requiring large models to generate precise mathematical figures \(such as TikZ/SVG code\) acts as a stress test, challenging four core capabilities:
1. 1\.Cross\-modal spatial alignment\.Can the model correctly translate discrete, abstract mathematical symbols into continuous, concrete spatial topologies and coordinate geometries?
2. 2\.Global implicit geometric reasoning\.Without explicit coordinate prompts, can it autonomously solve implicit geometric constraints \(e\.g\., relative positions of points, lines, and surfaces, tangency, orthogonality, or projection\) and avoid spatial conflicts?
3. 3\.High\-precision structured code generation\.Can it generate syntactically complete, logically self\-consistent, and directly compilable vector graphics programs?
4. 4\.Semantic\-level diagram verification\.In long\-chain constructions, can it maintain strict consistency between local diagram elements and global mathematical theorems?
Figure 2:The four core capabilities required for mathematical figure generation\.Most existing mathematical evaluations focus on scalar calculations or elementary geometry\. As a result, they offer limited evidence about spatial construction in advanced mathematics and do not readily separate code errors from errors in geometric interpretation\.
A small number of benchmarks study visual recognition and generation, but most focus on school\-level material such as Euclidean geometry and elementary functions\. MathVis instead covers 27 mathematical sub\-disciplines, including differential geometry and complex analysis\. Here, “advanced” refers to tasks whose mathematical objects or relations normally appear in upper\-level undergraduate, graduate, or research\-facing material and whose figures require more than elementary planar construction\. Executable code and a Gold Intermediate Representation \(Gold IR\) help separate programming errors from errors in mathematical interpretation\. On this benchmark, the evaluated LLMs still have difficulty with spatial and geometric construction\. MathVis is intended as a common test bed for studying how models connect symbolic and visual representations in advanced mathematics\.
Does AI\-generated visualization help LLMs reason more effectively? The present evaluation does not establish a causal improvement in reasoning from access to diagrams\. Instead, the results show that models often continue to rely on formal language and symbols even when a task calls for visual construction, and that a generated figure may contain the requested elements without organizing them into a representation that supports reliable reasoning\. One plausible bottleneck is the limited amount of systematically paired training material that links advanced mathematical statements, executable diagrams, and diagram\-assisted reasoning traces\. MathVis does not audit model training corpora, so this explanation remains a research hypothesis rather than a measured conclusion\. The benchmark provides tasks and evaluation signals for testing whether richer visual supervision can help future models use diagrams as part of the reasoning process rather than merely as final illustrations\.
## 2 Related Work
Mathematical Figure Generation for Basic Education\.MathemaTikZ is one of the educational benchmarks closest to this work\. Originating from the Illustrative Mathematics curriculum, it curates 3,793 mathematical figures along with their natural language descriptions, problem contexts, and TikZ implementations\. It also provides systematic baseline evaluations using GPT\-4o, Claude 3\.5 Sonnet, and Gemini 2\.0\([Malik et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib1)\)\. The dataset covers K–12 graphics such as number lines, bar charts, coordinate planes, and fraction strips\. However, it focuses on the editable reconstruction of curriculum content and does not involve proof diagrams from advanced mathematical sub\-disciplines\. Another related work, From Text to Visuals, translates text prompts into SVG mathematical figures to generate problem\-solving hints, using visual question answering to check the semantic and syntactic quality of the figures\([Lee et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib2)\)\. Similarly, Math2Visual defines a specific visual language and design space for math word problems, constructing 1,903 annotated visual examples to evaluate whether text\-to\-image models can preserve pedagogical relationships\([Wang et al\., 2025a](https://arxiv.org/html/2610.12954#bib.bib3)\)\. Together, these studies show how generated figures can support educational tasks, although they focus mainly on hint diagrams and illustrations for basic mathematics\. MathVis also includes educational applications but applies the same verification protocol to mathematical structures drawn from research\-level material\.
Formal Geometry and Constraint Solving\.MagicGeo parses natural language into geometric constructions and generates figures using geometric constraints; its MagicGeoBench contains 220 planar geometry descriptions\([Wang et al\., 2025b](https://arxiv.org/html/2610.12954#bib.bib4)\)\. Similarly, GeoLoom and its accompanying dataset GeoNF automatically formalize natural language into GeoLingua\. They then use a coordinate solver to satisfy length, angle, and construction dependencies, evaluating the generated results with structural deviation metrics\([Wei et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib5)\)\. This approach offers a practical division of labor: language models parse the description, while formal languages and constraint solvers enforce geometric feasibility\. However, the research scope of these works remains focused on elementary planar geometry\. This makes it difficult to directly express advanced concepts, such as branches and winding numbers in complex analysis, curvature and coordinate transformations in differential geometry, or genus and homotopy relations in topology\. MathVis borrows the idea of using intermediate representations and constraint verification\. However, it extends the scope of these constraints to a cross\-disciplinary Gold IR, evaluating them through question\-level hard and soft atomic predicates\.
Theorem Explanation and Scientific Figure Program Synthesis\.TheoremExplainAgent takes theorems as input and uses a planning agent alongside a coding agent to generate long\-form theorem explanation videos based on Manim\. It evaluates both factual and visual quality using 240 theorems from TheoremExplainBench and five types of automatic metrics\([Ku et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib6)\)\. Like MathVis, it emphasizes theorem structures and verifiable visual expressions\. However, its outputs do not specifically focus on static figures for advanced fields such as complex analysis, differential geometry, and topology\.
In the realm of static graphics, AutomaTikZ learns text\-to\-TikZ scientific vector graphic synthesis from paper figures and their surrounding contexts, releasing approximately 120,000 captioned TikZ figure pairs\([Belouadi et al\., 2024a](https://arxiv.org/html/2610.12954#bib.bib7)\)\. DeTikZify focuses on recovering TikZ programs from scientific figures or sketches\([Belouadi et al\., 2024b](https://arxiv.org/html/2610.12954#bib.bib8)\), while TikZero uses image representations to bridge unaligned graphic programs and image caption data, achieving zero\-shot text\-guided graphic program synthesis\([Belouadi et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib9)\)\. These works provide data\-construction pipelines based on figures and surrounding text from papers and arXiv preprints\.
Several recent works are also directly relevant to the present scope\. Visual Sketchpad studies sketching as a visual chain of thought for multimodal reasoning\([Hu et al\., 2024](https://arxiv.org/html/2610.12954#bib.bib10)\)\. SGP\-Bench asks whether language models can understand symbolic graphics programs without relying on vision encoders\([Qiu et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib11)\)\. VGBench evaluates both understanding and generation of vector graphics across formats such as SVG and TikZ\([Zou et al\., 2024](https://arxiv.org/html/2610.12954#bib.bib12)\)\. On the visual\-mathematics side, MathVerse and MATH\-Vision study whether multimodal systems truly use diagrams in mathematical reasoning\([Zhang et al\., 2024](https://arxiv.org/html/2610.12954#bib.bib13);[Wang et al\., 2024](https://arxiv.org/html/2610.12954#bib.bib14)\)\. These works are complementary to MathVis: they study visual mathematical reasoning or general vector\-graphics competence, whereas MathVis focuses on generating executable, verifiable figures from advanced mathematical statements\. To avoid name confusion, we distinguish MATH\-Vision\([Wang et al\., 2024](https://arxiv.org/html/2610.12954#bib.bib14)\)from the later diagram\-generation benchmark Math\-Vision Diagrams\([Kashyap et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib15)\)\.

Figure 3:Representative benchmarks positioned by first public\-release date and qualitative research scope\.Relative to the target setting of MathVis, existing resources leave two practical gaps; this comparison concerns task coverage rather than the overall value of those resources\.
1. 1\.Educational level\.Research on mathematical figure generation has largely focused on K–12 and middle school geometry \(e\.g\., AutoGeo, MagicGeo, GeoLoom, MathemaTikZ, Math2Visual\)\([Huang et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib16);[Wang et al\., 2025b](https://arxiv.org/html/2610.12954#bib.bib4);[Wei et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib5);[Malik et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib1);[Wang et al\., 2025a](https://arxiv.org/html/2610.12954#bib.bib3)\)\.
2. 2\.Disciplinary depth\.Works that do cover “theorems” or “advanced scientific figures” \(e\.g\., TheoremExplainBench, the AutomaTikZ series, SridBench, Penrose\) may include non\-mathematical material, may not be organized by mathematical branch, or may offer limited coverage of advanced fields such as complex analysis, differential geometry, and topology\([Ku et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib6);[Belouadi et al\., 2024a](https://arxiv.org/html/2610.12954#bib.bib7);[Chang et al\., 2025](https://arxiv.org/html/2610.12954#bib.bib17);[Ye et al\., 2020](https://arxiv.org/html/2610.12954#bib.bib18)\)\.
## 3 Method
### 3\.2 Benchmark Construction
[Figure4](https://arxiv.org/html/2610.12954#S3.F4)summarizes the three\-stage curation pipeline and the verification architecture that together produce the frozen task packages\.
Figure 4:Curation pipeline and verification architecture\.
### 3\.3 Evaluation Set Coverage
The benchmark contains 512 questions from 14 source collections and 27 mathematical sub\-disciplines; 201 of these currently have task\-family metadata, covering 19 families in total, including local geometric relations, proof auxiliary constructions, mappings and coordinate transformations, parametric curves and limits, set inclusion and coverings, commutative diagrams, quotient spaces, fiber bundles, vector field panels, and counterexample constructions\. Before freezing, the questions underwent source tracking, sub\-discipline coverage, task\-package completeness, and automatic/expert auditing to form a frozen evaluation\-only set with hidden evaluator assets\. In this paper, the task\-family labels are descriptive metadata only; they are not used to define train/dev/test splits, because the current benchmark release does not define training or development splits\. This evaluation set covers a variety of mathematical structures but is not claimed to represent the overall difficulty distribution\. The sub\-discipline composition is summarized in[Figure5](https://arxiv.org/html/2610.12954#S3.F5)\.
Figure 5:Dataset composition\.
### 3\.4 Task Packages and Annotation Quality
We establish a ground\-truth evaluation framework, as detailed in[AppendixF](https://arxiv.org/html/2610.12954#A6)\.
Task\-package and annotation quality is managed through a division of expert responsibilities\. Task authors select mathematical objects, define the target capabilities, write the problem statements, and construct the figures\. Domain reviewers then examine the geometric relations, the correspondence between the mathematics and the figure, question difficulty, and solution uniqueness\. Formal verification experts convert accepted solutions into Gold IR, atomic predicates, and automated checks, while adjudicators resolve disagreements and edge cases before the final version is frozen\.
Quality control spans candidate generation from traceable sources, independent problem solving, assessment of whether a figure is necessary, Gold IR construction, predicate and validator testing, independent dual\-expert review, adjudication, model trial runs, and final freezing\. Eliminated questions and the reasons for revision are retained\. Questions may be removed because of ambiguous prompts, unnecessary figures, non\-unique answers, incomplete proofs, insufficient validation evidence, or mismatched difficulty; recording these decisions makes the review process auditable\.
### 3\.5 Evaluation Protocol
The repeated\-generation metrics pass@3 and pass^3 describe two possible deployment policies\. pass@3 counts a question as successful when at least one of its three outputs strictly passes and is relevant when a validator can select among candidates\. pass^3 counts a question as successful only when all three outputs strictly pass and measures repeated\-generation stability\. Their definitions are retained in[AppendixF](https://arxiv.org/html/2610.12954#A6)\.
Rubric coverage is defined using the question\-specific number of atomic rubricsMiM\_\{i\}and their weightswijw\_\{ij\}, rather than assuming a fixed number of rubrics for every task\. The normalized scoreRi,m,rR\_\{i,m,r\}preserves partial diagnostic information, whereas strict delivery requires the technical gate, every mathematical hard predicate, and complete soft\-constraint satisfaction\. Aggregate rubric coverage is not tabulated in this version because it is not included in the retained workbook\.
## 4 Experiments
### 4\.1 Models and Runs
This paper defines a Harness as a fixed execution protocol that wraps model calls\. A Harness simultaneously specifies prompt templates, models and providers, sampling parameters, output formats, code extraction methods, compilers and renderers, validators, timeout limits, retry strategies, and run log fields\. The evaluation includes the 16 model configurations listed in[Table6](https://arxiv.org/html/2610.12954#A7.T6); no other model result is included in the scorecard or ranking figure\. All models receive the same task prompts and output contracts, without reference figures provided\.
Task promptDo not search the internet or call other existing drawing tools; rely solely on the model’s capabilities to complete this question\. Generate a mathematical diagram based on the following mathematical description, ensuring mathematical accuracy; output only the figure; do not add objects conflicting with the problem meaning; all specified labels must be clearly legible\. The result must be delivered as a code file, choose one of two: \(1\) a complete TikZ standalone document that can be directly saved as\.texand compiled; \(2\) a complete SVG document that can be directly saved as\.svgand rendered\.
### 4\.2 Main Results
[Figure6](https://arxiv.org/html/2610.12954#S4.F6)visualizes the observed strict deliverability rates, and[Table6](https://arxiv.org/html/2610.12954#A7.T6)reports six metrics from the retained evaluation data: pass@1,DD\-PSR, the technical gate rateTT,SS\-PSR, pass@3, and pass^3\. Comparisons are made under the same 512 tasks, prompts, renderers, and three\-rollout protocol\.
The top three configurations by pass@1 are summarized below for quick reference in the main text\.
Top three configurations extracted from Table[6](https://arxiv.org/html/2610.12954#A7.T6)\.Figure 6:Observed strictDD\-PSR rates for the 16 evaluated model configurations, ordered from highest to lowest\. Only models listed in the accompanying evaluation workbook are shown\.The scorecard should not be read as establishing a stable global model ranking\. The comparison is limited to the frozen prompts, renderers, and run settings used in this evaluation\. By construction,SS\-PSR is no lower thanDD\-PSR because every strict delivery hasS=1S=1, whereas partial soft credit can also be retained whenD=0D=0\. Across the 16 evaluated models, the observedDD\-PSR ranges from9\.18%9\.18\\%to30\.73%30\.73\\%; GPT\-6\-Astra has the highest observed rate, followed by Claude Fable 5 at25\.13%25\.13\\%\. These are descriptive results for this evaluation set, not a universal ranking\.
### 4\.6 Harness and Agent Challenge Examples
The data in[Table6](https://arxiv.org/html/2610.12954#A7.T6)come from non\-agent baselines: single\-round code generation with zero tool calls, aiming to test the model’s own diagram\-generation capability under the benchmark constraints\. To examine a more tool\-augmented usage setting, this paper treats agent and direct baseline as two independent experimental configurations, fixing a set of challenge examples for subsequent review under the same budget\. Only if the agent’s final artifact still satisfiesD=0D=0after the pre\-registered three\-round budget is it recorded as “agent still fails”, retaining all intermediate drafts for auditing\.
Table 1:Agent challenge examples\. Direct baselines and independently evaluated agent runs are recorded separately under the same tasks, prompts, and budget definitions\.These cases target errors that may not be resolved solely by renderer repairs: syntactically valid figures may still reverse mappings, place intersections in the wrong quadrants, or miss geometric constraints\.
### 4\.7 Detailed Case Analysis
To make the evidence directly visible in the main text, we include two detailed agent test instances below: an application of Rouché’s Theorem and a Mandelbrot set construction\. Together, these two cases suggest that current agent settings do not yet yield stable gains over the direct baselines\. In the Rouché case, even a tool\-augmented run still misses hard mathematical constraints and does not produce a reliable strict pass; in the Mandelbrot case, the archived outputs remain vulnerable to truncation, incomplete external\-ray structure, and missing co\-landing relations\. The common pattern is that extra steps or tooling do not reliably repair the core mathematical semantics once the construction itself is already off track\.
### 4\.8 Agent Test Instance: Application of Rouché’s Theorem
Rouché’s Theorem is a standard result in complex analysis for determining the number of zeros of an analytic function within a region; it also follows from the Argument Principle\. The theorem states that if an analytic function is perturbed while the dominant term remains larger on the boundary, then the total number of zeros is unchanged\.
LetCCbe a simple closed curve, and let functionsf\(z\)f\(z\)andg\(z\)g\(z\)satisfy the following conditions:
1. 1\.analytic inside and onCC\(orffis meromorphic inside and continuous to the boundary\);
2. 2\.satisfy\|f\(z\)\|\>\|g\(z\)\|\|f\(z\)\|\>\|g\(z\)\|on the boundaryCC\.
Then the functionsf\(z\)f\(z\)andf\(z\)\+g\(z\)f\(z\)\+g\(z\)have the same number of zeros \(counting multiplicities\) insideCC, that is,N\(f\+g,C\)=N\(f,C\)N\(f\+g,C\)=N\(f,C\)\.
This theorem has an intuitive geometric interpretation, informally known as the "Dog\-Walking Theorem":
- •Imagine a tree at the origin, and a person \(representingf\(z\)f\(z\)\) walking a dog \(representingf\(z\)\+g\(z\)f\(z\)\+g\(z\)\) around the tree\.
- •The length of the leash represents\|g\(z\)\|\|g\(z\)\|, and the distance from the person to the tree represents\|f\(z\)\|\|f\(z\)\|\.
- •If the leash length is always less than the distance from the person to the tree \(\|g\|<\|f\|\|g\|<\|f\|\), then the number of times the dog circles the tree is the same as the number of times the person circles the tree\.
- •This means their winding numbers around the origin are identical, thus the number of zeros is the same\.
PromptGenerate an executable figure to illustrate the application of Rouché’s Theorem forf\(z\)=z3f\(z\)=z^\{3\}andg\(z\)=z\+1g\(z\)=z\+1onC=\{z:\|z\|=2\}C=\\\{z:\|z\|=2\\\}\.
The expert reference construction is shown in[Figure7](https://arxiv.org/html/2610.12954#S4.F7)\.
Figure 7:Expert reference figure for the Rouché’s Theorem task: the images off\(z\)=z3f\(z\)=z^\{3\}andf\(z\)\+g\(z\)=z3\+z\+1f\(z\)\+g\(z\)=z^\{3\}\+z\+1onC=\{z:\|z\|=2\}C=\\\{z:\|z\|=2\\\}wind three times around the origin, so both have three zeros insideCC\.Table 2:Atomic constraint card for the Rouché’s Theorem task\. Hard constraints gate delivery; soft\-constraint scores are credited only once every hard constraint passes\.IDTypeAtomic decision questionEvidence and allowed equivalent formsWeight / codeCA\-H1HardIsCCcorrectly specified as the circle centered at00with radius22?A labeled equation or domain\-plane circle, allowing global translation and uniform scaling when geometry is shownDOMAINCA\-H2HardAre the images ofCCunderf\(z\)=z3f\(z\)=z^\{3\}andf\(z\)\+g\(z\)=z3\+z\+1f\(z\)\+g\(z\)=z^\{3\}\+z\+1correctly drawn and labeled?Curve geometry and function–curve binding, allowing equivalent color schemes and line stylesFUNCTIONCA\-H3HardDoes the figure or its associated formula give the correct boundary comparison,\|z\+1\|≤3<8=\|z3\|\|z\+1\|\\leq 3<8=\|z^\{3\}\|forz∈Cz\\in C?Boundary evaluation on\|z\|=2\|z\|=2, accepting equivalent algebraic presentations of the same inequality chainBOUNDARYCA\-H4HardDoes the figure indicate thatf\(z\)\+g\(z\)f\(z\)\+g\(z\)has exactly three zeros insideCC, either by marking the three zeros or by showing a winding number of three?Count and region membership of zero markers, or the winding number of the image curve about the origin; exact root coordinates are not requiredZEROCOUNTCA\-H5HardRegardless of the graphical perspective, does the conclusion state thatffandf\+gf\+ghave the same number of zeros insideCC, both being three counting multiplicities?Text or formula extraction, accepting equivalent phrasingCONCLUSIONCA\-S1SoftAre the chosen contours, regions, winding cues, and any zero markers easy to distinguish?Scored as00,0\.50\.5, or11by experts based on public anchors0\.30CA\-S2SoftAre coordinate axes, function names, contour labels, and formulas clear, with no incorrect spatial bindings?Text recognition and overlap check, confirmed by experts0\.25CA\-S3SoftDo inequalities form clear visual associations with contours, rather than pointing to irrelevant regions?Spatial binding or leader line evidence0\.25CA\-S4SoftDoes the layout avoid non\-critical intersections, clipping, and label collisions?Bounding box detection and expert readability check0\.20For each of CA\-S1 to CA\-S4, the atomic scoresj=1s\_\{j\}=1means that the condition is fully satisfied,sj=0\.5s\_\{j\}=0\.5means that the intended mathematical association remains recoverable but requires extra effort to discern, andsj=0s\_\{j\}=0means that the association is missing or misleading\. Their weighted aggregate is the task\-level soft scoreS∈\[0,1\]S\\in\[0,1\]\. The strict delivery indicator uses the same definition as the rest of the benchmark:
D=THmath1\[S=1\]\.D=T\\,H\_\{\\mathrm\{math\}\}\\,\\mathbb\{1\}\[S=1\]\.\(1\)
Thus, if CA\-H3 fails,Hmath=0H\_\{\\mathrm\{math\}\}=0andD=0D=0regardless ofSS; technical validity and complete presentation\-constraint satisfaction are also required for strict delivery\. The word “soft” refers to the graded diagnostic scale, not to optionality in the full\-specification delivery gate: partial credit remains diagnostic and does not create a strict pass\.
This rubric rewards clarity only once the theorem\-related mathematical content is viable\.

Figure 8:GPT\-5\.6\-sol error diagram for the Rouché’s Theorem task\. All labels in the archived artifact are presented in English\.

Figure 9:Error diagram for the Rouché’s Theorem task generated by Claude Fable 5 through the Claude Code agent environment\. Claude Fable 5 is the underlying model; Claude Code identifies the agent Harness\.
As shown in[Figure8](https://arxiv.org/html/2610.12954#S4.F8), the archived GPT\-5\.6\-sol output contains the following errors\.
##### GPT\-5\.6\-sol deductions\.
1. 1\.CCis not a simple circle centered at00with radius22, violating CA\-H1, so the score is00\.
2. 2\.The rendered curves do not correctly depict and label both imagesf\(C\)f\(C\)and\(f\+g\)\(C\)\(f\+g\)\(C\), violating CA\-H2, so the score is00\.
3. 3\.The figure neither marks the three zeros off\(z\)\+g\(z\)f\(z\)\+g\(z\)correctly insideCCnor provides a valid winding\-number representation with three turns, violating CA\-H4, so the score is00\.
The output in[Figure9](https://arxiv.org/html/2610.12954#S4.F9)was generated by the Claude Fable 5 model through the Claude Code agent Harness and has a different set of errors\.
##### Claude Fable 5 deductions\.
The figure does not correctly draw and label both imagesf\(C\)f\(C\)and\(f\+g\)\(C\)\(f\+g\)\(C\), violating CA\-H2, so the score is00\. It also does not state, through the figure or an associated formula, thatffandf\+gf\+ghave the same number of zeros insideCC, namely three when counted with multiplicity, violating CA\-H5, so the score is00\.
SummaryThe agent \+ Harness configuration did not yield a consistent improvement\. Step\-by\-step guidance that first asks the model to draw the images off\(z\)=z3f\(z\)=z^\{3\}andf\(z\)\+g\(z\)=z3\+z\+1f\(z\)\+g\(z\)=z^\{3\}\+z\+1onC=\{z:\|z\|=2\}C=\\\{z:\|z\|=2\\\}, then identify the loops and relate them to the zeros, appeared to improve some outputs\. This observation is qualitative and should not be interpreted as a measured effect size\.
### 4\.9 Agent Test Instance: Mandelbrot Set
PromptDraw equipotential lines and rational external rays outside the Mandelbrot set according to parametric Böttcher coordinates, and correctly express the period 1–4 branches and the co\-landing points such as1/71/7,2/72/7,3/153/15, and4/154/15\.

Figure 10:Expert reference figure for the Mandelbrot set task: the set with several concentric equipotential lines and rational external rays arranged counterclockwise\.

\(a\)Gemini 3\.5 Flash

\(b\)GPT\-5\.6\-sol
Figure 11:Side\-by\-side comparison of model outputs for the Mandelbrot set task\. Gemini 3\.5 Flash \(left\) misses the required Böttcher equipotentials and misplaces the period\-4 branch; GPT\-5\.6\-sol \(right\) produces an inaccurate boundary and incomplete characteristic rays\.
Mandelbrot set external rays are defined by parametric Böttcher coordinates; rational angle rays with periods 1, 2, 3, and 4 land at specific root points of∂M\\partial Mand encode hyperbolic components\. The figure simultaneously presents the Mandelbrot set, several concentric equipotential lines, and rational external rays arranged counterclockwise; the co\-landing point pairs like1/71/7,2/72/7,3/153/15,4/154/15and their period classifications must be correct\. The graphical relations should support the stated conclusion rather than merely replicating the visual appearance\.
The expert reference is shown in[Figure10](https://arxiv.org/html/2610.12954#S4.F10)\.
##### Gemini 3\.5 Flash\.
Insufficient iteration and boundary precision; equipotential lines are not Böttcher equipotential lines; the period ray family is incomplete, and the topological position of the period\-4 branch is drawn incorrectly\.
##### GPT\-5\.6\-sol\.
Insufficient iteration precision; the Mandelbrot set is drawn as a combination of a disk and a thick annulus, missing the true fractal boundary; co\-landing points are not strict enough; equipotential lines are not calculated from parametric Böttcher coordinates, and only partial characteristic rays of periods 3 and 4 are drawn, which cannot be called a complete construction\.
[Figure11](https://arxiv.org/html/2610.12954#S4.F11)compares the two archived model outputs side by side for direct inspection\.
##### Claude Opus 4\.8\.
The generation process was truncated after exceeding the 128,000\-token budget, returning only thinking; the final code was empty, triggeringTECH\_NO\_OUTPUT\.
## 5 Discussion
The results suggest potential implications for both training and deployment\. For training, the observed failure separation suggests that compilation\-only objectives may be insufficient; future systems could use supervision that jointly targets mathematical relations, label binding, global constraint consistency, and readable spatial organization\. Gold IR and atomic predicates make these failure modes observable, enabling curriculum design, hard\-negative construction, verifier\-guided fine\-tuning, and targeted repair rather than undifferentiated image\-level optimization\.
For deployment studies, the appropriate metric may depend on the operating mode\. Systems that can generate several candidates and run a trusted validator may benefit from candidate selection, whereas systems that deliver a single artifact directly need a strict output\-level gate\. In the retained results,TTdiagnoses technical executability,SS\-PSR retains partial soft information, andDD\-PSR measures strict delivery\. Soft scores can help prioritize repairs, but they should not override mathematical or technical hard gates\.
The gap between relatively high rendering success and lower strictDD\-PSR motivates evaluating a layered deployment architecture in future work: compile and render first, verify mathematical predicates second, and assess readability only after hard correctness is established\. The present experiments do not measure the latency, cost, or user\-level benefit of such an architecture\. Repair budgets, validator access, latency, and cost should therefore be treated as explicit deployment parameters rather than hidden implementation details\. Direct and tool\-augmented Harnesses should be reported separately so that improvements can be attributed to model capability, verification, or iterative repair\.
## 6 Limitations and Responsible Use
Current evidence supports transparent comparisons among the evaluated frozen configurations, but it does not support unbiased population\-level claims about all mathematical problems, model families, or agent settings\. The 512 tasks are not a random sample of the full difficulty distribution, source coverage varies across sub\-disciplines, and expert\-authored predicates may reflect the available notation and verification conventions\. Results may also change with prompts, providers, sampling parameters, renderer versions, tool permissions, and repair budgets\. Accordingly, conclusions should be restricted to the documented task set and Harnesses, and broader generalization requires additional sources, independent expert calibration, and replication under new configurations\.
Agent and direct baselines are independent experimental conditions, so[Table1](https://arxiv.org/html/2610.12954#S4.T1)provides challenge examples rather than evidence that an agent will inherit a direct baseline’s outcome\. Automatic validators can also miss mathematically equivalent forms or accept visually legible but pedagogically misleading artifacts\. Educational and research users should therefore verify figures against the underlying propositions, especially for unfamiliar notation, new theorems, or settings where an incorrect diagram could materially affect a proof or explanation\.
## 7 Conclusion
This paper proposes MathVis, a benchmark for generating mathematical figures as executable TikZ/SVG programs\. Its core design separates technical validity, mathematical predicates, graded presentation scores, and full\-specification strict delivery through Gold IR and atomic rubrics\. On the test set, the observed strictDD\-PSR values of the 16 evaluated configurations range from9\.18%9\.18\\%to30\.73%30\.73\\%\. Future work should expand independent expert calibration, complete model\-family and agent runs, and report efficiency trajectories\.
### AI Usage Declaration
Generative AI tools were used to assist in literature discovery, paper drafting and language editing, LaTeX typesetting, benchmark document organization, and some dataset and evaluation organization work\. The authors independently verified the statistics, mathematical definitions, citations, and final artifacts reported in this paper\. The authors reviewed all AI\-assisted text, citations, statistics, and artifacts and take responsibility for the final paper, dataset, code, and all statements\.
### Ethics Statement
This research does not involve human subjects or personal data\. Benchmark materials record sources and rights statuses and are redistributed to the extent permitted by the relevant licenses\. Passing the automatic evaluation is not sufficient to ensure that a figure is suitable for classroom or research use; teachers and mathematical experts should still verify figures according to the underlying propositions\. The current paper documents the calibration protocol and review workflow, but it does not report a finalized inter\-rater summary table\.
### Reproducibility Statement
The main text defines the task format, Gold IR, technical and semantic gates, strict delivery indicator, and the six metrics reported in the scorecard\. The current artifact contains question\-level logs for three frozen configurations and aggregate scorecard rows for the other configurations\. It therefore supports output\-level recomputation only for those three frozen configurations; the remaining rows can be checked for consistency with their stated denominators but cannot be independently reconstructed from this artifact\.
### Artifact Inventory
Analysis artifacts include frozen strict run and rubric JSONL files, Gold IR records, question\-level and model\-level TSV summaries, official question lists, and XLSX scorecards\. Identity\-related metadata are removed from the released artifact, and the rights status of source figures is preserved in the source records\.
### Model Family Scorecard Notes
[Table6](https://arxiv.org/html/2610.12954#A7.T6)and[Figure6](https://arxiv.org/html/2610.12954#S4.F6)report the same 16 evaluated model configurations\. Each row identifies a model configuration and uses the metric definitions in[AppendixF](https://arxiv.org/html/2610.12954#A6)\. Question\-level logs are retained for three frozen configurations\. The other 13 configurations are represented only by aggregate scorecard rows in the current artifact and therefore do not support question\-level or paired reanalysis\. Qualitative examples name the full model configuration and, when applicable, distinguish the underlying model from the agent Harness\. Provider routes, temperature settings, and output budgets belong to the archived Harness definitions, but they are not fully tabulated for every configuration in this paper\. Missing token, latency, cost, tool\-call, rendering, and output\-level fields remain NA and are not inferred\.
## References
- Malik et al\. \[2025\]Rizwaan Malik, Rebecca Li Hao, Ritika Kacholia, and Dorottya Demszky\.MathemaTikZ: A dataset and benchmark for mathematical diagram generation\.In*Proceedings of the Twelfth ACM Conference on Learning @ Scale*, pages 95–104, 2025\.doi:[10\.1145/3698205\.3729558](https://doi.org/10.1145/3698205.3729558)\.
- Lee et al\. \[2025\]Jaewook Lee, Jeongah Lee, Wanyong Feng, and Andrew Lan\.From text to visuals: Using LLMs to generate math diagrams with vector graphics\.In*Artificial Intelligence in Education*, volume 15880 of*Lecture Notes in Computer Science*, pages 336–349, 2025\.doi:[10\.1007/978\-3\-031\-98459\-4\_24](https://doi.org/10.1007/978-3-031-98459-4_24)\.
- Wang et al\. \[2025a\]Junling Wang, Anna Rutkiewicz, April Wang, and Mrinmaya Sachan\.Generating pedagogically meaningful visuals for math word problems: A new benchmark and analysis of text\-to\-image models\.In*Findings of the Association for Computational Linguistics: ACL 2025*, pages 11229–11257, 2025a\.doi:[10\.18653/v1/2025\.findings\-acl\.586](https://doi.org/10.18653/v1/2025.findings-acl.586)\.
- Wang et al\. \[2025b\]Junxiao Wang, Ting Zhang, Heng Yu, Jingdong Wang, and Hua Huang\.MagicGeo: Training\-free text\-guided geometric diagram generation\.*arXiv preprint arXiv:2502\.13855*, 2025b\.doi:[10\.48550/arXiv\.2502\.13855](https://doi.org/10.48550/arXiv.2502.13855)\.URL[https://arxiv\.org/abs/2502\.13855](https://arxiv.org/abs/2502.13855)\.
- Wei et al\. \[2026\]Xiaojing Wei, Ting Zhang, Wei He, Jingdong Wang, and Hua Huang\.GeoLoom: High\-quality geometric diagram generation from textual input\.In*Proceedings of the 43rd International Conference on Machine Learning*, volume 306 of*Proceedings of Machine Learning Research*, 2026\.URL[https://arxiv\.org/abs/2512\.08180](https://arxiv.org/abs/2512.08180)\.
- Ku et al\. \[2025\]Max Ku, Cheuk Hei Chong, Jonathan Leung, Krish Shah, Alvin Yu, and Wenhu Chen\.TheoremExplainAgent: Towards video\-based multimodal explanations for LLM theorem understanding\.In*Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\)*, pages 6663–6684, 2025\.doi:[10\.18653/v1/2025\.acl\-long\.332](https://doi.org/10.18653/v1/2025.acl-long.332)\.
- Belouadi et al\. \[2024a\]Jonas Belouadi, Anne Lauscher, and Steffen Eger\.AutomaTikZ: Text\-guided synthesis of scientific vector graphics with TikZ\.In*International Conference on Learning Representations*, 2024a\.URL[https://arxiv\.org/abs/2310\.00367](https://arxiv.org/abs/2310.00367)\.
- Belouadi et al\. \[2024b\]Jonas Belouadi, Simone Paolo Ponzetto, and Steffen Eger\.DeTikZify: Synthesizing graphics programs for scientific figures and sketches with TikZ\.In*Advances in Neural Information Processing Systems*, 2024b\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2024/hash/9a8d52eb05eb7b13f54b3d9eada667b7\-Abstract\-Conference\.html](https://proceedings.neurips.cc/paper_files/paper/2024/hash/9a8d52eb05eb7b13f54b3d9eada667b7-Abstract-Conference.html)\.
- Belouadi et al\. \[2025\]Jonas Belouadi, Eddy Ilg, Margret Keuper, Hideki Tanaka, Masao Utiyama, Raj Dabre, Steffen Eger, and Simone Paolo Ponzetto\.TikZero: Zero\-shot text\-guided graphics program synthesis\.In*Proceedings of the IEEE/CVF International Conference on Computer Vision*, pages 17793–17806, 2025\.doi:[10\.1109/ICCV51701\.2025\.01653](https://doi.org/10.1109/ICCV51701.2025.01653)\.
- Hu et al\. \[2024\]Yushi Hu, Weijia Shi, Xingyu Fu, Dan Roth, Mari Ostendorf, Luke Zettlemoyer, Noah A\. Smith, and Ranjay Krishna\.Visual sketchpad: Sketching as a visual chain of thought for multimodal language models\.In*Advances in Neural Information Processing Systems*, 2024\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2024/hash/fb82011040977c7712409fbdb5456647\-Abstract\-Conference\.html](https://proceedings.neurips.cc/paper_files/paper/2024/hash/fb82011040977c7712409fbdb5456647-Abstract-Conference.html)\.
- Qiu et al\. \[2025\]Zeju Qiu, Weiyang Liu, Haiwen Feng, Zhen Liu, Tim Xiao, Katherine Collins, Joshua B\. Tenenbaum, Adrian Weller, Michael J\. Black, and Bernhard Sch"olkopf\.Can large language models understand symbolic graphics programs?In*International Conference on Learning Representations*, 2025\.URL[https://proceedings\.iclr\.cc/paper\_files/paper/2025/hash/41bd71e7bf7f9fe68f1c936940fd06bd\-Abstract\-Conference\.html](https://proceedings.iclr.cc/paper_files/paper/2025/hash/41bd71e7bf7f9fe68f1c936940fd06bd-Abstract-Conference.html)\.
- Zou et al\. \[2024\]Bocheng Zou, Mu Cai, Jianrui Zhang, and Yong Jae Lee\.VGBench: Evaluating large language models on vector graphics understanding and generation\.In*Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing*, 2024\.URL[https://aclanthology\.org/2024\.emnlp\-main\.213/](https://aclanthology.org/2024.emnlp-main.213/)\.
- Zhang et al\. \[2024\]Renrui Zhang, Dongzhi Jiang, Yichi Zhang, Haokun Lin, Ziyu Guo, Pengshuo Qiu, Aojun Zhou, Pan Lu, Kai\-Wei Chang, Peng Gao, and Hongsheng Li\.MathVerse: Does your multi\-modal LLM truly see the diagrams in visual math problems?In*European Conference on Computer Vision*, 2024\.URL[https://www\.ecva\.net/papers/eccv\_2024/papers\_ECCV/html/1270\_ECCV\_2024\_paper\.php](https://www.ecva.net/papers/eccv_2024/papers_ECCV/html/1270_ECCV_2024_paper.php)\.
- Wang et al\. \[2024\]Ke Wang, Junting Pan, Weikang Shi, Zimu Lu, Houxing Ren, Aojun Zhou, Mingjie Zhan, and Hongsheng Li\.Measuring multimodal mathematical reasoning with MATH\-Vision dataset\.In*Advances in Neural Information Processing Systems*, 2024\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2024/hash/ad0edc7d5fa1a783f063646968b7315b\-Abstract\-Datasets\_and\_Benchmarks\_Track\.html](https://proceedings.neurips.cc/paper_files/paper/2024/hash/ad0edc7d5fa1a783f063646968b7315b-Abstract-Datasets_and_Benchmarks_Track.html)\.
- Kashyap et al\. \[2026\]Harish Kashyap, Kiran Byadarhaly, Sriram Chakaravarthy, Sanyukta Tuti, and Aryan Mistry\.Math\-Vision diagrams: A comprehensive benchmark for evaluating LLM mathematical diagram generation capabilities\.*arXiv preprint arXiv:2608\.08964*, 2026\.doi:[10\.48550/arXiv\.2608\.08964](https://doi.org/10.48550/arXiv.2608.08964)\.URL[https://arxiv\.org/abs/2608\.08964](https://arxiv.org/abs/2608.08964)\.
- Huang et al\. \[2025\]Zihan Huang, Tao Wu, Wang Lin, Shengyu Zhang, Jingyuan Chen, and Fei Wu\.AutoGeo: Automating geometric image dataset creation for enhanced geometry understanding\.*IEEE Transactions on Multimedia*, 27:3105–3116, 2025\.doi:[10\.1109/TMM\.2025\.3557720](https://doi.org/10.1109/TMM.2025.3557720)\.
- Chang et al\. \[2025\]Yifan Chang, Yukang Feng, Jianwen Sun, Jiaxin Ai, Chuanhao Li, S\. Kevin Zhou, and Kaipeng Zhang\.SridBench: Benchmark of scientific research illustration drawing of image generation model\.*arXiv preprint arXiv:2505\.22126*, 2025\.doi:[10\.48550/arXiv\.2505\.22126](https://doi.org/10.48550/arXiv.2505.22126)\.
- Ye et al\. \[2020\]Katherine Ye, Wode Ni, Max Krieger, Dor Ma’ayan, Jenna Wise, Jonathan Aldrich, Joshua Sunshine, and Keenan Crane\.Penrose: From mathematical notation to beautiful diagrams\.*ACM Transactions on Graphics*, 39\(4\), 2020\.doi:[10\.1145/3386569\.3392375](https://doi.org/10.1145/3386569.3392375)\.
- Liu et al\. \[2026\]Ruiyao Liu, Hui Shen, Ping Zhang, Yunta Hsieh, Yifan Zhang, Jing Xu, Sicheng Chen, Junchen Li, Jiawei Lu, Jianing Ma, Jiaqi Mo, Qi Han, Zhen Zhang, Zhongwei Wan, Jing Xiong, Xin Wang, Ziyuan Liu, Hangrui Cao, and Ngai Wong\.MathGen: Revealing the illusion of mathematical competence through text\-to\-image generation\.*arXiv preprint arXiv:2603\.27959*, 2026\.doi:[10\.48550/arXiv\.2603\.27959](https://doi.org/10.48550/arXiv.2603.27959)\.URL[https://arxiv\.org/abs/2603\.27959](https://arxiv.org/abs/2603.27959)\.
- Bo et al\. \[2026\]Weihao Bo, Shan Zhang, Yanpeng Sun, Jie Liu, Yongke Yao, Jinhao Du, Wei He, Kai Zou, Zechao Li, and Jingdong Wang\.Diagram\-MMU: A multi\-modal benchmark for scientific diagrams\.*arXiv preprint arXiv:2608\.12262*, 2026\.doi:[10\.48550/arXiv\.2608\.12262](https://doi.org/10.48550/arXiv.2608.12262)\.URL[https://arxiv\.org/abs/2608\.12262](https://arxiv.org/abs/2608.12262)\.
- Chen et al\. \[2021\]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Ilya Sutskever, and Wojciech Zaremba\.Evaluating large language models trained on code\.*arXiv preprint arXiv:2107\.03374*, 2021\.doi:[10\.48550/arXiv\.2107\.03374](https://doi.org/10.48550/arXiv.2107.03374)\.URL[https://arxiv\.org/abs/2107\.03374](https://arxiv.org/abs/2107.03374)\.
- Bender and Friedman \[2018\]Emily M\. Bender and Batya Friedman\.Data statements for natural language processing: Toward mitigating system bias and enabling better science\.*Transactions of the Association for Computational Linguistics*, 2018\.doi:[10\.1162/tacl\_a\_00041](https://doi.org/10.1162/tacl_a_00041)\.
- Gebru et al\. \[2021\]Timnit Gebru, Jamie Morgenstern, Briana Vecchione, Jennifer Wortman Vaughan, Hanna Wallach, Hal Daumé, and Kate Crawford\.Datasheets for datasets\.*Communications of the ACM*, 2021\.doi:[10\.1145/3458723](https://doi.org/10.1145/3458723)\.
## Appendix AContributions
A more detailed, artifact\-oriented contribution inventory follows:
1. 1\.Introduced an evaluation\-only benchmark for advanced mathematical figure generation, extending coverage beyond predominantly K–12 settings to 27 mathematical sub\-disciplines \(e\.g\., differential geometry, complex analysis, linear algebra, analytic geometry\)\.
2. 2\.Released a structured task design containing prompts, reference materials, Gold IR, atomic rubrics, source information, error codes, and acceptable equivalent transformations of figures\.
3. 3\.Formalized mathematical reasoning figure generation as constrained executable programs, and separately verified the correctness of program execution, the correctness of mathematical semantics, and the quality of visual expression\.
4. 4\.Separated technical validity, mathematical hard predicates, soft\-constraint diagnostics, and strict deliverability in a unified metric definition, while retaining formal definitions of repeated\- generation and rubric diagnostics for reproducibility\.
5. 5\.Reported the observed scorecard metrics for the 16 evaluated model configurations under the same 512 official questions and three\-rollout protocol, with explicit notes on which configurations retain question\-level logs in the current artifact\.
## Appendix BMethod\-Related Work
Executable Judges and Automated Verification\.MathGen uses a script\-as\-a\-judge approach to evaluate whether text\-to\-image models preserve charts, geometric constructions, and symbol layouts in mathematical answers\[[Liu et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib19)\]\. Math\-Vision Diagrams integrates both text\-to\-code and text\-to\-image tasks into a unified evaluation framework for mathematical figure generation, while Diagram\-MMU focuses on parsing, editing, and question answering based on existing scientific figures\[[Kashyap et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib15),[Bo et al\., 2026](https://arxiv.org/html/2610.12954#bib.bib20)\]\. These works indicate that code compilation, scripting, or structured QA can provide verification signals that go beyond simple image similarity\. Building on this idea, MathVis uses code executability as a technical gate and Gold IR with atomic predicates as semantic gates\.
Following the HumanEval setup for repeated sampling in code generation\[[Chen et al\., 2021](https://arxiv.org/html/2610.12954#bib.bib21)\], our paper reports single\-sample success rates, at least one success statistic \(suitable for scenarios with multi\-candidate generation and verification\), and all success statistics \(suitable for strict, direct\-use scenarios\)\. We also record data sources and model/Harness configurations in line with established data and model documentation practices\[[Bender and Friedman, 2018](https://arxiv.org/html/2610.12954#bib.bib22),[Gebru et al\., 2021](https://arxiv.org/html/2610.12954#bib.bib23)\]\.
## Appendix CBenchmark Construction Process
### C\.1 Question Screening Process Statistics
Dataset construction began with 8,114 candidate propositions with potential value for mathematical graphical expression\. Candidate questions were sequentially screened based on source completeness, mathematical visualizability, instance unique determinability, and validator auditability\. The first stage eliminated 432 questions with incomplete source information, retaining 7,682; the second stage eliminated 1,710 questions lacking stable mathematical figure semantics, retaining 5,972; the third stage eliminated 5,345 questions with multiple indistinguishable legal instances, retaining 627; the fourth stage eliminated 115 questions unable to establish sufficient verification evidence, and the process then froze 512 official questions\. Each question records only the reason for its first triggered elimination in order to avoid double counting across stages\.
This pipeline can be written as the funnel in[Equation2](https://arxiv.org/html/2610.12954#A3.E2)\.
### C\.2 Stage 1: Theorem Screening and Instance Specification
Candidate propositions come from textbooks, published research papers, and exercise books with traceable origins\. For example, complex analysis, differential geometry, and topology are treated as non\-interchangeable task assignments because standard graphical conventions and common errors differ across these three fields\. The coverage quantity for each field is determined by the observed density of auditable visual propositions, without forcing an even distribution\.
Candidate propositions first undergo a five\-level judgment of visualizability\. This triage is used to allocate question\-construction effort on the candidate pool rather than to summarize the released 512 questions\. Levels 1 and 2 are not admitted to the benchmark; among admissible candidates, Levels 3–5 describe increasing stability of auditable visual structure:
Level 1The planar figure only serves a decorative purpose; lines, colors, and shapes in the figure have no clear correspondence with objects, conditions, or conclusions in the proposition, so it can neither assist in explaining the proposition nor be used to judge whether the proposition is expressed correctly\. Such figures are discarded\.
Level 2Only schematic diagrams can be drawn to aid understanding, but elements in the figure cannot be mapped item by item to mathematical objects and relations in the proposition, so the figure cannot be used to verify whether the proposition is correctly expressed\. Such candidates are not admitted to the benchmark\.
Level 3The proposition has no unique standard illustration and requires pre\-defined visual conventions such as colors, directions, projections, or line styles; once conventions are fixed, mathematical objects and relations in the figure can still be verified item by item\.
Level 4The proposition has relatively stable illustration methods widely adopted by the mathematical community\. Key objects, relations, and quantitative properties in the figure can directly correspond to explicit mathematical invariants, formulas, or decision conditions\. Even if different illustrators use different layouts, they will retain the same core mathematical structure\. For example, an Argument Principle diagram needs to show closed curves, zeros, poles, and winding numbers, which can be verified through point\-in\-region judgments, zero/pole counting, and winding number calculations\.
Level 5The proposition not only has a stable typical construction but can also form multiple controlled variants by changing parameters, functions, regions, or representations\. Each variant maintains the same core theorem structure while producing different visual results\. Such tasks can test whether the model understands the proposition rather than memorizing a specific standard figure\. For example, in a Rouché’s Theorem task, functions or circle radii can be changed; as long as the new parameters still satisfy the boundary inequality, the zero count and figure structure are updated accordingly\.
Question constructors then fix a specific instanceηi\\eta\_\{i\}\. General statements about regions, surfaces, bundles, or knots are translated into explicit objects, parameters, directions, and conventions\. This instantiation step is applied only when the source and accepted conventions support a canonical benchmarkable instance\. Candidates that still admit multiple materially different legal realizations without such a source\-supported canonicalization are excluded at Stage 3 rather than being resolved by an arbitrary post\-hoc choice\. If the same proposition allows meaningful parameter or representation changes, a standard instance can be accompanied by one or two controlled variants\. Each variant is assigned an independent question number\. All variants originating from the same proposition or standard instance share the same task family number for internal bookkeeping\. This paper releases an evaluation\-only set with hidden evaluator assets and does not define or report family\-based train/dev/test splits\.
Constructors write public specifications and hidden specifications separately\. Public prompts explain the mathematical environment and required artifacts but do not enumerate evaluation checklists\. Hidden specifications decompose the instantiated proposition into atomic constraints, map constraints to Gold IR fields, declare hard or soft types, freeze soft constraint weights, record acceptable equivalent forms, and specify allowed evidence\. Constraint types and weights must be frozen before any benchmark model is run\.
### C\.3 Stage 2: Candidate Reference Figure Generation and Automatic Pre\-check
The reference figure generation path is determined by the mathematical content\. Functions and complex analysis tasks can use deterministic sampling, contour calculation, or domain coloring tools\. Parametric geometry tasks can use numerical surface and projection programs\. Topology and diagrammatic tasks may require verified off\-the\-shelf libraries or manually written vector programs\. Each path exports a complete TikZ or SVG artifact and records the renderer and numerical settings\. Unified canvases, fonts, line widths, and coordinate conventions are used to reduce visual shortcuts formed by rendering paths\. When complete unification is impossible, path labels are retained for stratified analysis\.
Model\-assisted drafting can speed up reference artifact writing but cannot define ground truth\. The pipeline records the draft model, prompt, and original output\. Constructors modify or regenerate the artifacts to align them with the source proposition and Gold IR before submitting to Stage 3\. When conditions permit, the draft model is kept separate from the formal evaluation configuration\. Whether a question is admitted is still determined by expert verification\.
Automatic pre\-checking forms the first layer of the verification funnel\. General checks verify schema completeness, independent compilation or rendering, resource bounds, and non\-empty outputs\. Sub\-discipline checks calculate quantities that can be judged at low cost, including contour membership, zero and pole positions, directions, conformal non\-degeneracy on sampling grids, metric consistency, or curvature values\. Passing the automatic pre\-check does not mean the question is admitted\. Pre\-checks are used to eliminate data entry and execution errors and to attach quantitative evidence so that expert time can focus on semantic judgments\. Questions lacking reliable automatic checks proceed to expert review without receiving a default pass value\.
### C\.4 Stage 3: Expert Verification and Arbitration
Stage 3 distinguishes between task package admission and model output scoring\. Sub\-discipline experts first verify source tracking, instance validity, public prompts, reference programs, rendering results, Gold IR, hidden constraints, hard and soft types, weights, and allowed equivalent forms\. Every decision is recorded down to the predicate level\. When prompts are ambiguous, no source\-supported canonical instance can be frozen, reference artifacts violate propositions, IR lacks necessary relations, or constraints reward a source\-specific layout rather than mathematically equivalent forms, the task is sent back for revision or removed from the benchmark candidate pool\.
The full release protocol designates a 5% calibration subset stratified by source, sub\-discipline, rendering path, and difficulty for independent dual\-person review\. When there is a disagreement on whether a task can be admitted or on any hard constraint, it is arbitrated by a third qualified expert\. Binary correctness is intended to be summarized by raw agreement rates and Cohen’sκ\\kappaon the dual\-reviewed subset\. Ordinal soft judgments use a frozen\{0,0\.5,1\}\\\{0,0\.5,1\\\}scale and are intended to be summarized by weighted agreement rates together with intra\-class correlation coefficients or Krippendorff’sα\\alpha\. The present paper documents this protocol but does not report final aggregated calibration coefficients\.
Initially, 8,114 questions were collected\. The four recorded elimination stages retain 512 questions in the final set\. The third elimination stage refers to candidate propositions for which no source\-supported canonical benchmark instance could be frozen after revision; it does not mean that every proposition with more than one legal drawing is automatically excluded\. The funnel can be written as
8114→Incomplete Source−4327682→Math Not Visualizable−17105972→No Canonical Instance−5345627→Insufficient Validator−115512\.8114\\xrightarrow\[\\text\{Incomplete Source\}\]\{\-432\}7682\\xrightarrow\[\\text\{Math Not Visualizable\}\]\{\-1710\}5972\\xrightarrow\[\\text\{No Canonical Instance\}\]\{\-5345\}627\\xrightarrow\[\\text\{Insufficient Validator\}\]\{\-115\}512\.\(2\)
Every return in Stage 3 records structured reasons and target stages, including source recovery, instance revision, prompt revision, reference figure repair, IR completion, constraint revision, and renderer repair\. The revision ledger records rounds and actual expert time, without inferring work hours from file metadata\. The current paper records the existence of these audit fields but does not report aggregate expert hours, return rates, or inter\-rater statistics\.
Professional work, risks, and archived records at each stage\.Each question contains a self\-contained prompt and output contract, a reference figure and an executable TikZ/SVG program, Gold IR, atomic predicates belonging to five dimensions, and error codes with evidence priority\. IR focuses on expressing relations: for example, a coordinate chart task requires not only two ellipses that look similar, but also intersecting coordinate domains, a specified intersection, coordinate images inℝm\\mathbb\{R\}^\{m\}, and mutually inverse transformation mappings between coordinate images\.
Predicates concretize the “understanding to action” chain as: Language Parsing→\\rightarrowRelation Extraction→\\rightarrowImplicit Condition Inference→\\rightarrowSpatial Planning and Calculation→\\rightarrowProgram Synthesis→\\rightarrowRendering→\\rightarrowVerification\. The evaluation allows alternative layouts but does not allow visually similar approximations to replace the mathematical propositions\. Error codes locate object omissions, topological errors, missing or reversed relations, formula mapping errors, label misbindings, incomplete content, and unreadable deliveries, turning a single leaderboard score into an interpretable error profile\.
The current version uses automatic auditing and escalates cases with weak automatic evidence or high downstream impact for expert review, with an independent dual\-expert calibration protocol\. Aggregate calibration statistics are not reported in this version\.
## Appendix DComplex Analysis Predicate Family
Each question instantiates only the predicates that are mathematically applicable\.
Table 3:Complex analysis predicate family\.
## Appendix EExpert Verification Rubric Template
Stage 3 uses two related forms\. The task admission form verifies the benchmark question itself\. The model output scoring form is only used to evaluate model artifacts after the task package is frozen\. This separation helps avoid misjudging errors in reference programs or Gold IR as model failures\.
Table 4:Task admission rubric\.Each output predicate card contains the fields id, Gold\-IR path, decision question, type, weight, allowed equivalence, evidence method, satisfaction, error code, and reviewer confidence\. Hard constraints useh∈\{0,1\}h\\in\\\{0,1\\\}and have no compensatory weights\. Soft constraints uses∈\{0,0\.5,1\}s\\in\\\{0,0\.5,1\\\}, with their positive weights normalized within the question\. Experts can chooseinsufficient evidence, which triggers an escalated review and cannot be converted to a pass\.
## Appendix FMetric Definitions
### F\.1 Task Definition and Output Contract
Each sample is represented as
𝒯i=\(xi,ri,gi,ai,ei\),\\mathcal\{T\}\_\{i\}=\(x\_\{i\},r\_\{i\},g\_\{i\},a\_\{i\},e\_\{i\}\),\(3\)
wherexix\_\{i\}is a self\-contained natural language description,rir\_\{i\}is the reference figure and executable reference program,gig\_\{i\}is the Gold IR,aia\_\{i\}is the list of atomic rubrics, andeie\_\{i\}is the error code and evidence specification\. The model can only seexix\_\{i\}and the output contract, and must generate a complete, independent TikZ document or a directly renderable SVG document\. The reference figure and reference program are held out from the model and used only for evaluation\.
The benchmark follows a problem\-driven pipeline: Source Problem→\\rightarrowSelf\-contained Prompt and Gold IR→\\rightarrowConstruction Planning and Executable Code→\\rightarrowCompilation and Rendering→\\rightarrowTechnical, Structural, Visual, and Expert Verification\. Verification feedback is reserved for separately budgeted repair experiments; direct baselines do not receive feedback\. Therefore, MathVis measures not image imitation, but the ability to translate problem understanding into executable, verifiable, and editable artifacts\.
This paper defines mathematical figures as 2D visual representations in which objects, spatial relations, labels, and formulas encode propositions that can be verified against structured specifications\. As long as mathematical relations remain unchanged, global translation, uniform scaling, and explicitly permitted line\-style changes are acceptable\.
“Mathematical reasoning” in this paper does not refer to the unobservable internal chain of thought of the model, nor does it require the model to submit a Chain\-of\-Thought\. We operationalize it as: can the model extract mathematical objects and relations from natural language, synchronously update the graphic structure when parameters or relations undergo controlled changes, and maintain the consistency of unchanged constraints? This operational definition is implemented through Gold\-IR comparison and explicit/implicit constraint checks in the reported evaluation\.
Let the model bemmand the number of questions beN=512N=512\. Each question has three rollouts, giving3N=15363N=1536model outputs\. For each rollout, define the technical gate
Ti,m,r=\[\\displaystyle T\_\{i,m,r\}=\\mathbb\{1\}\\\!\\big\[Format Correct∧Parsable or Compilable\\displaystyle\\text\{Format Correct\}\\land\\text\{Parsable or Compilable\}\(4\)∧Rendering Successful∧Figure Non\-empty\]\.\\displaystyle\\land\\text\{Rendering Successful\}\\land\\text\{Figure Non\-empty\}\\big\]\.
LetHmath,i,m,r∈\{0,1\}H\_\{\\mathrm\{math\},i,m,r\}\\in\\\{0,1\\\}denote whether all mandatory mathematical hard predicates pass\. Let each atomic soft constraint take a value in\{0,0\.5,1\}\\\{0,0\.5,1\\\}, and letSi,m,r∈\[0,1\]S\_\{i,m,r\}\\in\[0,1\]be the normalized weighted aggregate\. The strict deliverability indicator is
Di,m,r=Ti,m,rHmath,i,m,r1\[Si,m,r=1\]\.D\_\{i,m,r\}=T\_\{i,m,r\}\\,H\_\{\\mathrm\{math\},i,m,r\}\\,\\mathbb\{1\}\[S\_\{i,m,r\}=1\]\.\(5\)
This definition keeps technical and mathematical failures non\-compensatory while preserving partial soft scores for diagnostics\. It impliesDi,m,r≤Ti,m,rD\_\{i,m,r\}\\leq T\_\{i,m,r\}andDi,m,r≤Si,m,rD\_\{i,m,r\}\\leq S\_\{i,m,r\}\. The current workbook supports aggregate reporting ofTT,SS\-PSR, andDD\-PSR\. It does not contain the output\-level predicate records required to report a separate aggregateHmathH\_\{\\mathrm\{math\}\}rate\.
### F\.2 Technical GateTT
The observed technical gate pass rate is
Tm=1003N∑i=1N∑r=13Ti,m,r\.T\_\{m\}=\\frac\{100\}\{3N\}\\sum\_\{i=1\}^\{N\}\\sum\_\{r=1\}^\{3\}T\_\{i,m,r\}\.\(6\)
HerekT=∑i=1N∑r=13Ti,m,rk\_\{T\}=\\sum\_\{i=1\}^\{N\}\\sum\_\{r=1\}^\{3\}T\_\{i,m,r\}is the number of outputs that pass all four technical checks, so the reported value is100kT/1536100k\_\{T\}/1536\.
### F\.3SS\-PSR
The soft\-constraint per\-sample rate is defined as
S\-PSRm=1003N∑i=1N∑r=13Si,m,r\.S\\text\{\-PSR\}\_\{m\}=\\frac\{100\}\{3N\}\\sum\_\{i=1\}^\{N\}\\sum\_\{r=1\}^\{3\}S\_\{i,m,r\}\.\(7\)
This diagnostic averages the aggregate soft\-constraint scoreSi,m,r∈\[0,1\]S\_\{i,m,r\}\\in\[0,1\]and thereby preserves partial credit across atomic soft constraints\. It does not override the technical or mathematical hard gates\. The table reports the observed rate computed over all questions and rollouts for each model\. By construction,SS\-PSR is no lower thanDD\-PSR\.
### F\.4DD\-PSR
The observed strict deliverability rate is defined as
D\-PSRm=1003N∑i=1N∑r=13Di,m,r\.D\\text\{\-PSR\}\_\{m\}=\\frac\{100\}\{3N\}\\sum\_\{i=1\}^\{N\}\\sum\_\{r=1\}^\{3\}D\_\{i,m,r\}\.\(8\)
It represents the proportion of outputs that satisfy the technical gate, all mandatory mathematical hard predicates, and complete soft\-constraint satisfaction\. WithkD=∑i=1N∑r=13Di,m,rk\_\{D\}=\\sum\_\{i=1\}^\{N\}\\sum\_\{r=1\}^\{3\}D\_\{i,m,r\}, the reported value is100kD/1536100k\_\{D\}/1536\.
### F\.5 Rubric Coverage
Let theii\-th question containMiM\_\{i\}atomic rubrics, letρi,m,r,j∈\[0,1\]\\rho\_\{i,m,r,j\}\\in\[0,1\]represent the satisfaction degree of thejj\-th rubric, and letwijw\_\{ij\}be its importance weight\. The question\-level rubric score is
Ri,m,r=∑j=1Miwijρi,m,r,j∑j=1Miwij\.R\_\{i,m,r\}=\\frac\{\\sum\_\{j=1\}^\{M\_\{i\}\}w\_\{ij\}\\,\\rho\_\{i,m,r,j\}\}\{\\sum\_\{j=1\}^\{M\_\{i\}\}w\_\{ij\}\}\.\(9\)
Converting this to a score from 0 to 10:
Rubricm=10N∑i=1N1ni∑r=1niRi,m,r\.\\operatorname\{Rubric\}\_\{m\}=\\frac\{10\}\{N\}\\sum\_\{i=1\}^\{N\}\\frac\{1\}\{n\_\{i\}\}\\sum\_\{r=1\}^\{n\_\{i\}\}R\_\{i,m,r\}\.\(10\)
If binary rubrics are used, thenρi,m,r,j∈\{0,1\}\\rho\_\{i,m,r,j\}\\in\\\{0,1\\\}, where11means the item is fully satisfied, and00means it is not satisfied or evidence is insufficient\.
### F\.6pass@3
Generate three independent outputs for each question\. As long as at least one output strictly passes, the question is counted as successful\. HereN=512N=512, so the denominator is the number of questions rather than the number of rollouts\.
pass@3m=100N∑i=1N\[maxr∈\{1,2,3\}Di,m,r=1\]=100N∑i=1N\[Di,m,1∨Di,m,2∨Di,m,3\]\.\\text\{\{pass@3\}\}\_\{m\}=\\frac\{100\}\{N\}\\sum\_\{i=1\}^\{N\}\\mathbb\{1\}\\\!\\left\[\\max\_\{r\\in\\\{1,2,3\\\}\}D\_\{i,m,r\}=1\\right\]=\\frac\{100\}\{N\}\\sum\_\{i=1\}^\{N\}\\mathbb\{1\}\\\!\\left\[D\_\{i,m,1\}\\lor D\_\{i,m,2\}\\lor D\_\{i,m,3\}\\right\]\.\(11\)
This metric is suitable for settings in which multiple candidate results can be generated, and the best result is selected by a validator, teacher, or agent\.
### F\.7pass^3
Generate three independent outputs for each question\. A question is counted as successful only if all three strictly pass\. HereN=512N=512, so the denominator is the number of questions rather than the number of rollouts:
pass^3m=100N∑i=1N\[minr∈\{1,2,3\}Di,m,r=1\]=100N∑i=1N∏r=13Di,m,r\.\\text\{\{pass\\textasciicircum\{\}3\}\}\_\{m\}=\\frac\{100\}\{N\}\\sum\_\{i=1\}^\{N\}\\mathbb\{1\}\\\!\\left\[\\min\_\{r\\in\\\{1,2,3\\\}\}D\_\{i,m,r\}=1\\right\]=\\frac\{100\}\{N\}\\sum\_\{i=1\}^\{N\}\\prod\_\{r=1\}^\{3\}D\_\{i,m,r\}\.\(12\)
This metric measures the stability of repeated generation: as long as at least one of the three rollouts fails, the question is scored as00in pass^3\.
We consider two application settings rather than making causal claims about downstream user outcomes\. Education is the primary application setting, including textbooks, lecture notes, assignments, and tutoring materials; incorrect arrows or labels may directly mislead learners\. Research communication is a secondary setting, including research notes, paper sketches, and theoretical communication in fields such as topology, differential geometry, algebra, and analysis, where higher\-order relations and notation must remain auditable\. The published metadata records these settings separately; for educational use, we recommend the full rubric hard gate\. The current paper does not claim that benchmark scores directly predict teacher or student outcomes; such validity still requires separate educational studies\.
## Appendix GResult Statistics
### G\.1 Model Scorecard
Table 6:Scorecard for the 16 evaluated model configurations on the 512 official questions\. All rates are observed percentages\. pass@1, pass@3, and pass^3 each use 512 question\-level outcomes;DD\-PSR,TT, andSS\-PSR use512×3=1536512\\times 3=1536rollout\-level outcomes\. pass@3 measures whether at least one of three outputs strictly passes, whereas pass^3 measures whether all three strictly pass\.
### G\.2 Additional Result Analysis
#### G\.2\.1 Metric Separation
The five predicate groups—objects and structures, relations and quantities, labels and formulas, completeness and consistency, and readability and layout—remain useful for error diagnosis\. We do not report aggregate “full satisfaction rates” for these groups in this version because the retained workbook does not contain the output\-level predicate records needed to reproduce those rates\. Technical validity is reported separately asTT; its values range from71\.55%71\.55\\%to94\.40%94\.40\\%and must not be interpreted as mathematical hard\-predicate accuracy\.
#### G\.2\.2 Questions and Observed Scores
The questions in the benchmark provide unified prompts, renderers, Gold IR, and delivery gates while maintaining source and mathematical sub\-discipline coverage\. On this question set, the observed strictDD\-PSR values across the 16 evaluated configurations range from9\.18%9\.18\\%to30\.73%30\.73\\%\.
#### G\.2\.3 Qualitative Error Analysis
Gold IR enables errors to be checked at the mathematical proposition level\. Common errors include:relation errors, such as missing or reversed arrows, inclusions, associations, directions, or inverse mappings;mapping and formula errors, such as incorrect signs, value ranges, branches, or label bindings;completeness errors, meaning some objects exist but the conjunction of required facts is incomplete; andtechnical errors, such as blank outputs, incomplete source code, compilation failures, or rendering failures\.
Table 2:Reproducibility checklist: fields recorded for evaluation\.Similar Articles
Solving Is Not Drawing: A Benchmark for Diagrammatic Reasoning in Olympiad Geometry
This paper introduces an open-source benchmark for evaluating diagrammatic reasoning in geometry, revealing that foundation models like GPT and Claude struggle to produce faithful diagrams despite their problem-solving abilities.
Exploring Agentic Workflows for Generating High Quality Math Visual Aids
This paper introduces an agentic workflow that uses LLMs and VLMs to iteratively generate and improve high-quality mathematical diagrams for K-12 education, addressing the reliability gap in AI-generated visual aids.
MathNet: a Global Multimodal Benchmark for Mathematical Reasoning and Retrieval
MathNet is a large-scale multilingual multimodal benchmark of 30,676 Olympiad-level math problems spanning 47 countries and 17 languages, designed to evaluate mathematical reasoning and retrieval in generative and embedding-based models. Even state-of-the-art models like Gemini and GPT-5 struggle with the benchmark, highlighting significant room for improvement in mathematical AI.
VAMPS: Visual-Assisted Mathematical Problem Solving Benchmark
VAMPS is a new benchmark of 1,168 multimodal bilingual math problems designed to evaluate whether LLMs can benefit from constructing and reasoning over graphs/visualizations. Key finding: direct analytical solving surprisingly outperforms tool-enabled visual solving even on problems where plotting is a natural strategy.
Can AI Draw Science? A Benchmark for Evaluating Scientific Figure Generation by Text-to-Image and Multimodal Models
Introduces SciDraw-Bench, a benchmark for evaluating scientific figure generation by text-to-image and multimodal models, with a four-dimensional evaluation protocol. Findings show domain-specific systems outperform general-purpose models, with text fidelity remaining the hardest challenge.