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.MetricFamily.PullbackCoefficients |
| 2 | |
| 3 | /-! |
| 4 | # Explicit supplier for flow realization from included-time bilinear jets |
| 5 | |
| 6 | This proposition is the exact interface of the unpublished lower M28 |
| 7 | `RicciFlow.exists_of_bilinear_within_spacetime_jets` theorem. It keeps |
| 8 | the actual manifold, metric family and full time-chart derivative domains. |
| 9 | It has no local inhabitant and asserts no new compactness result. |
| 10 | |
| 11 | The source is Morgan--Tian Proposition 5.14, pp. 90-91. The pinned lower |
| 12 | statement and publication obligation are recorded in |
| 13 | `proof-work/tasks/M30/derivations/within-bilinear-flow-service.md`. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.M30 |
| 24 | |
| 25 | /-- The unfilled lower supplier for actual Ricci-flow realization from |
| 26 | bilinear within jets, retaining the given total metric family |
| 27 | (Morgan--Tian Proposition 5.14, pp. 90-91). -/ |
| 28 | def WithinBilinearFlowService : Prop := |
| 29 | ∀ {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 30 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 31 | {J : Set ℝ} (Fseq : ℕ → RicciFlow n M J) |
| 32 | (g : ℝ → RiemannianMetric n M), |
| 33 | UniqueDiffOn ℝ J → RiemannianMetric.IsSmoothFamilyOn g J → |
| 34 | (∀ (x : M) (r : ℕ) (K : Set (ℝ × EuclideanSpace ℝ (Fin n))), |
| 35 | IsCompact K → K ⊆ J ×ˢ (extChartAt (𝓡 n) x).target → TendstoUniformlyOn |
| 36 | (fun k => iteratedFDerivWithin ℝ r |
| 37 | (fun p : ℝ × EuclideanSpace ℝ (Fin n) => |
| 38 | ((Fseq k).metric p.1).pullbackCoefficients (extChartAt (𝓡 n) x).symm p.2) |
| 39 | (J ×ˢ (extChartAt (𝓡 n) x).target)) |
| 40 | (iteratedFDerivWithin ℝ r |
| 41 | (fun p : ℝ × EuclideanSpace ℝ (Fin n) => |
| 42 | (g p.1).pullbackCoefficients (extChartAt (𝓡 n) x).symm p.2) |
| 43 | (J ×ˢ (extChartAt (𝓡 n) x).target)) atTop K) → |
| 44 | ∃ F : RicciFlow n M J, F.metric = g |
| 45 | |
| 46 | end PoincareMT.M30 |