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.RealDiagonalGaussian |
| 2 | |
| 3 | /-! # Real Fresnel Normalization -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.RealFresnelNormalization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Real Fresnel pairing by dominated convergence of Gaussian cutoffs. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Filter |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | def realTensorDamping (n : ℕ) (c ε : ℝ) (x : FunctionsMetaplectic.Construction.Position ℝ n) : ℂ := |
| 17 | ∏ i, RealDiagonalGaussian.Construction.realQuadraticDamping c ε (x i) |
| 18 | |
| 19 | theorem realTensorDamping_integrable (n : ℕ) (c ε : ℝ) (hε : 0 < ε) : |
| 20 | Integrable (Construction.realTensorDamping n c ε) := |
| 21 | Integrable.fintype_prod (fun _ => RealDiagonalGaussian.Construction.realQuadraticDamping_integrable c ε hε) |
| 22 | |
| 23 | theorem realTensorDamping_norm_le {n : ℕ} (c ε : ℝ) (hε : 0 ≤ ε) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 24 | ‖Construction.realTensorDamping n c ε x‖ ≤ 1 := by |
| 25 | rw [Construction.realTensorDamping, norm_prod] |
| 26 | exact Finset.prod_le_one₀ (fun i _ => norm_nonneg _) (fun i _ => RealDiagonalGaussian.Construction.realQuadraticDamping_norm_le c ε (x i) hε) |
| 27 | |
| 28 | theorem realTensorDamping_tendsto {n : ℕ} (c : ℝ) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 29 | Tendsto (fun ε => Construction.realTensorDamping n c ε x) (𝓝[>] (0 : ℝ)) |
| 30 | (𝓝 (Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic 1 x))) := by |
| 31 | have h := tendsto_finsetProd Finset.univ (fun (i : Fin n) _ => RealDiagonalGaussian.Construction.realQuadraticDamping_tendsto c (x i)) |
| 32 | simpa only [Construction.realTensorDamping, ← CompactCharacter.Construction.character_finset_sum, ← FresnelLimit.Construction.quadratic_one_sum] using! h |
| 33 | |
| 34 | theorem fourier_realTensorDamping {n : ℕ} (c ε : ℝ) (hε : 0 < ε) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 35 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (Construction.realTensorDamping n c ε) x = |
| 36 | Gaussian.Construction.realDampedGaussian c 1 ε ^ n * |
| 37 | ∏ i, Complex.exp (-((Real.pi : ℂ) ^ 2 * c ^ 2 * (x i) ^ 2) / |
| 38 | ((ε : ℂ) - Real.pi * c * Complex.I)) := by |
| 39 | rw [show (volume : Measure (FunctionsMetaplectic.Construction.Position ℝ n)) = Measure.pi (fun _ : Fin n => (volume : Measure ℝ)) from rfl] |
| 40 | unfold Construction.realTensorDamping |
| 41 | rw [FourierTensor.Construction.fourierIntegral_product] |
| 42 | simp only [RealDiagonalGaussian.Construction.scalarFourier_realQuadraticDamping c ε hε, Finset.prod_mul_distrib, |
| 43 | Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 44 | |
| 45 | theorem fourier_realTensorDamping_tendsto {n : ℕ} (c : ℝ) (hc : c ≠ 0) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 46 | Tendsto (fun ε => FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (Construction.realTensorDamping n c ε) x) |
| 47 | (𝓝[>] (0 : ℝ)) |
| 48 | (𝓝 (((Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ)) ^ n * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x))) := by |
| 49 | have h := tendsto_finsetProd Finset.univ |
| 50 | (fun (i : Fin n) _ => RealDiagonalGaussian.Construction.scalarFourier_realQuadraticDamping_tendsto c hc (x i)) |
| 51 | simp only [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, Fintype.card_fin, |
| 52 | ← CompactCharacter.Construction.character_finset_sum, Finset.sum_neg_distrib, ← FresnelLimit.Construction.quadratic_one_sum] at h |
| 53 | convert h using 1 |
| 54 | funext ε |
| 55 | exact FourierTensor.Construction.fourierIntegral_product (Gaussian.Construction.realCharacter c) volume (fun _ => RealDiagonalGaussian.Construction.realQuadraticDamping c ε) x |
| 56 | |
| 57 | theorem fourier_realTensorDamping_norm_le {n : ℕ} (c ε : ℝ) (hε : 0 < ε) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 58 | ‖FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (Construction.realTensorDamping n c ε) x‖ ≤ |
| 59 | ‖Gaussian.Construction.realDampedGaussian c 1 ε‖ ^ n := by |
| 60 | rw [fourier_realTensorDamping c ε hε, norm_mul, norm_pow] |
| 61 | apply mul_le_of_le_one_right (by positivity) |
| 62 | rw [norm_prod] |
| 63 | exact Finset.prod_le_one₀ (fun _ _ => norm_nonneg _) |
| 64 | (fun i _ => RealDiagonalGaussian.Construction.realFresnelGaussian_factor_norm_le c ε (x i) hε.le) |
| 65 | |
| 66 | theorem real_fresnel_pairing_volume {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 67 | {f : FunctionsMetaplectic.Construction.Position ℝ n → ℂ} (hf : Integrable f) |
| 68 | (hF : Integrable (FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f)) : |
| 69 | (∫ x, FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x * Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic 1 x)) = |
| 70 | ((Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ)) ^ n * |
| 71 | ∫ x, f x * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) := by |
| 72 | have hχ : Continuous (fun t => Gaussian.Construction.realCharacter c t) := (RealTestSpace.Construction.realCharacter_temperate c).1.continuous |
| 73 | let d : ℂ := (Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ) |
| 74 | have hleft : Tendsto (fun ε : ℝ => ∫ x, |
| 75 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x * Construction.realTensorDamping n c ε x) |
| 76 | (𝓝[>] (0 : ℝ)) |
| 77 | (𝓝 (∫ x, FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x * Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic 1 x))) := by |
| 78 | apply tendsto_integral_filter_of_dominated_convergence (fun x => ‖FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x‖) |
| 79 | · exact Eventually.of_forall fun ε => hF.aestronglyMeasurable.mul |
| 80 | ((by unfold Construction.realTensorDamping; simp_rw [RealDiagonalGaussian.Construction.realQuadraticDamping_eq]; fun_prop : |
| 81 | Continuous (realTensorDamping n c ε)).aestronglyMeasurable) |
| 82 | · filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Set.Ioi 0)] with ε hε |
| 83 | exact Eventually.of_forall fun x => by |
| 84 | rw [norm_mul] |
| 85 | exact mul_le_of_le_one_right (norm_nonneg _) (realTensorDamping_norm_le c ε hε.le x) |
| 86 | · exact hF.norm |
| 87 | · exact Eventually.of_forall fun x => (realTensorDamping_tendsto c x).const_mul _ |
| 88 | have hbound : ∀ᶠ ε in 𝓝[>] (0 : ℝ), ‖Gaussian.Construction.realDampedGaussian c 1 ε‖ ≤ ‖d‖ + 1 := |
| 89 | (RealDiagonalGaussian.Construction.realDampedGaussian_tendsto c hc).norm.eventually_le_const (lt_add_one _) |
| 90 | have hright : Tendsto (fun ε : ℝ => ∫ x, |
| 91 | f x * FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (Construction.realTensorDamping n c ε) x) |
| 92 | (𝓝[>] (0 : ℝ)) |
| 93 | (𝓝 (∫ x, f x * (d ^ n * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x)))) := by |
| 94 | apply tendsto_integral_filter_of_dominated_convergence (fun x => ‖f x‖ * (‖d‖ + 1) ^ n) |
| 95 | · filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Set.Ioi 0)] with ε hε |
| 96 | apply hf.aestronglyMeasurable.mul |
| 97 | exact (FourierTools.Construction.fourierIntegral_continuous (Gaussian.Construction.realCharacter c) (QuadraticIntertwiner.Construction.realCharacter_unitary c) hχ volume |
| 98 | (realTensorDamping_integrable n c ε hε)).aestronglyMeasurable |
| 99 | · filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Set.Ioi 0), hbound] with ε hε hb |
| 100 | exact Eventually.of_forall fun x => by |
| 101 | rw [norm_mul] |
| 102 | exact mul_le_mul_of_nonneg_left |
| 103 | ((fourier_realTensorDamping_norm_le c ε hε x).trans (pow_le_pow_left₀ (norm_nonneg _) hb n)) |
| 104 | (norm_nonneg _) |
| 105 | · exact hf.norm.mul_const _ |
| 106 | · exact Eventually.of_forall fun x => (fourier_realTensorDamping_tendsto c hc x).const_mul _ |
| 107 | have heq := hleft.congr' (show (fun ε : ℝ => ∫ x, |
| 108 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x * Construction.realTensorDamping n c ε x) =ᶠ[𝓝[>] (0 : ℝ)] |
| 109 | (fun ε => ∫ x, f x * FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (Construction.realTensorDamping n c ε) x) from by |
| 110 | filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Set.Ioi 0)] with ε hε |
| 111 | exact FresnelLimit.Construction.fourierIntegral_mul_swap (Gaussian.Construction.realCharacter c) (QuadraticIntertwiner.Construction.realCharacter_unitary c) hχ volume hf |
| 112 | (realTensorDamping_integrable n c ε hε)) |
| 113 | have h := tendsto_nhds_unique heq hright |
| 114 | rw [h, ← integral_const_mul] |
| 115 | apply integral_congr_ae |
| 116 | exact Eventually.of_forall fun x => by dsimp [d]; ring |
| 117 | |
| 118 | end |
| 119 | |
| 120 | /-! The Fresnel coefficient equals the actual normalized real Gaussian index. -/ |
| 121 | |
| 122 | open _root_.MeasureTheory |
| 123 | |
| 124 | theorem realGaussian_coefficient_normalized (c : ℝ) (hc : c ≠ 0) : |
| 125 | (Real.sqrt |c| : ℂ) * (Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ) = |
| 126 | FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 := by |
| 127 | let d : ℂ := (Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ) |
| 128 | have hsquare : d ^ (2 : ℕ) = Complex.I / (c : ℂ) := by simp [d, one_div] |
| 129 | have hnorm : ‖d‖ ^ 2 = 1 / |c| := by |
| 130 | simpa only [norm_pow, norm_div, Complex.norm_I, Complex.norm_real, Real.norm_eq_abs] using congrArg norm hsquare |
| 131 | have hprod : (Real.sqrt |c| * ‖d‖) ^ 2 = 1 := by |
| 132 | rw [mul_pow, Real.sq_sqrt (abs_nonneg _), hnorm, mul_one_div_cancel (abs_ne_zero.mpr hc)] |
| 133 | have hunit : Real.sqrt |c| * ‖d‖ = 1 := by |
| 134 | have hpos : 0 ≤ Real.sqrt |c| * ‖d‖ := mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _) |
| 135 | nlinarith |
| 136 | have hd : ‖d‖ ≠ 0 := by intro hz; rw [hz, mul_zero] at hunit; exact zero_ne_one hunit |
| 137 | rw [Gaussian.Construction.gaussianIndex_real_eq c 1 hc one_ne_zero] |
| 138 | simp only [Complex.ofReal_one, mul_one] |
| 139 | change (Real.sqrt |c| : ℂ) * d = d / (‖d‖ : ℂ) |
| 140 | apply (eq_div_iff (Complex.ofReal_ne_zero.mpr hd)).mpr |
| 141 | have hu : (Real.sqrt |c| : ℂ) * (‖d‖ : ℂ) = 1 := by exact_mod_cast hunit |
| 142 | calc |
| 143 | _ = ((Real.sqrt |c| : ℂ) * (‖d‖ : ℂ)) * d := by ring |
| 144 | _ = d := by rw [hu, one_mul] |
| 145 | |
| 146 | theorem real_fresnel_pairing {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 147 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 148 | (∫ x, FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val x * |
| 149 | Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic 1 x) ∂ FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) = |
| 150 | FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * |
| 151 | ∫ x, f.val x * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) ∂ FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c) := by |
| 152 | have hf : Integrable f.val := FunctionsMetaplectic.Construction.schwartzBruhat_integrable volume f |
| 153 | have hF : Integrable (FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f.val) := by |
| 154 | have h := FunctionsMetaplectic.Construction.schwartzBruhat_integrable volume |
| 155 | ((FunctionsMetaplectic.Construction.schwartzBruhat_coordinateEquiv (RealFourierFamily.Construction.realFrequencyAddEquiv n c hc)) (RealFourierLp.Construction.realBruhatFourier n f)) |
| 156 | convert! h using 1 |
| 157 | funext x |
| 158 | rw [RealNormalization.Construction.real_fourier_frequency, ← RealFourierLp.Construction.realBruhatFourier_apply] |
| 159 | rfl |
| 160 | have hp := real_fresnel_pairing_volume c hc hf hF |
| 161 | have hcoef : (Real.sqrt |c| ^ n : ℂ) * ((Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ)) ^ n = |
| 162 | FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n := by |
| 163 | rw [← mul_pow, realGaussian_coefficient_normalized c hc] |
| 164 | simp_rw [RealNormalization.Construction.fourierIntegral_real_normalized c hc, Complex.real_smul] |
| 165 | rw [RealNormalization.Construction.positionMeasure_real n c hc, integral_smul_measure, integral_smul_measure, |
| 166 | ENNReal.toReal_ofReal (by positivity)] |
| 167 | simp only [Complex.real_smul, mul_assoc, integral_const_mul] |
| 168 | rw [hp] |
| 169 | push_cast |
| 170 | calc |
| 171 | _ = ((Real.sqrt |c| : ℂ) ^ n * ((Complex.I / (c : ℂ)) ^ (1 / 2 : ℂ)) ^ n) * |
| 172 | ((Real.sqrt |c| : ℂ) ^ n * ∫ x, f.val x * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x)) := by ring |
| 173 | _ = _ := by rw [hcoef] |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.RepresentationTheory.Weil.Local.RealFresnelNormalization.Construction |