TRANSMISSION // 2612.04372v1
How AI Proofs Are Structured for Reuse
Source published
A study of Lean proofs finds that one AI release contributed long supporting arguments, while AI authors’ use of existing results was similar to humans after adjustment for length—but more concentrated on popular theorems.

Formal proof assistants can check whether an argument follows from its stated assumptions. But correctness alone does not tell us how easily later mathematicians can build on a result. Researchers used Lean’s Mathlib library to measure proof structure and compare one AI-generated mathematics release with human-led projects.
Correctness is not the whole story
A proof can establish a result yet still be cumbersome to reuse. If it spells out many steps instead of packaging them into general lemmas—named results that later proofs can call—future work may need to repeat or reconstruct that reasoning.
Researchers examined this question in Lean, a proof assistant whose shared mathematical library, Mathlib, records which definitions and theorems each result depends on. That record makes it possible to study both how a proof is written and how later work uses existing results.
The study asked whether results with less reusable structure are called less often, and whether AI-generated contributions organize their arguments differently from human contributions. It examines organization, not whether AI can produce valid proofs: the AI results in the sample were machine-verified.
Measuring proof structure
The researchers counted theorem statements and proofs in two ways. A written count treats each reference to an existing definition or lemma as one token. An unfolded count replaces references with the material they stand for, tracing dependencies down to Lean’s basic primitives.
They used these counts to define three measures of compression: how much definitions shorten a statement, how much existing lemmas shorten a proof, and how long a written proof is relative to its statement. Their main measure, “compression debt,” compares the last measure with the compression gained from calling lemmas. In broad terms, debt is higher when more of an argument is written out rather than organized into named results.
The analysis covered 156,127 theorems in one version of Mathlib, 192 main theorems from an OpenAI release of AI-written proofs, and 112 main theorems from 51 human-led projects built on Mathlib. For existing library theorems, the authors tested the association between compression debt and later calls, accounting for factors such as length, field and when the theorem entered the library. They also compared contributions and tracked changes to human proofs during review and maintenance.
Using and contributing knowledge
Across the author groups studied, theorems with higher compression debt were less likely to be called in later work. The researchers report that, holding theorem length and other factors in their model fixed, each doubling of written proof length was associated with lower odds of being called. This is an association, not evidence that long proofs themselves cause authors to avoid a result: qualities such as generality or importance could also matter.
After accounting for theorem length, AI authors called existing Mathlib theorems with compression debt similar to those called by human authors. That does not mean their patterns of use were identical: AI calls were more concentrated on a small set of popular theorems.
The difference was clearer in the new contributions. For main theorems with statements of similar length in the same field, AI-written proofs were roughly 20 times longer than human-written proofs. When the comparison also held unfolded statement and proof lengths fixed—a way to account for the amount of underlying mathematical content—the AI proofs were roughly seven times longer.
Most of the additional length came from supporting lemmas, rather than the bare proof of the main theorem. Many helpers were written for a single main result; the measured dependencies showed little sharing across different main theorems. Individual helper lemmas were of similar size in the AI and human samples. The larger difference was how much supporting material was assembled for each main result.
Human proofs did shorten through review and maintenance, but the measured changes were modest compared with the difference between the samples. The study therefore points to a distinction between producing a checked result and organizing it for reuse. It does not show that the AI main theorems themselves will be reused less: they were too new to have a comparable record of later calls.
Limits and what comes next
This is a comparison of one AI release with selected human-led research projects using the same library—not a verdict on all AI systems or mathematics. The reuse analysis is observational, so it cannot establish that compression debt causes differences in later use. The measures also depend on how Lean code and tokens are counted. The authors propose that related measures could be adapted to other fields where dependencies and correctness are trackable, but this study does not demonstrate that broader application.
The paper is an arXiv preprint; the supplied source does not establish peer-reviewed acceptance. The manuscript says the data are openly available, while the analysis code is described as forthcoming. It also says released code recomputes results from pinned repository versions and that a later manuscript version is expected to report those recomputed values. These findings should therefore be read as a measurement of particular formal-mathematics samples, with those source and reproducibility qualifications in mind.
- AI and mathematics
- Lean proof assistant
- Mathlib
- formal proofs
- knowledge reuse
- proof compression
- preprint
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
How Can We Tell Two Proofs Apart?
Supporting evidence: Both papers suggest that dependency structure can provide a useful quantitative signal about formal proofs: He et al. report that higher compression debt is associated with fewer later calls in Mathlib, while Nikolaou reports that dependency-closure measures best matched an intuitive ordering of proof similarity in a small Lean/Mathlib study. These are distinct outcomes, and the latter covers only three theorems; the association in He et al. is not causal.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.04372v1 — Original paper
Excerpt reference:
static/papers/2612.04372v1.md:441-523
Basis: Paper text
Source file SHA-256:e156b60fc5a490897dda74ae2a8cc76db0ce1e952d2da3e4895ed5951192a82e2611.31811v1 — Original paper
Excerpt reference:
static/papers/2611.31811v1.md:13-65
Basis: Paper text
Source file SHA-256:39ec170d2da9abc3c38baf1ebbef26f2dca3c6ce0f33e480a4f1a6decb1dbaa4
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How Can We Tell Two Proofs Apart?
Source published
Shared keywords: formal proofs
A smarter way to spend AI effort on formal proofs
Source published
Shared keywords: lean proof assistant
An AI-assisted search raises a quantum-foundations lower bound
Source published
Shared keywords: lean proof assistant
When AI proofs need an AI-assisted referee
Source published
Shared keywords: ai and mathematics
An AI mathematician’s confidence outpaced its proofs
Source published
Shared keywords: lean proof assistant