压缩才是关键:数学建模
Compression is all you need: Modeling Mathematics
AI总结:
本文探讨了人类数学通过层次化定义压缩的特点,通过单调群模型展示数学表达的扩展性,并通过MathLib测试验证了人类数学在形式数学中的多项式增长特性。
摘要:
人类数学(HM),人类发现和重视的数学,是形式数学(FM)总有效推导中极小的子集。我们论证HM的特点在于通过层次嵌套的定义、引理和定理具有可压缩性。我们用单调群建模这一特性。数学推导是一串基本符号;定义或定理是命名的子串或宏,其使用可压缩字符串。在自由阿贝尔单调群$A_n$中,稀疏的宏集可实现表达性的指数扩展。在自由非阿贝尔单调群$F_n$中,即使多密的宏集也只能得到线性扩展;超线性扩展需要近最大密度。我们测试这些模型与MathLib,一个大型Lean~4数学库,作为HM的代理。每个元素具有深度(定义嵌套的层数)、包裹长度(定义中的token数)和展开长度(展开所有引用后的基本符号数)。我们发现展开长度随深度和包裹长度指数增长;包裹长度在所有深度中近似恒定。这些结果与$A_n$一致,与$F_n$不一致,支持HM占据FM指数增长空间的多项式增长子集的论点。我们讨论如何通过MathLib依赖图的压缩度量和PageRank风格分析该图,量化数学兴趣并指导自动推理向可压缩区域发展,即人类数学所在区域。
英文摘要:
Human mathematics (HM), the mathematics humans discover and value, is a vanishingly small subset of formal mathematics (FM), the totality of all valid deductions. We argue that HM is distinguished by its compressibility through hierarchically nested definitions, lemmas, and theorems. We model this with monoids. A mathematical deduction is a string of primitive symbols; a definition or theorem is a named substring or macro whose use compresses the string. In the free abelian monoid $A_n$, a logarithmically sparse macro set achieves exponential expansion of expressivity. In the free non-abelian monoid $F_n$, even a polynomially-dense macro set only yields linear expansion; superlinear expansion requires near-maximal density. We test these models against MathLib, a large Lean~4 library of mathematics that we take as a proxy for HM. Each element has a depth (layers of definitional nesting), a wrapped length (tokens in its definition), and an unwrapped length (primitive symbols after fully expanding all references). We find unwrapped length grows exponentially with both depth and wrapped length; wrapped length is approximately constant across all depths. These results are consistent with $A_n$ and inconsistent with $F_n$, supporting the thesis that HM occupies a polynomially-growing subset of the exponentially growing space FM. We discuss how compression, measured on the MathLib dependency graph, and a PageRank-style analysis of that graph can quantify mathematical interest and help direct automated reasoning toward the compressible regions where human mathematics lives.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。