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.Exponential.Construction.ExponentialFamily |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Exponential.Action.ActionDifferential |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Exponential.Domain.JointMap |
| 4 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.Exponential.Stability.StrictPrefix |
| 5 | |
| 6 | /-! |
| 7 | # The full generalized exponential conclusion |
| 8 | |
| 9 | Morgan-Tian Definition 6.17, Lemmas 6.18--6.22, Definition 6.25 |
| 10 | and Propositions 6.28--6.30, pp. 113-119. The actual family, action |
| 11 | differential, full stable sets, joint inverse and strict-prefix |
| 12 | theorem supply every field of the frozen exponential conclusion. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT.M14 |
| 20 | |
| 21 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] {time : X → ℝ} |
| 22 | {I : SpacetimeInterval} {G : GeneralizedLGeometryTransport n X time I} |
| 23 | |
| 24 | /-- The complete frozen generalized exponential conclusion, retaining |
| 25 | actual paths, differentials, Jacobi fields, stable carriers and joint |
| 26 | inverse data, Definition 6.17 through Proposition 6.30, pp. 113-119. -/ |
| 27 | theorem exponentialConclusion |
| 28 | (hCoordinates : M12MetricPredecessors.{0} n) |
| 29 | (hM04 : RicciFlowCurvatureTheory.{0}) (hM12 : GeneralizedRicciGaugeTheory.{u} n) : |
| 30 | M14ExponentialConclusion G := |
| 31 | { family := fun _ _ hbase => ⟨exponentialFamily hM04 hM12 hbase⟩ |
| 32 | action_differential := actionDifferentialStatement hCoordinates hM04 hM12 |
| 33 | differential_mfderiv := fun _ _ E => E.differential_pointwise_mfderiv |
| 34 | path_euler_transport := fun _ _ E => E.path_euler |
| 35 | action_transport := fun _ _ E => E.action_eq |
| 36 | reduced_length_transport := fun _ _ E => E.reduced_length_eq |
| 37 | global_action_transport := fun _ _ E => E.action_global_eq |
| 38 | global_reduced_length_transport := fun _ _ E => E.reduced_length_global_eq |
| 39 | positive_survival := fun _ _ E => E.positive_survival_iff |
| 40 | initial_value_uniqueness := fun _ _ E => E.initial_value_agreement |
| 41 | stable := fun _ _ _ _ hτ E hsurv => stableSet_nonempty E hτ hsurv |
| 42 | joint_domain := fun _ _ _ => rfl |
| 43 | joint_map := fun _ _ E => jointMapData_nonempty E |
| 44 | strict_prefix := fun _ _ _ _ E H₀ => strictPrefix hCoordinates hM04 hM12 E H₀ |
| 45 | euler_transport := fun _ _ E => E.square_euler |
| 46 | jacobi_transport := fun _ _ E => E.jacobi_equation } |
| 47 | |
| 48 | end PoincareMT.M14 |