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.Theta.PoissonAutomorphyNormalizationData |
| 2 | |
| 3 | /-! # Rapid Functions -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.RapidFunctions.LocalAnalysis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Continuous rapidly decreasing functions and their finite products. |
| 12 | These are the analytic estimates required for lattice periodization. -/ |
| 13 | |
| 14 | open scoped Classical NNReal |
| 15 | |
| 16 | structure RapidFunction (V : Type*) [NormedAddCommGroup V] extends C(V, ℂ) where |
| 17 | decay : ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ x, (1 + ‖x‖) ^ k * ‖toContinuousMap x‖ ≤ C |
| 18 | |
| 19 | instance {V : Type*} [NormedAddCommGroup V] : CoeFun (RapidFunction V) (fun _ => V → ℂ) := |
| 20 | ⟨fun f => f.toContinuousMap⟩ |
| 21 | |
| 22 | theorem RapidFunction.continuous {V : Type*} [NormedAddCommGroup V] (f : RapidFunction V) : |
| 23 | Continuous f := f.toContinuousMap.continuous |
| 24 | |
| 25 | def schwartzRapidFunction {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 26 | (f : SchwartzMap V ℂ) : RapidFunction V where |
| 27 | toContinuousMap := f.toContinuousMap |
| 28 | decay := Theta.PoissonAutomorphyNormalizationData.Construction.schwartz_one_add_bound f |
| 29 | |
| 30 | variable {ι : Type*} [Fintype ι] {V : ι → Type*} [∀ i, NormedAddCommGroup (V i)] |
| 31 | |
| 32 | theorem one_add_norm_pi_le_prod (x : ∀ i, V i) : |
| 33 | 1 + ‖x‖ ≤ ∏ i, (1 + ‖x i‖) := by |
| 34 | have hp : (1 : ℝ) ≤ ∏ i, (1 + ‖x i‖) := |
| 35 | Finset.one_le_prod₀ (fun i _ => by linarith [norm_nonneg (x i)]) |
| 36 | have hx : ‖x‖ ≤ (∏ i, (1 + ‖x i‖)) - 1 := by |
| 37 | apply (pi_norm_le_iff_of_nonneg (sub_nonneg.mpr hp)).mpr |
| 38 | intro i |
| 39 | have hiN : (1 : ℝ≥0) + ‖x i‖₊ ≤ ∏ j, (1 + ‖x j‖₊) := |
| 40 | Finset.single_le_prod (f := fun j => (1 : ℝ≥0) + ‖x j‖₊) |
| 41 | (fun _ _ => le_add_of_nonneg_right zero_le) (Finset.mem_univ i) |
| 42 | have hi : 1 + ‖x i‖ ≤ ∏ j, (1 + ‖x j‖) := by |
| 43 | simpa only [NNReal.coe_add, NNReal.coe_one, NNReal.coe_prod, coe_nnnorm] |
| 44 | using (NNReal.coe_le_coe.mpr hiN) |
| 45 | linarith |
| 46 | linarith |
| 47 | |
| 48 | def piRapidFunction (f : ∀ i, RapidFunction (V i)) : RapidFunction (∀ i, V i) where |
| 49 | toContinuousMap := |
| 50 | { toFun := fun x => ∏ i, f i (x i) |
| 51 | continuous_toFun := continuous_finsetProd _ (fun i _ => (f i).continuous.comp (continuous_apply i)) } |
| 52 | decay k := by |
| 53 | choose C hC hb using fun i => (f i).decay k |
| 54 | refine ⟨∏ i, C i, Finset.prod_nonneg (fun i _ => hC i), fun x => ?_⟩ |
| 55 | change (1 + ‖x‖) ^ k * ‖∏ i, f i (x i)‖ ≤ ∏ i, C i |
| 56 | rw [norm_prod] |
| 57 | calc |
| 58 | _ ≤ (∏ i, (1 + ‖x i‖)) ^ k * ∏ i, ‖f i (x i)‖ := |
| 59 | mul_le_mul_of_nonneg_right |
| 60 | (pow_le_pow_left₀ (by positivity) (one_add_norm_pi_le_prod x) k) |
| 61 | (Finset.prod_nonneg (fun i _ => norm_nonneg _)) |
| 62 | _ = ∏ i, (1 + ‖x i‖) ^ k * ‖f i (x i)‖ := by |
| 63 | rw [← Finset.prod_pow, Finset.prod_mul_distrib] |
| 64 | _ ≤ _ := Finset.prod_le_prod₀ (fun i _ => by positivity) (fun i _ => hb i (x i)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | section |
| 69 | |
| 70 | /-! Locally uniform absolute convergence of lattice periodizations for |
| 71 | continuous rapidly decreasing functions. No differentiability is required. -/ |
| 72 | |
| 73 | open scoped Classical |
| 74 | open Filter _root_.TopologicalSpace Asymptotics |
| 75 | |
| 76 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 77 | [FiniteDimensional ℝ V] |
| 78 | |
| 79 | def shiftedRapidFunction (f : RapidFunction V) (a : V) : C(V, ℂ) := |
| 80 | ⟨fun x => f (x + a), f.continuous.comp (continuous_id.add continuous_const)⟩ |
| 81 | |
| 82 | theorem rapid_lattice_locally_summable_norm (L : Submodule ℤ V) [DiscreteTopology L] |
| 83 | (f : RapidFunction V) (K : Compacts V) : |
| 84 | Summable (fun a : L => ‖(shiftedRapidFunction f a.val).restrict K‖) := by |
| 85 | let k := Module.finrank ℤ L + 1 |
| 86 | obtain ⟨C, hC, hf⟩ := f.decay k |
| 87 | obtain ⟨R, hR⟩ := K.isCompact.isBounded.subset_closedBall 0 |
| 88 | let S := max 0 R |
| 89 | have hS : 0 ≤ S := le_max_left _ _ |
| 90 | have hxS : ∀ x : K, ‖x.val‖ ≤ S := by |
| 91 | intro x |
| 92 | have h := hR x.property |
| 93 | rw [Metric.mem_closedBall, dist_zero_right] at h |
| 94 | exact h.trans (le_max_right _ _) |
| 95 | have hbound : ∀ (a : L), a ≠ 0 → ∀ x : K, |
| 96 | ‖f (x.val + a.val)‖ ≤ (1 + S) ^ k * C * ‖a.val‖ ^ (-(k : ℝ)) := by |
| 97 | intro a ha x |
| 98 | have ha0 : 0 < ‖a.val‖ := norm_pos_iff.mpr (fun h => ha (Subtype.ext h)) |
| 99 | have htri : ‖a.val‖ ≤ ‖x.val + a.val‖ + ‖x.val‖ := by |
| 100 | calc |
| 101 | ‖a.val‖ = ‖(x.val + a.val) - x.val‖ := by congr 1; abel |
| 102 | _ ≤ ‖x.val + a.val‖ + ‖x.val‖ := norm_sub_le _ _ |
| 103 | have hbase : ‖a.val‖ ≤ (1 + S) * (1 + ‖x.val + a.val‖) := by |
| 104 | nlinarith [hxS x, norm_nonneg (x.val + a.val)] |
| 105 | have hweight : ‖a.val‖ ^ k * ‖f (x.val + a.val)‖ ≤ (1 + S) ^ k * C := by |
| 106 | calc |
| 107 | _ ≤ ((1 + S) * (1 + ‖x.val + a.val‖)) ^ k * ‖f (x.val + a.val)‖ := |
| 108 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) hbase k) (norm_nonneg _) |
| 109 | _ = (1 + S) ^ k * ((1 + ‖x.val + a.val‖) ^ k * ‖f (x.val + a.val)‖) := by |
| 110 | rw [mul_pow, mul_assoc] |
| 111 | _ ≤ (1 + S) ^ k * C := mul_le_mul_of_nonneg_left (hf _) (by positivity) |
| 112 | rw [Real.rpow_neg ha0.le, Real.rpow_natCast, ← div_eq_mul_inv] |
| 113 | exact (le_div_iff₀ (pow_pos ha0 k)).mpr (by simpa only [mul_comm] using hweight) |
| 114 | have hr : -(k : ℝ) < -(Module.finrank ℤ L : ℝ) := by |
| 115 | dsimp [k] |
| 116 | push_cast |
| 117 | linarith |
| 118 | apply summable_of_isBigO (ZLattice.summable_norm_rpow L (-(k : ℝ)) hr) |
| 119 | refine IsBigO.of_bound ((1 + S) ^ k * C) ?_ |
| 120 | filter_upwards [eventually_cofinite_ne (0 : L)] with a ha |
| 121 | rw [norm_norm, Real.norm_eq_abs, abs_of_nonneg (Real.rpow_nonneg (norm_nonneg _) _)] |
| 122 | apply (ContinuousMap.norm_le _ (by positivity)).mpr |
| 123 | exact hbound a ha |
| 124 | |
| 125 | def rapidLatticePeriodization (L : Submodule ℤ V) [DiscreteTopology L] |
| 126 | (f : RapidFunction V) : C(V, ℂ) := ∑' a : L, shiftedRapidFunction f a.val |
| 127 | |
| 128 | theorem rapidLatticePeriodization_apply (L : Submodule ℤ V) [DiscreteTopology L] |
| 129 | (f : RapidFunction V) (x : V) : |
| 130 | rapidLatticePeriodization L f x = ∑' a : L, f (x + a.val) := by |
| 131 | exact (ContinuousMap.tsum_apply (ContinuousMap.summable_of_locally_summable_norm |
| 132 | (rapid_lattice_locally_summable_norm L f)) x).symm |
| 133 | |
| 134 | theorem rapidLatticePeriodization_add (L : Submodule ℤ V) [DiscreteTopology L] |
| 135 | (f : RapidFunction V) (a : L) (x : V) : |
| 136 | rapidLatticePeriodization L f (x + a.val) = rapidLatticePeriodization L f x := by |
| 137 | simp only [rapidLatticePeriodization_apply] |
| 138 | have h := (Equiv.addLeft a).tsum_eq (fun b : L => f (x + b.val)) |
| 139 | simpa only [Equiv.coe_addLeft, Submodule.coe_add, add_assoc] using h |
| 140 | |
| 141 | end |
| 142 | |
| 143 | section |
| 144 | |
| 145 | /-! Coordinate transport, Haar integrability, and absolute lattice |
| 146 | summability for continuous rapidly decreasing functions. -/ |
| 147 | |
| 148 | open scoped Classical |
| 149 | open _root_.MeasureTheory _root_.TopologicalSpace |
| 150 | |
| 151 | variable {E D : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 152 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 153 | |
| 154 | def RapidFunction.compLinearEquiv (f : RapidFunction E) (e : D ≃L[ℝ] E) : RapidFunction D where |
| 155 | toContinuousMap := ⟨fun x => f (e x), f.continuous.comp e.continuous⟩ |
| 156 | decay k := by |
| 157 | obtain ⟨C, hC, hf⟩ := f.decay k |
| 158 | let M : ℝ := max 1 ‖e.symm.toContinuousLinearMap‖ |
| 159 | have hM : 0 ≤ M := (by norm_num : (0 : ℝ) ≤ 1).trans (le_max_left _ _) |
| 160 | refine ⟨M ^ k * C, mul_nonneg (pow_nonneg hM _) hC, fun x => ?_⟩ |
| 161 | have he : ‖x‖ ≤ ‖e.symm.toContinuousLinearMap‖ * ‖e x‖ := by |
| 162 | simpa only [ContinuousLinearEquiv.coe_coe, e.symm_apply_apply] using e.symm.toContinuousLinearMap.le_opNorm (e x) |
| 163 | have hb : 1 + ‖x‖ ≤ M * (1 + ‖e x‖) := by |
| 164 | have hm1 : 1 ≤ M := le_max_left _ _ |
| 165 | have hme : ‖e.symm.toContinuousLinearMap‖ ≤ M := le_max_right _ _ |
| 166 | nlinarith [norm_nonneg (e x)] |
| 167 | change (1 + ‖x‖) ^ k * ‖f (e x)‖ ≤ M ^ k * C |
| 168 | calc |
| 169 | _ ≤ (M * (1 + ‖e x‖)) ^ k * ‖f (e x)‖ := |
| 170 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (by positivity) hb k) (norm_nonneg _) |
| 171 | _ = M ^ k * ((1 + ‖e x‖) ^ k * ‖f (e x)‖) := by rw [mul_pow, mul_assoc] |
| 172 | _ ≤ _ := mul_le_mul_of_nonneg_left (hf _) (pow_nonneg hM _) |
| 173 | |
| 174 | theorem RapidFunction.integrable [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 175 | (f : RapidFunction E) (μ : Measure E) [μ.IsAddHaarMeasure] : Integrable (fun x => f x) μ := by |
| 176 | let k := Module.finrank ℝ E + 1 |
| 177 | obtain ⟨C, hC, hf⟩ := f.decay k |
| 178 | have hk : (Module.finrank ℝ E : ℝ) < (k : ℝ) := by dsimp [k]; norm_num |
| 179 | have hi := (integrable_one_add_norm (μ := μ) hk).const_mul C |
| 180 | apply hi.mono' f.continuous.aestronglyMeasurable |
| 181 | exact Filter.Eventually.of_forall fun x => by |
| 182 | rw [Real.rpow_neg (by positivity), Real.rpow_natCast, ← div_eq_mul_inv] |
| 183 | exact (le_div_iff₀ (by positivity : 0 < (1 + ‖x‖) ^ k)).mpr |
| 184 | (by simpa only [mul_comm] using hf x) |
| 185 | |
| 186 | theorem rapid_lattice_summable_norm [FiniteDimensional ℝ E] |
| 187 | (L : Submodule ℤ E) [DiscreteTopology L] (f : RapidFunction E) (x : E) : |
| 188 | Summable (fun a : L => ‖f (x + a.val)‖) := by |
| 189 | let K : Compacts E := ⟨{x}, isCompact_singleton⟩ |
| 190 | have hs := rapid_lattice_locally_summable_norm L f K |
| 191 | apply Summable.of_nonneg_of_le (fun _ => norm_nonneg _) _ hs |
| 192 | intro a |
| 193 | exact ((shiftedRapidFunction f a.val).restrict K).norm_coe_le_norm ⟨x, Set.mem_singleton x⟩ |
| 194 | |
| 195 | end |
| 196 | |
| 197 | /-! Polynomially weighted integrability and rapid decay of translated |
| 198 | correlations. These estimates will control the corrected weak operators at |
| 199 | archimedean places. -/ |
| 200 | |
| 201 | open _root_.MeasureTheory |
| 202 | |
| 203 | variable {V : Type*} [NormedAddCommGroup V] |
| 204 | |
| 205 | def RapidFunction.weightedNorm (f : RapidFunction V) (k : ℕ) : RapidFunction V where |
| 206 | toContinuousMap := ⟨fun x => ((1 + ‖x‖) ^ k * ‖f x‖ : ℝ), by |
| 207 | exact Complex.continuous_ofReal.comp ((continuous_const.add continuous_norm).pow k |>.mul f.continuous.norm)⟩ |
| 208 | decay ℓ := by |
| 209 | obtain ⟨C, hC, hf⟩ := f.decay (ℓ + k) |
| 210 | refine ⟨C, hC, fun x => ?_⟩ |
| 211 | change (1 + ‖x‖) ^ ℓ * ‖(((1 + ‖x‖) ^ k * ‖f x‖ : ℝ) : ℂ)‖ ≤ C |
| 212 | rw [Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (by positivity), ← mul_assoc, ← pow_add] |
| 213 | exact hf x |
| 214 | |
| 215 | theorem RapidFunction.weighted_integrable [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 216 | [MeasurableSpace V] [BorelSpace V] (f : RapidFunction V) (μ : Measure V) [μ.IsAddHaarMeasure] |
| 217 | (k : ℕ) : Integrable (fun x => (1 + ‖x‖) ^ k * ‖f x‖) μ := |
| 218 | ((f.weightedNorm k).integrable μ).re |
| 219 | |
| 220 | theorem one_add_norm_le_translation_product (q x : V) : |
| 221 | 1 + ‖q‖ ≤ (1 + ‖x - q‖) * (1 + ‖x‖) := by |
| 222 | have h : ‖q‖ ≤ ‖x‖ + ‖x - q‖ := by |
| 223 | simpa only [sub_sub_cancel] using norm_sub_le x (x - q) |
| 224 | nlinarith [norm_nonneg x, norm_nonneg (x - q)] |
| 225 | |
| 226 | theorem rapid_translated_correlation_bound [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 227 | [MeasurableSpace V] [BorelSpace V] (f h : RapidFunction V) |
| 228 | (μ : Measure V) [μ.IsAddHaarMeasure] (k : ℕ) : |
| 229 | ∃ C : ℝ, 0 ≤ C ∧ ∀ (q : V) (phase : V → ℂ), (∀ x, ‖phase x‖ = 1) → |
| 230 | (1 + ‖q‖) ^ k * ‖∫ x, phase x * f (x - q) * star (h x) ∂μ‖ ≤ C := by |
| 231 | obtain ⟨C, hC, hf⟩ := f.decay k |
| 232 | let I : ℝ := ∫ x, (1 + ‖x‖) ^ k * ‖h x‖ ∂μ |
| 233 | have hI : 0 ≤ I := integral_nonneg (fun _ => by positivity) |
| 234 | refine ⟨C * I, mul_nonneg hC hI, fun q phase hp => ?_⟩ |
| 235 | have hb (x : V) : (1 + ‖q‖) ^ k * ‖phase x * f (x - q) * star (h x)‖ ≤ |
| 236 | C * ((1 + ‖x‖) ^ k * ‖h x‖) := by |
| 237 | rw [norm_mul, norm_mul, hp, one_mul, norm_star] |
| 238 | have hx := one_add_norm_le_translation_product q x |
| 239 | calc |
| 240 | _ ≤ ((1 + ‖x - q‖) * (1 + ‖x‖)) ^ k * (‖f (x - q)‖ * ‖h x‖) := |
| 241 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (by positivity) hx k) (by positivity) |
| 242 | _ = ((1 + ‖x - q‖) ^ k * ‖f (x - q)‖) * ((1 + ‖x‖) ^ k * ‖h x‖) := by |
| 243 | rw [mul_pow] |
| 244 | ring |
| 245 | _ ≤ _ := mul_le_mul_of_nonneg_right (hf (x - q)) (by positivity) |
| 246 | calc |
| 247 | _ ≤ (1 + ‖q‖) ^ k * ∫ x, ‖phase x * f (x - q) * star (h x)‖ ∂μ := |
| 248 | mul_le_mul_of_nonneg_left (norm_integral_le_integral_norm _) (by positivity) |
| 249 | _ = ∫ x, (1 + ‖q‖) ^ k * ‖phase x * f (x - q) * star (h x)‖ ∂μ := |
| 250 | (integral_const_mul _ _).symm |
| 251 | _ ≤ ∫ x, C * ((1 + ‖x‖) ^ k * ‖h x‖) ∂μ := |
| 252 | integral_mono_of_nonneg (Filter.Eventually.of_forall fun _ => by positivity) |
| 253 | ((h.weighted_integrable μ k).const_mul C) (Filter.Eventually.of_forall hb) |
| 254 | _ = _ := integral_const_mul _ _ |
| 255 | |
| 256 | end |
| 257 | |
| 258 | end OAI.RepresentationTheory.Weil.AdelicSplitting.RapidFunctions.LocalAnalysis |