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.ArchimedeanTestSpace |
| 2 | import OAI.RepresentationTheory.Weil.Local.RealFourierLp |
| 3 | import OAI.RepresentationTheory.Weil.Local.FourierTensor |
| 4 | |
| 5 | /-! # Complex Fourier Standard -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.ComplexFourierStandard.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Exact reference-set Fourier normalization for the standard complex character. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | open scoped FourierTransform ComplexConjugate NNReal |
| 17 | |
| 18 | theorem scalarFourierIntegral_complex_standard (f : ℂ → ℂ) (x : ℂ) : |
| 19 | FourierTensor.Construction.scalarFourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f x = 𝓕 f (conj x) := by |
| 20 | rw [Real.fourier_eq] |
| 21 | unfold FourierTensor.Construction.scalarFourierIntegral |
| 22 | apply integral_congr_ae |
| 23 | exact Filter.Eventually.of_forall fun t => by |
| 24 | have hi : @inner ℝ ℂ _ t (conj x) = (x * t).re := by |
| 25 | rw [real_inner_eq_re_inner (𝕜 := ℂ), RCLike.inner_apply] |
| 26 | simp [Complex.mul_re, mul_comm] |
| 27 | dsimp only |
| 28 | rw [hi] |
| 29 | change f t * Gaussian.Construction.realCharacter 1 (-(x * t)).re = (Real.fourierChar (-(x * t).re) : ℂ) • f t |
| 30 | simp only [Complex.neg_re, Gaussian.Construction.realCharacter, MonoidHom.compAddChar_apply, |
| 31 | AddChar.mulShift_apply, one_mul, Function.comp_apply, smul_eq_mul] |
| 32 | exact mul_comm _ _ |
| 33 | |
| 34 | theorem scalarFourierIntegral_indicator {k : Type} [Field k] [MeasurableSpace k] |
| 35 | (ψ : AddChar k ℂ) (μ : Measure k) (S : Set k) (hS : MeasurableSet S) (x : k) : |
| 36 | FourierTensor.Construction.scalarFourierIntegral ψ μ (S.indicator (fun _ => (1 : ℂ))) x = ∫ t in S, ψ (-(x * t)) ∂μ := by |
| 37 | rw [FourierTensor.Construction.scalarFourierIntegral, ← integral_indicator hS] |
| 38 | apply integral_congr_ae |
| 39 | exact Filter.Eventually.of_forall fun t => by |
| 40 | by_cases ht : t ∈ S <;> simp [ht] |
| 41 | |
| 42 | theorem referenceFourier_complex_standard (x : ℂ) : |
| 43 | FunctionsMetaplectic.Construction.referenceFourier ℂ ArchimedeanTestSpace.Construction.complexStandardCharacter x = |
| 44 | (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * |
| 45 | 𝓕 ((FunctionsMetaplectic.Construction.referenceCompact ℂ : Set ℂ).indicator (fun _ => (1 : ℂ))) (conj x) := by |
| 46 | rw [FunctionsMetaplectic.Construction.referenceFourier, Measure.isAddLeftInvariant_eq_smul_of_regular |
| 47 | (Measure.addHaar : Measure ℂ) volume, Measure.restrict_smul, integral_smul_nnreal_measure] |
| 48 | change (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * _ = _ |
| 49 | congr 1 |
| 50 | rw [← scalarFourierIntegral_indicator _ _ _ (FunctionsMetaplectic.Construction.referenceCompact ℂ).isCompact.measurableSet, |
| 51 | scalarFourierIntegral_complex_standard] |
| 52 | |
| 53 | theorem fourierHaarScaleSquared_complex_standard : |
| 54 | FunctionsMetaplectic.Construction.fourierHaarScaleSquared ℂ ArchimedeanTestSpace.Construction.complexStandardCharacter = (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℝ) ^ 2 := by |
| 55 | let r : ℝ := ArchimedeanTestSpace.Construction.complexReferenceHaarFactor |
| 56 | let S : Set ℂ := FunctionsMetaplectic.Construction.referenceCompact ℂ |
| 57 | have hr : r ≠ 0 := (show 0 < r from ArchimedeanTestSpace.Construction.complexReferenceHaarFactor_pos).ne' |
| 58 | have hSpos : 0 < volume.real S := by |
| 59 | apply ENNReal.toReal_pos |
| 60 | · exact (Measure.measure_pos_of_nonempty_interior volume (FunctionsMetaplectic.Construction.referenceCompact ℂ).interior_nonempty).ne' |
| 61 | · exact (FunctionsMetaplectic.Construction.referenceCompact ℂ).isCompact.measure_ne_top |
| 62 | have hhaar : (Measure.addHaar : Measure ℂ) = ArchimedeanTestSpace.Construction.complexReferenceHaarFactor • volume := |
| 63 | Measure.isAddLeftInvariant_eq_smul_of_regular _ _ |
| 64 | have hconj : (∫ x : ℂ, ‖𝓕 (S.indicator (fun _ => (1 : ℂ))) (conj x)‖ ^ 2) = |
| 65 | ∫ x : ℂ, ‖𝓕 (S.indicator (fun _ => (1 : ℂ))) x‖ ^ 2 := by |
| 66 | simpa using! Complex.conjLIE.measurePreserving.integral_comp |
| 67 | Complex.conjLIE.toHomeomorph.measurableEmbedding |
| 68 | (fun x => ‖𝓕 (S.indicator (fun _ => (1 : ℂ))) x‖ ^ 2) |
| 69 | have hS : volume.real S ≠ 0 := hSpos.ne' |
| 70 | unfold FunctionsMetaplectic.Construction.fourierHaarScaleSquared |
| 71 | simp_rw [referenceFourier_complex_standard, norm_mul, Complex.norm_real, |
| 72 | Real.norm_eq_abs, abs_of_nonneg ArchimedeanTestSpace.Construction.complexReferenceHaarFactor.coe_nonneg, mul_pow] |
| 73 | rw [hhaar, integral_smul_nnreal_measure, measureReal_nnreal_smul_apply] |
| 74 | simp only [NNReal.smul_def, smul_eq_mul] |
| 75 | rw [integral_const_mul, hconj, RealFourierLp.Construction.real_indicator_fourier_norm_sq |
| 76 | (FunctionsMetaplectic.Construction.referenceCompact ℂ).isCompact.measurableSet (FunctionsMetaplectic.Construction.referenceCompact ℂ).isCompact.measure_ne_top] |
| 77 | change (r * (r ^ 2 * volume.real S)) / (r * volume.real S) = r ^ 2 |
| 78 | field_simp |
| 79 | |
| 80 | theorem selfDualMeasure_complex_standard : FunctionsMetaplectic.Construction.selfDualMeasure ℂ ArchimedeanTestSpace.Construction.complexStandardCharacter = volume := by |
| 81 | have hr : ArchimedeanTestSpace.Construction.complexReferenceHaarFactor ≠ 0 := ArchimedeanTestSpace.Construction.complexReferenceHaarFactor_pos.ne' |
| 82 | rw [FunctionsMetaplectic.Construction.selfDualMeasure, fourierHaarScaleSquared_complex_standard, |
| 83 | Real.sqrt_sq ArchimedeanTestSpace.Construction.complexReferenceHaarFactor.coe_nonneg] |
| 84 | rw [Measure.isAddLeftInvariant_eq_smul_of_regular (Measure.addHaar : Measure ℂ) volume] |
| 85 | change ENNReal.ofReal ((ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℝ)⁻¹) • |
| 86 | (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor • volume) = volume |
| 87 | rw [← NNReal.coe_inv, ENNReal.ofReal_coe_nnreal, ← ENNReal.smul_def, |
| 88 | smul_smul, inv_mul_cancel₀ hr, one_smul] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! Complex Fourier analysis in arbitrary rank. Haar uniqueness first gives |
| 93 | an explicit scalar; a tensor test determines that scalar exactly. -/ |
| 94 | |
| 95 | open _root_.MeasureTheory |
| 96 | open scoped FourierTransform ComplexConjugate NNReal SchwartzMap ContDiff |
| 97 | |
| 98 | section Twist |
| 99 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 100 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 101 | |
| 102 | def twistedSchwartzFourier (J : E ≃ₗᵢ[ℝ] E) (f : SchwartzMap E ℂ) : SchwartzMap E ℂ := |
| 103 | SchwartzMap.compCLMOfContinuousLinearEquiv ℂ J.toContinuousLinearEquiv (𝓕 f) |
| 104 | |
| 105 | theorem twistedSchwartzFourier_apply (J : E ≃ₗᵢ[ℝ] E) (f : SchwartzMap E ℂ) (x : E) : |
| 106 | twistedSchwartzFourier J f x = 𝓕 (f : E → ℂ) (J x) := by |
| 107 | exact congrFun (SchwartzMap.fourier_coe f) (J x) |
| 108 | |
| 109 | theorem realSchwartz_fourier_square (f : SchwartzMap E ℂ) (x : E) : |
| 110 | 𝓕 (𝓕 (f : E → ℂ)) x = f (-x) := by |
| 111 | have h := congrArg (fun g : SchwartzMap E ℂ => g (-x)) |
| 112 | ((FourierTransform.fourierEquiv ℂ (SchwartzMap E ℂ)).symm_apply_apply f) |
| 113 | change 𝓕⁻ (𝓕 f : SchwartzMap E ℂ) (-x) = f (-x) at h |
| 114 | simp only [SchwartzMap.fourierInv_coe, SchwartzMap.fourier_coe] at h |
| 115 | rwa [Real.fourierInv_eq_fourier_neg, neg_neg] at h |
| 116 | |
| 117 | theorem twistedSchwartzFourier_square (J : E ≃ₗᵢ[ℝ] E) |
| 118 | (hJ : Function.Involutive J) (f : SchwartzMap E ℂ) (x : E) : |
| 119 | twistedSchwartzFourier J (twistedSchwartzFourier J f) x = f (-x) := by |
| 120 | rw [twistedSchwartzFourier_apply] |
| 121 | have hf : (twistedSchwartzFourier J f : E → ℂ) = 𝓕 (f : E → ℂ) ∘ J := |
| 122 | funext (twistedSchwartzFourier_apply J f) |
| 123 | rw [hf, Real.fourier_comp_linearIsometry, hJ, realSchwartz_fourier_square] |
| 124 | |
| 125 | end Twist |
| 126 | |
| 127 | theorem scalarFourierIntegral_complex_standard_square (f : SchwartzMap ℂ ℂ) (x : ℂ) : |
| 128 | FourierTensor.Construction.scalarFourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume |
| 129 | (FourierTensor.Construction.scalarFourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f) x = f (-x) := by |
| 130 | have hf : FourierTensor.Construction.scalarFourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f = |
| 131 | (twistedSchwartzFourier Complex.conjLIE f : ℂ → ℂ) := by |
| 132 | funext y |
| 133 | rw [scalarFourierIntegral_complex_standard, twistedSchwartzFourier_apply] |
| 134 | rfl |
| 135 | rw [hf, scalarFourierIntegral_complex_standard] |
| 136 | exact twistedSchwartzFourier_square Complex.conjLIE (fun _ => star_star _) f x |
| 137 | |
| 138 | def complexL2Coordinates (n : ℕ) : EuclideanSpace ℂ (Fin n) ≃L[ℝ] FunctionsMetaplectic.Construction.Position ℂ n := |
| 139 | PiLp.continuousLinearEquiv 2 ℝ (fun _ : Fin n => ℂ) |
| 140 | |
| 141 | def complexPositionHaar (n : ℕ) : Measure (EuclideanSpace ℂ (Fin n)) := |
| 142 | (volume : Measure (FunctionsMetaplectic.Construction.Position ℂ n)).map (complexL2Coordinates n).symm |
| 143 | |
| 144 | instance complexPositionHaar_isAddHaarMeasure (n : ℕ) : (complexPositionHaar n).IsAddHaarMeasure := |
| 145 | (complexL2Coordinates n).symm.isAddHaarMeasure_map volume |
| 146 | |
| 147 | def complexPositionHaarFactor (n : ℕ) : ℝ≥0 := |
| 148 | Measure.addHaarScalarFactor (complexPositionHaar n) volume |
| 149 | |
| 150 | theorem complexPositionHaar_eq (n : ℕ) : |
| 151 | complexPositionHaar n = complexPositionHaarFactor n • volume := |
| 152 | Measure.isAddLeftInvariant_eq_smul_of_regular _ _ |
| 153 | |
| 154 | def complexConjugation (n : ℕ) : EuclideanSpace ℂ (Fin n) ≃ₗᵢ[ℝ] EuclideanSpace ℂ (Fin n) := |
| 155 | LinearIsometryEquiv.piLpCongrRight 2 (fun _ : Fin n => Complex.conjLIE) |
| 156 | |
| 157 | theorem complexConjugation_involutive (n : ℕ) : Function.Involutive (complexConjugation n) := by |
| 158 | intro x |
| 159 | ext i |
| 160 | exact star_star (x i) |
| 161 | |
| 162 | theorem complex_inner_conjugation (n : ℕ) (x y : EuclideanSpace ℂ (Fin n)) : |
| 163 | @inner ℝ (EuclideanSpace ℂ (Fin n)) _ y (complexConjugation n x) = |
| 164 | (FunctionsMetaplectic.Construction.dot (complexL2Coordinates n x) (complexL2Coordinates n y)).re := by |
| 165 | rw [PiLp.inner_apply] |
| 166 | change (∑ i, @inner ℝ ℂ _ (y i) (conj (x i))) = (∑ i, x i * y i).re |
| 167 | rw [Complex.re_sum] |
| 168 | apply Finset.sum_congr rfl |
| 169 | intro i _ |
| 170 | rw [real_inner_eq_re_inner (𝕜 := ℂ), RCLike.inner_apply] |
| 171 | simp [Complex.mul_re] |
| 172 | |
| 173 | theorem complex_fourier_coordinates (n : ℕ) (f : FunctionsMetaplectic.Construction.Position ℂ n → ℂ) (x : FunctionsMetaplectic.Construction.Position ℂ n) : |
| 174 | FunctionsMetaplectic.Construction.fourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f x = |
| 175 | (complexPositionHaarFactor n : ℂ) * |
| 176 | 𝓕 (f ∘ complexL2Coordinates n) (complexConjugation n ((complexL2Coordinates n).symm x)) := by |
| 177 | have hmap := integral_map_equiv (μ := (volume : Measure (FunctionsMetaplectic.Construction.Position ℂ n))) |
| 178 | (complexL2Coordinates n).symm.toHomeomorph.toMeasurableEquiv |
| 179 | (fun y => f (complexL2Coordinates n y) * |
| 180 | ArchimedeanTestSpace.Construction.complexStandardCharacter (-(FunctionsMetaplectic.Construction.dot x (complexL2Coordinates n y)))) |
| 181 | have heq : FunctionsMetaplectic.Construction.fourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f x = |
| 182 | ∫ y, f (complexL2Coordinates n y) * |
| 183 | ArchimedeanTestSpace.Construction.complexStandardCharacter (-(FunctionsMetaplectic.Construction.dot x (complexL2Coordinates n y))) ∂ complexPositionHaar n := by |
| 184 | simpa [FunctionsMetaplectic.Construction.fourierIntegral, complexPositionHaar] using! hmap.symm |
| 185 | rw [heq, complexPositionHaar_eq, integral_smul_nnreal_measure] |
| 186 | change (complexPositionHaarFactor n : ℂ) * _ = _ |
| 187 | congr 1 |
| 188 | rw [Real.fourier_eq] |
| 189 | apply integral_congr_ae |
| 190 | exact Filter.Eventually.of_forall fun y => by |
| 191 | dsimp only [Function.comp_apply] |
| 192 | rw [complex_inner_conjugation, ContinuousLinearEquiv.apply_symm_apply] |
| 193 | change f (complexL2Coordinates n y) * Gaussian.Construction.realCharacter 1 (-(FunctionsMetaplectic.Construction.dot x (complexL2Coordinates n y))).re = _ |
| 194 | simp only [Complex.neg_re, Gaussian.Construction.realCharacter, MonoidHom.compAddChar_apply, |
| 195 | AddChar.mulShift_apply, one_mul, Function.comp_apply, Circle.smul_def, smul_eq_mul] |
| 196 | exact mul_comm _ _ |
| 197 | |
| 198 | def complexSchwartzFourier (n : ℕ) (f : SchwartzMap (FunctionsMetaplectic.Construction.Position ℂ n) ℂ) : |
| 199 | SchwartzMap (FunctionsMetaplectic.Construction.Position ℂ n) ℂ := |
| 200 | (complexPositionHaarFactor n : ℂ) • |
| 201 | SchwartzMap.compCLMOfContinuousLinearEquiv ℂ (complexL2Coordinates n).symm |
| 202 | (twistedSchwartzFourier (complexConjugation n) |
| 203 | (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ (complexL2Coordinates n) f)) |
| 204 | |
| 205 | theorem complexSchwartzFourier_apply (n : ℕ) (f : SchwartzMap (FunctionsMetaplectic.Construction.Position ℂ n) ℂ) |
| 206 | (x : FunctionsMetaplectic.Construction.Position ℂ n) : |
| 207 | complexSchwartzFourier n f x = FunctionsMetaplectic.Construction.fourierIntegral ArchimedeanTestSpace.Construction.complexStandardCharacter volume f x := by |
| 208 | rw [complex_fourier_coordinates] |
| 209 | change (complexPositionHaarFactor n : ℂ) * _ = _ |
| 210 | congr 1 |
| 211 | |
| 212 | theorem complexSchwartzFourier_square (n : ℕ) (f : SchwartzMap (FunctionsMetaplectic.Construction.Position ℂ n) ℂ) |
| 213 | (x : FunctionsMetaplectic.Construction.Position ℂ n) : |
| 214 | complexSchwartzFourier n (complexSchwartzFourier n f) x = |
| 215 | (complexPositionHaarFactor n : ℂ) ^ 2 * f (-x) := by |
| 216 | let e := complexL2Coordinates n |
| 217 | let g := SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e f |
| 218 | have he : SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e (complexSchwartzFourier n f) = |
| 219 | (complexPositionHaarFactor n : ℂ) • twistedSchwartzFourier (complexConjugation n) g := by |
| 220 | ext y |
| 221 | change (complexPositionHaarFactor n : ℂ) * |
| 222 | twistedSchwartzFourier (complexConjugation n) g (e.symm (e y)) = |
| 223 | (complexPositionHaarFactor n : ℂ) * twistedSchwartzFourier (complexConjugation n) g y |
| 224 | rw [ContinuousLinearEquiv.symm_apply_apply] |
| 225 | change (complexPositionHaarFactor n : ℂ) * |
| 226 | twistedSchwartzFourier (complexConjugation n) |
| 227 | (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e (complexSchwartzFourier n f)) (e.symm x) = _ |
| 228 | rw [he] |
| 229 | simp only [twistedSchwartzFourier, FourierTransform.fourier_smul, |
| 230 | map_smul, smul_apply, smul_eq_mul] |
| 231 | change (complexPositionHaarFactor n : ℂ) * ((complexPositionHaarFactor n : ℂ) * |
| 232 | twistedSchwartzFourier (complexConjugation n) |
| 233 | (twistedSchwartzFourier (complexConjugation n) g) (e.symm x)) = _ |
| 234 | rw [twistedSchwartzFourier_square _ (complexConjugation_involutive n)] |
| 235 | change (complexPositionHaarFactor n : ℂ) * ((complexPositionHaarFactor n : ℂ) * |
| 236 | f (e (-e.symm x))) = _ |
| 237 | rw [map_neg, ContinuousLinearEquiv.apply_symm_apply] |
| 238 | ring |
| 239 | |
| 240 | end |
| 241 | |
| 242 | end OAI.RepresentationTheory.Weil.Local.ComplexFourierStandard.Construction |