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.ReducedGeometry.ReducedLength.Theory |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Exponential.ExponentialFamily |
| 3 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Geometry.GeometryAssembly |
| 4 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.RegularLocus.RegularLocusAssembly |
| 5 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.RegularLocus.RegularLaplacian |
| 6 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Barrier.ZeroResidualBarrier |
| 7 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Barrier.LocalBarrierBounds |
| 8 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.RegularLocus.RegularSharpEquality |
| 9 | |
| 10 | /-! |
| 11 | # Reduced-length differential inequality proof assembly |
| 12 | |
| 13 | The theorem packages the regular-locus computation and the upper-barrier |
| 14 | extension for the fixed-carrier bounded-curvature flow. Its hypotheses retain |
| 15 | the curvature theory and L-geodesic theory as explicit predecessor inputs. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open scoped Manifold ContDiff Bundle intervalIntegral BigOperators |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT |
| 25 | |
| 26 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 27 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 28 | [IsManifold (𝓡 n) ∞ M] |
| 29 | |
| 30 | /-- M09: for a connected ordinary Ricci flow complete with one full-curvature |
| 31 | bound on [T-taumax,T], M04 and M08 give coherent L-exponential geometry with |
| 32 | initial square-root velocity 2Z and its actual Jacobi differential. The |
| 33 | canonical minimizing regular domain is a smooth exponential chart, nested |
| 34 | toward zero and eventually containing each bounded initial tangent ball. |
| 35 | For 0 < tau < taumax, reduced length has an open dense regular locus and |
| 36 | satisfies its six differential identities and inequalities. Sharp Laplacian |
| 37 | equality gives Ric + Hess(l) = g/(2*tau) on the same regular branch. At every |
| 38 | point there are the stated upper barriers, including locally uniform time, |
| 39 | gradient and spatial Hessian bounds. Measure and reduced-volume conclusions |
| 40 | belong to M10. |
| 41 | |
| 42 | Sources: Morgan-Tian Definition 6.17 and Lemmas 6.18-6.23, pp. 113-116; |
| 43 | Propositions 6.28-6.31, pp. 117-119; Propositions 6.37/6.43, pp. 123-129; |
| 44 | Theorem 6.50 and Corollary 6.51, pp. 131-132; Proposition 6.78 and |
| 45 | Corollary 6.79, pp. 143-145; Proposition 7.5, pp. 151-152; |
| 46 | Proposition 7.8, pp. 152-154; Lemma 7.15, pp. 157-158. |
| 47 | Use the corrected prefix coefficient and additive small-time action error in |
| 48 | `reviews/errata/2026-09-13-reduced-length-source.md`, together with M08's |
| 49 | connection-time transport and M04's corrected Ricci contraction. |
| 50 | `reviews/contracts/M09-round1.md` gives the complete source derivation. -/ |
| 51 | theorem reducedLengthDifferentialInequalities |
| 52 | {J : Set ℝ} [ConnectedSpace M] [T3Space M] [SecondCountableTopology M] |
| 53 | (F : RicciFlow n M J) (T τmax : ℝ) (hT : T ∈ J) (hτmax : 0 < τmax) |
| 54 | (hwindow : Set.Icc (T - τmax) T ⊆ J) |
| 55 | (hcurvature : CompleteBoundedCurvatureOn F (Set.Icc (T - τmax) T)) |
| 56 | (hM04 : RicciFlowCurvatureTheory.{u}) |
| 57 | (hL : LGeodesicTheory F T τmax) : |
| 58 | Nonempty (ReducedLengthDifferentialTheory F T τmax) := by |
| 59 | classical |
| 60 | let A (p : M) : LExponentialFamily F T τmax p := |
| 61 | Classical.choice (ReducedLength.nonempty_lExponentialFamily F hM04 T τmax |
| 62 | hτmax hwindow hcurvature p) |
| 63 | let G (p : M) : LExponentialGeometry F T τmax p := |
| 64 | Classical.choice (ReducedLength.lExponentialFamily_exists_geometry F hM04 T τmax |
| 65 | hτmax hwindow hcurvature hL p (A p)) |
| 66 | refine ⟨{ |
| 67 | regular_locus := fun p τ hτ hmax ↦ |
| 68 | ReducedLength.lExponentialGeometry_regular_locus F hM04 T τmax hτmax hwindow |
| 69 | hcurvature hL p (G p) τ hτ hmax |
| 70 | regular_point_formulas := fun p _ _ r ↦ |
| 71 | ReducedLength.regular_six_formulas hM04 hL hτmax hwindow (A p) r |
| 72 | upper_barrier_extension := fun p q τ hτ hmax ε hε ↦ |
| 73 | ReducedLength.exists_upperBarrier_with_residual_le hM04 hL hτmax hwindow |
| 74 | (A p) q τ hτ hmax ε hε |
| 75 | exponential_geometry := fun p ↦ ⟨G p⟩ |
| 76 | local_upper_barrier_bounds := fun p z hz ↦ |
| 77 | ReducedLength.lExponentialFamily_local_upper_barrier_bounds F hM04 T τmax |
| 78 | hτmax hwindow hcurvature hL p (A p) z hz |
| 79 | regular_point_equality := ?_ |
| 80 | }⟩ |
| 81 | intro p H z hz |
| 82 | exact ReducedLength.regular_sharp_laplacian_tensor_eq hM04 hL hτmax hwindow |
| 83 | H.toLExponentialFamily (H.regular_point z hz) |
| 84 | |
| 85 | end PoincareMT |