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.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevDifferential |
| 2 | import Mathlib.Analysis.InnerProductSpace.PiL2 |
| 3 | |
| 4 | /-! # Fourier Energy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.FourierEnergy.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Fourier energy identity for the actual Sobolev embedding and weak derivatives. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory FourierTransform |
| 13 | open scoped SchwartzMap ComplexConjugate |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 16 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 17 | |
| 18 | /-- A pointwise square partition of Fourier symbols preserves the Hilbert inner product. -/ |
| 19 | theorem l2FourierPartition_inner {ι : Type*} [Fintype ι] |
| 20 | (g : ι → E → ℂ) (hg : ∀ i, (g i).HasTemperateGrowth) |
| 21 | (C : ι → ℝ) (hC : ∀ i x, ‖g i x‖ ≤ C i) |
| 22 | (hpartition : ∀ x, ∑ i, star (g i x) * g i x = 1) |
| 23 | (f h : Lp ℂ 2 (volume : Measure E)) : |
| 24 | ∑ i, inner ℂ (SobolevIs.CM.Construction.l2FourierMultiplier (hg i) (hC i) f) |
| 25 | (SobolevIs.CM.Construction.l2FourierMultiplier (hg i) (hC i) h) = inner ℂ f h := by |
| 26 | let T := fun i => SobolevIs.CM.Construction.l2FourierMultiplier (hg i) (hC i) (F := ℂ) |
| 27 | have hfae : ∀ᵐ x ∂(volume : Measure E), ∀ i, |
| 28 | (𝓕 (T i f) : Lp ℂ 2 (volume : Measure E)) x = g i x • (𝓕 f) x := |
| 29 | ae_all_iff.mpr (fun i => LpLocalization.CM.Construction.fourierMultiplier_l2_fourier_coeFn (hg i) (hC i) f (T i f) |
| 30 | (SobolevIs.CM.Construction.l2FourierMultiplier_distribution (hg i) (hC i) f)) |
| 31 | have hhae : ∀ᵐ x ∂(volume : Measure E), ∀ i, |
| 32 | (𝓕 (T i h) : Lp ℂ 2 (volume : Measure E)) x = g i x • (𝓕 h) x := |
| 33 | ae_all_iff.mpr (fun i => LpLocalization.CM.Construction.fourierMultiplier_l2_fourier_coeFn (hg i) (hC i) h (T i h) |
| 34 | (SobolevIs.CM.Construction.l2FourierMultiplier_distribution (hg i) (hC i) h)) |
| 35 | calc |
| 36 | _ = ∑ i, ∫ x, inner ℂ ((𝓕 (T i f) : Lp ℂ 2 (volume : Measure E)) x) |
| 37 | ((𝓕 (T i h) : Lp ℂ 2 (volume : Measure E)) x) := by |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro i _ |
| 40 | rw [← Lp.inner_fourier_eq, L2.inner_def] |
| 41 | _ = ∫ x, ∑ i, inner ℂ ((𝓕 (T i f) : Lp ℂ 2 (volume : Measure E)) x) |
| 42 | ((𝓕 (T i h) : Lp ℂ 2 (volume : Measure E)) x) := |
| 43 | (integral_finsetSum Finset.univ (fun i _ => L2.integrable_inner (𝕜 := ℂ) (𝓕 (T i f)) |
| 44 | (𝓕 (T i h)))).symm |
| 45 | _ = ∫ x, inner ℂ ((𝓕 f : Lp ℂ 2 (volume : Measure E)) x) |
| 46 | ((𝓕 h : Lp ℂ 2 (volume : Measure E)) x) := by |
| 47 | apply integral_congr_ae |
| 48 | filter_upwards [hfae, hhae] with x hx hy |
| 49 | simp only [hx, hy, inner_smul_left, inner_smul_right] |
| 50 | calc |
| 51 | _ = (∑ i, star (g i x) * g i x) * |
| 52 | inner ℂ ((𝓕 f : Lp ℂ 2 (volume : Measure E)) x) |
| 53 | ((𝓕 h : Lp ℂ 2 (volume : Measure E)) x) := by |
| 54 | rw [Finset.sum_mul] |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro i _ |
| 57 | change g i x * (star (g i x) * _) = _ |
| 58 | ring |
| 59 | _ = _ := by rw [hpartition, one_mul] |
| 60 | _ = inner ℂ f h := by rw [← L2.inner_def, Lp.inner_fourier_eq] |
| 61 | |
| 62 | /-- The scalar Bessel coordinate and the normalized directional derivative coordinates. -/ |
| 63 | def sobolevEnergySymbol {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) : |
| 64 | Option ι → E → ℂ |
| 65 | | none, x => (((1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ) : ℝ) : ℂ) |
| 66 | | some i, x => Complex.ofReal (inner ℝ x (b i) * (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ)) |
| 67 | |
| 68 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 69 | theorem sobolevEnergySymbol_temperate {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 70 | (i : Option ι) : (sobolevEnergySymbol b i).HasTemperateGrowth := by |
| 71 | cases i with |
| 72 | | none => |
| 73 | change (fun x : E => (((1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ) : ℝ) : ℂ)).HasTemperateGrowth |
| 74 | fun_prop |
| 75 | | some i => |
| 76 | change (fun x : E => Complex.ofReal |
| 77 | (inner ℝ x (b i) * (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ))).HasTemperateGrowth |
| 78 | fun_prop |
| 79 | |
| 80 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 81 | theorem sobolevEnergySymbol_bound {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 82 | (i : Option ι) (x : E) : ‖sobolevEnergySymbol b i x‖ ≤ 1 := by |
| 83 | cases i with |
| 84 | | none => exact SobolevIs.CM.Construction.negative_besselSymbol_bound (by norm_num : (0 : ℝ) ≤ 1) x |
| 85 | | some i => simpa only [sobolevEnergySymbol, b.norm_eq_one] using Bounds.CM.Construction.normalizedDerivativeSymbol_bound (b i) x |
| 86 | |
| 87 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 88 | theorem sobolevEnergySymbol_partition {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 89 | (x : E) : ∑ i, star (sobolevEnergySymbol b i x) * sobolevEnergySymbol b i x = 1 := by |
| 90 | let q : ℝ := (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ) |
| 91 | have hq : q ^ 2 = (1 + ‖x‖ ^ 2)⁻¹ := by |
| 92 | dsimp [q] |
| 93 | rw [← Real.rpow_two, ← Real.rpow_mul (by positivity)] |
| 94 | norm_num |
| 95 | exact Real.rpow_neg_one _ |
| 96 | have hreal : q ^ 2 + ∑ i, (inner ℝ x (b i) * q) ^ 2 = 1 := by |
| 97 | simp_rw [mul_pow] |
| 98 | rw [← Finset.sum_mul, b.sum_sq_inner_left, hq] |
| 99 | field_simp |
| 100 | rw [Fintype.sum_option] |
| 101 | change star (q : ℂ) * (q : ℂ) + |
| 102 | ∑ i, star (Complex.ofReal (inner ℝ x (b i) * q)) * |
| 103 | Complex.ofReal (inner ℝ x (b i) * q) = 1 |
| 104 | simpa only [Complex.star_def, Complex.conj_ofReal, ← pow_two, |
| 105 | ← Complex.ofReal_pow, ← Complex.ofReal_sum, ← Complex.ofReal_add, |
| 106 | ← Complex.ofReal_one] using congrArg Complex.ofReal hreal |
| 107 | |
| 108 | /-- The normalized gradient, with its actual directional components in a Hilbert direct sum. -/ |
| 109 | def sobolevNormalizedGradient {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) : |
| 110 | Lp ℂ 2 (volume : Measure E) →L[ℂ] PiLp 2 (fun _ : ι => Lp ℂ 2 (volume : Measure E)) := |
| 111 | (PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => Lp ℂ 2 (volume : Measure E))).symm.toContinuousLinearMap.comp |
| 112 | (ContinuousLinearMap.pi (fun i => SobolevIs.CM.Construction.l2FourierMultiplier |
| 113 | (sobolevEnergySymbol_temperate b (some i)) (sobolevEnergySymbol_bound b (some i)))) |
| 114 | |
| 115 | theorem sobolevNormalizedGradient_apply {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 116 | (f : Lp ℂ 2 (volume : Measure E)) (i : ι) : |
| 117 | sobolevNormalizedGradient b f i = SobolevIs.CM.Construction.l2FourierMultiplier |
| 118 | (sobolevEnergySymbol_temperate b (some i)) (sobolevEnergySymbol_bound b (some i)) f := rfl |
| 119 | |
| 120 | /-- Each normalized gradient component is exactly the native weak derivative divided by 2πi. -/ |
| 121 | theorem sobolevNormalizedGradient_derivative {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 122 | (f : Lp ℂ 2 (volume : Measure E)) (i : ι) : |
| 123 | SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) f = (2 * Real.pi * Complex.I : ℂ) • sobolevNormalizedGradient b f i := by |
| 124 | rw [sobolevNormalizedGradient_apply] |
| 125 | change (2 * Real.pi * Complex.I : ℂ) • |
| 126 | SobolevIs.CM.Construction.l2FourierMultiplier (g := fun x : E => |
| 127 | Complex.ofReal (inner ℝ x (b i) * (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ))) |
| 128 | (by fun_prop) (Bounds.CM.Construction.normalizedDerivativeSymbol_bound (b i)) f = _ |
| 129 | apply congrArg (fun v : Lp ℂ 2 (volume : Measure E) => (2 * Real.pi * Complex.I : ℂ) • v) |
| 130 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 131 | (F := ℂ) (μ := (volume : Measure E)) (p := 2))) |
| 132 | change (SobolevIs.CM.Construction.l2FourierMultiplier (g := fun x : E => |
| 133 | Complex.ofReal (inner ℝ x (b i) * (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ))) |
| 134 | (by fun_prop) (Bounds.CM.Construction.normalizedDerivativeSymbol_bound (b i)) f : TemperedDistribution E ℂ) = |
| 135 | (SobolevIs.CM.Construction.l2FourierMultiplier (sobolevEnergySymbol_temperate b (some i)) |
| 136 | (sobolevEnergySymbol_bound b (some i)) f : TemperedDistribution E ℂ) |
| 137 | rw [SobolevIs.CM.Construction.l2FourierMultiplier_distribution, SobolevIs.CM.Construction.l2FourierMultiplier_distribution] |
| 138 | rfl |
| 139 | |
| 140 | theorem sobolev_derivative_energy {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 141 | (f h : Lp ℂ 2 (volume : Measure E)) : |
| 142 | ∑ i, inner ℂ (SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) f) (SobolevDifferential.CM.Construction.sobolevL2Derivative (b i) h) = |
| 143 | (((2 * Real.pi) ^ 2 : ℝ) : ℂ) * |
| 144 | inner ℂ (sobolevNormalizedGradient b f) (sobolevNormalizedGradient b h) := by |
| 145 | let c : ℂ := 2 * Real.pi * Complex.I |
| 146 | have hc : c * star c = (((2 * Real.pi) ^ 2 : ℝ) : ℂ) := by |
| 147 | rw [Complex.star_def, Complex.mul_conj, Complex.normSq_eq_norm_sq] |
| 148 | have hn : ‖c‖ = 2 * Real.pi := by |
| 149 | dsimp [c] |
| 150 | simp [Real.norm_eq_abs, abs_of_pos Real.pi_pos] |
| 151 | rw [hn] |
| 152 | rw [PiLp.inner_apply, Finset.mul_sum] |
| 153 | apply Finset.sum_congr rfl |
| 154 | intro i _ |
| 155 | rw [sobolevNormalizedGradient_derivative, sobolevNormalizedGradient_derivative, |
| 156 | inner_smul_left, inner_smul_right] |
| 157 | change star c * (c * _) = _ |
| 158 | rw [← mul_assoc, mul_comm (star c) c, hc] |
| 159 | |
| 160 | /-- The usual H¹ graph inner product agrees exactly with the Bessel-coordinate Hilbert product. -/ |
| 161 | theorem sobolev_graph_inner {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ E) |
| 162 | (f h : Lp ℂ 2 (volume : Measure E)) : |
| 163 | inner ℂ f h = inner ℂ (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) f) |
| 164 | (SobolevIs.CM.Construction.sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) h) + |
| 165 | inner ℂ (sobolevNormalizedGradient b f) (sobolevNormalizedGradient b h) := by |
| 166 | have henergy := l2FourierPartition_inner (sobolevEnergySymbol b) |
| 167 | (sobolevEnergySymbol_temperate b) (fun _ => 1) (sobolevEnergySymbol_bound b) |
| 168 | (sobolevEnergySymbol_partition b) f h |
| 169 | rw [Fintype.sum_option] at henergy |
| 170 | rw [PiLp.inner_apply] |
| 171 | exact henergy.symm |
| 172 | |
| 173 | /-- No nonzero Euclidean L² function has all its first derivatives zero. -/ |
| 174 | theorem sobolevNormalizedGradient_injective [Nontrivial E] {ι : Type*} [Fintype ι] |
| 175 | (b : OrthonormalBasis ι ℝ E) : Function.Injective (sobolevNormalizedGradient b) := by |
| 176 | have hzero : ∀ f : Lp ℂ 2 (volume : Measure E), sobolevNormalizedGradient b f = 0 → f = 0 := by |
| 177 | intro f hf |
| 178 | have hzF : (𝓕 (0 : Lp ℂ 2 (volume : Measure E)) : Lp ℂ 2 (volume : Measure E)) = 0 := |
| 179 | (Lp.fourierTransformₗᵢ E ℂ).map_zero |
| 180 | have hcomponent (i : ι) : SobolevIs.CM.Construction.l2FourierMultiplier (sobolevEnergySymbol_temperate b (some i)) |
| 181 | (sobolevEnergySymbol_bound b (some i)) f = 0 := by |
| 182 | change sobolevNormalizedGradient b f i = 0 |
| 183 | rw [hf] |
| 184 | rfl |
| 185 | have hcoefs : ∀ᵐ x ∂(volume : Measure E), ∀ i : ι, |
| 186 | sobolevEnergySymbol b (some i) x * (𝓕 f : Lp ℂ 2 (volume : Measure E)) x = 0 := by |
| 187 | apply ae_all_iff.mpr |
| 188 | intro i |
| 189 | have h := LpLocalization.CM.Construction.fourierMultiplier_l2_fourier_coeFn |
| 190 | (sobolevEnergySymbol_temperate b (some i)) (sobolevEnergySymbol_bound b (some i)) f |
| 191 | (SobolevIs.CM.Construction.l2FourierMultiplier (sobolevEnergySymbol_temperate b (some i)) |
| 192 | (sobolevEnergySymbol_bound b (some i)) f) |
| 193 | (SobolevIs.CM.Construction.l2FourierMultiplier_distribution _ _ f) |
| 194 | rw [hcomponent i, hzF] at h |
| 195 | filter_upwards [h, Lp.coeFn_zero (E := ℂ) (p := 2) (μ := (volume : Measure E))] with x hx hz |
| 196 | rw [hz] at hx |
| 197 | exact hx.symm |
| 198 | have hfour : (𝓕 f : Lp ℂ 2 (volume : Measure E)) = 0 := by |
| 199 | apply Lp.ext |
| 200 | filter_upwards [hcoefs, (Set.countable_singleton (0 : E)).ae_notMem (volume : Measure E), |
| 201 | Lp.coeFn_zero (E := ℂ) (p := 2) (μ := (volume : Measure E))] with x hx hx0 hz |
| 202 | rw [hz] |
| 203 | have hex : ∃ i : ι, inner ℝ x (b i) ≠ 0 := by |
| 204 | by_contra! hn |
| 205 | have heq := b.sum_sq_inner_left x |
| 206 | simp only [hn, zero_pow (by norm_num : 2 ≠ 0), Finset.sum_const_zero] at heq |
| 207 | have hxzero : x = 0 := norm_eq_zero.mp (sq_eq_zero_iff.mp heq.symm) |
| 208 | exact hx0 (by simpa only [Set.mem_singleton_iff] using hxzero) |
| 209 | obtain ⟨i, hi⟩ := hex |
| 210 | have hsymbol : sobolevEnergySymbol b (some i) x ≠ 0 := by |
| 211 | change Complex.ofReal (inner ℝ x (b i) * (1 + ‖x‖ ^ 2) ^ (-1 / 2 : ℝ)) ≠ 0 |
| 212 | exact_mod_cast mul_ne_zero hi (Real.rpow_pos_of_pos (by positivity) _).ne' |
| 213 | exact (mul_eq_zero.mp (hx i)).resolve_left hsymbol |
| 214 | apply (Lp.fourierTransformₗᵢ E ℂ).injective |
| 215 | change (𝓕 f : Lp ℂ 2 (volume : Measure E)) = 𝓕 (0 : Lp ℂ 2 (volume : Measure E)) |
| 216 | rw [hzF] |
| 217 | exact hfour |
| 218 | intro f h heq |
| 219 | apply sub_eq_zero.mp |
| 220 | apply hzero |
| 221 | rw [map_sub, heq, sub_self] |
| 222 | |
| 223 | end |
| 224 | |
| 225 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.FourierEnergy.CM.Construction |