Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

File the problem and declare its check
Browse files+207 −0 scienceslack.json added View file
| @@ -0,0 +1,207 @@ | ||
| 1 | +{ | |
| 2 | + "domain": "mathematics", | |
| 3 | + "topics": [ | |
| 4 | + "geometry-topology", | |
| 5 | + "analysis" | |
| 6 | + ], | |
| 7 | + "type": "proof", | |
| 8 | + "structure": "subproblems", | |
| 9 | + "verify": [ | |
| 10 | + "formal" | |
| 11 | + ], | |
| 12 | + "image": "python:3.12-slim", | |
| 13 | + "data": "Public: the Lean proof is this repository, Apache-2.0 with its NOTICE, taken from frenzymath/PoincareConjecture at 62db01af.", | |
| 14 | + "partitions": { | |
| 15 | + "main": { | |
| 16 | + "max_time": "00:30:00", | |
| 17 | + "default_time": "00:10:00", | |
| 18 | + "max_cpus": 2, | |
| 19 | + "max_mem": "4G" | |
| 20 | + }, | |
| 21 | + "lean": { | |
| 22 | + "max_time": "12:00:00", | |
| 23 | + "default_time": "12:00:00", | |
| 24 | + "max_cpus": 16, | |
| 25 | + "max_mem": "64G" | |
| 26 | + } | |
| 27 | + }, | |
| 28 | + "checks": { | |
| 29 | + "challenge": { | |
| 30 | + "path": "checks/challenge.sbatch", | |
| 31 | + "run": "program", | |
| 32 | + "method": "challenge files and build config", | |
| 33 | + "priority": 1, | |
| 34 | + "paths": [ | |
| 35 | + "**/*.lean", | |
| 36 | + "lakefile.toml", | |
| 37 | + "lake-manifest.json", | |
| 38 | + "lean-toolchain", | |
| 39 | + "Comparator/config.json", | |
| 40 | + ".lake/**" | |
| 41 | + ] | |
| 42 | + }, | |
| 43 | + "build": { | |
| 44 | + "path": "checks/build.sbatch", | |
| 45 | + "run": "program", | |
| 46 | + "method": "lake build and axioms", | |
| 47 | + "image": "shoal-poincare-lean:62db01af", | |
| 48 | + "paths": [ | |
| 49 | + "**/*.lean", | |
| 50 | + "lakefile.toml", | |
| 51 | + "lake-manifest.json", | |
| 52 | + "lean-toolchain" | |
| 53 | + ] | |
| 54 | + }, | |
| 55 | + "replay": { | |
| 56 | + "run": "report", | |
| 57 | + "method": "reproduction", | |
| 58 | + "by": "maintainers", | |
| 59 | + "parties": 1, | |
| 60 | + "gate": true | |
| 61 | + } | |
| 62 | + }, | |
| 63 | + "approval": "first-time", | |
| 64 | + "review": true, | |
| 65 | + "maintain": [ | |
| 66 | + "known" | |
| 67 | + ], | |
| 68 | + "cover": { | |
| 69 | + "file": "poster.webp" | |
| 70 | + }, | |
| 71 | + "source": { | |
| 72 | + "key": "clay", | |
| 73 | + "name": "Clay Millennium Prize Problems", | |
| 74 | + "url": "https://www.claymath.org/millennium/poincare-conjecture/", | |
| 75 | + "id": "poincare-conjecture", | |
| 76 | + "curator": "Clay Mathematics Institute", | |
| 77 | + "poser": "Clay Mathematics Institute, with the problem description by John Milnor", | |
| 78 | + "status": "solved", | |
| 79 | + "as_of": "2026-12-02", | |
| 80 | + "prize": "$1,000,000 (awarded 2010, declined)" | |
| 81 | + }, | |
| 82 | + "groups": { | |
| 83 | + "P": "Make the proof readable", | |
| 84 | + "S": "Make it smaller and faster to build", | |
| 85 | + "M": "Bring it closer to Mathlib", | |
| 86 | + "V": "Rerun and read", | |
| 87 | + "T": "Write it as mathematics people can read" | |
| 88 | + }, | |
| 89 | + "zh": { | |
| 90 | + "title": "庞加莱猜想:一起把形式化证明改好", | |
| 91 | + "description": "按 Morgan–Tian 的书写成的庞加莱猜想 Lean 证明,2.3 万个文件、约 306 万行,机器接受、还没有人读完。一起把它改小、改快、改得好读,并和书一一对上,定理不动", | |
| 92 | + "summary": "庞加莱猜想问:每个单连通的闭三维流形,是否都同胚于三维球面。佩雷尔曼 2002–03 年用带手术的 Ricci 流证明了它,Morgan 与田刚 2007 年在书里写出完整细节(第 19.2 节 2015 年更正过),克雷研究所 2010 年颁奖,他拒绝领取;它是千禧年七题里唯一已经解决的一道。2026 年 9 月 28 日,北京大学北京国际数学研究中心的 AI 数学团队宣布了一份按这本书写成的 Lean 证明,主要由 AI agent 写成,作者在自己更早的一个提交上用 Comparator、Lean 内核和 nanoda 核对过光滑与拓扑两条定理;11 月 17 日 LeanEval 接受了它的移植版。Mathlib 的作者读过陈述,认为没问题,只是多了一个第二可数的假设;作者说没能逐行审读,代码离可复用还远。本项目从 frenzymath/PoincareConjecture 2026-10-05 的提交 62db01af 开始(23,554 个文件、约 306 万行),此后是自己的一条线;这个提交 2026-12-02 在本站生产机上编译通过。主线是 Lean 上的工作:把里程碑标签换成书里的编号、拆开大文件、删重复、向 Mathlib 靠拢;另有大量不需要编译的部分:里程碑一览、从书到代码的阅读指南、对照书核读陈述。陈述文件固定,每次改动由 challenge 和 build 两项检验和维护者来判;这里没有新数学。", | |
| 93 | + "glossary": [ | |
| 94 | + { | |
| 95 | + "term": "单连通", | |
| 96 | + "said": "形状上任何一圈绳子都能慢慢收紧成一个点。球面是,甜甜圈的表面不是。" | |
| 97 | + }, | |
| 98 | + { | |
| 99 | + "term": "三维流形", | |
| 100 | + "said": "每一小块看起来都像普通三维空间的形状,整体可以弯曲、打结。" | |
| 101 | + }, | |
| 102 | + { | |
| 103 | + "term": "三维球面", | |
| 104 | + "said": "四维空间里到原点距离为 1 的所有点。猜想说单连通的闭三维流形都是它。" | |
| 105 | + }, | |
| 106 | + { | |
| 107 | + "term": "Ricci 流", | |
| 108 | + "said": "Hamilton 提出的方法:让形状的度量像热量一样流动,把凹凸熨平。" | |
| 109 | + }, | |
| 110 | + { | |
| 111 | + "term": "手术", | |
| 112 | + "said": "Ricci 流出现奇点时,把那一段切掉、补上标准的一块,再接着流。佩雷尔曼证明这样做能走到底。" | |
| 113 | + }, | |
| 114 | + { | |
| 115 | + "term": "同胚、微分同胚", | |
| 116 | + "said": "能连续地一一对应变过去,叫同胚;对应还是光滑的,叫微分同胚。这里光滑和拓扑两个版本都证了。" | |
| 117 | + }, | |
| 118 | + { | |
| 119 | + "term": "Lean", | |
| 120 | + "said": "一种能让计算机逐步核对数学证明的语言。机器接受,说明每一步都对,前提是陈述写对了。" | |
| 121 | + }, | |
| 122 | + { | |
| 123 | + "term": "Comparator", | |
| 124 | + "said": "核对一份证明证的正是固定的陈述、只用了允许的公理的工具,由两个独立的内核分别检查。" | |
| 125 | + } | |
| 126 | + ], | |
| 127 | + "card": { | |
| 128 | + "question": "每个单连通的闭三维流形都是三维球面吗?答案早有,现在有了约 306 万行的 Lean 证明,要把它改小、改得能读、和书对上。", | |
| 129 | + "stake": "千禧年七题里唯一已经解决的一道(佩雷尔曼,克雷 2010 年授奖);它的 Lean 证明作者用机器核对过,还没有人逐行读完,只有预印本;完整编译要大机器跑几个小时。", | |
| 130 | + "first": "十个里程碑:每个说的是什么(P-5)", | |
| 131 | + "frontier": { | |
| 132 | + "shape": "cases", | |
| 133 | + "items": [ | |
| 134 | + { | |
| 135 | + "label": "五维及以上", | |
| 136 | + "state": "solved", | |
| 137 | + "by": "Smale", | |
| 138 | + "year": 1961 | |
| 139 | + }, | |
| 140 | + { | |
| 141 | + "label": "四维", | |
| 142 | + "state": "solved", | |
| 143 | + "by": "Freedman", | |
| 144 | + "year": 1982 | |
| 145 | + }, | |
| 146 | + { | |
| 147 | + "label": "三维", | |
| 148 | + "state": "solved", | |
| 149 | + "by": "佩雷尔曼", | |
| 150 | + "year": 2003 | |
| 151 | + }, | |
| 152 | + { | |
| 153 | + "label": "完整细节", | |
| 154 | + "state": "solved", | |
| 155 | + "by": "Morgan、Tian", | |
| 156 | + "year": 2006 | |
| 157 | + }, | |
| 158 | + { | |
| 159 | + "label": "Lean 证明", | |
| 160 | + "state": "solved", | |
| 161 | + "by": "北大 AI 数学团队,作者自行机器核对", | |
| 162 | + "year": 2026 | |
| 163 | + }, | |
| 164 | + { | |
| 165 | + "label": "能读、能编译", | |
| 166 | + "state": "open" | |
| 167 | + } | |
| 168 | + ] | |
| 169 | + } | |
| 170 | + }, | |
| 171 | + "groups": { | |
| 172 | + "P": "让证明好读", | |
| 173 | + "S": "更小、编译更快", | |
| 174 | + "M": "向 Mathlib 靠拢", | |
| 175 | + "V": "复跑与核读", | |
| 176 | + "T": "写成人能读的数学" | |
| 177 | + }, | |
| 178 | + "pieces": { | |
| 179 | + "P-1": "修掉一个文件夹的 linter 警告", | |
| 180 | + "P-2": "一个文件夹:把里程碑标签换成 Morgan–Tian 的出处", | |
| 181 | + "P-3": "拆开 NestedSlab.lean", | |
| 182 | + "P-4": "从 Morgan–Tian 到 Lean 文件的阅读指南", | |
| 183 | + "P-5": "里程碑一览表", | |
| 184 | + "P-6": "拓扑那一半的阅读指南", | |
| 185 | + "P-7": "条件式陈述的前提在哪里被证出", | |
| 186 | + "P-8": "拆开次大的文件之一", | |
| 187 | + "P-9": "把里程碑式的名字换成说明陈述的名字", | |
| 188 | + "S-1": "合并只转出别的文件的文件", | |
| 189 | + "S-2": "一个文件夹:删掉没人用的声明", | |
| 190 | + "S-3": "一个文件夹:找出证了不止一遍的陈述", | |
| 191 | + "S-4": "三百万行都花在哪里", | |
| 192 | + "S-5": "精简一个文件夹的 import", | |
| 193 | + "M-1": "用 Mathlib 的引理替换我们自己的一条", | |
| 194 | + "M-2": "哪些一般性引理 Mathlib 已有或可以收", | |
| 195 | + "M-3": "把两条定理写成 Mathlib 的形式", | |
| 196 | + "V-1": "重新编译并跑 Comparator", | |
| 197 | + "V-2": "两条陈述说的是不是庞加莱猜想", | |
| 198 | + "V-3": "对照 Lean 核对上游蓝图的一章", | |
| 199 | + "V-4": "Morgan–Tian 的一条常用结果对照它的 Lean 陈述", | |
| 200 | + "V-5": "作者更正之后的 19.2 节", | |
| 201 | + "V-6": "读一份外部报告,说清它说明了什么", | |
| 202 | + "T-1": "两条定理是怎样拼起来的:用文字写出", | |
| 203 | + "T-2": "把光滑化这一步写成人能读的一章", | |
| 204 | + "T-3": "对照 Lean 核对一章" | |
| 205 | + } | |
| 206 | + } | |
| 207 | +} | |