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

| 1 | import PoincareLib.Geometry.RicciFlow.Surgery.Control.Basic |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Control.ModelBounds |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Definitions/M47ComponentAnalytics.lean` at |
| 6 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 7 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 8 | -/ |
| 9 | |
| 10 | /-! |
| 11 | # M47 analytic bounds from an actual compact-component history |
| 12 | |
| 13 | The duration and analytic coefficient precede the standard model and flow. |
| 14 | The raw history is constructed inside the supporting theorem, using the |
| 15 | given pinching, earlier canonical neighborhoods and actual surgery data. |
| 16 | See `reviews/contracts/2026-09-15-m47-component-analytics-round1.md`. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | |
| 21 | open scoped Manifold ContDiff Bundle |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT |
| 26 | |
| 27 | /-- Uniform analytic output for the terminal weak-2C component branch. |
| 28 | There is no analytic, volume, noncollapse or ordinary-history premise. -/ |
| 29 | structure M47ComponentAnalyticBounds (C : ℝ) where |
| 30 | duration : ℝ |
| 31 | duration_pos : 0 < duration |
| 32 | duration_le_one : duration ≤ 1 |
| 33 | curvature_threshold : ℝ |
| 34 | one_le_curvature_threshold : 1 ≤ curvature_threshold |
| 35 | constant : ℝ |
| 36 | constant_pos : 0 < constant |
| 37 | delta : StandardInitialMetric → MetricSurgeryConstants → ℝ |
| 38 | delta_pos : ∀ g₀ K, 0 < delta g₀ K |
| 39 | estimate : |
| 40 | ∀ (g₀ : StandardInitialMetric) (K : MetricSurgeryConstants) |
| 41 | (F : SurgeryFlowData.{u}), |
| 42 | F.standard_initial = g₀ → F.local_constants = K → |
| 43 | F.parameters.C = C → F.parameters.epsilon ≤ 1 / 200 → |
| 44 | ∀ t Q : ℝ, ∀ x : (F.slice t).carrier, |
| 45 | (F.connection t).scalarCurvature x = Q → curvature_threshold ≤ Q → |
| 46 | Set.Icc (t - duration / Q) t ⊆ F.time_domain → |
| 47 | (∀ s ∈ Set.Icc (t - duration / Q) t, |
| 48 | SurgeryPinchedAt (F.connection s) s) → |
| 49 | (∀ s ∈ Set.Ico (t - duration / Q) t, ∀ y : (F.slice s).carrier, |
| 50 | Q ≤ (F.connection s).scalarCurvature y → |
| 51 | SurgeryCanonicalControl F s y F.parameters.epsilon C) → |
| 52 | (∀ T ∈ Set.Icc (t - duration / Q) t, T ∈ F.surgery_times → |
| 53 | F.parameters.delta T ≤ delta g₀ K) → |
| 54 | ∀ N : SingularCComponent (F.metric t) (F.connection t) (2 * C), |
| 55 | x ∈ N.carrier → |
| 56 | M45PointwiseAnalyticEstimate (F.metric t) (F.connection t) x constant |
| 57 | |
| 58 | end PoincareMT |