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 Mathlib.Analysis.Calculus.ParametricIntervalIntegral |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.Deriv |
| 4 | import Mathlib.Analysis.Normed.Operator.Banach |
| 5 | import Mathlib.Analysis.InnerProductSpace.Dual |
| 6 | import Mathlib.MeasureTheory.Function.L2Space |
| 7 | import Mathlib.MeasureTheory.Function.StronglyMeasurable.Lemmas |
| 8 | |
| 9 | /-! |
| 10 | # Chart first variation: pointwise chain rule |
| 11 | |
| 12 | The geometric caller supplies the compact chart buffer, coefficient bounds, |
| 13 | and local minimizer. This file isolates the analytic derivative of the |
| 14 | quadratic chart density; no time derivative of the metric is used. |
| 15 | -/ |
| 16 | |
| 17 | /-! |
| 18 | Adapted from Mapher `Proofs/M08/ChartStationarity.lean`, commit |
| 19 | `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`. |
| 20 | -/ |
| 21 | |
| 22 | set_option autoImplicit false |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option synthInstance.maxSize 2048 |
| 25 | set_option synthInstance.maxHeartbeats 200000 |
| 26 | |
| 27 | open MeasureTheory Set Filter Topology |
| 28 | open scoped intervalIntegral ContDiff |
| 29 | |
| 30 | namespace PoincareMT.ReducedLengthMinimum.Variational |
| 31 | |
| 32 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 33 | |
| 34 | noncomputable local instance dualNormedAddCommGroup : NormedAddCommGroup (E →L[ℝ] ℝ) := |
| 35 | ContinuousLinearMap.toNormedAddCommGroup |
| 36 | |
| 37 | noncomputable local instance dualNormedSpace : NormedSpace ℝ (E →L[ℝ] ℝ) := |
| 38 | ContinuousLinearMap.toNormedSpace |
| 39 | |
| 40 | noncomputable local instance bilinearNormedAddCommGroup : |
| 41 | NormedAddCommGroup (E →L[ℝ] E →L[ℝ] ℝ) := ContinuousLinearMap.toNormedAddCommGroup |
| 42 | |
| 43 | noncomputable local instance bilinearNormedSpace : NormedSpace ℝ (E →L[ℝ] E →L[ℝ] ℝ) := |
| 44 | ContinuousLinearMap.toNormedSpace |
| 45 | |
| 46 | noncomputable local instance trilinearNormedAddCommGroup : |
| 47 | NormedAddCommGroup (E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ) := ContinuousLinearMap.toNormedAddCommGroup |
| 48 | |
| 49 | theorem affine_chart_density_hasDerivAt |
| 50 | (G : E → E →L[ℝ] E →L[ℝ] ℝ) (V : E → ℝ) |
| 51 | (DG : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ) (DV : E →L[ℝ] ℝ) |
| 52 | (x η v ν : E) (ε : ℝ) |
| 53 | (hG : HasFDerivAt G DG (x + ε • η)) |
| 54 | (hV : HasFDerivAt V DV (x + ε • η)) |
| 55 | (hsym : ∀ z z' : E, G (x + ε • η) z z' = G (x + ε • η) z' z) : |
| 56 | HasDerivAt |
| 57 | (fun e : ℝ => G (x + e • η) (v + e • ν) (v + e • ν) / 2 + |
| 58 | V (x + e • η)) |
| 59 | (DG η (v + ε • ν) (v + ε • ν) / 2 + |
| 60 | G (x + ε • η) (v + ε • ν) ν + DV η) ε := by |
| 61 | have hx : HasDerivAt (fun e : ℝ => x + e • η) η ε := by |
| 62 | simpa only [id_eq, one_smul] using ((hasDerivAt_id ε).smul_const η).const_add x |
| 63 | have hv : HasDerivAt (fun e : ℝ => v + e • ν) ν ε := by |
| 64 | simpa only [id_eq, one_smul] using ((hasDerivAt_id ε).smul_const ν).const_add v |
| 65 | have hGc : HasDerivAt (fun e : ℝ ↦ G (x + e • η)) (DG η) ε := |
| 66 | by simpa only [Function.comp_def] using |
| 67 | HasFDerivAt.comp_hasDerivAt ε (l := G) (l' := DG) hG hx |
| 68 | have hGvv := (hGc.clm_apply hv).clm_apply hv |
| 69 | have hpot : HasDerivAt (fun e : ℝ ↦ V (x + e • η)) (DV η) ε := |
| 70 | HasFDerivAt.comp_hasDerivAt ε (l := V) (l' := DV) hV hx |
| 71 | have hcalc := (hGvv.div_const 2).add hpot |
| 72 | convert hcalc using 1 <;> try rfl |
| 73 | show DG η (v + ε • ν) (v + ε • ν) / 2 + |
| 74 | G (x + ε • η) (v + ε • ν) ν + DV η = |
| 75 | (DG η (v + ε • ν) (v + ε • ν) + G (x + ε • η) ν (v + ε • ν) + |
| 76 | G (x + ε • η) (v + ε • ν) ν) / 2 + DV η |
| 77 | rw [hsym ν (v + ε • ν)] |
| 78 | ring |
| 79 | |
| 80 | theorem affine_chart_domination_polynomial {x D : ℝ} (hx : 0 ≤ x) (hD : 0 ≤ D) : |
| 81 | (x + D) ^ 2 / 2 + (x + D) + 1 ≤ (D ^ 2 + D + 3) * (1 + x ^ 2) := by |
| 82 | nlinarith [sq_nonneg (x - D), sq_nonneg (x - 1), |
| 83 | mul_nonneg hD (sq_nonneg x), mul_nonneg (sq_nonneg D) (sq_nonneg x)] |
| 84 | |
| 85 | theorem affine_chart_density_deriv_bound |
| 86 | (G : E →L[ℝ] E →L[ℝ] ℝ) (DG : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ) |
| 87 | (DV : E →L[ℝ] ℝ) (v η ν : E) {ε C D : ℝ} |
| 88 | (hC : 0 ≤ C) (hD : 0 ≤ D) (hε : |ε| ≤ 1) |
| 89 | (hG : ‖G‖ ≤ C) (hDG : ‖DG‖ ≤ C) (hDV : ‖DV‖ ≤ C) |
| 90 | (hη : ‖η‖ ≤ D) (hν : ‖ν‖ ≤ D) : |
| 91 | ‖DG η (v + ε • ν) (v + ε • ν) / 2 + G (v + ε • ν) ν + DV η‖ ≤ |
| 92 | C * D * (D ^ 2 + D + 3) * (1 + ‖v‖ ^ 2) := by |
| 93 | let W := ‖v‖ + D |
| 94 | have hW : 0 ≤ W := add_nonneg (norm_nonneg v) hD |
| 95 | have hv : ‖v + ε • ν‖ ≤ W := by |
| 96 | calc |
| 97 | ‖v + ε • ν‖ ≤ ‖v‖ + ‖ε • ν‖ := norm_add_le _ _ |
| 98 | _ = ‖v‖ + |ε| * ‖ν‖ := by rw [norm_smul, Real.norm_eq_abs] |
| 99 | _ ≤ ‖v‖ + 1 * D := by gcongr |
| 100 | _ = W := by rw [one_mul] |
| 101 | have hDGη : ‖DG η‖ ≤ C * D := |
| 102 | (DG.le_opNorm η).trans (mul_le_mul hDG hη (norm_nonneg η) hC) |
| 103 | have ht : ‖DG η (v + ε • ν) (v + ε • ν)‖ ≤ C * D * W ^ 2 := by |
| 104 | calc |
| 105 | _ ≤ ‖DG η‖ * ‖v + ε • ν‖ * ‖v + ε • ν‖ := (DG η).le_opNorm₂ _ _ |
| 106 | _ ≤ (C * D) * W * W := by gcongr |
| 107 | _ = C * D * W ^ 2 := by ring |
| 108 | have hg : ‖G (v + ε • ν) ν‖ ≤ C * W * D := by |
| 109 | calc |
| 110 | _ ≤ ‖G‖ * ‖v + ε • ν‖ * ‖ν‖ := G.le_opNorm₂ _ _ |
| 111 | _ ≤ C * W * D := by gcongr |
| 112 | have hdv : ‖DV η‖ ≤ C * D := |
| 113 | (DV.le_opNorm η).trans (mul_le_mul hDV hη (norm_nonneg η) hC) |
| 114 | calc |
| 115 | _ ≤ (‖DG η (v + ε • ν) (v + ε • ν) / 2‖ + ‖G (v + ε • ν) ν‖) + |
| 116 | ‖DV η‖ := (norm_add_le _ _).trans |
| 117 | (add_le_add (norm_add_le _ _) le_rfl) |
| 118 | _ ≤ (C * D * W ^ 2 / 2 + C * W * D) + C * D := by |
| 119 | rw [norm_div, Real.norm_ofNat] |
| 120 | gcongr |
| 121 | _ = C * D * (W ^ 2 / 2 + W + 1) := by ring |
| 122 | _ ≤ C * D * ((D ^ 2 + D + 3) * (1 + ‖v‖ ^ 2)) := |
| 123 | mul_le_mul_of_nonneg_left (affine_chart_domination_polynomial (norm_nonneg v) hD) |
| 124 | (mul_nonneg hC hD) |
| 125 | _ = _ := by ring |
| 126 | |
| 127 | theorem affine_chart_action_hasDerivAt {a b δ C D : ℝ} |
| 128 | (hab : a ≤ b) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hC : 0 ≤ C) (hD : 0 ≤ D) |
| 129 | (K : Set E) (u w η ν : ℝ → E) |
| 130 | (hu : ContinuousOn u (Icc a b)) (hw : MemLp w 2 (volume.restrict (Icc a b))) |
| 131 | (hη : ContinuousOn η (Icc a b)) (hν : ContinuousOn ν (Icc a b)) |
| 132 | (G : ℝ → E → E →L[ℝ] E →L[ℝ] ℝ) (V : ℝ → E → ℝ) |
| 133 | (DG : ℝ → E → E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ) |
| 134 | (DV : ℝ → E → E →L[ℝ] ℝ) |
| 135 | (hGcont : ContinuousOn (fun p : ℝ × E ↦ G p.1 p.2) (Icc a b ×ˢ K)) |
| 136 | (hVcont : ContinuousOn (fun p : ℝ × E ↦ V p.1 p.2) (Icc a b ×ˢ K)) |
| 137 | (hDGcont : ContinuousOn (fun p : ℝ × E ↦ DG p.1 p.2) (Icc a b ×ˢ K)) |
| 138 | (hDVcont : ContinuousOn (fun p : ℝ × E ↦ DV p.1 p.2) (Icc a b ×ˢ K)) |
| 139 | (hmem : ∀ e ∈ Ioo (-δ) δ, ∀ s ∈ Icc a b, u s + e • η s ∈ K) |
| 140 | (hGderiv : ∀ s ∈ Icc a b, ∀ x ∈ K, HasFDerivAt (G s) (DG s x) x) |
| 141 | (hVderiv : ∀ s ∈ Icc a b, ∀ x ∈ K, HasFDerivAt (V s) (DV s x) x) |
| 142 | (hsym : ∀ s ∈ Icc a b, ∀ x ∈ K, ∀ v v' : E, G s x v v' = G s x v' v) |
| 143 | (hcoeff : ∀ s ∈ Icc a b, ∀ x ∈ K, |
| 144 | ‖G s x‖ ≤ C ∧ ‖DG s x‖ ≤ C ∧ ‖DV s x‖ ≤ C) |
| 145 | (hdir : ∀ s ∈ Icc a b, ‖η s‖ ≤ D ∧ ‖ν s‖ ≤ D) : |
| 146 | IntervalIntegrable |
| 147 | (fun s ↦ DG s (u s) (η s) (w s) (w s) / 2 + G s (u s) (w s) (ν s) + |
| 148 | DV s (u s) (η s)) volume a b ∧ |
| 149 | HasDerivAt |
| 150 | (fun e : ℝ ↦ ∫ s in a..b, |
| 151 | G s (u s + e • η s) (w s + e • ν s) (w s + e • ν s) / 2 + |
| 152 | V s (u s + e • η s)) |
| 153 | (∫ s in a..b, |
| 154 | DG s (u s) (η s) (w s) (w s) / 2 + G s (u s) (w s) (ν s) + |
| 155 | DV s (u s) (η s)) 0 := by |
| 156 | let μ := volume.restrict (Icc a b) |
| 157 | let f (e s : ℝ) := |
| 158 | G s (u s + e • η s) (w s + e • ν s) (w s + e • ν s) / 2 + |
| 159 | V s (u s + e • η s) |
| 160 | let f' (e s : ℝ) := |
| 161 | DG s (u s + e • η s) (η s) (w s + e • ν s) (w s + e • ν s) / 2 + |
| 162 | G s (u s + e • η s) (w s + e • ν s) (ν s) + DV s (u s + e • η s) (η s) |
| 163 | let bound (s : ℝ) := C * D * (D ^ 2 + D + 3) * (1 + ‖w s‖ ^ 2) |
| 164 | have hzero : (0 : ℝ) ∈ Ioo (-δ) δ := ⟨neg_lt_zero.mpr hδ, hδ⟩ |
| 165 | have hnhds : Ioo (-δ) δ ∈ 𝓝 (0 : ℝ) := Ioo_mem_nhds hzero.1 hzero.2 |
| 166 | have huK (s : ℝ) (hs : s ∈ Icc a b) : u s ∈ K := by |
| 167 | simpa only [zero_smul, add_zero] using hmem 0 hzero s hs |
| 168 | have hsub : uIoc a b ⊆ Icc a b := by |
| 169 | rw [uIoc_of_le hab] |
| 170 | exact Ioc_subset_Icc_self |
| 171 | have hΓ (e : ℝ) : ContinuousOn (fun s ↦ (s, u s + e • η s)) (Icc a b) := |
| 172 | continuousOn_id.prodMk (hu.add (continuousOn_const.smul hη)) |
| 173 | have hΓmem (e : ℝ) (he : e ∈ Ioo (-δ) δ) : |
| 174 | MapsTo (fun s ↦ (s, u s + e • η s)) (Icc a b) (Icc a b ×ˢ K) := |
| 175 | fun s hs ↦ ⟨hs, hmem e he s hs⟩ |
| 176 | have hGε (e : ℝ) (he : e ∈ Ioo (-δ) δ) : |
| 177 | ContinuousOn (fun s ↦ G s (u s + e • η s)) (Icc a b) := |
| 178 | hGcont.comp (hΓ e) (hΓmem e he) |
| 179 | have hVε (e : ℝ) (he : e ∈ Ioo (-δ) δ) : |
| 180 | ContinuousOn (fun s ↦ V s (u s + e • η s)) (Icc a b) := |
| 181 | hVcont.comp (hΓ e) (hΓmem e he) |
| 182 | have hG0 : ContinuousOn (fun s ↦ G s (u s)) (Icc a b) := by |
| 183 | simpa only [zero_smul, add_zero] using hGε 0 hzero |
| 184 | have hV0 : ContinuousOn (fun s ↦ V s (u s)) (Icc a b) := by |
| 185 | simpa only [zero_smul, add_zero] using hVε 0 hzero |
| 186 | have hDG0 : ContinuousOn (fun s ↦ DG s (u s)) (Icc a b) := by |
| 187 | simpa only [zero_smul, add_zero, Function.comp_def] using hDGcont.comp (hΓ 0) (hΓmem 0 hzero) |
| 188 | have hDV0 : ContinuousOn (fun s ↦ DV s (u s)) (Icc a b) := by |
| 189 | simpa only [zero_smul, add_zero, Function.comp_def] using hDVcont.comp (hΓ 0) (hΓmem 0 hzero) |
| 190 | have hwm : AEStronglyMeasurable w μ := hw.aestronglyMeasurable |
| 191 | have hηm : AEStronglyMeasurable η μ := hη.aestronglyMeasurable measurableSet_Icc |
| 192 | have hνm : AEStronglyMeasurable ν μ := hν.aestronglyMeasurable measurableSet_Icc |
| 193 | have hfm (e : ℝ) (he : e ∈ Ioo (-δ) δ) : AEStronglyMeasurable (f e) μ := by |
| 194 | have hgm : AEStronglyMeasurable (fun s ↦ G s (u s + e • η s)) μ := |
| 195 | (hGε e he).aestronglyMeasurable measurableSet_Icc |
| 196 | have hvm := hwm.add (hνm.const_smul e) |
| 197 | have hgw := (ContinuousLinearMap.id ℝ (E →L[ℝ] E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 198 | hgm hvm |
| 199 | have hgwv := (ContinuousLinearMap.id ℝ (E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ hgw hvm |
| 200 | exact (hgwv.div₀ aestronglyMeasurable_const).add |
| 201 | ((hVε e he).aestronglyMeasurable measurableSet_Icc) |
| 202 | have hkmeas : AEStronglyMeasurable (fun s ↦ G s (u s) (w s) (w s)) μ := by |
| 203 | have hgw := (ContinuousLinearMap.id ℝ (E →L[ℝ] E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 204 | (hG0.aestronglyMeasurable measurableSet_Icc) hwm |
| 205 | exact (ContinuousLinearMap.id ℝ (E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ hgw hwm |
| 206 | have hwSq : Integrable (fun s ↦ ‖w s‖ ^ 2) μ := hw.norm.integrable_sq |
| 207 | have hkint : Integrable (fun s ↦ G s (u s) (w s) (w s)) μ := by |
| 208 | apply (hwSq.const_mul C).mono' hkmeas |
| 209 | filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs |
| 210 | calc |
| 211 | _ ≤ ‖G s (u s)‖ * ‖w s‖ * ‖w s‖ := (G s (u s)).le_opNorm₂ _ _ |
| 212 | _ ≤ C * ‖w s‖ * ‖w s‖ := by gcongr; exact (hcoeff s hs (u s) (huK s hs)).1 |
| 213 | _ = C * ‖w s‖ ^ 2 := by ring |
| 214 | have hfint : IntervalIntegrable (f 0) volume a b := by |
| 215 | apply (intervalIntegrable_iff_integrableOn_Icc_of_le hab).mpr |
| 216 | simp only [f, zero_smul, add_zero] |
| 217 | convert (hkint.div_const 2).add hV0.integrableOn_Icc using 1 <;> rfl |
| 218 | have hf'm : AEStronglyMeasurable (f' 0) μ := by |
| 219 | have hDη := hDG0.clm_apply hη |
| 220 | have hDηm : AEStronglyMeasurable (fun s ↦ DG s (u s) (η s)) μ := |
| 221 | hDη.aestronglyMeasurable measurableSet_Icc |
| 222 | have hDηw := (ContinuousLinearMap.id ℝ (E →L[ℝ] E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 223 | hDηm hwm |
| 224 | have hDηww := (ContinuousLinearMap.id ℝ (E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ hDηw hwm |
| 225 | have hGw := (ContinuousLinearMap.id ℝ (E →L[ℝ] E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 226 | (hG0.aestronglyMeasurable measurableSet_Icc) hwm |
| 227 | have hGwν := (ContinuousLinearMap.id ℝ (E →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ hGw hνm |
| 228 | have hDVη : AEStronglyMeasurable (fun s ↦ DV s (u s) (η s)) μ := |
| 229 | (hDV0.clm_apply hη).aestronglyMeasurable measurableSet_Icc |
| 230 | simp only [f', zero_smul, add_zero] |
| 231 | convert ((hDηww.div₀ aestronglyMeasurable_const).add hGwν).add hDVη using 1 <;> rfl |
| 232 | have hboundint : IntervalIntegrable bound volume a b := by |
| 233 | apply (intervalIntegrable_iff_integrableOn_Icc_of_le hab).mpr |
| 234 | exact ((integrable_const (1 : ℝ)).add hwSq).const_mul (C * D * (D ^ 2 + D + 3)) |
| 235 | have hdifferentiation := intervalIntegral.hasDerivAt_integral_of_dominated_loc_of_deriv_le |
| 236 | (F := f) (F' := f') (bound := bound) hnhds |
| 237 | (by |
| 238 | filter_upwards [hnhds] with e he |
| 239 | exact (hfm e he).mono_measure (Measure.restrict_mono hsub le_rfl)) hfint |
| 240 | (hf'm.mono_measure (Measure.restrict_mono hsub le_rfl)) |
| 241 | (by |
| 242 | filter_upwards with s hs e he |
| 243 | have hcs := hcoeff s (hsub hs) _ (hmem e he s (hsub hs)) |
| 244 | exact affine_chart_density_deriv_bound _ _ _ (w s) (η s) (ν s) hC hD |
| 245 | ((abs_lt.mpr he).le.trans hδ1) hcs.1 hcs.2.1 hcs.2.2 |
| 246 | (hdir s (hsub hs)).1 (hdir s (hsub hs)).2) |
| 247 | hboundint |
| 248 | (by |
| 249 | filter_upwards with s hs e he |
| 250 | exact affine_chart_density_hasDerivAt (G s) (V s) _ _ (u s) (η s) (w s) (ν s) e |
| 251 | (hGderiv s (hsub hs) _ (hmem e he s (hsub hs))) |
| 252 | (hVderiv s (hsub hs) _ (hmem e he s (hsub hs))) |
| 253 | (hsym s (hsub hs) _ (hmem e he s (hsub hs)))) |
| 254 | simpa only [f, f', zero_smul, add_zero] using hdifferentiation |
| 255 | |
| 256 | section InnerProduct |
| 257 | |
| 258 | variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 259 | |
| 260 | noncomputable def chartMomentumVector (G : F →L[ℝ] F →L[ℝ] ℝ) (w : F) : F := |
| 261 | (InnerProductSpace.toDual ℝ F).symm (G w) |
| 262 | |
| 263 | noncomputable def chartForceVector (DG : F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ) |
| 264 | (DV : F →L[ℝ] ℝ) (w : F) : F := |
| 265 | (InnerProductSpace.toDual ℝ F).symm |
| 266 | ((1 / 2 : ℝ) • ((DG.flip w).flip w) + DV) |
| 267 | |
| 268 | theorem chartMomentumVector_inner (G : F →L[ℝ] F →L[ℝ] ℝ) (w z : F) : |
| 269 | inner ℝ z (chartMomentumVector G w) = G w z := by |
| 270 | rw [real_inner_comm, chartMomentumVector, InnerProductSpace.toDual_symm_apply] |
| 271 | |
| 272 | theorem chartForceVector_inner (DG : F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ) |
| 273 | (DV : F →L[ℝ] ℝ) (w z : F) : |
| 274 | inner ℝ z (chartForceVector DG DV w) = DG z w w / 2 + DV z := by |
| 275 | rw [real_inner_comm, chartForceVector, InnerProductSpace.toDual_symm_apply] |
| 276 | simp only [add_apply, ContinuousLinearMap.smul_apply, ContinuousLinearMap.flip_apply, |
| 277 | smul_eq_mul] |
| 278 | ring |
| 279 | |
| 280 | theorem chartMomentumVector_norm_le (G : F →L[ℝ] F →L[ℝ] ℝ) (w : F) : |
| 281 | ‖chartMomentumVector G w‖ ≤ ‖G‖ * ‖w‖ := by |
| 282 | rw [chartMomentumVector, (InnerProductSpace.toDual ℝ F).symm.norm_map] |
| 283 | exact G.le_opNorm w |
| 284 | |
| 285 | theorem chartForceVector_norm_le (DG : F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ) |
| 286 | (DV : F →L[ℝ] ℝ) (w : F) : |
| 287 | ‖chartForceVector DG DV w‖ ≤ ‖DG‖ * ‖w‖ ^ 2 / 2 + ‖DV‖ := by |
| 288 | have hL : ‖(DG.flip w).flip w‖ ≤ ‖DG‖ * ‖w‖ ^ 2 := by |
| 289 | calc |
| 290 | _ ≤ ‖(DG.flip w).flip‖ * ‖w‖ := ((DG.flip w).flip).le_opNorm w |
| 291 | _ = ‖DG.flip w‖ * ‖w‖ := by rw [ContinuousLinearMap.opNorm_flip] |
| 292 | _ ≤ (‖DG.flip‖ * ‖w‖) * ‖w‖ := by |
| 293 | gcongr |
| 294 | exact DG.flip.le_opNorm w |
| 295 | _ = ‖DG‖ * ‖w‖ ^ 2 := by rw [ContinuousLinearMap.opNorm_flip]; ring |
| 296 | rw [chartForceVector, (InnerProductSpace.toDual ℝ F).symm.norm_map] |
| 297 | calc |
| 298 | _ ≤ ‖(1 / 2 : ℝ) • ((DG.flip w).flip w)‖ + ‖DV‖ := norm_add_le _ _ |
| 299 | _ = ‖(DG.flip w).flip w‖ / 2 + ‖DV‖ := by rw [norm_smul]; norm_num; ring |
| 300 | _ ≤ _ := by gcongr |
| 301 | |
| 302 | theorem chart_momentum_force_intervalIntegrable {a b C : ℝ} (hab : a ≤ b) (hC : 0 ≤ C) |
| 303 | (w : ℝ → F) (hw : MemLp w 2 (volume.restrict (Icc a b))) |
| 304 | (G : ℝ → F →L[ℝ] F →L[ℝ] ℝ) |
| 305 | (DG : ℝ → F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ) (DV : ℝ → F →L[ℝ] ℝ) |
| 306 | (hG : ContinuousOn G (Icc a b)) (hDG : ContinuousOn DG (Icc a b)) |
| 307 | (hDV : ContinuousOn DV (Icc a b)) |
| 308 | (hbound : ∀ s ∈ Icc a b, ‖G s‖ ≤ C ∧ ‖DG s‖ ≤ C ∧ ‖DV s‖ ≤ C) : |
| 309 | IntervalIntegrable (fun s ↦ chartMomentumVector (G s) (w s)) volume a b ∧ |
| 310 | IntervalIntegrable (fun s ↦ chartForceVector (DG s) (DV s) (w s)) volume a b := by |
| 311 | let μ := volume.restrict (Icc a b) |
| 312 | have hwm : AEStronglyMeasurable w μ := hw.aestronglyMeasurable |
| 313 | have hGm : AEStronglyMeasurable G μ := hG.aestronglyMeasurable measurableSet_Icc |
| 314 | have hDGm : AEStronglyMeasurable DG μ := hDG.aestronglyMeasurable measurableSet_Icc |
| 315 | have hDVm : AEStronglyMeasurable DV μ := hDV.aestronglyMeasurable measurableSet_Icc |
| 316 | have hGw := (ContinuousLinearMap.id ℝ (F →L[ℝ] F →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 317 | (𝕜 := ℝ) hGm hwm |
| 318 | have hPm : AEStronglyMeasurable (fun s ↦ chartMomentumVector (G s) (w s)) μ := |
| 319 | (InnerProductSpace.toDual ℝ F).symm.continuous.comp_aestronglyMeasurable hGw |
| 320 | have hDf : AEStronglyMeasurable (fun s ↦ (DG s).flip) μ := |
| 321 | (ContinuousLinearMap.flipₗᵢ ℝ F F (F →L[ℝ] ℝ)).continuous.comp_aestronglyMeasurable hDGm |
| 322 | have hDfw := (ContinuousLinearMap.id ℝ (F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 323 | (𝕜 := ℝ) hDf hwm |
| 324 | have hDfwf : AEStronglyMeasurable (fun s ↦ ((DG s).flip (w s)).flip) μ := |
| 325 | (ContinuousLinearMap.flipₗᵢ ℝ F F ℝ).continuous.comp_aestronglyMeasurable hDfw |
| 326 | have hL := (ContinuousLinearMap.id ℝ (F →L[ℝ] F →L[ℝ] ℝ)).aestronglyMeasurable_comp₂ |
| 327 | (𝕜 := ℝ) hDfwf hwm |
| 328 | have hQm : AEStronglyMeasurable (fun s ↦ chartForceVector (DG s) (DV s) (w s)) μ := |
| 329 | (InnerProductSpace.toDual ℝ F).symm.continuous.comp_aestronglyMeasurable |
| 330 | ((hL.const_smul (1 / 2 : ℝ)).add hDVm) |
| 331 | constructor |
| 332 | · apply (intervalIntegrable_iff_integrableOn_Icc_of_le hab).mpr |
| 333 | apply ((MemLp.integrable (by norm_num) hw).norm.const_mul C).mono' hPm |
| 334 | filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs |
| 335 | exact (chartMomentumVector_norm_le (G s) (w s)).trans |
| 336 | (mul_le_mul_of_nonneg_right (hbound s hs).1 (norm_nonneg _)) |
| 337 | · apply (intervalIntegrable_iff_integrableOn_Icc_of_le hab).mpr |
| 338 | have hi : Integrable (fun s ↦ C * ‖w s‖ ^ 2 / 2 + C) μ := |
| 339 | ((hw.norm.integrable_sq.const_mul C).div_const 2).add (integrable_const C) |
| 340 | apply hi.mono' hQm |
| 341 | filter_upwards [ae_restrict_mem measurableSet_Icc] with s hs |
| 342 | apply (chartForceVector_norm_le (DG s) (DV s) (w s)).trans |
| 343 | gcongr |
| 344 | · exact (hbound s hs).2.1 |
| 345 | · exact (hbound s hs).2.2 |
| 346 | |
| 347 | theorem weak_momentum_of_scalar_stationarity {a b : ℝ} |
| 348 | (P Q : ℝ → F) (hP : IntervalIntegrable P volume a b) |
| 349 | (hQ : IntervalIntegrable Q volume a b) (φ : ℝ → ℝ) (hφ : ContDiff ℝ ∞ φ) |
| 350 | (hstationary : ∀ z : F, |
| 351 | (∫ s in a..b, deriv φ s * inner ℝ z (P s) + φ s * inner ℝ z (Q s)) = 0) : |
| 352 | (∫ s in a..b, deriv φ s • P s) = -(∫ s in a..b, φ s • Q s) := by |
| 353 | have hDP : IntervalIntegrable (fun s ↦ deriv φ s • P s) volume a b := |
| 354 | hP.continuousOn_smul (hφ.continuous_deriv (by norm_num)).continuousOn |
| 355 | have hφQ : IntervalIntegrable (fun s ↦ φ s • Q s) volume a b := |
| 356 | hQ.continuousOn_smul hφ.continuous.continuousOn |
| 357 | apply ext_inner_left ℝ |
| 358 | intro z |
| 359 | let l : F →L[ℝ] ℝ := innerSL ℝ z |
| 360 | have hDPscalar : IntervalIntegrable (fun s ↦ l (deriv φ s • P s)) volume a b := |
| 361 | ⟨l.integrable_comp hDP.1, l.integrable_comp hDP.2⟩ |
| 362 | have hQscalar : IntervalIntegrable (fun s ↦ l (φ s • Q s)) volume a b := |
| 363 | ⟨l.integrable_comp hφQ.1, l.integrable_comp hφQ.2⟩ |
| 364 | have hzero : (∫ s in a..b, l (deriv φ s • P s)) + |
| 365 | (∫ s in a..b, l (φ s • Q s)) = 0 := by |
| 366 | rw [← intervalIntegral.integral_add hDPscalar hQscalar] |
| 367 | simpa only [l, innerSL_apply_apply, inner_smul_right] using hstationary z |
| 368 | change l (∫ s in a..b, deriv φ s • P s) = l (-(∫ s in a..b, φ s • Q s)) |
| 369 | rw [map_neg, ← l.intervalIntegral_comp_comm hDP, ← l.intervalIntegral_comp_comm hφQ] |
| 370 | linarith |
| 371 | |
| 372 | theorem weak_momentum_of_chart_stationarity {a b C : ℝ} (hab : a ≤ b) (hC : 0 ≤ C) |
| 373 | (w : ℝ → F) (hw : MemLp w 2 (volume.restrict (Icc a b))) |
| 374 | (G : ℝ → F →L[ℝ] F →L[ℝ] ℝ) |
| 375 | (DG : ℝ → F →L[ℝ] F →L[ℝ] F →L[ℝ] ℝ) (DV : ℝ → F →L[ℝ] ℝ) |
| 376 | (hG : ContinuousOn G (Icc a b)) (hDG : ContinuousOn DG (Icc a b)) |
| 377 | (hDV : ContinuousOn DV (Icc a b)) |
| 378 | (hbound : ∀ s ∈ Icc a b, ‖G s‖ ≤ C ∧ ‖DG s‖ ≤ C ∧ ‖DV s‖ ≤ C) |
| 379 | (φ : ℝ → ℝ) (hφ : ContDiff ℝ ∞ φ) |
| 380 | (hstationary : ∀ z : F, |
| 381 | (∫ s in a..b, DG s (φ s • z) (w s) (w s) / 2 + |
| 382 | G s (w s) (deriv φ s • z) + DV s (φ s • z)) = 0) : |
| 383 | IntervalIntegrable (fun s ↦ chartMomentumVector (G s) (w s)) volume a b ∧ |
| 384 | IntervalIntegrable (fun s ↦ chartForceVector (DG s) (DV s) (w s)) volume a b ∧ |
| 385 | (∫ s in a..b, deriv φ s • chartMomentumVector (G s) (w s)) = |
| 386 | -(∫ s in a..b, φ s • chartForceVector (DG s) (DV s) (w s)) := by |
| 387 | obtain ⟨hP, hQ⟩ := chart_momentum_force_intervalIntegrable hab hC w hw G DG DV |
| 388 | hG hDG hDV hbound |
| 389 | refine ⟨hP, hQ, weak_momentum_of_scalar_stationarity _ _ hP hQ φ hφ ?_⟩ |
| 390 | intro z |
| 391 | calc |
| 392 | _ = ∫ s in a..b, DG s (φ s • z) (w s) (w s) / 2 + |
| 393 | G s (w s) (deriv φ s • z) + DV s (φ s • z) := by |
| 394 | apply intervalIntegral.integral_congr |
| 395 | intro s hs |
| 396 | dsimp only |
| 397 | rw [chartMomentumVector_inner, chartForceVector_inner] |
| 398 | simp only [map_smul, ContinuousLinearMap.smul_apply, smul_eq_mul] |
| 399 | ring |
| 400 | _ = 0 := hstationary z |
| 401 | |
| 402 | end InnerProduct |
| 403 | |
| 404 | end PoincareMT.ReducedLengthMinimum.Variational |
| 405 |