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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #52 docs: add the exposition of how the two theorems are assembled
4 commits
+399 −0 docs/exposition/README.md added View file
| @@ -0,0 +1,399 @@ | ||
| 1 | +# How the two theorems are assembled | |
| 2 | + | |
| 3 | +**Scope.** This note follows the last stretch of the proof and nothing before | |
| 4 | +it. It starts at the two endpoint propositions, records the chain of statements | |
| 5 | +that produces them, and stops at the four blocks of mathematics that the chain | |
| 6 | +takes as given. Each statement is given in LaTeX with the Lean declaration that | |
| 7 | +states it. Nothing here changes a Lean file, and nothing here is a comparison of | |
| 8 | +a Lean statement with a sentence of Morgan–Tian: that comparison is V-4. | |
| 9 | + | |
| 10 | +**The edition.** Every Morgan–Tian reference below is to John Morgan and Gang | |
| 11 | +Tian, *Ricci Flow and the Poincaré Conjecture*, Clay Mathematics Monographs 3, | |
| 12 | +American Mathematical Society, 2007 (arXiv:math/0607607), and all printed page | |
| 13 | +numbers are that edition's. Where a result was corrected after 2007 the note says | |
| 14 | +so at the point of use. | |
| 15 | + | |
| 16 | +The end of the proof is short. `PoincareLib/Topology/Manifold/Poincare.lean` is | |
| 17 | +34 lines and holds both endpoint theorems; the 31 files under | |
| 18 | +`PoincareLib/Topology/Manifold/Poincare/` are the adapters that let those two | |
| 19 | +theorems call the four blocks. What is long is what the blocks contain, and this | |
| 20 | +note says for each one which folder proves it and where to start reading. | |
| 21 | + | |
| 22 | +**A note on what "assembled" means here.** The adapters are honest about their | |
| 23 | +own size: most of them say in their docstrings that they add no mathematical | |
| 24 | +premise and no admission, and several say in as many words that they do not | |
| 25 | +prove the proposition they hand over. So the chain below is a chain of | |
| 26 | +*interfaces*, and its content is which hypothesis each step needs from which | |
| 27 | +producer. The mathematics is all in the producers. | |
| 28 | + | |
| 29 | +## The two endpoints | |
| 30 | + | |
| 31 | +Both propositions are stated in a Mathlib-only module, | |
| 32 | +`PoincareConjecture/Statement.lean`, which imports nothing but `Mathlib`. The | |
| 33 | +splitting is deliberate: `Comparator/Solution.lean` elaborates these statements | |
| 34 | +before any proof module is loaded. | |
| 35 | + | |
| 36 | +The standard sphere is | |
| 37 | +$\mathbb{S}^3 = \{x \in \mathbb{R}^4 : \lVert x\rVert = 1\}$, as | |
| 38 | +`PoincareConjecture.ThreeSphere := Metric.sphere (0 : EuclideanSpace ℝ (Fin 4)) 1`. | |
| 39 | + | |
| 40 | +The smooth statement is that every compact, Hausdorff, second-countable, simply | |
| 41 | +connected smooth three-manifold is diffeomorphic to $\mathbb{S}^3$: | |
| 42 | + | |
| 43 | +$$ | |
| 44 | +\forall M,\ \bigl[\text{topological, Hausdorff, second-countable, charted in } \mathbb{R}^3,\ C^\infty,\ \text{compact, simply connected}\bigr] | |
| 45 | +\ \Longrightarrow\ \operatorname{Nonempty}\bigl(M \simeq_{\mathrm{diff}} \mathbb{S}^3\bigr), | |
| 46 | +$$ | |
| 47 | + | |
| 48 | +as `PoincareConjecture.SmoothPoincare` in `PoincareConjecture/Statement.lean`. The | |
| 49 | +topological statement is the same with the smooth structure dropped and | |
| 50 | +diffeomorphism replaced by homeomorphism: | |
| 51 | + | |
| 52 | +$$ | |
| 53 | +\forall M,\ \bigl[\text{topological, Hausdorff, second-countable, charted in } \mathbb{R}^3,\ \text{compact, simply connected}\bigr] | |
| 54 | +\ \Longrightarrow\ \operatorname{Nonempty}\bigl(M \simeq_{\mathrm{top}} \mathbb{S}^3\bigr), | |
| 55 | +$$ | |
| 56 | + | |
| 57 | +as `PoincareConjecture.TopologicalPoincare` in the same file. | |
| 58 | + | |
| 59 | +`Comparator/Solution.lean` then checks that the proof modules really do produce | |
| 60 | +these two, by two theorems with bodies `exact PoincareMT.smoothPoincareSkeleton` | |
| 61 | +and `exact PoincareMT.topologicalPoincareSkeleton`: | |
| 62 | +`PoincareConjecture.ComparatorTargets.smoothPoincareSkeleton` and | |
| 63 | +`PoincareConjecture.ComparatorTargets.topologicalPoincareSkeleton`, both in | |
| 64 | +`Comparator/Solution.lean`. These two names are the only place the Comparator | |
| 65 | +touches the proof, and they are the top of the chain. | |
| 66 | + | |
| 67 | +## The two skeleton theorems | |
| 68 | + | |
| 69 | +Both live in the 34-line `PoincareLib/Topology/Manifold/Poincare.lean`, which | |
| 70 | +imports one file, `PoincareLib.Topology.Manifold.Poincare.Final.Main`. | |
| 71 | + | |
| 72 | +The smooth branch is one application: | |
| 73 | + | |
| 74 | +```lean | |
| 75 | +theorem smoothPoincareSkeleton : SmoothPoincare.{u} := by | |
| 76 | + exact m75SmoothPoincare m90SmoothEndpointInputs | |
| 77 | +``` | |
| 78 | + | |
| 79 | +`PoincareMT.smoothPoincareSkeleton` (`PoincareLib/Topology/Manifold/Poincare.lean`). | |
| 80 | +Read as a formula, M75 is a function of its input service and M90 supplies that | |
| 81 | +service: | |
| 82 | + | |
| 83 | +$$ | |
| 84 | +\underbrace{\Bigl(\forall M,\ \exists N,\ \operatorname{Nonempty}(M75EndpointInput(N))\Bigr)}_{\texttt{m90SmoothEndpointInputs}} | |
| 85 | +\ \Longrightarrow\ \texttt{SmoothPoincare}, | |
| 86 | +$$ | |
| 87 | + | |
| 88 | +which is exactly `M75SmoothPoincareStatement` applied at | |
| 89 | +`m90SmoothEndpointInputs`. | |
| 90 | + | |
| 91 | +The topological branch projects a package: | |
| 92 | + | |
| 93 | +```lean | |
| 94 | +theorem topologicalPoincareSkeleton : TopologicalPoincare.{u} := by | |
| 95 | + obtain ⟨C⟩ := m90FinalAssemblyFromMilestones.{u} | |
| 96 | + exact C.topological | |
| 97 | +``` | |
| 98 | + | |
| 99 | +`PoincareMT.topologicalPoincareSkeleton` (`PoincareLib/Topology/Manifold/Poincare.lean`). | |
| 100 | +The package is a structure with the two propositions as fields, so the second | |
| 101 | +branch is a field projection of the same assembly the first branch reaches | |
| 102 | +through M75. | |
| 103 | + | |
| 104 | +## The chain, statement by statement | |
| 105 | + | |
| 106 | +Each line is a statement of `Poincare`'s own, with its Lean name, its file, and | |
| 107 | +the step that consumes it. | |
| 108 | + | |
| 109 | +**M90, the final assembly.** A structure holding exactly the two endpoints: | |
| 110 | + | |
| 111 | +$$\texttt{M90FinalConclusion} = \{\ \texttt{smooth} : \texttt{SmoothPoincare},\ \ \texttt{topological} : \texttt{TopologicalPoincare}\ \}$$ | |
| 112 | + | |
| 113 | +`PoincareMT.M90FinalConclusion` (`PoincareLib/Topology/Manifold/Poincare/Final/Conclusion.lean`). | |
| 114 | +The statement it is produced under is | |
| 115 | +`PoincareMT.M90CompleteAssemblyStatement := Nonempty M90FinalConclusion` | |
| 116 | +(`PoincareLib/Topology/Manifold/Poincare/Final/Statement.lean`), and the producing | |
| 117 | +theorem is | |
| 118 | + | |
| 119 | +```lean | |
| 120 | +theorem m90FinalAssemblyFromMilestones : M90CompleteAssemblyStatement.{u} := by | |
| 121 | + obtain ⟨A⟩ := m90EndpointPackageFromMilestones.{u} | |
| 122 | + exact m90FinalAssembly A | |
| 123 | +``` | |
| 124 | + | |
| 125 | +`PoincareMT.m90FinalAssemblyFromMilestones` | |
| 126 | +(`PoincareLib/Topology/Manifold/Poincare/Final/Main.lean`). Its docstring says it | |
| 127 | +introduces no endpoint admission, and names the milestones it leans on: M01/M02 | |
| 128 | +and M83 for initial data, M71 for extinction, M72–M75 to reconstruct the flow, | |
| 129 | +M76–M80 for the topological passage. | |
| 130 | + | |
| 131 | +**M80, the endpoint package.** The M90 file it calls is a packaging step. The | |
| 132 | +structure and the statement: | |
| 133 | + | |
| 134 | +$$\texttt{M80EndpointConclusion} = \{\ \texttt{smooth} : \texttt{SmoothPoincare},\ \ \texttt{topological} : \texttt{TopologicalPoincare}\ \}$$ | |
| 135 | + | |
| 136 | +`PoincareMT.M80EndpointConclusion` (`PoincareLib/Topology/Manifold/Poincare/Assembly/Conclusion.lean`), and | |
| 137 | + | |
| 138 | +$$\texttt{M80EndpointAssemblyStatement} = \forall\,(h_{75} : \texttt{SmoothPoincare})\,(h_{79} : \texttt{TopologicalPoincare}),\ \operatorname{Nonempty}(\texttt{M80EndpointConclusion})$$ | |
| 139 | + | |
| 140 | +`PoincareMT.M80EndpointAssemblyStatement` | |
| 141 | +(`PoincareLib/Topology/Manifold/Poincare/Assembly/Statement.lean`), proved by | |
| 142 | +`PoincareMT.m80EndpointAssembly` (`PoincareLib/Topology/Manifold/Poincare/Assembly.lean`), | |
| 143 | +whose body is `intro h75 h79; exact ⟨{ smooth := h75, topological := h79 }⟩`. This | |
| 144 | +is where the two branches separate and are rejoined. | |
| 145 | + | |
| 146 | +**The producer that feeds both.** `m90EndpointPackageFromMilestones` is the one | |
| 147 | +theorem that runs both branches, and its body is the whole architecture in five | |
| 148 | +lines: | |
| 149 | + | |
| 150 | +`PoincareMT.m90EndpointPackageFromMilestones` | |
| 151 | +(`PoincareLib/Topology/Manifold/Poincare/Final/Providers.lean`). It obtains | |
| 152 | +`hSmooth : SmoothPoincare` from `m75SmoothPoincare m90SmoothEndpointInputs`, | |
| 153 | +`hTopological : TopologicalPoincare` from | |
| 154 | +`m79TopologicalPoincare m76CompatibleSmoothing m77TransportTopologicalHypotheses hSmooth m78EndpointTransport`, | |
| 155 | +and hands both to `m80EndpointAssembly`. So the topological branch is not | |
| 156 | +independent of the smooth one: it consumes `hSmooth`. | |
| 157 | + | |
| 158 | +**M79, the topological application.** The universal statement is | |
| 159 | + | |
| 160 | +$$\texttt{M79TopologicalPoincareStatement} = \forall\,(h_{76} : \texttt{M76SmoothingStatement})\,(h_{77} : \texttt{M77TransportStatement})\,(h_{75} : \texttt{SmoothPoincare})\,(h_{78} : \texttt{M78EndpointTransportStatement}),\ \texttt{TopologicalPoincare}$$ | |
| 161 | + | |
| 162 | +`PoincareMT.M79TopologicalPoincareStatement` | |
| 163 | +(`PoincareLib/Topology/Manifold/Poincare/Topological/Statement.lean`), proved by | |
| 164 | +`PoincareMT.m79TopologicalPoincare` (`PoincareLib/Topology/Manifold/Poincare/Topological.lean`). | |
| 165 | +That proof builds the connectedness witness `SmoothingBridgeInput` from | |
| 166 | +`isConnected_univ` and `Set.univ_nonempty`, applies M76 to get a smooth model, M77 | |
| 167 | +to transport the hypotheses, M78 to compose, and projects `C.identification`. | |
| 168 | + | |
| 169 | +**M76, the compatible smoothing.** The statement: every compact topological | |
| 170 | +three-manifold admits a homeomorphic smooth model carrying its own topology, | |
| 171 | +charts, manifold structure, second countability and compactness. | |
| 172 | + | |
| 173 | +$$\forall M,\ \forall\,(P : \texttt{SmoothingBridgeInput}),\ \texttt{M76SmoothingConclusion}(P)$$ | |
| 174 | + | |
| 175 | +`PoincareMT.M76SmoothingStatement` (`PoincareLib/Topology/Manifold/Poincare/Smoothing/Service.lean`). | |
| 176 | +The conclusion is a structure whose fields are the model type, its six instance | |
| 177 | +fields, and the homeomorphism `model_homeomorph : M ≃ₜ model`: | |
| 178 | +`PoincareMT.SmoothingBridgeConclusion` | |
| 179 | +(`PoincareLib/Topology/Manifold/Poincare/Smoothing/Basic.lean`). The proof is | |
| 180 | +`PoincareMT.m76CompatibleSmoothing` | |
| 181 | +(`PoincareLib/Topology/Manifold/Smoothing/Compatible.lean`). | |
| 182 | + | |
| 183 | +**M77, the hypothesis transport.** Given M76's bridge, the model is simply | |
| 184 | +connected and carries the M02 topology package: | |
| 185 | + | |
| 186 | +$$\forall M,\ \forall\,(P)\,(S : \texttt{SmoothingBridgeConclusion}(P)),\ \operatorname{Nonempty}(\texttt{M77TransportConclusion}(P, S))$$ | |
| 187 | + | |
| 188 | +`PoincareMT.M77TransportStatement` | |
| 189 | +(`PoincareLib/Topology/Manifold/Poincare/Smoothing/TopologyStatement.lean`), proved | |
| 190 | +by `PoincareMT.m77TransportTopologicalHypotheses` | |
| 191 | +(`PoincareLib/Topology/Manifold/Poincare/Smoothing/Topology.lean`). Its two inputs | |
| 192 | +are `S.model_homeomorph.symm.toHomotopyEquiv.simplyConnectedSpace` for the | |
| 193 | +simply-connectedness and `closedSimplyConnectedThreeManifoldTopology` for the M02 | |
| 194 | +package, the latter from | |
| 195 | +`PoincareLib/Topology/Manifold/ThreeDimensional/ClosedSimplyConnected.lean`. | |
| 196 | + | |
| 197 | +**M78, the endpoint transport.** Given the bridge, the transported hypotheses and | |
| 198 | +the smooth endpoint, return a homeomorphism from the original manifold to the | |
| 199 | +sphere: | |
| 200 | + | |
| 201 | +$$\forall M,\ \forall\,(P)\,(S)\,(T : \texttt{M77TransportConclusion}(P,S))\,(h_{S} : \texttt{SmoothPoincare}),\ \operatorname{Nonempty}(\texttt{M78EndpointConclusion}(P,S,T))$$ | |
| 202 | + | |
| 203 | +`PoincareMT.M78EndpointTransportStatement` | |
| 204 | +(`PoincareLib/Topology/Manifold/Poincare/Transport/Statement.lean`), proved by | |
| 205 | +`PoincareMT.m78EndpointTransport` (`PoincareLib/Topology/Manifold/Poincare/Transport.lean`). | |
| 206 | +The body's last line is the whole topological half in one expression: | |
| 207 | +`S.model_homeomorph.trans d.toHomeomorph`, where `d` is the diffeomorphism the | |
| 208 | +smooth endpoint gives on `S.model`. Note what the statement concludes — a | |
| 209 | +homeomorphism for one manifold, not the universal `TopologicalPoincare`. | |
| 210 | + | |
| 211 | +**M75, the smooth endpoint.** The statement is conditional on an input service: | |
| 212 | + | |
| 213 | +$$\texttt{M75SmoothPoincareStatement} = \Bigl(\forall M,\ \exists N,\ \operatorname{Nonempty}(\texttt{M75EndpointInput}(N))\Bigr) \Longrightarrow \texttt{SmoothPoincare}$$ | |
| 214 | + | |
| 215 | +`PoincareMT.M75SmoothPoincareStatement` | |
| 216 | +(`PoincareLib/Topology/Manifold/Poincare/Smooth/Statement.lean`), proved by | |
| 217 | +`PoincareMT.m75SmoothPoincare` (`PoincareLib/Topology/Manifold/Poincare/Smooth.lean`). | |
| 218 | +The input is a structure with two fields: | |
| 219 | + | |
| 220 | +$$\texttt{M75EndpointInput}(N) = \{\ \texttt{global} : \texttt{RepairedGlobalFlowData}(N),\ \ \texttt{reduction} : \operatorname{Nonempty}(\texttt{M74ReductionConclusion}(\texttt{global.certificate.flow.slice}\ 0))\ \}$$ | |
| 221 | + | |
| 222 | +`PoincareMT.M75EndpointInput` | |
| 223 | +(`PoincareLib/Topology/Manifold/Poincare/Smooth/Input.lean`). The proof composes two | |
| 224 | +diffeomorphisms, `I.global.certificate.initial_identification` and the reduction's | |
| 225 | +`R.reduction`. This is the only place where an actual diffeomorphism to the sphere | |
| 226 | +is built; everything above it is packaging. | |
| 227 | + | |
| 228 | +**The one input the smooth branch still needs from outside.** | |
| 229 | +`m90SmoothEndpointInputs` produces the M75 input for every compact simply | |
| 230 | +connected smooth three-manifold: | |
| 231 | + | |
| 232 | +$$\forall M,\ \exists N : \texttt{NormalizedInitialMetric},\ \operatorname{Nonempty}(\texttt{M75EndpointInput}(N))$$ | |
| 233 | + | |
| 234 | +`PoincareMT.m90SmoothEndpointInputs` | |
| 235 | +(`PoincareLib/Topology/Manifold/Poincare/Final/Providers.lean`). Its body is where | |
| 236 | +the four blocks are actually called, and it is worth reading as the map of the | |
| 237 | +proof: `existsNormalizedInitialMetric` supplies $N_0$; `m25NeckCapTopology` | |
| 238 | +supplies the Appendix A theory; `repairedGlobalFlow` supplies the surgery flow; | |
| 239 | +`m71ExtinctionFromCalibratedTheories` supplies extinction; and | |
| 240 | +`m75EndpointInputFromExtinction` assembles the two fields. Each of those is a | |
| 241 | +block below. | |
| 242 | + | |
| 243 | +## The four blocks | |
| 244 | + | |
| 245 | +None of these is proved in the files above. Each is a whole part of the proof, | |
| 246 | +and the point of this section is only to say where it lives and where to start | |
| 247 | +reading. Sizes are quoted from `docs/size-map.md`, which measured them at commit | |
| 248 | +`c888d66f31f7aeb12905bf64f7d0abf564db4791`; they are given to show what a reader | |
| 249 | +is taking on, not as a claim about the current tree. The folder counts in this | |
| 250 | +note's prose were not re-measured here. | |
| 251 | + | |
| 252 | +### Ricci flow with surgery | |
| 253 | + | |
| 254 | +*What is taken.* For a compact simply connected smooth three-manifold with a | |
| 255 | +chosen normalized initial metric, the existence of a repaired global flow: a | |
| 256 | +changing-carrier Ricci flow that continues past its singular times by surgery, | |
| 257 | +with the metric controlled on each piece. | |
| 258 | + | |
| 259 | +*Where.* `PoincareLib/Geometry/RicciFlow/Surgery/` — 4,118 files, 459,270 lines at | |
| 260 | +the measured commit. That is the second of the four blocks by size, behind | |
| 261 | +smoothing. The entry the | |
| 262 | +assembly uses is the theorem `repairedGlobalFlow` in | |
| 263 | +`PoincareLib/Geometry/RicciFlow/Surgery/Global/Existence.lean`, which produces a | |
| 264 | +`RepairedGlobalFlowTheory`. The theory is then turned into the flow data M75 needs | |
| 265 | +by `m52GlobalFlowDataFromSchedule` in the same file. | |
| 266 | + | |
| 267 | +*Source in the book.* Morgan–Tian chapters 12–17, printed pp. 331–412; the | |
| 268 | +docstring of `repairedGlobalFlow` names Theorem 15.9 and Corollary 15.10. | |
| 269 | + | |
| 270 | +### Finite extinction | |
| 271 | + | |
| 272 | +*What is taken.* That the flow of the previous block becomes empty in finite | |
| 273 | +time, for the width argument on the initial class. This is the step that uses | |
| 274 | +curve shortening and the width theory. | |
| 275 | + | |
| 276 | +*Where.* Two folders, and the split matters. | |
| 277 | +`PoincareLib/Geometry/RicciFlow/Extinction/` (114 files, 11,095 lines) holds the | |
| 278 | +statement, `PoincareMT.M71GlobalFiniteExtinctionStatement` in | |
| 279 | +`PoincareLib/Geometry/RicciFlow/Extinction/Global/Statement.lean`, and the | |
| 280 | +assembly `m71ExtinctionFromCalibratedTheories` in | |
| 281 | +`PoincareLib/Geometry/RicciFlow/Extinction/Global/Assembly.lean` that the chain | |
| 282 | +calls. The width and curve-shortening mathematics behind it is | |
| 283 | +`PoincareLib/Geometry/CurveShortening/` (2,534 files, 332,768 lines), together | |
| 284 | +with the triangulation lemmas under `PoincareLib/Topology/Surface/` that it | |
| 285 | +consumes. No reading guide for `Topology/Surface` is merged on `main`: `docs/guide/` | |
| 286 | +holds `chapter-13.md` and `topology-plane.md`, and the latter mentions the folder | |
| 287 | +only in passing. | |
| 288 | + | |
| 289 | +*Source in the book.* Morgan–Tian chapter 18, printed pp. 415–436, and chapter 19, | |
| 290 | +printed pp. 437–496; the M71 statement's docstring names Theorem 18.1, | |
| 291 | +Proposition 18.9 and Claims 18.19–18.20 at pp. 415, 421–422 and 431–432. Chapter | |
| 292 | +19 is the part Morgan–Tian corrected in 2015 (arXiv:1512.00699v1), which replaces | |
| 293 | +the estimates of §19.2, pp. 441–445. | |
| 294 | + | |
| 295 | +### The topology of necks and caps | |
| 296 | + | |
| 297 | +*What is taken.* The Appendix A topology: that a compact nonseparating sphere in | |
| 298 | +a three-manifold bounds a region with a product structure, at the level of detail | |
| 299 | +the surgery needs when it cuts along such a sphere and caps the two sides. | |
| 300 | + | |
| 301 | +*Where.* `PoincareLib/Topology/Manifold/NeckCap/` — 584 files, 103,398 lines — | |
| 302 | +with the exported theorem `m25NeckCapTopology` in the direct file | |
| 303 | +`PoincareLib/Topology/Manifold/NeckCap.lean`, producing a | |
| 304 | +`RepairedNeckCapTopologyTheory`. The assembly calls exactly this name. | |
| 305 | + | |
| 306 | +*Source in the book.* Morgan–Tian Appendix, printed pp. 497–514, with chapter 9; | |
| 307 | +the theorem's docstring names A.19–A.25 at pp. 507–514. | |
| 308 | + | |
| 309 | +### Smoothing | |
| 310 | + | |
| 311 | +*What is taken.* That a compact topological three-manifold can be replaced by a | |
| 312 | +homeomorphic smooth one, compatibly enough that a smooth theorem applies to the | |
| 313 | +replacement and the answer comes back along the homeomorphism. This is the block | |
| 314 | +that makes the topological statement follow from the smooth one, and the book | |
| 315 | +treats it as available rather than proving it. | |
| 316 | + | |
| 317 | +*Where.* `PoincareLib/Topology/Manifold/Smoothing/` — 6,394 files, 736,177 lines, the | |
| 318 | +largest of the four blocks by both counts — with the entry `m76CompatibleSmoothing` | |
| 319 | +in `PoincareLib/Topology/Manifold/Smoothing/Compatible.lean`. That proof builds a | |
| 320 | +finite relative handle assembly and a finite triangulation through the | |
| 321 | +Hamilton–Cairns route, taking lower-index handles from four sub-chains: | |
| 322 | +`CompactCore/` (`hasWallCompactCore` in | |
| 323 | +`PoincareLib/Topology/Manifold/Smoothing/CompactCore/WallCompactCore.lean`), | |
| 324 | +`Dehn/`, `PrimeReduction/` and `Rigidity/`, plus a finite triangulation from | |
| 325 | +`Triangulation/`. | |
| 326 | + | |
| 327 | +*Source in the book, and outside it.* Morgan–Tian, Introduction printed p. ix, | |
| 328 | +footnote 1 — less than a page, and a reference rather than a proof. The actual | |
| 329 | +sources are outside the book: Hamilton, *The Triangulation of 3-Manifolds*, | |
| 330 | +Theorem 2 part 1, printed p. 64 (proof p. 69), and Cairns, *Homeomorphisms | |
| 331 | +Between Topological Manifolds and Analytic Manifolds*, Theorem III, printed | |
| 332 | +p. 797 (proof §11, p. 807). Both are named in the docstring of | |
| 333 | +`M76SmoothingStatement` in | |
| 334 | +`PoincareLib/Topology/Manifold/Poincare/Smoothing/Service.lean`, which is the one | |
| 335 | +place in this chain that cites a source the book does not. | |
| 336 | + | |
| 337 | +## What a reader has to believe | |
| 338 | + | |
| 339 | +The chain above is a proof that the two endpoint propositions follow from four | |
| 340 | +statements. Stated as one line: | |
| 341 | + | |
| 342 | +$$ | |
| 343 | +\underbrace{\text{surgery flow}}_{S}\ +\ \underbrace{\text{extinction}}_{E}\ +\ \underbrace{\text{neck--cap topology}}_{N} | |
| 344 | +\ \Longrightarrow\ \texttt{SmoothPoincare} | |
| 345 | +\ \xrightarrow{\ \text{M76--M79}\ }\ | |
| 346 | +\texttt{TopologicalPoincare}. | |
| 347 | +$$ | |
| 348 | + | |
| 349 | +The arrows are all checked: each is a Lean theorem whose statement is the one | |
| 350 | +written beside it above, and each was read at this commit. What is not checked by | |
| 351 | +this note is the four blocks themselves, and this note takes no position on them. | |
| 352 | +Lean says they hold; whether they hold is not a question a reading of the | |
| 353 | +assembly can answer. | |
| 354 | + | |
| 355 | +There is one asymmetry worth naming, because it is easy to read past. The | |
| 356 | +topological branch is not proved independently: it consumes `hSmooth` and only | |
| 357 | +transports it along a homeomorphism. So if the smoothing block were weaker than | |
| 358 | +stated — if it produced a model that was not simply connected, say — the | |
| 359 | +topological theorem would fail while the smooth one still held. The two theorems | |
| 360 | +do not stand or fall together, and `m90EndpointPackageFromMilestones` is the | |
| 361 | +single line where that dependence is visible. | |
| 362 | + | |
| 363 | +## What this note does not show | |
| 364 | + | |
| 365 | +It does not compare any Lean statement with a sentence of Morgan–Tian; that is | |
| 366 | +V-4. It does not check that the docstrings' page references are the right ones. | |
| 367 | +It does not show that the four blocks hold, that their hypotheses are discharged | |
| 368 | +rather than carried, or that the proof is verified beyond what the README's table | |
| 369 | +says with its sources. It does not audit the five M76 sub-chains: it names the | |
| 370 | +folder and one declaration in it, and says nothing about whether the lower-index | |
| 371 | +handle cases cover what the upper ones need. And it does not show that this | |
| 372 | +assembly is the shortest route to the two theorems; if you see a shorter one, the | |
| 373 | +issue asks for an issue rather than a patch. | |
| 374 | + | |
| 375 | +## Where the declarations are | |
| 376 | + | |
| 377 | +| Statement | Lean declaration | File | | |
| 378 | +|---|---|---| | |
| 379 | +| $\texttt{SmoothPoincare}$ | `PoincareConjecture.SmoothPoincare` | `PoincareConjecture/Statement.lean` | | |
| 380 | +| $\texttt{TopologicalPoincare}$ | `PoincareConjecture.TopologicalPoincare` | `PoincareConjecture/Statement.lean` | | |
| 381 | +| Comparator target, smooth | `PoincareConjecture.ComparatorTargets.smoothPoincareSkeleton` | `Comparator/Solution.lean` | | |
| 382 | +| Comparator target, topological | `PoincareConjecture.ComparatorTargets.topologicalPoincareSkeleton` | `Comparator/Solution.lean` | | |
| 383 | +| Smooth skeleton | `PoincareMT.smoothPoincareSkeleton` | `PoincareLib/Topology/Manifold/Poincare.lean` | | |
| 384 | +| Topological skeleton | `PoincareMT.topologicalPoincareSkeleton` | `PoincareLib/Topology/Manifold/Poincare.lean` | | |
| 385 | +| M90 assembly | `PoincareMT.m90FinalAssemblyFromMilestones` | `PoincareLib/Topology/Manifold/Poincare/Final/Main.lean` | | |
| 386 | +| M90 package | `PoincareMT.M90FinalConclusion` | `PoincareLib/Topology/Manifold/Poincare/Final/Conclusion.lean` | | |
| 387 | +| Both branches | `PoincareMT.m90EndpointPackageFromMilestones` | `PoincareLib/Topology/Manifold/Poincare/Final/Providers.lean` | | |
| 388 | +| M80 packaging | `PoincareMT.m80EndpointAssembly` | `PoincareLib/Topology/Manifold/Poincare/Assembly.lean` | | |
| 389 | +| M79 topological application | `PoincareMT.m79TopologicalPoincare` | `PoincareLib/Topology/Manifold/Poincare/Topological.lean` | | |
| 390 | +| M78 endpoint transport | `PoincareMT.m78EndpointTransport` | `PoincareLib/Topology/Manifold/Poincare/Transport.lean` | | |
| 391 | +| M77 hypothesis transport | `PoincareMT.m77TransportTopologicalHypotheses` | `PoincareLib/Topology/Manifold/Poincare/Smoothing/Topology.lean` | | |
| 392 | +| M76 compatible smoothing | `PoincareMT.m76CompatibleSmoothing` | `PoincareLib/Topology/Manifold/Smoothing/Compatible.lean` | | |
| 393 | +| M75 smooth endpoint | `PoincareMT.m75SmoothPoincare` | `PoincareLib/Topology/Manifold/Poincare/Smooth.lean` | | |
| 394 | +| M75 input service | `PoincareMT.m90SmoothEndpointInputs` | `PoincareLib/Topology/Manifold/Poincare/Final/Providers.lean` | | |
| 395 | +| Surgery flow | `PoincareMT.repairedGlobalFlow` | `PoincareLib/Geometry/RicciFlow/Surgery/Global/Existence.lean` | | |
| 396 | +| Extinction | `PoincareMT.m71ExtinctionFromCalibratedTheories` | `PoincareLib/Geometry/RicciFlow/Extinction/Global/Assembly.lean` | | |
| 397 | +| Neck–cap topology | `PoincareMT.m25NeckCapTopology` | `PoincareLib/Topology/Manifold/NeckCap.lean` | | |
| 398 | +| Normalized initial metric | `PoincareMT.existsNormalizedInitialMetric` | `PoincareLib/Geometry/Riemannian/Normalization/Existence.lean` | | |
| 399 | +| M02 topology package | `PoincareMT.closedSimplyConnectedThreeManifoldTopology` | `PoincareLib/Topology/Manifold/ThreeDimensional/ClosedSimplyConnected.lean` | | |
+84 −0 routes/t1-assembly-exposition/README.md added View file
| @@ -0,0 +1,84 @@ | ||
| 1 | +--- | |
| 2 | +issue: 25 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# t1-assembly-exposition | |
| 7 | + | |
| 8 | +Unit: T-1, `docs/exposition/README.md` — how the two theorems are assembled, in | |
| 9 | +words. This route wrote that one file and nothing else; the Lean was read, not | |
| 10 | +changed. Scope is `docs/exposition/` plus this note. | |
| 11 | + | |
| 12 | +## What is in it | |
| 13 | + | |
| 14 | +- The two endpoints (`PoincareConjecture/Statement.lean`) and the two Comparator | |
| 15 | + targets that produce them (`Comparator/Solution.lean`). | |
| 16 | +- The two skeleton theorems in `PoincareLib/Topology/Manifold/Poincare.lean`, and | |
| 17 | + the chain M90 → M80 → both branches → M79 → M78/M77/M76 → M75 → M90's input | |
| 18 | + service, each statement in LaTeX beside its Lean declaration. | |
| 19 | +- One paragraph for each of the four blocks — Ricci flow with surgery, finite | |
| 20 | + extinction, neck–cap topology, compatible smoothing — saying which folder | |
| 21 | + proves it, which declaration the chain calls, and which source names it. | |
| 22 | +- The dependence the chain makes visible: the topological branch consumes the | |
| 23 | + smooth one, so the two theorems do not stand or fall together. | |
| 24 | +- A closing section on what the note does not show. | |
| 25 | + | |
| 26 | +## Review round | |
| 27 | + | |
| 28 | +@swarmforge reviewed `57ac0855` asking for changes on three points. All three were | |
| 29 | +fixed in `3930688` on this same branch and answered one by one in the pull request | |
| 30 | +conversation (comment 3350); no second pull request was opened. | |
| 31 | + | |
| 32 | +1. **Size claims contradicted each other.** Surgery was "the single largest folder | |
| 33 | + in the tree", smoothing "the second largest", while the printed numbers made | |
| 34 | + smoothing larger on both counts. Re-checked against `docs/size-map.md` at | |
| 35 | + `c888d66`: smoothing 6,394 files / 736,177 lines, surgery 4,118 / 459,270, | |
| 36 | + curve shortening 2,534 / 332,768, neck–cap 584 / 103,398, extinction 114 / | |
| 37 | + 11,095. Both "in the tree" claims were wrong outright — `Geometry/RicciFlow` | |
| 38 | + (9,088) and `Geometry` (13,854) are larger than either folder. The two | |
| 39 | + sentences now make one comparison inside the four blocks the note lists: | |
| 40 | + surgery second, smoothing largest by both counts, and "in the tree" is gone | |
| 41 | + from both. | |
| 42 | +2. **Dead pointer to `docs/guide/topology-surface.md`.** Dropped. `docs/guide/` on | |
| 43 | + `origin/main` holds `chapter-13.md` and `topology-plane.md` only, and the | |
| 44 | + latter mentions `Topology/Surface` in passing rather than as a guide to the | |
| 45 | + folder, so pointing there would have been a second dead end. The note now says | |
| 46 | + that no guide for the folder is merged on `main`. A guide exists as open PR | |
| 47 | + #51; it is not on `main`, so the note does not lean on it. | |
| 48 | +3. **Morgan–Tian edition missing.** Added once at the top, before any chapter or | |
| 49 | + page number: Clay Mathematics Monographs 3, AMS 2007, arXiv:math/0607607, with | |
| 50 | + a statement that printed pages below are that edition's. The chapter 19 | |
| 51 | + correction (2015, arXiv:1512.00699v1) was already flagged at its point of use. | |
| 52 | + | |
| 53 | +## What was checked, and when | |
| 54 | + | |
| 55 | +At `3930688`, after the fixes: | |
| 56 | + | |
| 57 | +- Every declaration named in the table was found in the file the table gives for | |
| 58 | + it; every other identifier in the prose was found by `git grep`, by its short | |
| 59 | + name. | |
| 60 | +- Every `.lean` path named was checked to exist. | |
| 61 | +- No reference to `topology-surface` survives anywhere under `docs/`. | |
| 62 | +- The four-block size order was re-derived from `docs/size-map.md` at `c888d66` | |
| 63 | + before the wording was changed. The sizes themselves were not re-measured, and | |
| 64 | + the note says so. | |
| 65 | +- `python3 checks/challenge.py .` ends in `ok: 3 challenge files and the build | |
| 66 | + configuration as approved; 23570 Lean files, 3062339 lines, toolchain | |
| 67 | + leanprover/lean4:v4.33.1`. | |
| 68 | + | |
| 69 | +What the checks do not say: `challenge` and `build` are recorded as `success` on | |
| 70 | +this head but neither ran on it — both descriptions say so, and both judge paths | |
| 71 | +this diff does not touch, so they say nothing about the prose. No check compares a | |
| 72 | +formula in the note with the declaration beside it. | |
| 73 | + | |
| 74 | +## Next | |
| 75 | + | |
| 76 | +Nothing left for the author. #25's closing condition under AGENTS.md is a second | |
| 77 | +reader at `3930688` confirming each statement against its declaration; the merge | |
| 78 | +waits for that reader and for @poincare-maintainer, not for anything more here. | |
| 79 | + | |
| 80 | +## Not done here | |
| 81 | + | |
| 82 | +It does not compare a Lean statement with a sentence of Morgan–Tian (that is V-4), | |
| 83 | +does not check the docstrings' page references, and does not audit the five M76 | |
| 84 | +sub-chains beyond naming where they are. | |