TRANSMISSION // 2611.34751v1

How Much Can a Mathematical Theory Help an AI Solver?

Source published

In selected tests, supplying a relevant mathematical theory helped language models answer more accurately and use fewer tokens. Models could also recover or combine parts of unfamiliar theories, but results varied by task.

AI-generated conceptual illustration for How Much Can a Mathematical Theory Help an AI Solver?
AI-generated conceptual illustration; not documentary evidence.

A useful mathematical idea can turn a long calculation into a short one. Jun Gao and Shuchao Bi test whether the same is true for large language models: does a theory in the prompt help a model solve problems more accurately or efficiently—and can a model work out such a theory from examples?

The question: knowledge, or more room to think?

A language model may solve a probability problem by setting up equations, even when a known theorem offers a shortcut. If adding a theory improves its answer, though, is the theory doing the work—or would any extra text or worked examples help just as much?

The authors test this on mathematical problem families with exact numeric answers. Their main comparisons give a solver a relevant, human-written theory or no theory. Other conditions provide text of the same length, a generic hint, or worked solutions. Matching context lengths helps distinguish the theory’s content from the effect of adding words.

They also ask whether models can discover useful theories rather than recall familiar ones. To investigate, they construct custom probability problems governed by unpublished theorems. Models explore training problems, including by running code, and then write theory notes, which are tested on separate problems. A “recovery ratio” measures how much of the accuracy improvement from the ideal, or “oracle,” theory an induced note captures.

A theory can make answers both better and cheaper

On classic coin-pattern waiting-time problems, Qwen3-14B given the relevant theory raised pass@1—the chance that a single sampled answer is correct—from 0.37 to 0.83 at a 12,000-token limit. Among correct solutions, median token use fell from 10,200 to 6,300. In this family, same-length unrelated text and worked examples did not improve accuracy; the result does not establish that these controls would have no effect on other tasks.

The size of the benefit depended on the tested solver-and-budget setting. For the classic waiting-time family, the paper reports oracle-theory accuracy gains of 0.46 for Qwen3-14B at a 12,000-token cap, 0.26 for the same solver at 32,000 tokens, and 0.07 for Qwen3.6-27B at 64,000 tokens. These comparisons change both model and token cap across settings, so they do not isolate either factor on its own.

The paper examines why in a separate, specific long-budget experiment: the planted F1 problem family, using Qwen3.6-27B with a 64,000-token cap. Without a theory, the solver finished 58% of samples; with the oracle theory, it finished 99%. In this F1 experiment, finished solutions were correct 98–100% of the time across the tested conditions. On classic waiting-time problems at a 64,000-token cap, finished-solution accuracy was different: 92% without a theory and 98–99% with a context. These findings concern the tested tasks and settings, not a general rule about model reasoning.

The theory was not always useful. On a colouring-counting task, the model already performed well without Burnside’s lemma and Pólya enumeration; adding the theory produced no statistically significant benefit. Its practical value depends, the results suggest, on what the solver can already do.

Models find pieces, but can miss a condition

Induction results varied across three custom families. On F1, a strong model that explored the training data recovered 60% of the oracle theory’s accuracy gain. On F2, it recovered almost none: it identified the right broad mathematical form but missed the condition needed to determine its parameters. On F3, it recovered 48% of the gain, but did not outperform a generic hint. One of its three notes gave an incorrect formula and harmed performance.

The authors also tested whether a model could assemble partial theories. On classic waiting-time problems, the best single induced note recovered 47% of the oracle gain. The original Qwen3-235B-A22B model combined 12 notes into one theory and recovered 61%. It was given the notes and solved training problems only—not test information. This is evidence of a successful merge in this particular setup, not a guarantee that model-generated theories can be combined reliably across mathematics.

What the evidence can—and cannot—say

The study covers a few synthetic problem families in probability and combinatorics, and open models from one model family. Each induction condition uses three independently generated notes, so individual results can vary. The authors caution that findings may differ for other models or subjects. Although the planted theorems were unpublished, some proof techniques used in them are textbook methods, so partial recall of those methods cannot be ruled out. Two automated judges also agreed poorly when classifying induced theories; the paper therefore treats solver performance, rather than those classifications, as its main evidence.

This work is an arXiv preprint, not a settled verdict or evidence of scientific consensus. Its narrower takeaway is that, in some tested settings, a relevant theory helped a solver answer more accurately or use fewer tokens. Model-written theories were uneven: they could capture useful ideas, miss a crucial condition, or sometimes mislead. The practical test, the authors argue, is what a theory enables a solver to do—not how convincing the note sounds.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.