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.ReducedVolume.Rigidity.Equality.RadialVelocity |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Rigidity.Exponential.RescaledMetric |
| 3 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Rigidity.Exponential.DiffeomorphMetric |
| 4 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Rigidity.StaticEndpoints |
| 5 | |
| 6 | /-! |
| 7 | # One static Euclidean identification from maximal reduced volume |
| 8 | |
| 9 | Morgan-Tian Proposition 7.27. Fix the rescaled exponential map at half |
| 10 | the equality time. Its actual radial velocity makes that single map |
| 11 | stationary throughout the interior interval; continuity retains it at |
| 12 | both endpoints. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set |
| 18 | open scoped Manifold ContDiff Bundle |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT.ReducedVolume |
| 23 | |
| 24 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 25 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 26 | [ConnectedSpace M] [T3Space M] [MeasurableSpace M] [BorelSpace M] |
| 27 | {J : Set ℝ} {F : RicciFlow n M J} {T τmax : ℝ} {p : M} |
| 28 | |
| 29 | set_option backward.isDefEq.respectTransparency false in |
| 30 | /-- Maximal actual reduced volume produces one Euclidean identification on the closed interval. -/ |
| 31 | theorem staticEuclideanFlowOn_of_reducedVolume_eq |
| 32 | (hL : LGeodesicTheory F T τmax) (hDifferential : ReducedLengthDifferentialTheory F T τmax) |
| 33 | (G : LExponentialGeometry F T τmax p) (hmax : 0 < τmax) |
| 34 | (hT : T ∈ J) (hwindow : Icc (T - τmax) T ⊆ J) |
| 35 | (hcurvature : CompleteBoundedCurvatureOn F (Icc (T - τmax) T)) |
| 36 | {b : ℝ} (hb : 0 < b) (hbmax : b < τmax) |
| 37 | (heq : reducedVolume F T p b = euclideanReducedVolume n) : |
| 38 | IsStaticEuclideanFlowOn F (Icc (T - b) T) := by |
| 39 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 n) : M → Type _) := |
| 40 | ⟨(F.metric T).toRiemannianMetric⟩ |
| 41 | let c := b / 2 |
| 42 | have hc : c ∈ Ioo 0 b := ⟨by dsimp [c]; linarith, by dsimp [c]; linarith⟩ |
| 43 | have hglobal (s : ℝ) (hs : s ∈ Ioo 0 b) := |
| 44 | exponentialSliceChart_global_of_volume_eq hL hDifferential G hmax hT hwindow hcurvature |
| 45 | hs.1 (hs.2.trans hbmax) |
| 46 | (reducedVolume_eq_euclidean_of_le hL hDifferential G hmax hT hwindow hcurvature |
| 47 | hb hbmax hs.1 hs.2.le heq) |
| 48 | let f := rescaledExponentialDiffeomorph G c hc.1 (hglobal c hc).1 (hglobal c hc).2 |
| 49 | have hf : (f : EuclideanSpace ℝ (Fin n) → M) = rescaledExponential G c := by |
| 50 | funext y |
| 51 | exact rescaledExponentialDiffeomorph_apply G c hc.1 (hglobal c hc).1 (hglobal c hc).2 y |
| 52 | have hv (s : ℝ) (hs : s ∈ Ioo 0 b) (Z : TangentSpace (𝓡 n) p) : |
| 53 | curveVelocity (G.gamma Z) s = |
| 54 | G.toLExponentialFamily.sliceDifferential Z s ((2 * s)⁻¹ • Z) := by |
| 55 | obtain ⟨x, rfl⟩ := (metricCoordinates (F.metric T) p).surjective Z |
| 56 | exact exponential_velocity_eq_radial_of_volume_eq hL hDifferential G hmax hT hwindow |
| 57 | hcurvature hb hbmax heq x hs.1 hs.2 |
| 58 | have hsame (s : ℝ) (hs : s ∈ Ioo 0 b) : |
| 59 | rescaledExponential G s = (f : EuclideanSpace ℝ (Fin n) → M) := by |
| 60 | rw [hf] |
| 61 | funext y |
| 62 | exact rescaledExponential_eq_of_radial_velocity G hbmax.le f.symm hv y hs hc |
| 63 | apply staticEuclideanFlowOn_of_interior_metric_eq hb |
| 64 | (fun t ht ↦ hwindow ⟨by linarith [ht.1], ht.2⟩) f.symm |
| 65 | intro s hs q v w |
| 66 | apply metric_eq_of_diffeomorph_pullback (F.metric (T - s)) f _ q v w |
| 67 | intro x u v |
| 68 | rw [← hsame s hs] |
| 69 | exact rescaledExponential_pairing G hs.1 (hglobal s hs).1 (hglobal s hs).2 |
| 70 | (fun x u v ↦ exponential_pairing_eq_of_volume_eq hL hDifferential G hmax hT hwindow |
| 71 | hcurvature hb hbmax heq x u v hs.1 hs.2) x u v |
| 72 | |
| 73 | end PoincareMT.ReducedVolume |