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.Soliton.ThreeDimensional.Noncompact.Rigidity.Levels.PotentialLimit.Estimates |
| 2 | import PoincareLib.Geometry.Riemannian.Splitting.ParallelGradient.Basic |
| 3 | import PoincareLib.Geometry.Manifold.ContDiff.Constancy |
| 4 | import PoincareLib.Geometry.Riemannian.ScalarOperators.Gradient.SpaceTime |
| 5 | |
| 6 | /-! # Identities of the actual normalized potential limit -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | set_option autoImplicit false |
| 10 | set_option backward.isDefEq.respectTransparency false |
| 11 | set_option maxSynthPendingDepth 12 |
| 12 | set_option maxHeartbeats 800000 |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped Manifold ContDiff Bundle Topology |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT.LeviCivitaData |
| 20 | |
| 21 | variable {n : ℕ} {M : Type*} [TopologicalSpace M] |
| 22 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 23 | {g : RiemannianMetric n M} |
| 24 | |
| 25 | /-- Gradient energy expressed through the actual metric of a local |
| 26 | parametrization and the derivative of the actual composed function. -/ |
| 27 | theorem gradient_normSq_in_parametrization (D : LeviCivitaData g) |
| 28 | {e : EuclideanSpace ℝ (Fin n) → M} {x : EuclideanSpace ℝ (Fin n)} |
| 29 | (he : MDifferentiableAt (𝓡 n) (𝓡 n) e x) |
| 30 | (hi : (mfderiv (𝓡 n) (𝓡 n) e x).IsInvertible) |
| 31 | {f : M → ℝ} (hf : MDifferentiableAt (𝓡 n) 𝓘(ℝ, ℝ) f (e x)) : |
| 32 | g.inner (e x) (D.gradient f (e x)) (D.gradient f (e x)) = |
| 33 | fderiv ℝ (f ∘ e) x ((g.pullbackCoefficients e x).inverse (fderiv ℝ (f ∘ e) x)) := by |
| 34 | let A := mfderiv (𝓡 n) (𝓡 n) e x |
| 35 | let B := g.pullbackCoefficients e x |
| 36 | let d := fderiv ℝ (f ∘ e) x |
| 37 | have hB : B.IsInvertible := g.isInvertible_pullbackCoefficients hi.injective |
| 38 | have hd : d = (mvfderiv (𝓡 n) f (e x)).comp A := by |
| 39 | have h := mfderiv_comp x hf he |
| 40 | rw [mfderiv_eq_fderiv] at h |
| 41 | exact h |
| 42 | have hBA : B (A.inverse (D.gradient f (e x))) = d := by |
| 43 | ext v |
| 44 | change g.inner (e x) (A (A.inverse (D.gradient f (e x)))) (A v) = d v |
| 45 | rw [hi.self_apply_inverse, D.inner_gradient, hd] |
| 46 | rfl |
| 47 | change g.inner (e x) (D.gradient f (e x)) (D.gradient f (e x)) = d (B.inverse d) |
| 48 | rw [hB.inverse_apply_eq.mpr hBA.symm, hd] |
| 49 | simp only [ContinuousLinearMap.comp_apply, D.inner_gradient] |
| 50 | exact congrArg (mvfderiv (𝓡 n) f (e x)) (hi.self_apply_inverse (D.gradient f (e x))).symm |
| 51 | |
| 52 | end PoincareMT.LeviCivitaData |
| 53 | |
| 54 | namespace PoincareMT.ShrinkingSolitonFlow |
| 55 | |
| 56 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 57 | FlowCarrier.isManifold |
| 58 | attribute [local instance] RicciFlow.smallCarrier RicciFlow.smallChartedSpace |
| 59 | RicciFlow.smallIsManifold |
| 60 | |
| 61 | variable {M : Type u} [TopologicalSpace M] |
| 62 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 63 | [MeasurableSpace M] [BorelSpace M] [T2Space M] [T3Space M] |
| 64 | [SecondCountableTopology M] [ConnectedSpace M] |
| 65 | {S : GradientShrinkingSolitonData 3 M} (G : ShrinkingSolitonFlow S) {q : ℕ → M} |
| 66 | (L : AncientPointedGeometricConvergence |
| 67 | (fun _ => AncientRescalingSequence.smallRescalingCarrier (M := M)) |
| 68 | (fun _ => G.unscaledSourceFlow.shrink.metric) |
| 69 | (fun k => equivShrink M (q k)) 1) |
| 70 | |
| 71 | local notation "E" => EuclideanSpace ℝ (Fin 3) |
| 72 | |
| 73 | private theorem tendsto_clm_apply |
| 74 | {ι V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 75 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 76 | {l : Filter ι} {A : ι → V →L[ℝ] W} {a : V →L[ℝ] W} |
| 77 | {v : ι → V} {w : V} (hA : Tendsto A l (𝓝 a)) (hv : Tendsto v l (𝓝 w)) : |
| 78 | Tendsto (fun i => A i (v i)) l (𝓝 (a w)) := |
| 79 | (continuous_fst.clm_apply continuous_snd).continuousAt.tendsto.comp (hA.prodMk_nhds hv) |
| 80 | |
| 81 | private theorem tendsto_fderiv_of_jet_one |
| 82 | {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 83 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 84 | {f : ℕ → V → W} {b : V → W} {x : V} |
| 85 | (h : Tendsto (fun k => iteratedFDeriv ℝ 1 (f k) x) atTop |
| 86 | (𝓝 (iteratedFDeriv ℝ 1 b x))) : |
| 87 | Tendsto (fun k => fderiv ℝ (f k) x) atTop (𝓝 (fderiv ℝ b x)) := by |
| 88 | have hh := (continuousMultilinearCurryFin1 ℝ V W).continuous.continuousAt.tendsto.comp h |
| 89 | have heq (a : V → W) : (continuousMultilinearCurryFin1 ℝ V W) |
| 90 | (iteratedFDeriv ℝ 1 a x) = fderiv ℝ a x := by |
| 91 | ext v |
| 92 | simp only [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] |
| 93 | simp |
| 94 | simpa only [Function.comp_def, heq] using hh |
| 95 | |
| 96 | private theorem tendsto_value_of_jet_zero |
| 97 | {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 98 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 99 | {f : ℕ → V → W} {b : V → W} {x : V} |
| 100 | (h : Tendsto (fun k => iteratedFDeriv ℝ 0 (f k) x) atTop |
| 101 | (𝓝 (iteratedFDeriv ℝ 0 b x))) : |
| 102 | Tendsto (fun k => f k x) atTop (𝓝 (b x)) := by |
| 103 | have hc : Continuous (fun A : V [×0]→L[ℝ] W => A (fun i => Fin.elim0 i)) := by fun_prop |
| 104 | simpa only [Function.comp_def, iteratedFDeriv_zero_apply] using |
| 105 | hc.continuousAt.tendsto.comp h |
| 106 | |
| 107 | variable {σ : ℕ → ℕ} {b : L.limitCarrier.carrier → ℝ} |
| 108 | (hjets : ∀ z : L.limitCarrier.carrier, ∀ m K, |
| 109 | IsCompact K → K ⊆ (extChartAt (𝓡 3) z).target → |
| 110 | TendstoUniformlyOn |
| 111 | (fun k => iteratedFDeriv ℝ m |
| 112 | (G.normalizedPotentialPullback L (σ k) ∘ (extChartAt (𝓡 3) z).symm)) |
| 113 | (iteratedFDeriv ℝ m (b ∘ (extChartAt (𝓡 3) z).symm)) atTop K) |
| 114 | |
| 115 | include hjets |
| 116 | |
| 117 | theorem normalizedPotential_limit_base : b L.base = 0 := by |
| 118 | have h := (hjets L.base 0 {(extChartAt (𝓡 3) L.base) L.base} |
| 119 | isCompact_singleton (singleton_subset_iff.mpr (mem_extChartAt_target L.base))).tendsto_at |
| 120 | (mem_singleton _) |
| 121 | have hc : Continuous (fun A : E [×0]→L[ℝ] ℝ => A (fun i => Fin.elim0 i)) := by fun_prop |
| 122 | have hh := hc.continuousAt.tendsto.comp h |
| 123 | simp only [Function.comp_def, iteratedFDeriv_zero_apply, extChartAt_to_inv, |
| 124 | G.normalizedPotentialPullback_base] at hh |
| 125 | exact tendsto_nhds_unique hh tendsto_const_nhds |
| 126 | |
| 127 | /-- The retained coordinate Hessian equation passes to the extracted smooth |
| 128 | function; its forcing vanishes because the source gradient scales diverge. -/ |
| 129 | theorem normalizedPotential_limit_coordinate_hessian |
| 130 | (hσ : StrictMono σ) (hD : S.connection.CurvatureTensorCalculus) (p : M) |
| 131 | (hescape : Tendsto (fun k => (S.metric.edist p (q k)).toReal) atTop atTop) |
| 132 | (z : L.limitCarrier.carrier) (x : E) (hx : x ∈ (extChartAt (𝓡 3) z).target) |
| 133 | (v w : E) : |
| 134 | fderiv ℝ (fderiv ℝ (b ∘ (extChartAt (𝓡 3) z).symm)) x v w = |
| 135 | fderiv ℝ (b ∘ (extChartAt (𝓡 3) z).symm) x |
| 136 | (CoordinateExponential.christoffelBilinear |
| 137 | ((L.limitFlow.metric 0).pullbackCoefficients (extChartAt (𝓡 3) z).symm) x v w) := by |
| 138 | let c := (extChartAt (𝓡 3) z).symm |
| 139 | let f := fun k => G.normalizedPotentialPullback L (σ k) ∘ c |
| 140 | let B := fun k y => G.normalizedPotentialSpacetimeCoefficients L z (σ k) (0, y) |
| 141 | let B₀ := (L.limitFlow.metric 0).pullbackCoefficients c |
| 142 | have hJ (m : ℕ) := (hjets z m {x} isCompact_singleton (singleton_subset_iff.mpr hx)).tendsto_at |
| 143 | (mem_singleton x) |
| 144 | have hd : Tendsto (fun k => fderiv ℝ (f k) x) atTop (𝓝 (fderiv ℝ (b ∘ c) x)) := |
| 145 | tendsto_fderiv_of_jet_one (hJ 1) |
| 146 | have heval : Continuous (fun A : E [×2]→L[ℝ] ℝ => A ![v, w]) := by fun_prop |
| 147 | have hdd := heval.continuousAt.tendsto.comp (hJ 2) |
| 148 | simp only [Function.comp_def, iteratedFDeriv_two_apply, Matrix.cons_val_zero, |
| 149 | Matrix.cons_val_one] at hdd |
| 150 | have hBJ (m : ℕ) := ((G.normalizedPotentialCoefficients_smooth_convergence L z).2 |
| 151 | m {x} isCompact_singleton (singleton_subset_iff.mpr hx)).tendsto_at (mem_singleton x) |
| 152 | have hB : Tendsto (fun k => B k x) atTop (𝓝 (B₀ x)) := |
| 153 | (tendsto_value_of_jet_zero (hBJ 0)).comp hσ.tendsto_atTop |
| 154 | have hdB : Tendsto (fun k => fderiv ℝ (B k) x) atTop (𝓝 (fderiv ℝ B₀ x)) := |
| 155 | (tendsto_fderiv_of_jet_one (hBJ 1)).comp hσ.tendsto_atTop |
| 156 | have hi := ((L.limitFlow.metric 0).isInvertible_chartCoefficients z hx).contDiffAt_map_inverse |
| 157 | (n := ∞) |>.continuousAt.tendsto.comp hB |
| 158 | have hkoszul : Continuous (fun A : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ => |
| 159 | metricKoszulCovector A v w) := by |
| 160 | have hflip : Continuous (fun A : E →L[ℝ] E →L[ℝ] ℝ => A.flip) := |
| 161 | (ContinuousLinearMap.flipₗᵢ ℝ E E ℝ).continuous |
| 162 | have hflip' : Continuous (fun A : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ => A.flip) := |
| 163 | (ContinuousLinearMap.flipₗᵢ ℝ E E (E →L[ℝ] ℝ)).continuous |
| 164 | unfold metricKoszulCovector |
| 165 | fun_prop |
| 166 | have hΓ := tendsto_clm_apply hi (hkoszul.continuousAt.tendsto.comp hdB) |
| 167 | change Tendsto (fun k => CoordinateExponential.christoffelBilinear (B k) x v w) atTop |
| 168 | (𝓝 (CoordinateExponential.christoffelBilinear B₀ x v w)) at hΓ |
| 169 | have hmain := tendsto_clm_apply hd hΓ |
| 170 | let H₀ := fun a : ℝ × E => (L.limitFlow.metric a.1).pullbackCoefficients c a.2 |
| 171 | have hH := (G.normalizedPotentialSpacetimeCoefficients_tendsto_jets L z 1 |
| 172 | (K := {(0, x)}) isCompact_singleton |
| 173 | (singleton_subset_iff.mpr ⟨by norm_num, hx⟩)).tendsto_at (mem_singleton (0, x)) |
| 174 | have htime := tendsto_clm_apply |
| 175 | ((tendsto_fderiv_of_jet_one hH).comp hσ.tendsto_atTop) |
| 176 | (tendsto_const_nhds (x := (1, (0 : E)))) |
| 177 | have hnum := (tendsto_clm_apply (tendsto_clm_apply (hB.add htime) |
| 178 | (tendsto_const_nhds (x := v))) (tendsto_const_nhds (x := w))) |
| 179 | have hscale := (G.normalizedPotentialPullback_scale_tendsto_atTop L hD p hescape).comp |
| 180 | hσ.tendsto_atTop |
| 181 | have hforce := hnum.div_atTop (hscale.const_mul_atTop (by norm_num : (0 : ℝ) < 2)) |
| 182 | have hdom := (G.normalizedPotential_chart_eventually_domain L z {x} isCompact_singleton |
| 183 | (singleton_subset_iff.mpr hx)).filter_mono hσ.tendsto_atTop |
| 184 | have hsum := hmain.add hforce |
| 185 | simp only [add_zero] at hsum |
| 186 | apply tendsto_nhds_unique hdd |
| 187 | apply hsum.congr' |
| 188 | filter_upwards [hdom] with k hk |
| 189 | have hh := G.normalizedPotentialPullback_fderiv2 L z (σ k) x hx (hk x (mem_singleton x)) v w |
| 190 | dsimp only at hh |
| 191 | rw [G.normalizedPotentialSpacetimeCoefficients_deriv_time L z (σ k) x hx |
| 192 | (hk x (mem_singleton x))] at hh |
| 193 | exact hh.symm |
| 194 | |
| 195 | /-- The limiting Hessian is zero in the retained limiting metric. -/ |
| 196 | theorem normalizedPotential_limit_hasZeroHessian |
| 197 | (hσ : StrictMono σ) (hD : S.connection.CurvatureTensorCalculus) (p : M) |
| 198 | (hescape : Tendsto (fun k => (S.metric.edist p (q k)).toReal) atTop atTop) |
| 199 | (hb : ContMDiff (𝓡 3) 𝓘(ℝ, ℝ) ∞ b) : |
| 200 | RiemannianMetric.HasZeroHessian (L.limitFlow.connection 0) b := by |
| 201 | intro z v w |
| 202 | let c := extChartAt (𝓡 3) z |
| 203 | have hc : ContMDiffOn (𝓡 3) (𝓡 3) ∞ c.symm c.target := |
| 204 | contMDiffOn_extChartAt_symm z |
| 205 | have hi (y : E) (hy : y ∈ c.target) : |
| 206 | (mfderiv (𝓡 3) (𝓡 3) c.symm y).IsInvertible := by |
| 207 | simpa only [modelWithCornersSelf_coe, range_id, mfderivWithin_univ] using |
| 208 | (isInvertible_mfderivWithin_extChartAt_symm (I := 𝓡 3) hy) |
| 209 | let A : E →L[ℝ] E := mfderiv (𝓡 3) (𝓡 3) c.symm (c z) |
| 210 | have hA : A.IsInvertible := hi (c z) (mem_extChartAt_target z) |
| 211 | have hh := (L.limitFlow.connection 0).hessian_in_smooth_parametrization |
| 212 | (isOpen_extChartAt_target z) hc hi (mem_extChartAt_target z) |
| 213 | (hb (c.symm (c z))) (A.inverse v) (A.inverse w) |
| 214 | rw [G.normalizedPotential_limit_coordinate_hessian L hjets hσ hD p hescape z (c z) |
| 215 | (mem_extChartAt_target z) (A.inverse v) (A.inverse w), sub_self] at hh |
| 216 | have hcz : c.symm (c z) = z := c.left_inv (mem_extChartAt_source z) |
| 217 | change (L.limitFlow.connection 0).hessian b (c.symm (c z)) |
| 218 | (A (A.inverse v)) (A (A.inverse w)) = 0 at hh |
| 219 | have hv : A (A.inverse v) = v := hA.self_apply_inverse v |
| 220 | have hw : A (A.inverse w) = w := hA.self_apply_inverse w |
| 221 | rw [hcz, hv, hw] at hh |
| 222 | exact hh |
| 223 | |
| 224 | omit hjets in |
| 225 | private theorem normalizedPotential_source_chart_energy (z : L.limitCarrier.carrier) |
| 226 | (k : ℕ) (x : E) (hx : x ∈ (extChartAt (𝓡 3) z).target) |
| 227 | (hxk : (extChartAt (𝓡 3) z).symm x ∈ L.exhaustion k) : |
| 228 | let f := G.normalizedPotentialPullback L k ∘ (extChartAt (𝓡 3) z).symm |
| 229 | let B := G.normalizedPotentialSpacetimeCoefficients L z k (0, x) |
| 230 | S.metric.inner (G.unscaledOriginalEmbedding L k ((extChartAt (𝓡 3) z).symm x)) |
| 231 | (S.connection.gradient (S.normalizedPotential (q (L.subsequence k))) |
| 232 | (G.unscaledOriginalEmbedding L k ((extChartAt (𝓡 3) z).symm x))) |
| 233 | (S.connection.gradient (S.normalizedPotential (q (L.subsequence k))) |
| 234 | (G.unscaledOriginalEmbedding L k ((extChartAt (𝓡 3) z).symm x))) = |
| 235 | fderiv ℝ f x (B.inverse (fderiv ℝ f x)) := by |
| 236 | let c := (extChartAt (𝓡 3) z).symm |
| 237 | let e := G.unscaledOriginalEmbedding L k ∘ c |
| 238 | let eS := L.embedding k ∘ c |
| 239 | let d := (Poincare.Manifold.shrinkDiffeomorph (𝓡 3) M).symm |
| 240 | have hc : ContMDiffAt (𝓡 3) (𝓡 3) ∞ c x := |
| 241 | (contMDiffOn_extChartAt_symm (n := ∞) z).contMDiffAt |
| 242 | ((isOpen_extChartAt_target z).mem_nhds hx) |
| 243 | have hiE : IsLocalDiffeomorphAt (𝓡 3) (𝓡 3) ∞ |
| 244 | (G.unscaledOriginalEmbedding L k) (c x) := |
| 245 | (L.embedding_smooth k ⟨c x, hxk⟩).comp (𝓡 3) M (d.isLocalDiffeomorph _) |
| 246 | have hiC : (mfderiv (𝓡 3) (𝓡 3) c x).IsInvertible := by |
| 247 | simpa only [modelWithCornersSelf_coe, range_id, mfderivWithin_univ] using |
| 248 | (isInvertible_mfderivWithin_extChartAt_symm (I := 𝓡 3) hx) |
| 249 | have he := hiE.contMDiffAt.comp x hc |
| 250 | have hi : (mfderiv (𝓡 3) (𝓡 3) e x).IsInvertible := by |
| 251 | dsimp only [e] |
| 252 | rw [mfderiv_comp x (hiE.contMDiffAt.mdifferentiableAt (by simp)) |
| 253 | (hc.mdifferentiableAt (by simp))] |
| 254 | exact (show (mfderiv (𝓡 3) (𝓡 3) (G.unscaledOriginalEmbedding L k) (c x)).IsInvertible |
| 255 | from ⟨hiE.mfderivToContinuousLinearEquiv (by simp), rfl⟩).comp hiC |
| 256 | have hmetric : S.metric.pullbackCoefficients e x = |
| 257 | G.normalizedPotentialSpacetimeCoefficients L z k (0, x) := by |
| 258 | ext v w |
| 259 | have hsmall : MDifferentiableAt (𝓡 3) (𝓡 3) eS x := |
| 260 | (((L.embedding_smooth k ⟨c x, hxk⟩).contMDiffAt.comp x hc).mdifferentiableAt (by simp)) |
| 261 | change S.metric.inner (d (eS x)) |
| 262 | (mfderiv (𝓡 3) (𝓡 3) (d ∘ eS) x v) |
| 263 | (mfderiv (𝓡 3) (𝓡 3) (d ∘ eS) x w) = _ |
| 264 | rw [mfderiv_comp x (d.contMDiff.mdifferentiable (by simp) _) hsmall] |
| 265 | change S.metric.inner _ _ _ = (G.unscaledSourceFlow.metric 0).inner _ _ _ |
| 266 | rw [G.unscaledSourceFlow_metric_zero] |
| 267 | rfl |
| 268 | have hh := S.connection.gradient_normSq_in_parametrization |
| 269 | (he.mdifferentiableAt (by simp)) hi |
| 270 | ((S.normalizedPotential_contMDiff (q (L.subsequence k)) (e x)).mdifferentiableAt (by simp)) |
| 271 | rw [hmetric] at hh |
| 272 | exact hh |
| 273 | |
| 274 | /-- The source normalization survives at the retained limiting basepoint. -/ |
| 275 | theorem normalizedPotential_limit_unit_at_base |
| 276 | (hσ : StrictMono σ) (hD : S.connection.CurvatureTensorCalculus) (p : M) |
| 277 | (hescape : Tendsto (fun k => (S.metric.edist p (q k)).toReal) atTop atTop) |
| 278 | (hb : ContMDiff (𝓡 3) 𝓘(ℝ, ℝ) ∞ b) : |
| 279 | (L.limitFlow.metric 0).inner L.base |
| 280 | ((L.limitFlow.connection 0).gradient b L.base) |
| 281 | ((L.limitFlow.connection 0).gradient b L.base) = 1 := by |
| 282 | let c := extChartAt (𝓡 3) L.base |
| 283 | let x := c L.base |
| 284 | let B := fun k => G.normalizedPotentialSpacetimeCoefficients L L.base (σ k) (0, x) |
| 285 | let B₀ := (L.limitFlow.metric 0).pullbackCoefficients c.symm x |
| 286 | let f := fun k => G.normalizedPotentialPullback L (σ k) ∘ c.symm |
| 287 | have hx : x ∈ c.target := mem_extChartAt_target L.base |
| 288 | have hcx : c.symm x = L.base := c.left_inv (mem_extChartAt_source L.base) |
| 289 | have hB := (tendsto_value_of_jet_zero |
| 290 | (((G.normalizedPotentialCoefficients_smooth_convergence L L.base).2 0 {x} |
| 291 | isCompact_singleton (singleton_subset_iff.mpr hx)).tendsto_at (mem_singleton x))).comp |
| 292 | hσ.tendsto_atTop |
| 293 | have hd : Tendsto (fun k => fderiv ℝ (f k) x) atTop (𝓝 (fderiv ℝ (b ∘ c.symm) x)) := |
| 294 | tendsto_fderiv_of_jet_one ((hjets L.base 1 {x} isCompact_singleton |
| 295 | (singleton_subset_iff.mpr hx)).tendsto_at (mem_singleton x)) |
| 296 | have hi := ((L.limitFlow.metric 0).isInvertible_chartCoefficients L.base hx).contDiffAt_map_inverse |
| 297 | (n := ∞) |>.continuousAt.tendsto.comp hB |
| 298 | have henergy := tendsto_clm_apply hd (tendsto_clm_apply hi hd) |
| 299 | have hdom := (G.normalizedPotential_chart_eventually_domain L L.base {x} |
| 300 | isCompact_singleton (singleton_subset_iff.mpr hx)).filter_mono hσ.tendsto_atTop |
| 301 | have hscale := (G.normalizedPotentialPullback_scale_tendsto_atTop L hD p hescape).comp |
| 302 | hσ.tendsto_atTop |
| 303 | have hone : ∀ᶠ k in atTop, fderiv ℝ (f k) x ((B k).inverse (fderiv ℝ (f k) x)) = 1 := by |
| 304 | filter_upwards [hdom, hscale.eventually_gt_atTop 0] with k hk hpos |
| 305 | have hh := G.normalizedPotential_source_chart_energy L L.base (σ k) x hx |
| 306 | (hk x (mem_singleton x)) |
| 307 | dsimp only at hh |
| 308 | change S.metric.inner (G.unscaledOriginalEmbedding L (σ k) (c.symm x)) |
| 309 | (S.connection.gradient (S.normalizedPotential (q (L.subsequence (σ k)))) |
| 310 | (G.unscaledOriginalEmbedding L (σ k) (c.symm x))) |
| 311 | (S.connection.gradient (S.normalizedPotential (q (L.subsequence (σ k)))) |
| 312 | (G.unscaledOriginalEmbedding L (σ k) (c.symm x))) = _ at hh |
| 313 | rw [hcx, G.unscaledOriginalEmbedding_base] at hh |
| 314 | rw [S.normalizedPotential_gradient_sq_center hpos] at hh |
| 315 | exact hh.symm |
| 316 | have hc : ContMDiffAt (𝓡 3) (𝓡 3) ∞ c.symm x := |
| 317 | (contMDiffOn_extChartAt_symm (n := ∞) L.base).contMDiffAt |
| 318 | ((isOpen_extChartAt_target L.base).mem_nhds hx) |
| 319 | have hiC : (mfderiv (𝓡 3) (𝓡 3) c.symm x).IsInvertible := by |
| 320 | simpa only [modelWithCornersSelf_coe, range_id, mfderivWithin_univ] using |
| 321 | (isInvertible_mfderivWithin_extChartAt_symm (I := 𝓡 3) hx) |
| 322 | have hlimit := (L.limitFlow.connection 0).gradient_normSq_in_parametrization |
| 323 | (hc.mdifferentiableAt (by simp)) hiC ((hb (c.symm x)).mdifferentiableAt (by simp)) |
| 324 | rw [hcx] at hlimit |
| 325 | rw [hlimit] |
| 326 | exact tendsto_nhds_unique henergy (tendsto_const_nhds.congr' (hone.mono fun _ h => h.symm)) |
| 327 | |
| 328 | /-- Parallelism propagates the exact basepoint normalization over the |
| 329 | connected retained limit. -/ |
| 330 | theorem normalizedPotential_limit_hasUnitGradient |
| 331 | (hσ : StrictMono σ) (hD : S.connection.CurvatureTensorCalculus) (p : M) |
| 332 | (hescape : Tendsto (fun k => (S.metric.edist p (q k)).toReal) atTop atTop) |
| 333 | (hb : ContMDiff (𝓡 3) 𝓘(ℝ, ℝ) ∞ b) : |
| 334 | RiemannianMetric.HasUnitGradient (L.limitFlow.connection 0) b := by |
| 335 | let : PreconnectedSpace L.limitCarrier.carrier := ⟨L.limitCarrier.connected.isPreconnected⟩ |
| 336 | have hz := G.normalizedPotential_limit_hasZeroHessian L hjets hσ hD p hescape hb |
| 337 | let D := L.limitFlow.connection 0 |
| 338 | let g := L.limitFlow.metric 0 |
| 339 | have he : MDifferentiable (𝓡 3) 𝓘(ℝ, ℝ) |
| 340 | (fun x => g.inner x (D.gradient b x) (D.gradient b x)) := by |
| 341 | intro x |
| 342 | have hgrad := D.contMDiffAt_gradient (hb x) |
| 343 | have h := ((g.contMDiff x).clm_bundle_apply hgrad).clm_bundle_apply hgrad |
| 344 | exact ((Bundle.contMDiffAt_totalSpace.mp h).2).mdifferentiableAt (by simp) |
| 345 | intro x |
| 346 | calc |
| 347 | g.inner x (D.gradient b x) (D.gradient b x) = |
| 348 | g.inner L.base (D.gradient b L.base) (D.gradient b L.base) := by |
| 349 | apply Poincare.Manifold.eq_of_mvfderiv_eq_zero he |
| 350 | intro y v |
| 351 | rw [D.mvfderiv_gradient_normSq (hb y), hz y v, mul_zero] |
| 352 | _ = 1 := G.normalizedPotential_limit_unit_at_base L hjets hσ hD p hescape hb |
| 353 | |
| 354 | /-- The extracted function is the normalized parallel potential of this |
| 355 | same pointed limit, with no additional geometric limit assumption. -/ |
| 356 | theorem normalizedPotential_limit_identities |
| 357 | (hσ : StrictMono σ) (hD : S.connection.CurvatureTensorCalculus) (p : M) |
| 358 | (hescape : Tendsto (fun k => (S.metric.edist p (q k)).toReal) atTop atTop) |
| 359 | (hb : ContMDiff (𝓡 3) 𝓘(ℝ, ℝ) ∞ b) : |
| 360 | b L.base = 0 ∧ RiemannianMetric.HasUnitGradient (L.limitFlow.connection 0) b ∧ |
| 361 | RiemannianMetric.HasZeroHessian (L.limitFlow.connection 0) b := |
| 362 | ⟨G.normalizedPotential_limit_base L hjets, |
| 363 | G.normalizedPotential_limit_hasUnitGradient L hjets hσ hD p hescape hb, |
| 364 | G.normalizedPotential_limit_hasZeroHessian L hjets hσ hD p hescape hb⟩ |
| 365 | |
| 366 | end PoincareMT.ShrinkingSolitonFlow |