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.TwoDimensional.Ancient.Sequence.Coercivity.Metric |
| 2 | import PoincareLib.Geometry.RicciFlow.Soliton.TwoDimensional.Ancient.Sequence.Coercivity.Curve |
| 3 | import PoincareLib.Geometry.RicciFlow.Soliton.TwoDimensional.Ancient.Sequence.Infimum |
| 4 | import Mathlib.MeasureTheory.Function.L2Space |
| 5 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts |
| 6 | import PoincareLib.Geometry.Riemannian.Distance.CompleteBalls |
| 7 | import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli |
| 8 | import Mathlib.Topology.MetricSpace.Equicontinuity |
| 9 | |
| 10 | /-! |
| 11 | # Compactness of ancient-surface backward paths |
| 12 | |
| 13 | The actual backward action bounds the reference energy after squaring the |
| 14 | path parameter, including paths with no endpoint derivative. This supplies |
| 15 | the path compactness used in the direct method for Morgan--Tian, |
| 16 | Theorem 7.10 and Claim 7.11, pp. 154--156. |
| 17 | |
| 18 | The square substitution and interior energy argument are adapted from |
| 19 | Mapher's `Proofs/M08/ReferenceEnergy.lean`, `SquareEnergy.lean`, and |
| 20 | `PathEnergy.lean`, revision `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`. |
| 21 | Nonnegative curvature replaces their interval curvature |
| 22 | bound and curvature-theory assumptions. |
| 23 | -/ |
| 24 | |
| 25 | set_option autoImplicit false |
| 26 | set_option backward.isDefEq.respectTransparency false |
| 27 | |
| 28 | open Set MeasureTheory |
| 29 | open Filter |
| 30 | open scoped Manifold ContDiff Bundle intervalIntegral Topology BoundedContinuousFunction |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | namespace PoincareMT.ReducedLengthMinimum |
| 35 | |
| 36 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 37 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 38 | |
| 39 | /-- Squared velocity in a fixed reference metric. -/ |
| 40 | noncomputable def referenceSpeedSq (g : RiemannianMetric n M) |
| 41 | (γ : ℝ → M) (s : ℝ) : ℝ := |
| 42 | g.inner (γ s) (curveVelocity (n := n) γ s) (curveVelocity (n := n) γ s) |
| 43 | |
| 44 | theorem referenceSpeedSq_nonneg (g : RiemannianMetric n M) |
| 45 | (γ : ℝ → M) (s : ℝ) : 0 ≤ referenceSpeedSq g γ s := by |
| 46 | by_cases hv : curveVelocity (n := n) γ s = 0 |
| 47 | · simp [referenceSpeedSq, hv] |
| 48 | · exact (g.pos (γ s) _ hv).le |
| 49 | |
| 50 | theorem referenceSpeedSq_continuousOn {γ : ℝ → M} {I : Set ℝ} |
| 51 | (g : RiemannianMetric n M) (hI : IsOpen I) |
| 52 | (hγ : ContMDiffOn (𝓘(ℝ, ℝ)) (𝓡 n) 1 γ I) : |
| 53 | ContinuousOn (referenceSpeedSq g γ) I := by |
| 54 | have h := (g.continuousOn_speed_of_contMDiffOn_one hI hγ).pow 2 |
| 55 | apply h.congr |
| 56 | intro s _ |
| 57 | exact (Real.sq_sqrt (referenceSpeedSq_nonneg g γ s)).symm |
| 58 | |
| 59 | omit [IsManifold (𝓡 n) ∞ M] in |
| 60 | theorem curveVelocity_comp_sq {γ : ℝ → M} {s : ℝ} |
| 61 | (hγ : MDifferentiableAt (𝓘(ℝ, ℝ)) (𝓡 n) γ (s ^ 2)) : |
| 62 | curveVelocity (n := n) (fun r ↦ γ (r ^ 2)) s = |
| 63 | (2 * s) • curveVelocity (n := n) γ (s ^ 2) := by |
| 64 | have hsq : HasDerivAt (fun r : ℝ ↦ r ^ 2) (2 * s) s := by |
| 65 | simpa using hasDerivAt_pow 2 s |
| 66 | have hsqmf_apply : mfderiv (𝓘(ℝ, ℝ)) (𝓘(ℝ, ℝ)) |
| 67 | (fun r : ℝ ↦ r ^ 2) s 1 = 2 * s := by |
| 68 | have hm := hsq.hasFDerivAt.hasMFDerivAt.mfderiv |
| 69 | have hv := congrArg (fun L : TangentSpace (𝓘(ℝ, ℝ)) s →L[ℝ] |
| 70 | TangentSpace (𝓘(ℝ, ℝ)) (s ^ 2) ↦ L 1) hm |
| 71 | change (mfderiv (𝓘(ℝ, ℝ)) (𝓘(ℝ, ℝ)) (fun r : ℝ ↦ r ^ 2) s) (1 : ℝ) = |
| 72 | (ContinuousLinearMap.toSpanSingleton ℝ (2 * s)) (1 : ℝ) at hv |
| 73 | simpa only [ContinuousLinearMap.toSpanSingleton_apply, one_smul] using hv |
| 74 | change (mfderiv (𝓘(ℝ, ℝ)) (𝓡 n) (γ ∘ fun r : ℝ ↦ r ^ 2) s) 1 = _ |
| 75 | have hchain := mfderiv_comp_apply s (f := fun r : ℝ ↦ r ^ 2) (g := γ) |
| 76 | hγ hsq.differentiableAt.mdifferentiableAt (1 : TangentSpace (𝓘(ℝ, ℝ)) s) |
| 77 | have hinput : mfderiv (𝓘(ℝ, ℝ)) (𝓘(ℝ, ℝ)) |
| 78 | (fun r : ℝ ↦ r ^ 2) s 1 = |
| 79 | (2 * s) • (1 : TangentSpace (𝓘(ℝ, ℝ)) s) := by |
| 80 | rw [hsqmf_apply] |
| 81 | simp |
| 82 | rw [hinput, map_smul] at hchain |
| 83 | simpa only [curveVelocity, Function.comp_apply] using hchain |
| 84 | |
| 85 | private theorem squarePath_speed {J : Set ℝ} {F : RicciFlow n M J} |
| 86 | {T τ : ℝ} (p : BackwardTimePath F T 0 τ) |
| 87 | (g : RiemannianMetric n M) {s : ℝ} (hs : s ∈ Ioo 0 (Real.sqrt τ)) : |
| 88 | referenceSpeedSq g (fun r ↦ p.curve (r ^ 2)) s = |
| 89 | 2 * ((Real.sqrt (s ^ 2) * referenceSpeedSq g p.curve (s ^ 2)) * (2 * s)) := by |
| 90 | have hτ : s ^ 2 ∈ Ioo 0 τ := |
| 91 | ⟨sq_pos_of_pos hs.1, (Real.lt_sqrt hs.1.le).mp hs.2⟩ |
| 92 | have hγ := (p.regular _ hτ).contMDiffAt (isOpen_Ioo.mem_nhds hτ) |
| 93 | have hv := curveVelocity_comp_sq (hγ.mdifferentiableAt one_ne_zero) |
| 94 | unfold referenceSpeedSq |
| 95 | rw [hv, Real.sqrt_sq hs.1.le] |
| 96 | simp only [map_smul, smul_apply, smul_eq_mul] |
| 97 | ring |
| 98 | |
| 99 | /-- Squaring the parameter removes the vanishing energy weight. -/ |
| 100 | theorem squarePath_referenceEnergy {J : Set ℝ} {F : RicciFlow n M J} |
| 101 | {T τ : ℝ} (p : BackwardTimePath F T 0 τ) (g : RiemannianMetric n M) |
| 102 | (hW : IntervalIntegrable (fun s ↦ Real.sqrt s * referenceSpeedSq g p.curve s) |
| 103 | volume 0 τ) : |
| 104 | IntervalIntegrable (referenceSpeedSq g (fun r ↦ p.curve (r ^ 2))) |
| 105 | volume 0 (Real.sqrt τ) ∧ |
| 106 | (∫ s in 0..Real.sqrt τ, referenceSpeedSq g (fun r ↦ p.curve (r ^ 2)) s) = |
| 107 | 2 * ∫ s in 0..τ, Real.sqrt s * referenceSpeedSq g p.curve s := by |
| 108 | let W := fun s ↦ Real.sqrt s * referenceSpeedSq g p.curve s |
| 109 | have hderiv (s : ℝ) : HasDerivAt (fun r : ℝ ↦ r ^ 2) (2 * s) s := by |
| 110 | simpa using hasDerivAt_pow 2 s |
| 111 | have hnonneg : ∀ s ∈ uIoo 0 (Real.sqrt τ), 0 ≤ 2 * s := by |
| 112 | intro s hs |
| 113 | rw [uIoo_of_le (Real.sqrt_nonneg τ)] at hs |
| 114 | exact mul_nonneg (by norm_num) hs.1.le |
| 115 | have htrans : IntervalIntegrable (fun s ↦ W (s ^ 2) * (2 * s)) |
| 116 | volume 0 (Real.sqrt τ) := by |
| 117 | apply (intervalIntegral.integrable_comp_mul_deriv_iff_of_deriv_nonneg |
| 118 | (f := fun s : ℝ ↦ s ^ 2) (f' := fun s ↦ 2 * s) (g := W) |
| 119 | (continuous_id.pow 2).continuousOn (fun s _ ↦ hderiv s) hnonneg).mpr |
| 120 | simpa only [zero_pow two_ne_zero, Real.sq_sqrt p.ordered.le] using hW |
| 121 | have hidentity : (∫ s in 0..Real.sqrt τ, W (s ^ 2) * (2 * s)) = |
| 122 | ∫ s in 0..τ, W s := by |
| 123 | have h := intervalIntegral.integral_comp_mul_deriv_of_deriv_nonneg |
| 124 | (f := fun s : ℝ ↦ s ^ 2) (f' := fun s ↦ 2 * s) (g := W) |
| 125 | (continuous_id.pow 2).continuousOn (fun s _ ↦ hderiv s) hnonneg |
| 126 | simpa only [Function.comp_apply, zero_pow two_ne_zero, Real.sq_sqrt p.ordered.le] using h |
| 127 | constructor |
| 128 | · apply (htrans.const_mul 2).congr_uIoo |
| 129 | intro s hs |
| 130 | rw [uIoo_of_le (Real.sqrt_nonneg τ)] at hs |
| 131 | exact (squarePath_speed p g hs).symm |
| 132 | · calc |
| 133 | _ = ∫ s in 0..Real.sqrt τ, 2 * (W (s ^ 2) * (2 * s)) := |
| 134 | intervalIntegral.integral_congr_Ioo_of_le (Real.sqrt_nonneg τ) |
| 135 | (fun s hs ↦ squarePath_speed p g hs) |
| 136 | _ = 2 * ∫ s in 0..Real.sqrt τ, W (s ^ 2) * (2 * s) := |
| 137 | intervalIntegral.integral_const_mul _ _ |
| 138 | _ = _ := by rw [hidentity] |
| 139 | |
| 140 | private theorem sqrt_integral_bound {q : ℝ → ℝ} {s t : ℝ} |
| 141 | (hst : s ≤ t) (hq : ContinuousOn q (Icc s t)) (hnonneg : ∀ r, 0 ≤ q r) : |
| 142 | (∫ r in Icc s t, Real.sqrt (q r)) ≤ |
| 143 | Real.sqrt (∫ r in s..t, q r) * Real.sqrt (t - s) := by |
| 144 | have hsq : MemLp (fun r ↦ Real.sqrt (q r)) 2 (volume.restrict (Icc s t)) := by |
| 145 | apply (memLp_two_iff_integrable_sq |
| 146 | ((Real.continuous_sqrt.comp_continuousOn hq).aestronglyMeasurable |
| 147 | measurableSet_Icc)).mpr |
| 148 | simpa only [Function.comp_apply, Real.sq_sqrt (hnonneg _)] using |
| 149 | (show Integrable (fun r ↦ q r) (volume.restrict (Icc s t)) from hq.integrableOn_Icc) |
| 150 | have h := integral_mul_le_Lp_mul_Lq_of_nonneg Real.HolderConjugate.two_two |
| 151 | (ae_of_all _ (fun r ↦ Real.sqrt_nonneg (q r))) |
| 152 | (ae_of_all _ (fun _ ↦ (zero_le_one : (0 : ℝ) ≤ 1))) |
| 153 | (by simpa using hsq) (memLp_const (1 : ℝ)) |
| 154 | simpa only [mul_one, Real.rpow_two, Real.sq_sqrt (hnonneg _), one_pow, |
| 155 | ← Real.sqrt_eq_rpow, setIntegral_const, smul_eq_mul, mul_one, |
| 156 | Real.volume_real_Icc_of_le hst, integral_Icc_eq_integral_Ioc, |
| 157 | ← intervalIntegral.integral_of_le hst] using h |
| 158 | |
| 159 | variable [ConnectedSpace M] [T3Space M] |
| 160 | |
| 161 | /-- Integrated energy controls every increment, including singular endpoints. -/ |
| 162 | theorem toReal_edist_le_sqrt_energy (g : RiemannianMetric n M) {α : ℝ → M} |
| 163 | {a b C : ℝ} (hab : a < b) (hα : ContinuousOn α (Icc a b)) |
| 164 | (hreg : ContMDiffOn (𝓘(ℝ, ℝ)) (𝓡 n) 1 α (Ioo a b)) |
| 165 | (hE : IntervalIntegrable (referenceSpeedSq g α) volume a b) |
| 166 | (hbound : (∫ r in a..b, referenceSpeedSq g α r) ≤ C) : |
| 167 | ∀ s ∈ Icc a b, ∀ t ∈ Icc a b, |
| 168 | (g.edist (α s) (α t)).toReal ≤ Real.sqrt C * Real.sqrt |t - s| := by |
| 169 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 n) : M → Type _) := |
| 170 | ⟨g.toRiemannianMetric⟩ |
| 171 | let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) |
| 172 | (TangentSpace (𝓡 n) : M → Type _) := |
| 173 | ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ ↦ rfl⟩⟩ |
| 174 | let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓡 n) M |
| 175 | let : MetricSpace M := EMetricSpace.toMetricSpace (g.edist_ne_top) |
| 176 | change ∀ s ∈ Icc a b, ∀ t ∈ Icc a b, |
| 177 | dist (α s) (α t) ≤ Real.sqrt C * Real.sqrt |t - s| |
| 178 | have hordered (s t : ℝ) (hs : s ∈ Ioo a b) (ht : t ∈ Ioo a b) (hst : s ≤ t) : |
| 179 | dist (α s) (α t) ≤ Real.sqrt C * Real.sqrt (t - s) := by |
| 180 | have hsub : Icc s t ⊆ Ioo a b := Icc_subset_Ioo hs.1 ht.2 |
| 181 | have hq := (referenceSpeedSq_continuousOn g isOpen_Ioo hreg).mono hsub |
| 182 | have hsqrt : ContinuousOn (fun r ↦ Real.sqrt (referenceSpeedSq g α r)) (Icc s t) := |
| 183 | Real.continuous_sqrt.comp_continuousOn hq |
| 184 | have hlength : Manifold.pathELength (𝓡 n) α s t = |
| 185 | ENNReal.ofReal (∫ r in Icc s t, Real.sqrt (referenceSpeedSq g α r)) := by |
| 186 | rw [Manifold.pathELength_eq_lintegral_mfderiv_Icc, |
| 187 | ofReal_integral_eq_lintegral_ofReal hsqrt.integrableOn_Icc |
| 188 | (ae_of_all _ (fun r ↦ Real.sqrt_nonneg _))] |
| 189 | apply lintegral_congr |
| 190 | intro r |
| 191 | rw [← ofReal_norm, norm_eq_sqrt_real_inner] |
| 192 | rfl |
| 193 | have hdist : dist (α s) (α t) ≤ |
| 194 | ∫ r in Icc s t, Real.sqrt (referenceSpeedSq g α r) := by |
| 195 | apply (edist_le_ofReal (integral_nonneg (fun r ↦ Real.sqrt_nonneg _))).mp |
| 196 | change Manifold.riemannianEDist (𝓡 n) (α s) (α t) ≤ _ |
| 197 | rw [← hlength] |
| 198 | exact Manifold.riemannianEDist_le_pathELength (hreg.mono hsub) rfl rfl hst |
| 199 | have hpart : (∫ r in s..t, referenceSpeedSq g α r) ≤ C := |
| 200 | (intervalIntegral.integral_mono_interval hs.1.le hst ht.2.le |
| 201 | (ae_of_all _ (referenceSpeedSq_nonneg g α)) hE).trans hbound |
| 202 | exact hdist.trans ((sqrt_integral_bound hst hq (referenceSpeedSq_nonneg g α)).trans |
| 203 | (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hpart) (Real.sqrt_nonneg _))) |
| 204 | have hopen (s : ℝ) (hs : s ∈ Ioo a b) (t : ℝ) (ht : t ∈ Ioo a b) : |
| 205 | dist (α s) (α t) ≤ Real.sqrt C * Real.sqrt |t - s| := by |
| 206 | rcases le_total s t with hst | hts |
| 207 | · simpa only [abs_of_nonneg (sub_nonneg.mpr hst)] using hordered s t hs ht hst |
| 208 | · simpa only [dist_comm, abs_sub_comm, abs_of_nonneg (sub_nonneg.mpr hts)] using |
| 209 | hordered t s ht hs hts |
| 210 | have hleft (s : ℝ) (hs : s ∈ Icc a b) (t : ℝ) (ht : t ∈ Ioo a b) : |
| 211 | dist (α s) (α t) ≤ Real.sqrt C * Real.sqrt |t - s| := by |
| 212 | apply le_on_closure (fun r hr ↦ hopen r hr t ht) |
| 213 | · simpa only [closure_Ioo hab.ne, Function.comp_def] using |
| 214 | continuous_dist.comp_continuousOn (hα.prodMk continuousOn_const) |
| 215 | · exact (continuous_const.mul |
| 216 | (Real.continuous_sqrt.comp (continuous_const.sub continuous_id).abs)).continuousOn |
| 217 | · simpa only [closure_Ioo hab.ne] using hs |
| 218 | intro s hs t ht |
| 219 | apply le_on_closure (fun r hr ↦ hleft s hs r hr) |
| 220 | · simpa only [closure_Ioo hab.ne, Function.comp_def] using |
| 221 | continuous_dist.comp_continuousOn (continuousOn_const.prodMk hα) |
| 222 | · exact (continuous_const.mul |
| 223 | (Real.continuous_sqrt.comp (continuous_id.sub continuous_const).abs)).continuousOn |
| 224 | · simpa only [closure_Ioo hab.ne] using ht |
| 225 | |
| 226 | end PoincareMT.ReducedLengthMinimum |
| 227 | |
| 228 | namespace PoincareMT.AncientKappaSolution |
| 229 | |
| 230 | variable {M : Type u} [TopologicalSpace M] |
| 231 | [ChartedSpace (EuclideanSpace ℝ (Fin 2)) M] [IsManifold (𝓡 2) ∞ M] |
| 232 | [MeasurableSpace M] [BorelSpace M] [T2Space M] [T3Space M] |
| 233 | [SecondCountableTopology M] [ConnectedSpace M] |
| 234 | |
| 235 | /-- Every frozen admissible path has integrable time-zero weighted energy |
| 236 | bounded by its actual backward action. -/ |
| 237 | theorem surface_referenceWeightedEnergy_bound (K : AncientKappaSolution 2 M) |
| 238 | {τ : ℝ} (p : BackwardTimePath K.flow 0 0 τ) : |
| 239 | IntervalIntegrable (fun s ↦ Real.sqrt s * |
| 240 | ReducedLengthMinimum.referenceSpeedSq (K.flow.metric 0) p.curve s) volume 0 τ ∧ |
| 241 | (∫ s in 0..τ, Real.sqrt s * |
| 242 | ReducedLengthMinimum.referenceSpeedSq (K.flow.metric 0) p.curve s) ≤ |
| 243 | backwardLLength K.flow 0 0 τ p.curve := by |
| 244 | let W := fun s ↦ Real.sqrt s * |
| 245 | ReducedLengthMinimum.referenceSpeedSq (K.flow.metric 0) p.curve s |
| 246 | have hWnonneg (s : ℝ) : 0 ≤ W s := |
| 247 | mul_nonneg (Real.sqrt_nonneg _) (ReducedLengthMinimum.referenceSpeedSq_nonneg _ _ _) |
| 248 | have hWbound (s : ℝ) (hs : s ∈ Icc 0 τ) : |
| 249 | W s ≤ backwardLIntegrand K.flow 0 p.curve s := by |
| 250 | have hR := (K.flow.connection (0 - s)).scalar_nonnegative_of_nonnegative_curvatureOperator |
| 251 | (p.curve s) (K.nonnegative_curvature_operator (0 - s) (by linarith [hs.1]) (p.curve s)) |
| 252 | have hg := K.surface_metric_monotone (s := 0 - s) (t := 0) (by linarith [hs.1]) le_rfl |
| 253 | (p.curve s) (curveVelocity p.curve s) |
| 254 | exact mul_le_mul_of_nonneg_left (hg.trans (le_add_of_nonneg_left hR)) |
| 255 | (Real.sqrt_nonneg s) |
| 256 | have hmeas : AEStronglyMeasurable W (volume.restrict (uIoc 0 τ)) := by |
| 257 | rw [uIoc_of_le p.ordered.le, ← restrict_Ioo_eq_restrict_Ioc] |
| 258 | exact (Real.continuous_sqrt.continuousOn.mul |
| 259 | (ReducedLengthMinimum.referenceSpeedSq_continuousOn (K.flow.metric 0) |
| 260 | isOpen_Ioo p.regular)).aestronglyMeasurable measurableSet_Ioo |
| 261 | have hW : IntervalIntegrable W volume 0 τ := by |
| 262 | apply p.l_integrable.mono_fun' hmeas |
| 263 | filter_upwards [ae_restrict_mem measurableSet_uIoc] with s hs |
| 264 | rw [Real.norm_eq_abs, abs_of_nonneg (hWnonneg s)] |
| 265 | apply hWbound |
| 266 | simpa only [uIcc_of_le p.ordered.le] using uIoc_subset_uIcc hs |
| 267 | exact ⟨hW, intervalIntegral.integral_mono_on p.ordered.le hW p.l_integrable hWbound⟩ |
| 268 | |
| 269 | /-- Bounded action gives a common one-half Holder estimate in square-root time. -/ |
| 270 | theorem surface_squarePath_modulus (K : AncientKappaSolution 2 M) |
| 271 | {τ C : ℝ} (p : BackwardTimePath K.flow 0 0 τ) |
| 272 | (hC : backwardLLength K.flow 0 0 τ p.curve ≤ C) : |
| 273 | ∀ s ∈ Icc 0 (Real.sqrt τ), ∀ t ∈ Icc 0 (Real.sqrt τ), |
| 274 | ((K.flow.metric 0).edist (p.curve (s ^ 2)) (p.curve (t ^ 2))).toReal ≤ |
| 275 | Real.sqrt (2 * C) * Real.sqrt |t - s| := by |
| 276 | let g := K.flow.metric 0 |
| 277 | let α := fun s ↦ p.curve (s ^ 2) |
| 278 | have hweighted := K.surface_referenceWeightedEnergy_bound p |
| 279 | have henergy := ReducedLengthMinimum.squarePath_referenceEnergy p g hweighted.1 |
| 280 | have hcont : ContinuousOn α (Icc 0 (Real.sqrt τ)) := by |
| 281 | apply p.continuous.comp (continuous_id.pow 2).continuousOn |
| 282 | intro s hs |
| 283 | exact ⟨sq_nonneg s, (Real.le_sqrt hs.1 p.ordered.le).mp hs.2⟩ |
| 284 | have hreg : ContMDiffOn (𝓘(ℝ, ℝ)) (𝓡 2) 1 α (Ioo 0 (Real.sqrt τ)) := by |
| 285 | apply p.regular.comp ((contDiff_id.pow 2).contMDiff.contMDiffOn) |
| 286 | intro s hs |
| 287 | exact ⟨sq_pos_of_pos hs.1, (Real.lt_sqrt hs.1.le).mp hs.2⟩ |
| 288 | apply ReducedLengthMinimum.toReal_edist_le_sqrt_energy g |
| 289 | (Real.sqrt_pos.mpr p.ordered) hcont hreg henergy.1 |
| 290 | rw [henergy.2] |
| 291 | exact mul_le_mul_of_nonneg_left (hweighted.2.trans hC) (by norm_num) |
| 292 | |
| 293 | /-- A sequence of bounded-action paths with a fixed initial point has a |
| 294 | uniformly convergent subsequence in square-root time. The limit is continuous; |
| 295 | admissibility and lower semicontinuity of action are separate obligations. -/ |
| 296 | theorem exists_uniform_subsequence_of_surface_action_bound (K : AncientKappaSolution 2 M) |
| 297 | (p : M) {τ C : ℝ} |
| 298 | (paths : ℕ → BackwardTimePath K.flow 0 0 τ) |
| 299 | (hstart : ∀ k, (paths k).curve 0 = p) |
| 300 | (haction : ∀ k, backwardLLength K.flow 0 0 τ (paths k).curve ≤ C) : |
| 301 | ∃ α : C(Icc 0 (Real.sqrt τ), M), ∃ φ : ℕ → ℕ, StrictMono φ ∧ |
| 302 | α ⟨0, le_rfl, Real.sqrt_nonneg τ⟩ = p ∧ |
| 303 | ∀ ε > 0, ∃ N : ℕ, ∀ k ≥ N, ∀ s : Icc 0 (Real.sqrt τ), |
| 304 | ((K.flow.metric 0).edist ((paths (φ k)).curve (s.val ^ 2)) (α s)).toReal < ε := by |
| 305 | classical |
| 306 | let g := K.flow.metric 0 |
| 307 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 2) : M → Type _) := |
| 308 | ⟨g.toRiemannianMetric⟩ |
| 309 | let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin 2)) |
| 310 | (TangentSpace (𝓡 2) : M → Type _) := |
| 311 | ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ ↦ rfl⟩⟩ |
| 312 | let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓡 2) M |
| 313 | let : MetricSpace M := EMetricSpace.toMetricSpace (g.edist_ne_top) |
| 314 | let f : ℕ → Icc 0 (Real.sqrt τ) → M := fun k s ↦ (paths k).curve (s.val ^ 2) |
| 315 | have hmod (k : ℕ) (s t : Icc 0 (Real.sqrt τ)) : |
| 316 | dist (f k s) (f k t) ≤ Real.sqrt (2 * C) * Real.sqrt |t.val - s.val| := |
| 317 | K.surface_squarePath_modulus (paths k) (haction k) s s.property t t.property |
| 318 | have hequi : Equicontinuous f := by |
| 319 | intro s |
| 320 | apply Metric.equicontinuousAt_iff_right.mpr |
| 321 | intro ε hε |
| 322 | have hcont : Continuous (fun t : Icc 0 (Real.sqrt τ) ↦ |
| 323 | Real.sqrt (2 * C) * Real.sqrt |t.val - s.val|) := by fun_prop |
| 324 | have hnear := hcont.continuousAt.preimage_mem_nhds |
| 325 | (Iio_mem_nhds (show Real.sqrt (2 * C) * Real.sqrt |s.val - s.val| < ε by |
| 326 | simpa only [sub_self, abs_zero, Real.sqrt_zero, mul_zero] using hε)) |
| 327 | exact Filter.mem_of_superset hnear (fun t ht k ↦ (hmod k s t).trans_lt ht) |
| 328 | let B := {q : M | g.edist p q ≤ |
| 329 | ENNReal.ofReal (Real.sqrt (2 * C) * Real.sqrt (Real.sqrt τ))} |
| 330 | have hB : IsCompact B := g.isCompact_closedBall_of_metricComplete (K.complete 0 le_rfl) p _ |
| 331 | have hfB (k : ℕ) (s : Icc 0 (Real.sqrt τ)) : f k s ∈ B := by |
| 332 | have h := hmod k ⟨0, le_rfl, Real.sqrt_nonneg τ⟩ s |
| 333 | simp only [f, zero_pow two_ne_zero, hstart, sub_zero, |
| 334 | abs_of_nonneg s.property.1] at h |
| 335 | have hd : dist p (f k s) ≤ Real.sqrt (2 * C) * Real.sqrt (Real.sqrt τ) := |
| 336 | h.trans (mul_le_mul_of_nonneg_left (Real.sqrt_le_sqrt s.property.2) |
| 337 | (Real.sqrt_nonneg _)) |
| 338 | exact (ENNReal.ofReal_toReal (g.edist_ne_top p (f k s))).symm.le.trans |
| 339 | (ENNReal.ofReal_le_ofReal hd) |
| 340 | let F : ℕ → Icc 0 (Real.sqrt τ) →ᵇ M := fun k ↦ |
| 341 | BoundedContinuousFunction.mkOfCompact ⟨f k, hequi.continuous k⟩ |
| 342 | have hFequi : Equicontinuous (fun q : range F ↦ (q.1 : Icc 0 (Real.sqrt τ) → M)) := by |
| 343 | have h := hequi.comp (fun q : range F ↦ Classical.choose q.2) |
| 344 | convert h using 1 |
| 345 | funext q t |
| 346 | have hq := congrArg (fun a : Icc 0 (Real.sqrt τ) →ᵇ M ↦ a t) |
| 347 | (Classical.choose_spec q.2) |
| 348 | exact hq.symm |
| 349 | have hcompact := BoundedContinuousFunction.arzela_ascoli B hB (range F) |
| 350 | (by rintro _ s ⟨k, rfl⟩; exact hfB k s) hFequi |
| 351 | obtain ⟨α, _, φ, hφ, hlim⟩ := hcompact.tendsto_subseq |
| 352 | (fun k ↦ subset_closure (mem_range_self k)) |
| 353 | have hunif := BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp hlim |
| 354 | refine ⟨α.toContinuousMap, φ, hφ, ?_, ?_⟩ |
| 355 | · have hzero := hunif.tendsto_at ⟨0, le_rfl, Real.sqrt_nonneg τ⟩ |
| 356 | have hz : Tendsto (fun _ : ℕ ↦ p) atTop (𝓝 (α ⟨0, le_rfl, Real.sqrt_nonneg τ⟩)) := by |
| 357 | simpa only [F, f, BoundedContinuousFunction.mkOfCompact_apply, |
| 358 | Function.comp_apply, ContinuousMap.coe_mk, zero_pow two_ne_zero, hstart] using hzero |
| 359 | exact (tendsto_nhds_unique tendsto_const_nhds hz).symm |
| 360 | · intro ε hε |
| 361 | obtain ⟨N, hN⟩ := Metric.tendsto_atTop.mp hlim ε hε |
| 362 | refine ⟨N, fun k hk s ↦ ?_⟩ |
| 363 | exact (BoundedContinuousFunction.dist_coe_le_dist s).trans_lt (hN k hk) |
| 364 | |
| 365 | /-- The spatial infimum admits actual path competitors converging uniformly |
| 366 | in square-root time, with actions converging to its unnormalized value. -/ |
| 367 | theorem exists_uniformly_convergent_spatial_minimizing_paths (K : AncientKappaSolution 2 M) |
| 368 | (p : M) {τ : ℝ} (hτ : 0 < τ) : |
| 369 | ∃ paths : ℕ → BackwardTimePath K.flow 0 0 τ, |
| 370 | ∃ α : C(Icc 0 (Real.sqrt τ), M), |
| 371 | (∀ k, (paths k).curve 0 = p) ∧ |
| 372 | Antitone (fun k ↦ backwardLLength K.flow 0 0 τ (paths k).curve) ∧ |
| 373 | Tendsto (fun k ↦ backwardLLength K.flow 0 0 τ (paths k).curve) atTop |
| 374 | (𝓝 (2 * Real.sqrt τ * K.spatialReducedLengthInfimum p τ)) ∧ |
| 375 | α ⟨0, le_rfl, Real.sqrt_nonneg τ⟩ = p ∧ |
| 376 | ∀ ε > 0, ∃ N : ℕ, ∀ k ≥ N, ∀ s : Icc 0 (Real.sqrt τ), |
| 377 | ((K.flow.metric 0).edist ((paths k).curve (s.val ^ 2)) (α s)).toReal < ε := by |
| 378 | classical |
| 379 | let S : Set ℝ := {L | ∃ path : BackwardTimePath K.flow 0 0 τ, |
| 380 | path.curve 0 = p ∧ L = backwardLLength K.flow 0 0 τ path.curve} |
| 381 | have hS : S.Nonempty := by |
| 382 | obtain ⟨path, hp, _⟩ := K.exists_backwardTimePath_surface p p hτ |
| 383 | exact ⟨_, path, hp, rfl⟩ |
| 384 | have hSbdd : BddBelow S := by |
| 385 | refine ⟨0, ?_⟩ |
| 386 | rintro L ⟨path, _, rfl⟩ |
| 387 | exact K.backwardLLength_nonneg path.curve hτ.le |
| 388 | have hden : 0 < 2 * Real.sqrt τ := by positivity |
| 389 | have hinf : sInf S / (2 * Real.sqrt τ) = K.spatialReducedLengthInfimum p τ := by |
| 390 | apply le_antisymm |
| 391 | · apply le_csInf (range_nonempty (f := fun q ↦ reducedLength K.flow 0 p q τ)) |
| 392 | rintro L ⟨q, rfl⟩ |
| 393 | unfold PoincareMT.reducedLength |
| 394 | simp only [dif_pos hτ] |
| 395 | apply div_le_div_of_nonneg_right _ hden.le |
| 396 | have hpaths : {L : ℝ | ∃ path : BackwardTimePath K.flow 0 0 τ, |
| 397 | path.curve 0 = p ∧ path.curve τ = q ∧ |
| 398 | L = backwardLLength K.flow 0 0 τ path.curve}.Nonempty := by |
| 399 | obtain ⟨path, hp, hq⟩ := K.exists_backwardTimePath_surface p q hτ |
| 400 | exact ⟨_, path, hp, hq, rfl⟩ |
| 401 | apply le_csInf hpaths |
| 402 | rintro L ⟨path, hp, _, rfl⟩ |
| 403 | exact csInf_le hSbdd ⟨path, hp, rfl⟩ |
| 404 | · apply (le_div_iff₀ hden).mpr |
| 405 | apply le_csInf hS |
| 406 | rintro L ⟨path, hp, rfl⟩ |
| 407 | exact (le_div_iff₀ hden).mp ((K.spatialReducedLengthInfimum_le p |
| 408 | (path.curve τ) τ).trans (K.reducedLength_le_path path hp rfl)) |
| 409 | have hinf' : sInf S = 2 * Real.sqrt τ * K.spatialReducedLengthInfimum p τ := by |
| 410 | exact (div_eq_iff hden.ne').mp hinf |>.trans (mul_comm _ _) |
| 411 | obtain ⟨u, hanti, hlim, hu⟩ := exists_seq_tendsto_sInf hS hSbdd |
| 412 | choose paths hstart hvalue using hu |
| 413 | have hbound (k : ℕ) : backwardLLength K.flow 0 0 τ (paths k).curve ≤ u 0 := by |
| 414 | rw [← hvalue k] |
| 415 | exact hanti (Nat.zero_le k) |
| 416 | obtain ⟨α, φ, hφ, hα0, huniform⟩ := |
| 417 | K.exists_uniform_subsequence_of_surface_action_bound p paths hstart hbound |
| 418 | refine ⟨paths ∘ φ, α, (fun k ↦ hstart (φ k)), ?_, ?_, hα0, huniform⟩ |
| 419 | · intro i j hij |
| 420 | simpa only [Function.comp_apply, ← hvalue] using hanti (hφ.monotone hij) |
| 421 | · simpa only [Function.comp_def, ← hvalue, hinf'] using hlim.comp hφ.tendsto_atTop |
| 422 | |
| 423 | end PoincareMT.AncientKappaSolution |