Paper: 2612.04372 — Knowledge compression and reuse in AI and human contributions to mathematics Authors: Yunkun He, Hankun Jiang, Junliu Jiang, Xiaoyang Zhang, Alec Kirkley Categories: cs.AI, cs.DL, cs.SI, physics.soc-ph Reading scope: Complete untruncated original arXiv HTML (Abstract, Results, Discussion, Methods, Data/Code Availability, References, Tables 1 and S1–S6, and Appendices A–J); vector figure panels (Figures 1–5, S1, S3–S5) do not render as embedded images in the HTML and were read through their captions and accompanying prose/tables only. This is a source-based reading without independent peer review or code/data re-execution.
The Problem
Consider two formal theorems written in the Lean proof assistant, both with nearly identical one-line statements (Results, Table 1):
- The mean value theorem in Mathlib (Lean’s shared community library) takes 24 tokens to state and 265 tokens to prove (including the one helper lemma written for it), because it delegates almost all the work to earlier named theorems like Cauchy’s mean value theorem and Rolle’s theorem.
- The circulant Hadamard conjecture from OpenAI’s October 2026 release of autonomous AI-written Lean proofs takes 23 tokens to state—yet its written proof stretches to 61,087 tokens, roughly 230 times as long.
Both proofs pass Lean’s machine kernel with zero logical errors. That illustrates a shift mathematicians have called “verification abundance, adjudication scarcity” (Introduction): when AI agents can generate machine-checked proofs at a fraction of human effort, verifying correctness is cheap, while deciding whether a proof is organized cleanly enough for future work to build on remains scarce.
Prior studies measured individual AI proofs in isolation and noted that they looked bloated or introduced many rarely reused intermediate claims (Introduction). What remained unanswered was the library-level question that actually determines whether science stays cumulative: do later authors—human or AI—actually avoid building on poorly compressed proofs, and how do the theorems AI consumes compare with the theorems AI contributes?
The Explanation
He et al. answer both questions across all 156,127 theorems in Mathlib (at commit d13f23b), 192 Mathlib-only main theorems from OpenAI’s October 2026 autonomous release (out of 200 catalogued; 8 depend on outside libraries), and 112 main theorems from 51 human-led research projects identified through a PRISMA 2020 GitHub census of 26,602 Lean repositories (Results, Methods, Table S6). Because Lean’s compiler records every named reference in .ilean files, every dependency is exact—unlike paper citations, which often omit or misrepresent real dependence.
Measuring compression debt from four token lengths
For any theorem (its statement plus its bare proof and every supporting lemma written for it inside the same project, release, or Mathlib commit), the authors measure two lengths for the statement and two for the proof (Results, Table 1, Fig. 1, Methods Eq. 3):
- Written length: tokens as the author actually wrote them, counting each call to an earlier named definition or lemma as just 1 token.
- Unfolded length: tokens after recursively replacing every call by the content of what it calls, all the way down to Lean’s built-in core primitives (such as universal quantification, implication, and equality), counting shared dependencies once.
Returning to the mean value theorem (Table 1): its 24-token written statement expands to 63,123 primitive tokens when definitions like continuity are unfolded, and its 265-token written proof expands to 249,127 primitive tokens.
Mean Value Theorem (Mathlib) AI Circulant Hadamard (OpenAI)
Statement: 24 written -> 63,123 unfolded Statement: 23 written
Proof: 265 written -> 249,127 unfolded Proof: 61,087 written (~230x!)
C = ln(unfolded S / written S) = 7.87 High D (long proof vs statement)
T = ln(unfolded P / written P) = 6.85 Low T (little delegated to library)
D = ln(written P / written S) = 2.40
Compression debt (D - T) = -4.44 Compression debt (D - T) = +5.28
-> Delegates most work to named lemmas -> Writes argument out inside custom stack
Taking natural log ratios yields three independent, unit-free coordinates grounded in minimum description length (Results Eq. 1–2, Appendix A):
- Conceptual compression (
C): how much the statement grows when its named definitions are unfolded (7.87for the mean value theorem). - Technical compression (
T): how much the proof grows when its called lemmas are unfolded (6.85for the mean value theorem)—high when a short proof leverages deep shared lemmas. - Deductive compression (
D): how long the written proof is relative to the written statement (2.40for the mean value theorem)—high when an author writes a long proof for a short statement.
Subtracting technical compression from deductive compression gives compression debt (D minus T): -4.44 for the mean value theorem versus +5.28 for the AI circulant Hadamard proof. A theorem carries high compression debt when the author writes out a long argument instead of delegating it to named, reusable lemmas.
Finding 1: Every author group avoids building on high-debt Mathlib theorems
Because OpenAI’s October 2026 theorems are too new to accumulate downstream calls, the authors first test reuse across 23,057 existing Mathlib theorems entering before 25 August 2024 (excluding the Lean 3-to-4 porting period), fitting logistic regressions within the same mathematical field and entry quarter while holding written statement length and unfolded proof length fixed (Results, Fig. 2, Methods Eq. 7).
Under those fixed conditions, compression debt varies solely through written proof length. Every doubling of written proof length is associated with lower odds of being called in later work:
- Mathlib contributors: 7% lower odds (odds ratio
0.93, 95% CI[0.90, 0.95]). - AI authors: 6% lower odds (
0.94,[0.91, 0.97])—statistically indistinguishable from Mathlib contributors (ratio1.01 [0.98, 1.04]). - External human project authors: 13% lower odds (
0.87,[0.83, 0.92]), significantly more sensitive than both other groups.
Across 1,000 acyclic random-graph null models that preserve field group, entry-time availability, and calls per author, zero random graphs reproduce the drop for any group (null averages 1.02, 1.00, 1.00; Appendix C). The association also survives controlling for theorem role (such as simp tags), removing simplification lemmas (16,823 theorems), or restricting to 5,841 theorems whose lines never changed since entry—ruling out reverse causation where popular theorems get shortened later (Table S2, Appendix D).
Two important boundaries appear in the robustness checks (Results, Table S2, Appendix D):
- Among the shortest 20% of unfolded proofs, the slope is zero or positive; the penalty holds across the remaining 80% (Fig. S3b).
- For Mathlib contributors, bare proof length alone shows no penalty (
1.01 [0.98, 1.04]); their avoidance comes from theorems that arrive bundled with many new supporting lemmas in the same commit, and weakens (0.99 [0.97, 1.01]) if lemmas are assigned from a theorem’s last edit rather than its introducing commit. For external humans (0.90) and AI (0.95), even the bare proof length already correlates with fewer calls.
Finding 2: AI consumes low-debt theorems just like humans—only more narrowly
Measuring the Mathlib theorems each group calls, AI authors actually pick slightly lower-debt theorems on raw medians (-4.92 vs. -4.49 for human projects, near Mathlib’s overall median of -4.84; Fig. 3a). Once unfolded proof length and statement length are regressed out, the residual gap shrinks to -0.10 [-0.26, 0.27], indistinguishable from zero (Fig. 3b).
Yet AI’s consumption pattern has a distinct skew (Appendices E–F): matching sample sizes, AI and human authors share a 38.0% [35.6, 40.4] overlap in called theorems (far above random 8.8%, though below popularity-preserving curveball randomization 74.4%), and AI leans far more heavily on a tiny popular core—the top 1% of theorems absorb 73.6% [70.4%, 76.3%] of AI calls, versus 52.2% for human projects and 37.6% for Mathlib contributors.
Finding 3: AI writes theorems with extreme compression debt—all inside single-use lemmas
When the authors compare what each group contributes within the same field and third of written statement length (Results, Fig. 4, Methods Eq. 6, Tables S3–S5), the symmetry shatters:
- Massive debt displacement: AI main theorems sit
+3.77 [2.61, 5.57]higher in compression debt than human main theorems (+3.11higher deductive compressionD,-0.91lower technical compressionT). In fact, the median AI compression debt (6.59) exceeds every single one of the 156,127 theorems in Mathlib, whereas only 60 Mathlib theorems reach the human main-theorem median (3.26). - 20x raw length, 7x content-matched length: For statements of similar written length in the same field, AI written proofs are roughly 20 times longer (median 144,708 tokens vs. 8,748 tokens; regression
23.3x [12.8, 42.6]in Table S5). Because one-third of AI main theorems hide custom definitions inside tiny statements of 5 tokens or fewer (vs. 9% for humans), dropping those leaves an 11x[5.8, 29]gap. Even holding both unfolded statement length and unfolded proof length fixed—comparing theorems resting on the same volume of underlying mathematics—AI written proofs remain roughly 7 times longer (6.5x [3.2, 12.8]with all three lengths fixed;4.6x [2.1, 11.2]under tighte^0.5unfolded-proof matching in Appendix H). All robustness checks across extended (55) and full (110) human samples, recent Lean versions (v4.27+), alternative unfolding, and paper-level clustering stay well above zero (Table S4). - The counterintuitive twist—shorter bare proofs, gigantic disposable scaffolding: Looking inside the numbers reveals a surprise (Results, Fig. 4e, Appendix H). The bare proof of an AI main theorem is actually shorter than a human main theorem (median 203 tokens vs. 624 tokens), and individual lemmas look similar in size (
46tokens AI vs.32human vs.11Mathlib). Almost the entire gap sits in the supporting lemmas: median 144,548 tokens vs. 5,417 tokens (~27x longer), spanning a median of 970 supporting declarations per AI main theorem. Of the366,544supporting declarations in the release, 93% support only a single main theorem (97%only a single paper), and for 93% of AI main theorems, the code written for that one theorem is longer than an entire human Lean project.
Finding 4: Human review and maintenance cannot close the gap at current pace
Could normal library review and refactoring clean up this debt later? The authors track two historical benchmarks (Results, Fig. 5, Appendix I):
- Review upon Mathlib entry: Following 196 human-project theorems into Mathlib (whose statements changed by less than 2x), 65 kept the same proof length, 98 shortened, and 33 grew (
75% [64, 83]of changed proofs shortened, median ratio0.80 [0.68, 0.89], lowering compression debt by0.67 [0.53, 1.01]on average—under a fifth of the3.77gap). - Multi-year maintenance: Following 1,646 random Mathlib theorems over a median of
2.6years,19%shortened and9%lengthened, trimming total bare proof length to0.94 [0.92, 0.97](~2%per year, average debt reduction0.15 [0.10, 0.20]). At that historical pace, closing a 20x length ratio would take roughly 130 years (and at least 58 years even for the 7x content-matched ratio at the fastest CI bound). - Review bottleneck: The supporting dependency slice of OpenAI’s release contains 318,798 declarations; at Mathlib’s average of
7.8declarations per human pull request, reviewing it would require roughly 41,000 pull requests—about 15 times the October 2026 backlog of2,703open PRs (where865non-AI PRs arrived vs.676merged in October 2026, and AI-assisted PRs merged slower; Appendix I).
Yet the authors note AI is capable of tighter proofs: OpenAI’s release proved the complete Crouzeix inequality twice, three days apart, in 133,870 tokens and 66,757 tokens—cutting length in half—though only 12 of its 305,653 theorems changed length during its first 23 public days.
Core Concepts
- Written vs. Unfolded Length: Returning to the mean value theorem, written length (
24statement /265proof tokens) counts how much text the author had to type, treating each call to a shared definition or lemma as 1 token; unfolded length (63,123/249,127tokens) expands every call recursively down to Lean’s core primitives. Comparing the two separates mathematical depth from local verbosity. - Compression Debt (
D minus T): A continuous score comparing how long a written proof is relative to its statement (D) against how much work it successfully delegates to earlier named lemmas (T). On our anchor pair, delegating to Cauchy’s mean value theorem yields-4.44, while building a private tower of single-use lemmas yields+5.28. - Counting Bundled Supporting Lemmas (
|P|_w): A crucial methodological design choice (Eq. 3). If the authors had measured only each theorem’s bare proof, AI main theorems (203tokens) would have looked more compressed than human ones (624tokens), completely hiding the970-lemma disposable scaffolding built underneath each result. - Consumption–Contribution Asymmetry: AI agents behave like savvy consumers of well-compressed public infrastructure (calling low-debt Mathlib lemmas, heavily concentrated in the top 1%), yet act as high-debt producers because generating fresh private helper lemmas is cheap for an agent while searching, generalizing, and refactoring for unknown future users is not rewarded.
The Insight
Formal correctness does not automatically produce cumulative knowledge. In Lean’s Mathlib, the paper shows a sharp asymmetry between how AI uses shared mathematics and how it adds to it: AI agents rely on tightly compressed community lemmas just like human mathematicians, yet currently output monolithic, single-use lemma stacks (7x to 20x longer than comparable human proofs) that look structurally like the exact high-debt theorems all groups—including AI itself—tend to avoid reusing. Because human review capacity and historical maintenance rates (~2% shortening per year) cannot absorb that scale of refactoring, compression needs to be built into the generation objective rather than postponed to post-hoc review.
A Critical Reading
This is a careful, transparent measurement study with strong robustness checks, and its own caveats deserve equal weight alongside its headline ratios:
- One AI release, one proof assistant (Discussion): Every AI measurement comes from OpenAI’s October 2026
openai/mathLean 4 release. Different agent scaffolds, explicit refactoring passes, or other proof assistants could behave differently—and the Crouzeix duplicate (133,870vs.66,757tokens) already shows substantial variance within the same release. - Predicted reuse, not yet observed reuse on AI theorems (Discussion): Because the release was published weeks before analysis, the study cannot directly observe whether OpenAI’s theorems are called less often. It infers future reuse risk from historical Mathlib theorems—and extrapolating to compression debts (
6.59) beyond the entire Mathlib range is inherently an out-of-distribution projection. - Association is not causation (Discussion, Appendix D): Although the acyclic null model rules out pure DAG-structure artifacts and unchanged-theorem checks rule out simple reverse causation, unmeasured confounders remain—such as whether a theorem is inherently narrow/specialized or sits as the final “endpoint” theorem of a pull request rather than an intended API lemma. Notably, for Mathlib contributors, the association vanishes when using bare proof length alone (
1.01) or assigning lemmas by last-edit commit (0.99), showing sensitivity to how bundled commits are attributed. - Headline
20xvs. fairer4.6x–7xbenchmarks (Appendix H): Because written statement length excludes custom definitions (97%of AI main theorems define a median of11custom definitions, lifting median statement length from31to467tokens when included), the raw20xratio overstates pure proof bloat; the content-controlled6.5xregression and4.6xmatched-unfolded-proof ratio are much more informative comparisons. - Preprint commit-pinning note (Code availability): The authors candidly state that v1 numbers were collected across slightly different repository commits and will be recomputed from a single pinned commit set in the next revision (expecting main conclusions to hold).
What You Can Use
- If you build AI proving or coding agents: Do not optimize solely for “passes the verifier / test suite.” Because compression debt can be computed immediately from dependency graphs without waiting years for downstream citations (Discussion), you can reward agents during search or RL for minimizing compression debt—for instance, penalizing private single-use helpers and rewarding reuse of shared library abstractions—or add a dedicated post-proof refactoring pass.
- If you maintain an open-source library or formalization repository: Do not rely on human PR review to refactor AI-generated submissions after the fact. The Mathlib backlog calculation (
~41,000equivalent PRs vs.2,703open) shows that verification abundance quickly swamps human adjudication; automated CI gates that flag extreme supporting-code ratios or compression debt before human review are far more scalable. - If you evaluate AI scientific output: Measure reusable structure alongside raw throughput. As the authors point out (Discussion), the same written-vs.-unfolded dependency lens generalizes beyond Lean to scientific software (for example, comparing a model’s public interface against its private implementation stack) whenever dependencies are machine-traceable.
论文: 2612.04372 — Knowledge compression and reuse in AI and human contributions to mathematics 作者: Yunkun He, Hankun Jiang, Junliu Jiang, Xiaoyang Zhang, Alec Kirkley 分类: cs.AI, cs.DL, cs.SI, physics.soc-ph 阅读范围: 完整阅读了未截断的 arXiv 原文 HTML(摘要、结果、讨论、方法、数据与代码声明、参考文献、表 1、附表 S1–S6 及附录 A–J);HTML 中未嵌入矢量图位图(图 1–5 及附图 S1、S3–S5),相关图示内容仅依据图注与正文/表格数据解读。本文为基于原文的读书笔记,不构成独立同行评审或代码数据复现。
问题
把 Lean 形式化证明助手里的两条真实定理并排摆在一起,它们的命题长度几乎一模一样(结果节、表 1):
- Mathlib(Lean 的公共数学定理库)里的中值定理,写下命题只用了 24 个词元,写下整个证明(连同专门为它写的 1 条辅助引理)只用了 265 个词元,因为它把绝大部分推理都交给了库里已有的柯西中值定理和罗尔定理。
- OpenAI 于 2026 年 10 月发布的自主智能体形式化数学合集中,**循环哈达玛猜想(circulant Hadamard conjecture)**的命题同样只占 23 个词元,但书写证明却飙到了 61,087 个词元,足足是中值定理的 约 230 倍。
两条证明都能一字不差地通过 Lean 内核的机器检查,逻辑上同样严密。 这正是数学界近来提到的困局——「验证过剩,裁决稀缺(verification abundance, adjudication scarcity)」(引言):智能体能以极低成本批量产出「机器认账」的正确证明,可决定哪些证明写得足够干净、值得并入公共知识库让后人接着用,依然极度耗费人类精力。
此前已有研究把单条智能体证明拎出来看,发现它们往往冗长、爱造一大堆很少再被用上的中间结论(引言)。 但一个决定科学能否持续积累的库级问题一直没人答过:在真实的公共定理库里,后来的作者(不管是人还是智能体)真的会躲着「压缩得不好」的定理走吗?智能体在「借用别人定理」和「自己写新定理」时,表现又一样吗?
翻译
为了把「知识是否便于复用」从直觉变成可测量的数字,作者测量了 Mathlib 全部 156,127 条定理(提交 d13f23b)、OpenAI 2026 年 10 月发布中仅依赖 Mathlib 的 192 条智能体主定理(目录共 200 条,另有 8 条依赖外部库),以及按 PRISMA 2020 流程从 GitHub 上 26,602 个 Lean 仓库中普查筛出的 51 个人类主导研究项目的 112 条主定理(结果节、方法节、附表 S6)。
和论文引用常常「引了没真用、用了没写明」不同,Lean 编译生成的 .ilean 索引精确记下了每一条真实依赖,使知识积累的深度可以直接测量。
用四个长度算出「压缩债」
对任意一条定理(包含命题、裸证明,以及同一项目、同一发布或同一提交里专门为它写的全部辅助引理与定义),作者分别统计两套长度(表 1、图 1、方法节式 3):
- 书写长度(written length):作者实际敲下的词元数,每调用一次已有的命名定义或引理只算 1 个词元。
- 展开长度(unfolded length):把每一次调用递归替换成被调用对象的内容,一路拆到 Lean 语言最底层的核心原语(如全称量词、蕴涵、等号)为止得到的总词元数(重复依赖只计一次)。
回到中值定理这个例子(表 1):24 个词元的命题把「连续」「可导」等定义层层展开后,变成 63,123 个原语词元;265 个词元的书写证明展开后,则变成 249,127 个原语词元。
Mathlib 中值定理 OpenAI 智能体:循环哈达玛猜想
命题:24 书写词元 -> 63,123 展开词元 命题:23 书写词元
证明:265 书写词元 -> 249,127 展开词元 证明:61,087 书写词元(约 230 倍!)
概念压缩 C = ln(展开命题 / 书写命题) = 7.87 推导压缩 D 极高(命题短、证明极长)
技术压缩 T = ln(展开证明 / 书写证明) = 6.85 技术压缩 T 偏低(很少托付给公共引理)
推导压缩 D = ln(书写证明 / 书写命题) = 2.40
压缩债 (D - T) = -4.44 压缩债 (D - T) = +5.28
-> 把主力推理托付给已有命名引理 -> 自己搭起庞大私有引理堆硬推到底
把这四个长度两两取自然对数比值,依据最小描述长度思想,作者得到三个彼此独立且不受单位影响的压缩坐标(结果节式 1–2、附录 A):
- 概念压缩
C:命题展开后变长多少(中值定理为7.87),衡量「定义起得好不好」。 - 技术压缩
T:证明展开后变长多少(中值定理为6.85),衡量「证明借用已有引理有多省力」。 - 推导压缩
D:书写证明相对书写命题有多长(中值定理为2.40),衡量「作者自己写了多少篇幅」。
拿推导压缩减去技术压缩,就得到压缩债(compression debt,D - T):中值定理低至 -4.44,而智能体版的循环哈达玛猜想高达 +5.28。
压缩债越高,意味着作者没有把论证拆成可复用的公共引理,而是自己硬写了一大段。
发现一:不管是人还是智能体,都更少调用高压缩债定理
由于 OpenAI 2026 年 10 月发布的定理还太新、来不及积累后续调用,作者先在 2024 年 8 月 25 日前进入 Mathlib 的 23,057 条定理(剔除 Lean 3 迁移至 Lean 4 窗口)上做逻辑回归:把同领域、同入库季度、相同书写命题长度和相同展开证明长度都固定住(结果节、图 2、方法节式 7)。
在这些条件固定后,压缩债的变化完全来自书写证明长度。 结果显示,书写证明每翻一倍,后来被其他作者调用的几率就会下降:
- Mathlib 贡献者:几率下降 7%(优势比
0.93,95% 置信区间[0.90, 0.95])。 - AI 作者:几率下降 6%(
0.94,[0.91, 0.97]),与 Mathlib 贡献者的敏感度几乎一致(比值1.01 [0.98, 1.04])。 - 外部人类项目作者:几率下降 13%(
0.87,[0.83, 0.92]),比前两组都更排斥高压缩债定理。
为了排除「图结构本身自然造成这种相关性」,作者构建了 1,000 组保持无环结构、同领域与当时可用范围的随机图零模型,结果 0 组能复现任何一组的下降幅度(零模型均值分别为 1.02、1.00、1.00,附录 C)。
把定理角色(例如是否标记为 simp 化简引理)控制住、去掉化简引理(余 16,823 条),或只保留入库后一行代码都没改过的 5,841 条定理(排除「先被调用后来才被改短」的反向因果),负相关依然稳固(附表 S2、附录 D)。
不过稳健性检验也揭示了两条细微边界(结果节、附表 S2、附录 D):
- 在展开证明最短的 20% 定理里,斜率为零或略正;惩罚主要落在其余 80% 较复杂的定理中(附图 S3b)。
- 对 Mathlib 内部贡献者而言,单看定理自身的「裸证明长度」其实没有惩罚(
1.01 [0.98, 1.04]),他们真正躲着走的是随同一提交打包带进一大堆新辅助引理的定理;而对外部人类(0.90)和 AI(0.95)来说,哪怕只看裸证明长度,太长就已经会拉低调用几率。
发现二:AI 挑库用时很「懂行」,只是更扎堆热门定理
反过来检查各组作者调用的 Mathlib 定理:AI 作者调用定理的压缩债中位数是 -4.92,略低于人类项目的 -4.49(Mathlib 全库中位数为 -4.84,图 3a)。
把展开证明长度和命题长度回归掉之后,两者的残差差距缩到 -0.10 [-0.26, 0.27],在统计上与零无异(图 3b)。
但调用结构并不完全相同(附录 E–F):在等量抽样下,AI 与人类调用的定理重合率为 38.0% [35.6, 40.4](远高于同分箱随机的 8.8%,但低于保热度的 curveball 随机化 74.4%),并且 AI 的调用高度集中在少数热门定理上——前 1% 的定理吃掉了 AI 73.6% [70.4%, 76.3%] 的调用,人类项目是 52.2%,Mathlib 贡献者仅 37.6%。
发现三:轮到 AI 自己写主定理,压缩债暴涨且全堆在一次性引理里
一旦从「调用」切换到「贡献」,在同领域、同书写命题长度三分位里对比(结果节、图 4、方法节式 6、附表 S3–S5),画面彻底翻转:
- 压缩债断层领先:AI 主定理的压缩债比人类主定理高出
+3.77 [2.61, 5.57](推导压缩D高+3.11,技术压缩T低-0.91)。 AI 主定理的压缩债中位数高达 6.59——Mathlib 全库 156,127 条定理里没有任何一条达到这个高度,而人类主定理中位数 3.26 也只有 60 条 Mathlib 定理达到。 - 表观长 20 倍,控制数学内容后仍长约 7 倍:同领域、同书写命题长度下,AI 的书写证明大约是人类的 20 倍(中位数 144,708 词元 对比 8,748 词元;附表 S5 回归为
23.3倍[12.8, 42.6])。 由于三分之一的 AI 主定理喜欢把自定义概念藏进不超过 5 个词元的超短命题壳里(人类仅占 9%),剔除这类定理后,AI 证明仍约是人类的 11 倍[5.8, 29]。 即便把展开命题长度与展开证明长度同时固定——也就是让底层数学工作量完全拉齐——AI 书写证明依然大约是人类的 7 倍(三项长度全控为6.5倍[3.2, 12.8];附录 H 按展开证明紧匹配为4.6倍[2.1, 11.2])。 换成扩展人类样本(55个项目)或完整样本(110个项目)、只留较新 Lean 版本(v4.27+)、改用全项目长度或按论文聚类重采样,差距全部显著大于零(附表 S4)。 - 最反直觉的副发现——裸证明更短,脚手架却大过整个人类项目:拆开证明内部会看到一个意外(结果节、图 4e、附录 H):AI 主定理自身的裸证明反而比人类更短(中位数 203 词元 对比 624 词元),单条引理的块头也差不多(AI
46词元、人类32词元、Mathlib11词元)。 几乎全部差距都埋在配套辅助引理里:AI 中位数高达 144,548 词元,人类只有 5,417 词元(约 27 倍),每条 AI 主定理背后平均站着中位数 970 条辅助声明。 全集366,544条辅助声明中,93% 只服务于单独一条主定理(97%只服务于单篇论文);对 93% 的 AI 主定理而言,单这一条定理写出的代码就超过了一整个独立的人类 Lean 项目。
发现四:指望后来的人工审稿与维护慢慢改短,速度远远不够
有人可能会问:先让 AI 把证明交上来,以后靠社区审稿和维护慢慢重构不就行了吗? 作者用两组历史数据算了这笔账(结果节、图 5、附录 I):
- 并入 Mathlib 时的审稿重构:追踪 196 条人类项目定理并入 Mathlib 后的变化(命题长度变动小于 2 倍),65 条不变、98 条变短、33 条变长;发生变化的证明中
75% [64, 83]变短,中位长度比为0.80 [0.68, 0.89],平均只把压缩债拉低0.67 [0.53, 1.01],不到3.77鸿沟的五分之一。 - 入库后的多年维护:随机追踪 1,646 条 Mathlib 定理(中位历时
2.6年),19%变短、9%变长,裸证明总长度降到入库时的0.94 [0.92, 0.97],折合每年约缩短2%(压缩债均值仅降0.15 [0.10, 0.20])。 按这个历史速度,抹平 20 倍的长度差要花大约 130 年,哪怕抹平控制内容后的 7 倍差距,按置信区间最快增速也要至少 58 年。 - 审稿产能瓶颈:OpenAI 发布中支撑主定理的依赖切片包含 318,798 条声明;按 Mathlib 人类 PR 平均每次提交
7.8条声明折算,人工审核这批内容大约需要 41,000 个 PR——相当于 2026 年 10 月底全部积压 PR(2,703个)的 15 倍(当月非 AI 辅助 PR 新进865个、合并676个,而 AI 辅助 PR 合并更慢;附录 I)。
不过作者也指出,AI 并非绝对写不出更短的证明:OpenAI 这批发布里隔着三天把完整 Crouzeix 不等式证明了两遍,第一遍 133,870 词元,第二遍压到 66,757 词元(直接砍半);只是在公开后的前 23 天里,全部 305,653 条定理仅有 12 条发生过长度修订。
核心概念
- 书写长度 vs. 展开长度:回到中值定理,书写长度(命题
24、证明265词元)记的是作者敲了多少字,每次调用已有引理只算1词元;展开长度(63,123/249,127词元)则把所有调用一路拆成底层原语。 把两者并排对照,就能把「数学本身有多深」和「写法有多啰嗦」分开。 - 压缩债(
D - T):用推导压缩减去技术压缩,衡量一条证明究竟是把力气花在「自己从头铺长篇」,还是「借已有命名引理搭积木」。 中值定理托付给柯西中值定理,债为-4.44;自建几百条私有引理硬推,债就飙到+5.28。 - 把配套辅助引理算进证明长度(式 3):这是整篇论文最关键的测量设计。
如果只算主定理本身的「裸证明」,AI(
203词元)甚至显得比人类(624词元)更精炼,彻底掩盖了藏在下面那970条一次性私用引理。 - 消费与贡献的不对称:AI 擅长当公共知识库的精明用户(优先调用低压缩债、尤其是前 1% 的热门基础引理),却还没学会当好公共设施的建设者——对人类来说,花时间抽象通用引理是为了以后少写;对智能体来说,现写一条私有引理的边际成本太低,反而缺乏整理成公共砖瓦的动力。
洞见
过了形式化验证器,不等于进入了可积累的科学知识。
这篇论文在 Mathlib 上量出了一道清晰的**「取用—回馈」裂口**:智能体像人类数学家一样偏爱调用高度压缩的公共引理,但轮到自己交作业时,却普遍堆出 7 到 20 倍长的单次专用引理塔——恰好落进所有作者(包括智能体自己)都不愿接着用的高压缩债区间。
既然人工审稿与常规维护(每年约缩短 2%)远远赶不上智能体的产出速度,知识压缩必须前置为生成与训练目标,而不能指望事后靠社区慢慢打磨。
博导审稿
这是一篇问题意识敏锐、统计控制严谨的实证测量论文,同时也有几处边界必须如实并列看待:
- 单一发布集与单一证明系统(讨论节):所有 AI 样本都来自 OpenAI 2026 年 10 月的 Lean 4 发布,不能直接外推到所有智能体框架或其他证明助手;同一发布里 Crouzeix 不等式两版相差一倍的例子,也说明生成策略对长度影响很大。
- 复用惩罚是跨期外推,尚未在 AI 定理上直接观测(讨论节):这批 AI 定理发布太新,还看不到真实调用率。
把历史 Mathlib 上的调用规律外推到压缩债
6.59(超出 Mathlib 全部定理取值范围)的区间,本质上仍是分布外预测,需要未来几年追踪验证。 - 相关不等于因果(讨论节、附录 D):无环随机图零模型排除了纯图结构假象,未改动定理子集排除了简单的反向因果,但仍无法排除「定理本身更偏门、更像终端结论而非工具引理」等未观测混杂因素。
另外,对 Mathlib 内部贡献者,只看裸证明长度(
1.01)或改按最后一次编辑提交归属辅助引理(0.99)时效应就会消失,说明内部贡献者的敏感度高度依赖提交打包方式。 - 标题级
20倍与更公允的4.6–7倍(附录 H):因为书写命题长度不计新写定义(97%的 AI 主定理带有中位数11条自定义,算进去后命题中位数从31涨到467词元),表观的20倍会被放大;控制展开长度后的6.5倍和紧匹配下的4.6倍才是更扎实的对比基准。 - 预印本版本说明(代码声明):作者坦承 v1 报告的数据取自源仓库的不同提交点,后续公开代码将在统一锁定提交上重算全部数值(预期主结论不变)。
启发
- 如果你在做数学证明或代码生成智能体:别只拿「通过验证器 / 单元测试」当唯一奖励。 压缩债在定理刚写完时就能直接从依赖图算出来,不用等几年后的调用数据(讨论节)——完全可以在搜索、强化学习或专门的重构阶段里,把压低压缩债、减少单次专用辅助函数、提高公共抽象复用直接做成可优化指标。
- 如果你在维护开源代码库或形式化数学库:别幻想靠人工 PR 评审替 AI 补做架构整理。
41,000个折算 PR 对比2,703个现有积压说明,人工裁决会被验证过剩迅速冲垮;更现实的做法是在进入人工审稿前,先用自动化 CI 门禁拦截异常的辅助声明膨胀与高压缩债提交。 - 如果你在评估 AI 科研或工程产出:把「可复用结构」和「产出数量」放在同一张记分牌上。 正如作者在讨论中指出的,只要依赖关系能被机器追踪(例如科研代码里模型接口与内部实现的展开比),这套书写/展开压缩框架就能直接迁移到数学之外的领域。