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.Generalized.ReducedGeometry.Variation.Assembly |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Exponential.Construction.ExponentialConclusion |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Regularity.Formulas.ActionValue |
| 4 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Regularity.Formulas.RegularFormula |
| 5 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Regularity.PositiveStart.PositiveStartCorrection |
| 6 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Regularity.Lipschitz.LocalLipschitz |
| 7 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Measure.Transport.SourceCoverageAssembly |
| 8 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Rescaling.Geometry.Rescaling |
| 9 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Ordinary.Capture.OrdinaryCapture |
| 10 | |
| 11 | /-! |
| 12 | # Exact generalized L-geometry assembly with the small-time input |
| 13 | |
| 14 | Morgan-Tian Sections 6.1-6.7 and Chapter 7, pp. 105-167, and Theorem |
| 15 | 8.1, pp. 169-171. Every field uses the actual constructed supplier. |
| 16 | The remaining compact small-time coverage statement is retained |
| 17 | explicitly here and must be proved before the numbered assembly. |
| 18 | -/ |
| 19 | |
| 20 | set_option autoImplicit false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT.M14 |
| 25 | |
| 26 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] {time : X → ℝ} |
| 27 | {I : SpacetimeInterval} |
| 28 | |
| 29 | /-- Assemble all exact generalized clauses from the actual suppliers |
| 30 | and the explicit compact small-time theorem, Chapters 6-7, pp. 105-167, |
| 31 | and Theorem 8.1, pp. 169-171. -/ |
| 32 | theorem generalizedLGeometryConclusion_of_smallTimeCoverage |
| 33 | (hCoordinates : M12MetricPredecessors.{0} n) |
| 34 | (hM04 : RicciFlowCurvatureTheory.{0}) |
| 35 | (hM12 : GeneralizedRicciGaugeTheory.{u} n) |
| 36 | (hM13 : GeneralizedParabolicRescalingTheory.{u} n) |
| 37 | (G : GeneralizedLGeometryTransport n X time I) |
| 38 | (hsmall : M14SmallTimeCoverageStatement G) : GeneralizedLGeometryConclusion G where |
| 39 | path_calculus := pathCalculusConclusion hCoordinates hM04 hM12 |
| 40 | exponential := exponentialConclusion hCoordinates hM04 hM12 |
| 41 | finite_value := finiteValueStatement G |
| 42 | attainment := attainmentStatement G |
| 43 | regular_formulas := regularFormulaStatement hCoordinates hM04 hM12 G |
| 44 | positive_start_correction := positiveStartCorrectionStatement hCoordinates hM04 hM12 G |
| 45 | measure_transport := measureTransportStatement G |
| 46 | reduced_volume := reducedVolumeStatement hCoordinates hM04 hM12 G |
| 47 | local_lipschitz := localLipschitzStatement hCoordinates hM04 hM12 G |
| 48 | small_time_coverage := hsmall |
| 49 | reduced_volume_analytic := fun _ _ _ E H => |
| 50 | reducedVolumeAnalyticData hCoordinates hM04 hM12 E H |
| 51 | reduced_volume_source := |
| 52 | reducedVolumeSourceCoverageData_of_smallTimeCoverage hCoordinates hM04 hM12 hsmall |
| 53 | analytic_rescaling := analyticRescalingConclusion hCoordinates hM04 hM12 hM13 G |
| 54 | ordinary_capture := ordinaryCaptureStatement |
| 55 | (hM12.gauges X time I G.spacetime G.slices G.timeIntervals G.gaugeCover G.leafwise) |
| 56 | (pathCalculusConclusion hCoordinates hM04 hM12) |
| 57 | |
| 58 | end PoincareMT.M14 |