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.RealCharacters |
| 2 | import OAI.RepresentationTheory.Weil.Local.FourierEquivalence |
| 3 | |
| 4 | /-! # Real Normalization -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.RealNormalization.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The analytic clauses of LocalWeil for every continuous nontrivial unitary real character. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory Filter |
| 13 | open scoped _root_.Topology ENNReal |
| 14 | |
| 15 | theorem real_fourier_frequency {n : ℕ} (c : ℝ) (f : FunctionsMetaplectic.Construction.Position ℝ n → ℂ) |
| 16 | (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 17 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x = |
| 18 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume f (c • x) := by |
| 19 | unfold FunctionsMetaplectic.Construction.fourierIntegral |
| 20 | apply integral_congr_ae |
| 21 | exact Filter.Eventually.of_forall fun y => by |
| 22 | dsimp only |
| 23 | congr 1 |
| 24 | change (Real.fourierChar (c * -FunctionsMetaplectic.Construction.dot x y) : ℂ) = |
| 25 | (Real.fourierChar (1 * -FunctionsMetaplectic.Construction.dot (c • x) y) : ℂ) |
| 26 | congr 2 |
| 27 | simp [FunctionsMetaplectic.Construction.dot, Pi.smul_apply, smul_eq_mul, ← Finset.mul_sum, mul_assoc] |
| 28 | |
| 29 | theorem real_fourier_scaled_input {n : ℕ} (c : ℝ) (g : FunctionsMetaplectic.Construction.Position ℝ n → ℂ) |
| 30 | (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 31 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume (fun y => g (c • y)) x = |
| 32 | ((|c| ^ n)⁻¹ : ℝ) • FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume g x := by |
| 33 | have h := Measure.integral_comp_smul (volume : Measure (FunctionsMetaplectic.Construction.Position ℝ n)) |
| 34 | (fun y => g y * Gaussian.Construction.realCharacter 1 (-FunctionsMetaplectic.Construction.dot x y)) c |
| 35 | simp only [Module.finrank_pi, Fintype.card_fin, abs_inv, abs_pow] at h |
| 36 | unfold FunctionsMetaplectic.Construction.fourierIntegral |
| 37 | rw [← h] |
| 38 | apply integral_congr_ae |
| 39 | exact Filter.Eventually.of_forall fun y => by |
| 40 | dsimp only |
| 41 | congr 1 |
| 42 | change (Real.fourierChar (c * -FunctionsMetaplectic.Construction.dot x y) : ℂ) = |
| 43 | (Real.fourierChar (1 * -FunctionsMetaplectic.Construction.dot x (c • y)) : ℂ) |
| 44 | congr 2 |
| 45 | simp [FunctionsMetaplectic.Construction.dot, Pi.smul_apply, smul_eq_mul, Finset.mul_sum, mul_left_comm] |
| 46 | |
| 47 | theorem real_fourier_square_volume {n : ℕ} (c : ℝ) |
| 48 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 49 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume |
| 50 | (FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f.val) x = |
| 51 | ((|c| ^ n)⁻¹ : ℝ) • f.val (-x) := by |
| 52 | have hf : FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f.val = |
| 53 | fun y => FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume f.val (c • y) := |
| 54 | funext (real_fourier_frequency c f.val) |
| 55 | rw [hf, real_fourier_scaled_input, RealFourierLp.Construction.real_fourier_inversion_standard] |
| 56 | |
| 57 | theorem positionMeasure_real (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 58 | FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c) = |
| 59 | ENNReal.ofReal (Real.sqrt |c| ^ n) • volume := by |
| 60 | unfold FunctionsMetaplectic.Construction.positionMeasure |
| 61 | simp_rw [RealFourierLp.Construction.selfDualMeasure_real c hc] |
| 62 | let : (ENNReal.ofReal (Real.sqrt |c|) • (volume : Measure ℝ)).IsAddHaarMeasure := by |
| 63 | apply Measure.IsAddHaarMeasure.smul |
| 64 | · exact (ENNReal.ofReal_pos.mpr (Real.sqrt_pos.mpr (abs_pos.mpr hc))).ne' |
| 65 | · exact ENNReal.ofReal_ne_top |
| 66 | refine Measure.pi_eq (μ := fun _ : Fin n => |
| 67 | ENNReal.ofReal (Real.sqrt |c|) • (volume : Measure ℝ)) fun s _ => ?_ |
| 68 | rw [Measure.smul_apply, volume_pi_pi] |
| 69 | simp only [Measure.smul_apply, smul_eq_mul, Finset.prod_mul_distrib, |
| 70 | Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 71 | rw [ENNReal.ofReal_pow (Real.sqrt_nonneg _)] |
| 72 | |
| 73 | theorem fourierIntegral_real_normalized {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 74 | (f : FunctionsMetaplectic.Construction.Position ℝ n → ℂ) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 75 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f x = |
| 76 | (Real.sqrt |c| ^ n : ℝ) • FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f x := by |
| 77 | rw [positionMeasure_real n c hc, FunctionsMetaplectic.Construction.fourierIntegral, integral_smul_measure] |
| 78 | rw [ENNReal.toReal_ofReal (by positivity)] |
| 79 | rfl |
| 80 | |
| 81 | theorem real_fourier_inversion {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 82 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 83 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) |
| 84 | (FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val) x = |
| 85 | f.val (-x) := by |
| 86 | have hf : FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val = |
| 87 | (Real.sqrt |c| ^ n : ℂ) • FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) volume f.val := by |
| 88 | funext y |
| 89 | rw [fourierIntegral_real_normalized c hc] |
| 90 | simp only [Complex.real_smul, Pi.smul_apply, smul_eq_mul, Complex.ofReal_pow] |
| 91 | rw [fourierIntegral_real_normalized c hc, hf, FunctionsMetaplectic.Construction.fourierIntegral_smul, |
| 92 | Pi.smul_apply, real_fourier_square_volume] |
| 93 | simp only [Complex.real_smul, smul_eq_mul] |
| 94 | have hcoef : (Real.sqrt |c| ^ n) * (Real.sqrt |c| ^ n) * (|c| ^ n)⁻¹ = 1 := by |
| 95 | rw [← mul_pow, Real.mul_self_sqrt (abs_nonneg _), mul_inv_cancel₀ (pow_ne_zero _ (abs_ne_zero.mpr hc))] |
| 96 | have hcoefC : (Real.sqrt |c| ^ n : ℂ) * (Real.sqrt |c| ^ n : ℂ) * (((|c| ^ n)⁻¹ : ℝ) : ℂ) = 1 := by |
| 97 | exact_mod_cast hcoef |
| 98 | calc |
| 99 | _ = ((Real.sqrt |c| ^ n : ℂ) * (Real.sqrt |c| ^ n : ℂ) * |
| 100 | (((|c| ^ n)⁻¹ : ℝ) : ℂ)) * f.val (-x) := by push_cast; ring |
| 101 | _ = _ := by rw [hcoefC, one_mul] |
| 102 | |
| 103 | /-- Positivity, Haar validity, nonzero Gaussian limits, the eighth-root identity, |
| 104 | and Fourier inversion follow from the original natural hypotheses at a real place. -/ |
| 105 | theorem real_analytic_normalization |
| 106 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t => ψ t)) |
| 107 | (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) (n : ℕ) : |
| 108 | 0 < FunctionsMetaplectic.Construction.fourierHaarScaleSquared ℝ ψ ∧ |
| 109 | (FunctionsMetaplectic.Construction.selfDualMeasure ℝ ψ).IsAddHaarMeasure ∧ |
| 110 | (∀ a : ℝ, a ≠ 0 → |
| 111 | Tendsto (FunctionsMetaplectic.Construction.regularizedGaussian ℝ ψ a) (𝓝[>] (0 : ℝ)) (𝓝 (FunctionsMetaplectic.Construction.gaussianIntegral ℝ ψ a)) ∧ |
| 112 | FunctionsMetaplectic.Construction.gaussianIntegral ℝ ψ a ≠ 0 ∧ FunctionsMetaplectic.Construction.gaussianIndex ℝ ψ a ^ 8 = 1) ∧ |
| 113 | (∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n), |
| 114 | FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure ℝ n ψ) |
| 115 | (FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure ℝ n ψ) f.val) x = f.val (-x)) := by |
| 116 | obtain ⟨c, hc', rfl⟩ := RealCharacters.Construction.continuous_nontrivial_unitary_real_character ψ hc hu hn |
| 117 | refine ⟨RealFourierLp.Construction.fourierHaarScaleSquared_real_pos c hc', |
| 118 | FourierTools.Construction.selfDualMeasure_isAddHaarMeasure_of_scale_pos ℝ (Gaussian.Construction.realCharacter c) |
| 119 | (RealFourierLp.Construction.fourierHaarScaleSquared_real_pos c hc'), ?_, real_fourier_inversion c hc'⟩ |
| 120 | intro a ha |
| 121 | refine ⟨?_, Gaussian.Construction.gaussianIntegral_real_ne_zero c a hc' ha, Gaussian.Construction.gaussianIndex_real_eighth_power c a hc' ha⟩ |
| 122 | rw [Gaussian.Construction.gaussianIntegral_real_eq c a hc' ha] |
| 123 | exact Gaussian.Construction.regularizedGaussian_real_tendsto c a hc' ha |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.RepresentationTheory.Weil.Local.RealNormalization.Construction |