Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Weil.Local.RadialAnnulusBound |
| 2 | import OAI.RepresentationTheory.Weil.Local.RadialMajorant |
| 3 | import OAI.RepresentationTheory.Weil.Local.PlanarPowerDamping |
| 4 | |
| 5 | /-! # Planar Integral -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.PlanarIntegral.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A uniform bound for the actual compact-annulus Gaussian integral. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory Set |
| 16 | |
| 17 | def planarAnnulusDamping (s ε R T b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 18 | ((1 - RadialTailCutoffBound.Construction.radialCutoff T (PlanarRadialCompact.Construction.planarRadiusSquared z)) : ℝ) * |
| 19 | (RadialTailCutoffBound.Construction.radialCutoff R (PlanarRadialCompact.Construction.planarRadiusSquared z) : ℝ) * PlanarPowerDamping.Construction.planarPowerDamping s ε b z |
| 20 | |
| 21 | def planarTailDamping (s ε R b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 22 | (RadialTailCutoffBound.Construction.radialCutoff R (PlanarRadialCompact.Construction.planarRadiusSquared z) : ℝ) * PlanarPowerDamping.Construction.planarPowerDamping s ε b z |
| 23 | |
| 24 | theorem radialAnnulusWeight_amplitude (s ε R T t : ℝ) (hR : 0 < R) : |
| 25 | t * RadialAnnulusWeight.Construction.radialAnnulusWeight s ε R T t = |
| 26 | (1 - RadialTailCutoffBound.Construction.radialCutoff T t) * RadialTailCutoffBound.Construction.radialCutoff R t * Real.exp (-ε * t ^ s) := by |
| 27 | by_cases ht : t = 0 |
| 28 | · subst t |
| 29 | rw [RadialTailCutoffBound.Construction.radialCutoff_zero R 0 hR hR.le] |
| 30 | simp |
| 31 | · unfold RadialAnnulusWeight.Construction.radialAnnulusWeight RadialTailCutoffBound.Construction.radialTailWeight RealPower.Construction.realPowerWeight |
| 32 | field_simp |
| 33 | |
| 34 | theorem planarAnnulusDamping_weight (s ε R T b : ℝ) (hR : 0 < R) (z : ℝ × ℝ) : |
| 35 | planarAnnulusDamping s ε R T b z = |
| 36 | (PlanarRadialCompact.Construction.planarRadiusSquared z : ℂ) * RadialAnnulusWeight.Construction.radialAnnulusWeight s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) * |
| 37 | PlanarQuadraticPhase.Construction.planarQuadraticPhase b z := by |
| 38 | have hh := congrArg (fun r : ℝ => (r : ℂ)) |
| 39 | (radialAnnulusWeight_amplitude s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) hR) |
| 40 | push_cast at hh |
| 41 | unfold planarAnnulusDamping PlanarPowerDamping.Construction.planarPowerDamping |
| 42 | rw [hh] |
| 43 | push_cast |
| 44 | ring |
| 45 | |
| 46 | theorem planar_annulus_integral_bound : ∃ C : ℝ, 0 < C ∧ |
| 47 | ∀ s ε R T b : ℝ, 0 < s → s ≤ 1 → 0 ≤ ε → 0 < R → 0 < T → |
| 48 | b ^ 2 * ‖∫ z, planarAnnulusDamping s ε R T b z‖ ≤ Real.pi * C / R := by |
| 49 | obtain ⟨C, hC, hbound⟩ := RadialAnnulusBound.Construction.radialAnnulusWeight_laplacian_bound |
| 50 | refine ⟨C, hC, fun s ε R T b hs hs1 hε hR hT => ?_⟩ |
| 51 | have htransfer := PlanarRadialTransfer.Construction.planar_radial_quadratic_integral_transfer b |
| 52 | (fun t => (RadialAnnulusWeight.Construction.radialAnnulusWeight s ε R T t : ℂ)) |
| 53 | (fun t => (RadialAnnulusWeight.Construction.radialAnnulusWeightDerivative s ε R T t : ℂ)) |
| 54 | (fun t => (RadialAnnulusWeight.Construction.radialAnnulusWeightSecondDerivative s ε R T t : ℂ)) |
| 55 | (fun t _ => (RadialAnnulusWeight.Construction.radialAnnulusWeight_hasDerivAt s ε R T hR t).ofReal_comp) |
| 56 | (fun t _ => (RadialAnnulusWeight.Construction.radialAnnulusWeightDerivative_hasDerivAt s ε R T hR t).ofReal_comp) |
| 57 | (RadialAnnulusWeight.Construction.radialAnnulusWeight_transfer_integrable s ε R T b hR hT) |
| 58 | have hi : (∫ z, (PlanarRadialCompact.Construction.planarRadiusSquared z : ℂ) * |
| 59 | RadialAnnulusWeight.Construction.radialAnnulusWeight s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) * PlanarQuadraticPhase.Construction.planarQuadraticPhase b z) = |
| 60 | ∫ z, planarAnnulusDamping s ε R T b z := by |
| 61 | apply integral_congr_ae |
| 62 | exact Filter.Eventually.of_forall fun z => (planarAnnulusDamping_weight s ε R T b hR z).symm |
| 63 | rw [hi] at htransfer |
| 64 | have hn := congrArg norm htransfer |
| 65 | rw [norm_mul, norm_neg, norm_pow, Complex.norm_real, Real.norm_eq_abs, sq_abs] at hn |
| 66 | rw [hn] |
| 67 | have hm (t : ℝ) : |t * RadialAnnulusWeight.Construction.radialAnnulusWeightSecondDerivative s ε R T t + |
| 68 | RadialAnnulusWeight.Construction.radialAnnulusWeightDerivative s ε R T t| ≤ RadialMajorant.Construction.radialInverseSquareMajorant R C t := by |
| 69 | by_cases ht : t < R |
| 70 | · obtain ⟨_, h1, h2⟩ := RadialAnnulusWeight.Construction.radialAnnulusWeight_lower_zero s ε R T t hR ht |
| 71 | simp only [h1, h2, mul_zero, zero_add, abs_zero] |
| 72 | exact RadialMajorant.Construction.radialInverseSquareMajorant_nonneg R C t hC.le |
| 73 | · have hRt : R ≤ t := le_of_not_gt ht |
| 74 | rw [RadialMajorant.Construction.radialInverseSquareMajorant, indicator_of_mem (show t ∈ Ici R from hRt)] |
| 75 | exact hbound s ε R T t hs hs1 hε hR hT (hR.trans_le hRt) |
| 76 | calc |
| 77 | _ ≤ ∫ z : ℝ × ℝ, RadialMajorant.Construction.radialInverseSquareMajorant R C (PlanarRadialCompact.Construction.planarRadiusSquared z) := by |
| 78 | apply norm_integral_le_of_norm_le (RadialMajorant.Construction.planar_radialInverseSquareMajorant_integrable R C hR) |
| 79 | exact Filter.Eventually.of_forall fun z => by |
| 80 | rw [norm_mul, PlanarQuadraticPhase.Construction.planarQuadraticPhase_norm, mul_one] |
| 81 | have hc : (PlanarRadialCompact.Construction.planarRadiusSquared z : ℂ) * |
| 82 | RadialAnnulusWeight.Construction.radialAnnulusWeightSecondDerivative s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) + |
| 83 | RadialAnnulusWeight.Construction.radialAnnulusWeightDerivative s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) = |
| 84 | ((PlanarRadialCompact.Construction.planarRadiusSquared z * RadialAnnulusWeight.Construction.radialAnnulusWeightSecondDerivative s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) + |
| 85 | RadialAnnulusWeight.Construction.radialAnnulusWeightDerivative s ε R T (PlanarRadialCompact.Construction.planarRadiusSquared z) : ℝ) : ℂ) := by push_cast; rfl |
| 86 | rw [hc, Complex.norm_real, Real.norm_eq_abs] |
| 87 | exact hm _ |
| 88 | _ = _ := RadialMajorant.Construction.planar_radialInverseSquareMajorant_integral R C hR |
| 89 | |
| 90 | end |
| 91 | |
| 92 | section |
| 93 | |
| 94 | /-! Removing the outer cutoff gives a uniform bound for the actual damped Gaussian tail. -/ |
| 95 | |
| 96 | open _root_.MeasureTheory Filter |
| 97 | open scoped _root_.Topology |
| 98 | |
| 99 | theorem planarAnnulusDamping_continuous (s ε R T b : ℝ) (hs : 0 < s) : |
| 100 | Continuous (planarAnnulusDamping s ε R T b) := by |
| 101 | have hT := (RadialTailSmooth.Construction.radialCutoff_contDiff T).continuous.comp PlanarRadialCompact.Construction.planarRadiusSquared_continuous |
| 102 | have hR := (RadialTailSmooth.Construction.radialCutoff_contDiff R).continuous.comp PlanarRadialCompact.Construction.planarRadiusSquared_continuous |
| 103 | unfold planarAnnulusDamping |
| 104 | exact ((Complex.continuous_ofReal.comp (continuous_const.sub hT)).mul |
| 105 | (Complex.continuous_ofReal.comp hR)).mul (PlanarPowerDamping.Construction.planarPowerDamping_continuous s ε b hs) |
| 106 | |
| 107 | theorem planarTailDamping_continuous (s ε R b : ℝ) (hs : 0 < s) : |
| 108 | Continuous (planarTailDamping s ε R b) := |
| 109 | (Complex.continuous_ofReal.comp ((RadialTailSmooth.Construction.radialCutoff_contDiff R).continuous.comp |
| 110 | PlanarRadialCompact.Construction.planarRadiusSquared_continuous)).mul (PlanarPowerDamping.Construction.planarPowerDamping_continuous s ε b hs) |
| 111 | |
| 112 | theorem planarAnnulusDamping_norm_le (s ε R T b : ℝ) (z : ℝ × ℝ) : |
| 113 | ‖planarAnnulusDamping s ε R T b z‖ ≤ Real.exp (-ε * PlanarRadialCompact.Construction.planarRadiusSquared z ^ s) := by |
| 114 | rw [planarAnnulusDamping, norm_mul, norm_mul, Complex.norm_real, Complex.norm_real, |
| 115 | Real.norm_of_nonneg (sub_nonneg.mpr (RadialTailCutoffBound.Construction.radialCutoff_le_one T _)), |
| 116 | Real.norm_of_nonneg (RadialTailCutoffBound.Construction.radialCutoff_nonneg R _), PlanarPowerDamping.Construction.planarPowerDamping_norm] |
| 117 | apply mul_le_of_le_one_left (Real.exp_pos _).le |
| 118 | exact (mul_le_mul_of_nonneg_right |
| 119 | (show 1 - RadialTailCutoffBound.Construction.radialCutoff T (PlanarRadialCompact.Construction.planarRadiusSquared z) ≤ (1 : ℝ) by |
| 120 | linarith [RadialTailCutoffBound.Construction.radialCutoff_nonneg T (PlanarRadialCompact.Construction.planarRadiusSquared z)]) |
| 121 | (RadialTailCutoffBound.Construction.radialCutoff_nonneg R _)).trans |
| 122 | (by simpa only [one_mul] using RadialTailCutoffBound.Construction.radialCutoff_le_one R (PlanarRadialCompact.Construction.planarRadiusSquared z)) |
| 123 | |
| 124 | theorem planarTailDamping_norm_le (s ε R b : ℝ) (z : ℝ × ℝ) : |
| 125 | ‖planarTailDamping s ε R b z‖ ≤ Real.exp (-ε * PlanarRadialCompact.Construction.planarRadiusSquared z ^ s) := by |
| 126 | rw [planarTailDamping, norm_mul, Complex.norm_real, |
| 127 | Real.norm_of_nonneg (RadialTailCutoffBound.Construction.radialCutoff_nonneg R _), PlanarPowerDamping.Construction.planarPowerDamping_norm] |
| 128 | exact mul_le_of_le_one_left (Real.exp_pos _).le (RadialTailCutoffBound.Construction.radialCutoff_le_one R _) |
| 129 | |
| 130 | theorem planar_power_weight_real_integrable (s ε : ℝ) (hs : 0 < s) (hε : 0 < ε) : |
| 131 | Integrable (fun z : ℝ × ℝ => Real.exp (-ε * PlanarRadialCompact.Construction.planarRadiusSquared z ^ s)) := by |
| 132 | have hi := (PlanarPowerDamping.Construction.planar_power_weight_integrable s ε hs hε).norm |
| 133 | simpa only [Complex.norm_real, Real.norm_eq_abs, abs_of_pos (Real.exp_pos _)] using hi |
| 134 | |
| 135 | theorem planarTailDamping_integrable (s ε R b : ℝ) (hs : 0 < s) (hε : 0 < ε) : |
| 136 | Integrable (planarTailDamping s ε R b) := |
| 137 | (planar_power_weight_real_integrable s ε hs hε).mono' |
| 138 | (planarTailDamping_continuous s ε R b hs).aestronglyMeasurable |
| 139 | (Eventually.of_forall (planarTailDamping_norm_le s ε R b)) |
| 140 | |
| 141 | theorem planarAnnulusDamping_tendsto (s ε R b : ℝ) (z : ℝ × ℝ) : |
| 142 | Tendsto (fun T => planarAnnulusDamping s ε R T b z) atTop (𝓝 (planarTailDamping s ε R b z)) := by |
| 143 | apply tendsto_const_nhds.congr' |
| 144 | filter_upwards [eventually_ge_atTop (max 1 (PlanarRadialCompact.Construction.planarRadiusSquared z))] with T hT |
| 145 | have hT0 : 0 < T := lt_of_lt_of_le (by norm_num) ((le_max_left _ _).trans hT) |
| 146 | have ht : PlanarRadialCompact.Construction.planarRadiusSquared z ≤ T := (le_max_right _ _).trans hT |
| 147 | rw [planarAnnulusDamping, RadialTailCutoffBound.Construction.radialCutoff_zero T _ hT0 ht, sub_zero] |
| 148 | simp only [Complex.ofReal_one, one_mul, planarTailDamping] |
| 149 | |
| 150 | theorem planarAnnulusDamping_integral_tendsto (s ε R b : ℝ) (hs : 0 < s) (hε : 0 < ε) : |
| 151 | Tendsto (fun T => ∫ z, planarAnnulusDamping s ε R T b z) atTop |
| 152 | (𝓝 (∫ z, planarTailDamping s ε R b z)) := by |
| 153 | apply tendsto_integral_filter_of_dominated_convergence |
| 154 | (fun z => Real.exp (-ε * PlanarRadialCompact.Construction.planarRadiusSquared z ^ s)) |
| 155 | · exact Eventually.of_forall fun T => (planarAnnulusDamping_continuous s ε R T b hs).aestronglyMeasurable |
| 156 | · exact Eventually.of_forall fun T => Eventually.of_forall (planarAnnulusDamping_norm_le s ε R T b) |
| 157 | · exact planar_power_weight_real_integrable s ε hs hε |
| 158 | · exact Eventually.of_forall (planarAnnulusDamping_tendsto s ε R b) |
| 159 | |
| 160 | theorem planar_tail_integral_bound : ∃ C : ℝ, 0 < C ∧ |
| 161 | ∀ s ε R b : ℝ, 0 < s → s ≤ 1 → 0 < ε → 0 < R → |
| 162 | b ^ 2 * ‖∫ z, planarTailDamping s ε R b z‖ ≤ Real.pi * C / R := by |
| 163 | obtain ⟨C, hC, hbound⟩ := planar_annulus_integral_bound |
| 164 | refine ⟨C, hC, fun s ε R b hs hs1 hε hR => ?_⟩ |
| 165 | have ht := (planarAnnulusDamping_integral_tendsto s ε R b hs hε).norm.const_mul (b ^ 2) |
| 166 | apply le_of_tendsto ht |
| 167 | filter_upwards [eventually_gt_atTop (0 : ℝ)] with T hT |
| 168 | exact hbound s ε R T b hs hs1 hε.le hR hT |
| 169 | |
| 170 | end |
| 171 | |
| 172 | section |
| 173 | |
| 174 | /-! Compact-core convergence for the power-damped planar quadratic integral. -/ |
| 175 | |
| 176 | open _root_.MeasureTheory Filter Set |
| 177 | open scoped _root_.Topology |
| 178 | |
| 179 | def planarCoreCutoff (R : ℝ) (z : ℝ × ℝ) : ℝ := 1 - RadialTailCutoffBound.Construction.radialCutoff R (PlanarRadialCompact.Construction.planarRadiusSquared z) |
| 180 | |
| 181 | def planarCoreDamping (s ε R b : ℝ) : ℝ × ℝ → ℂ := |
| 182 | PlanarPowerDamping.Construction.planarPowerDamping s ε b - planarTailDamping s ε R b |
| 183 | |
| 184 | theorem planarCoreCutoff_nonneg (R : ℝ) (z : ℝ × ℝ) : 0 ≤ planarCoreCutoff R z := |
| 185 | sub_nonneg.mpr (RadialTailCutoffBound.Construction.radialCutoff_le_one R _) |
| 186 | |
| 187 | theorem planarCoreCutoff_continuous (R : ℝ) : Continuous (planarCoreCutoff R) := |
| 188 | continuous_const.sub ((RadialTailSmooth.Construction.radialCutoff_contDiff R).continuous.comp PlanarRadialCompact.Construction.planarRadiusSquared_continuous) |
| 189 | |
| 190 | theorem planarCoreCutoff_compactSupport (R : ℝ) (hR : 0 < R) : HasCompactSupport (planarCoreCutoff R) := by |
| 191 | have hc := PlanarRadialCompact.Construction.planarRadial_compactSupport (fun t => ((1 - RadialTailCutoffBound.Construction.radialCutoff R t : ℝ) : ℂ)) (2 * R) |
| 192 | (fun t ht => by rw [RadialTailCutoffBound.Construction.radialCutoff_one R t hR ht, sub_self]; rfl) |
| 193 | have heq : (fun z => ‖PlanarRadialCompact.Construction.planarRadial (fun t => ((1 - RadialTailCutoffBound.Construction.radialCutoff R t : ℝ) : ℂ)) z‖) = |
| 194 | planarCoreCutoff R := by |
| 195 | funext z |
| 196 | rw [PlanarRadialCompact.Construction.planarRadial, Complex.norm_real] |
| 197 | change ‖planarCoreCutoff R z‖ = planarCoreCutoff R z |
| 198 | exact Real.norm_of_nonneg (planarCoreCutoff_nonneg R z) |
| 199 | rw [← heq] |
| 200 | exact hc.norm |
| 201 | |
| 202 | theorem planarCoreCutoff_integrable (R : ℝ) (hR : 0 < R) : Integrable (planarCoreCutoff R) := |
| 203 | (planarCoreCutoff_continuous R).integrable_of_hasCompactSupport (planarCoreCutoff_compactSupport R hR) |
| 204 | |
| 205 | theorem planarCoreDamping_eq (s ε R b : ℝ) (z : ℝ × ℝ) : |
| 206 | planarCoreDamping s ε R b z = (planarCoreCutoff R z : ℂ) * PlanarPowerDamping.Construction.planarPowerDamping s ε b z := by |
| 207 | unfold planarCoreDamping planarTailDamping planarCoreCutoff |
| 208 | simp only [Pi.sub_apply, Complex.ofReal_sub, Complex.ofReal_one] |
| 209 | ring |
| 210 | |
| 211 | theorem planarCoreDamping_integrable (s ε R b : ℝ) (hs : 0 < s) (hε : 0 < ε) : |
| 212 | Integrable (planarCoreDamping s ε R b) := |
| 213 | (PlanarPowerDamping.Construction.planarPowerDamping_integrable s ε b hs hε).sub (planarTailDamping_integrable s ε R b hs hε) |
| 214 | |
| 215 | theorem planarCoreDamping_integral_tendsto (s R b : ℝ) (hs : 0 < s) (hR : 0 < R) : |
| 216 | Tendsto (fun ε => ∫ z, planarCoreDamping s ε R b z) (𝓝[>] (0 : ℝ)) |
| 217 | (𝓝 (∫ z, (planarCoreCutoff R z : ℂ) * PlanarQuadraticPhase.Construction.planarQuadraticPhase b z)) := by |
| 218 | apply tendsto_integral_filter_of_dominated_convergence (planarCoreCutoff R) |
| 219 | · exact Eventually.of_forall fun ε => ((PlanarPowerDamping.Construction.planarPowerDamping_continuous s ε b hs).sub |
| 220 | (planarTailDamping_continuous s ε R b hs)).aestronglyMeasurable |
| 221 | · filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Ioi 0)] with ε hε |
| 222 | exact Eventually.of_forall fun z => by |
| 223 | rw [planarCoreDamping_eq, norm_mul, Complex.norm_real, |
| 224 | Real.norm_of_nonneg (planarCoreCutoff_nonneg R z)] |
| 225 | exact mul_le_of_le_one_right (planarCoreCutoff_nonneg R z) (PlanarPowerDamping.Construction.planarPowerDamping_norm_le s ε b hε.le z) |
| 226 | · exact planarCoreCutoff_integrable R hR |
| 227 | · exact Eventually.of_forall fun z => by |
| 228 | have ht := (PlanarPowerDamping.Construction.planarPowerDamping_tendsto s b z).const_mul (planarCoreCutoff R z : ℂ) |
| 229 | exact ht.congr fun ε => (planarCoreDamping_eq s ε R b z).symm |
| 230 | |
| 231 | theorem planarPowerDamping_integral_split (s ε R b : ℝ) (hs : 0 < s) (hε : 0 < ε) : |
| 232 | (∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε b z) = |
| 233 | (∫ z, planarCoreDamping s ε R b z) + ∫ z, planarTailDamping s ε R b z := by |
| 234 | change (∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε b z) = |
| 235 | (∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε b z - planarTailDamping s ε R b z) + ∫ z, planarTailDamping s ε R b z |
| 236 | rw [integral_sub (PlanarPowerDamping.Construction.planarPowerDamping_integrable s ε b hs hε) |
| 237 | (planarTailDamping_integrable s ε R b hs hε), sub_add_cancel] |
| 238 | |
| 239 | end |
| 240 | |
| 241 | /-! The planar quadratic integral has the same limit for every norm power in (0, 1]. -/ |
| 242 | |
| 243 | open _root_.MeasureTheory Filter Set |
| 244 | open scoped _root_.Topology |
| 245 | |
| 246 | theorem planarPowerDamping_integral_difference_tendsto |
| 247 | (s b : ℝ) (hs : 0 < s) (hs1 : s ≤ 1) (hb : b ≠ 0) : |
| 248 | Tendsto (fun ε => (∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε b z) - |
| 249 | ∫ z, PlanarPowerDamping.Construction.planarPowerDamping 1 ε b z) (𝓝[>] (0 : ℝ)) (𝓝 0) := by |
| 250 | obtain ⟨C, hC, htail⟩ := planar_tail_integral_bound |
| 251 | let K := b ^ 2 |
| 252 | have hK : 0 < K := sq_pos_of_ne_zero hb |
| 253 | let P := Real.pi * C |
| 254 | have hP : 0 < P := mul_pos Real.pi_pos hC |
| 255 | apply Metric.tendsto_nhds.mpr |
| 256 | intro δ hδ |
| 257 | let R := 8 * P / (K * δ) |
| 258 | have hR : 0 < R := div_pos (mul_pos (by norm_num) hP) (mul_pos hK hδ) |
| 259 | have hRval : 2 * P / R = K * δ / 4 := by dsimp [R]; field_simp; norm_num |
| 260 | have hmid : Tendsto (fun ε => (∫ z, planarCoreDamping s ε R b z) - |
| 261 | ∫ z, planarCoreDamping 1 ε R b z) (𝓝[>] (0 : ℝ)) (𝓝 0) := by |
| 262 | simpa only [sub_self] using (planarCoreDamping_integral_tendsto s R b hs hR).sub |
| 263 | (planarCoreDamping_integral_tendsto 1 R b (by norm_num) hR) |
| 264 | have hm : ∀ᶠ ε in 𝓝[>] (0 : ℝ), |
| 265 | ‖(∫ z, planarCoreDamping s ε R b z) - ∫ z, planarCoreDamping 1 ε R b z‖ < δ / 2 := by |
| 266 | simpa only [Metric.mem_ball, dist_zero_right] using |
| 267 | hmid.eventually (Metric.ball_mem_nhds (0 : ℂ) (half_pos hδ)) |
| 268 | filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Ioi 0), hm] with ε hε hmε |
| 269 | let M := (∫ z, planarCoreDamping s ε R b z) - ∫ z, planarCoreDamping 1 ε R b z |
| 270 | let A := ∫ z, planarTailDamping s ε R b z |
| 271 | let B := ∫ z, planarTailDamping 1 ε R b z |
| 272 | have ha : K * ‖A‖ ≤ P / R := htail s ε R b hs hs1 hε hR |
| 273 | have hb' : K * ‖B‖ ≤ P / R := htail 1 ε R b (by norm_num) le_rfl hε hR |
| 274 | have hn : ‖M + (A - B)‖ ≤ ‖M‖ + (‖A‖ + ‖B‖) := |
| 275 | (norm_add_le _ _).trans (add_le_add le_rfl (norm_sub_le _ _)) |
| 276 | have ht : K * ‖M + (A - B)‖ < K * δ := by |
| 277 | have hmul := mul_le_mul_of_nonneg_left hn hK.le |
| 278 | change ‖M‖ < δ / 2 at hmε |
| 279 | have hm' := mul_lt_mul_of_pos_left hmε hK |
| 280 | have hsum : K * (‖A‖ + ‖B‖) ≤ K * δ / 4 := by |
| 281 | calc |
| 282 | _ ≤ P / R + P / R := by rw [mul_add]; exact add_le_add ha hb' |
| 283 | _ = 2 * P / R := by ring |
| 284 | _ = _ := hRval |
| 285 | nlinarith only [hmul, hm', hsum, hK, hδ] |
| 286 | rw [dist_zero_right, planarPowerDamping_integral_split s ε R b hs hε, |
| 287 | planarPowerDamping_integral_split 1 ε R b (by norm_num) hε] |
| 288 | have heq : ((∫ z, planarCoreDamping s ε R b z) + A) - |
| 289 | ((∫ z, planarCoreDamping 1 ε R b z) + B) = M + (A - B) := by dsimp [M]; ring |
| 290 | change ‖((∫ z, planarCoreDamping s ε R b z) + A) - |
| 291 | ((∫ z, planarCoreDamping 1 ε R b z) + B)‖ < δ |
| 292 | rw [heq] |
| 293 | exact (mul_lt_mul_iff_right₀ hK).mp ht |
| 294 | |
| 295 | end |
| 296 | |
| 297 | end OAI.RepresentationTheory.Weil.Local.PlanarIntegral.Construction |