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.CurveShortening.Comparison.AnnularEvolution.Plateau.Observed.LowerHolder |
| 2 | import PoincareLib.Geometry.Riemannian.MinimalSurface.Sphere.Minimizer.Weak.Classical |
| 3 | |
| 4 | /-! The observed Holder representative keeps the original reflected |
| 5 | weak columns. Source: Morrey ICM pp. 183-185; M64 finite-boundary- |
| 6 | regularity derivation, almost-everywhere representative transport. |
| 7 | Morgan--Tian context: Lemma 19.15 and its annular area-to-energy construction, printed pp. |
| 8 | 447-449. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | set_option autoImplicit false |
| 13 | set_option warningAsError true |
| 14 | |
| 15 | open Set Filter MeasureTheory |
| 16 | open Poincare.Analysis.Sobolev.Weak |
| 17 | |
| 18 | namespace PoincareMT.M64ObservedWeakAnnulus |
| 19 | |
| 20 | /-- Any genuine representative of the observed reflection has the same literal L2 weak |
| 21 | columns on the original open neighborhood. Proof expansion for Morgan-Tian (2007), Lemma |
| 22 | 19.15, pp. 447-449. -/ |
| 23 | theorem lower_representative_weak_data {n m : ℕ} {M : Type*} |
| 24 | [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 25 | {e : M → EuclideanSpace ℝ (Fin m)} {c0 c1 : ℝ → M} |
| 26 | (A : M64ObservedWeakAnnulus (n := n) e c0 c1) |
| 27 | {O : Set LoopPlane} (hO : IsOpen O) (hsub : O ⊆ m64AnnulusLowerDomain) |
| 28 | {U : LoopPlane → EuclideanSpace ℝ (Fin m)} |
| 29 | (hae : U =ᵐ[volume.restrict O] A.lowerReflectedValue) : |
| 30 | MemLp U 2 (volume.restrict O) ∧ |
| 31 | (∀ i, MemLp (A.lowerReflectedColumn i) 2 (volume.restrict O)) ∧ |
| 32 | ∀ i j, HasWeakPartialDeriv i (fun p => A.lowerReflectedColumn i p j) |
| 33 | (fun p => U p j) O := by |
| 34 | refine ⟨((A.lower_reflected_memLp.1).mono_measure |
| 35 | (Measure.restrict_mono_set volume hsub)).ae_eq hae.symm, ?_, ?_⟩ |
| 36 | · exact fun i => (A.lower_reflected_memLp.2 i).mono_measure |
| 37 | (Measure.restrict_mono_set volume hsub) |
| 38 | · intro i j |
| 39 | exact M60.suWeakPartial_congr_ae ((A.lower_reflected_weak i j).restrict hO hsub) |
| 40 | (hae.mono fun p hp => congrArg (fun y : EuclideanSpace ℝ (Fin m) => y j) hp) |
| 41 | (Eventually.of_forall fun _ => rfl) |
| 42 | |
| 43 | end PoincareMT.M64ObservedWeakAnnulus |