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.AdelicSplitting.ComplexFourier |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CharacterScaling |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FourierIntertwiner |
| 4 | |
| 5 | /-! # Complex Normalization -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.ComplexNormalization.LocalAnalysis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The exact raw complex Fourier oscillator for every continuous |
| 12 | nontrivial unitary character allowed by AdelicSplitting. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | open scoped NNReal ENNReal |
| 16 | |
| 17 | def complexCharacter (b : ℂ) : AddChar ℂ ℂ := ComplexFourier.LocalAnalysis.complexStandardCharacter.mulShift b |
| 18 | |
| 19 | theorem continuous_nontrivial_unitary_complex_character |
| 20 | (ψ : AddChar ℂ ℂ) (hc : Continuous ψ) (hu : ∀ z, ‖ψ z‖ = 1) (hn : ∃ z, ψ z ≠ 1) : |
| 21 | ∃ b : ℂ, b ≠ 0 ∧ ψ = complexCharacter b := by |
| 22 | obtain ⟨b, hb⟩ := ComplexFourier.LocalAnalysis.complex_character_coefficient ψ hc hu |
| 23 | have hbn : b ≠ 0 := by |
| 24 | intro hzero |
| 25 | obtain ⟨z, hz⟩ := hn |
| 26 | apply hz |
| 27 | rw [hb, hzero, zero_mul, ComplexFourier.LocalAnalysis.complexStandardCharacter.map_zero_eq_one] |
| 28 | exact ⟨b, hbn, DFunLike.ext _ _ hb⟩ |
| 29 | |
| 30 | theorem fourierHaarScaleSquared_complex (b : ℂ) (hb : b ≠ 0) : |
| 31 | Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared ℂ (complexCharacter b) = |
| 32 | (ComplexFourier.LocalAnalysis.complexReferenceHaarFactor : ℝ) ^ 2 / (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) := by |
| 33 | rw [complexCharacter, CharacterScaling.LocalAnalysis.fourierHaarScaleSquared_mulShift _ _ hb, |
| 34 | ComplexFourier.LocalAnalysis.fourierHaarScaleSquared_complex_standard] |
| 35 | |
| 36 | theorem fourierHaarScaleSquared_complex_pos (b : ℂ) (hb : b ≠ 0) : |
| 37 | 0 < Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared ℂ (complexCharacter b) := by |
| 38 | rw [fourierHaarScaleSquared_complex b hb] |
| 39 | exact div_pos (sq_pos_of_pos ComplexFourier.LocalAnalysis.complexReferenceHaarFactor_pos) (DeterminantMeasure.LocalAnalysis.haarModulus_pos ℂ hb) |
| 40 | |
| 41 | theorem selfDualMeasure_complex (b : ℂ) (hb : b ≠ 0) : |
| 42 | Local.FunctionsMetaplectic.Construction.selfDualMeasure ℂ (complexCharacter b) = |
| 43 | ENNReal.ofReal (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ)) • volume := by |
| 44 | have hr : (ComplexFourier.LocalAnalysis.complexReferenceHaarFactor : ℝ) ≠ 0 := |
| 45 | (show (0 : ℝ) < ComplexFourier.LocalAnalysis.complexReferenceHaarFactor from ComplexFourier.LocalAnalysis.complexReferenceHaarFactor_pos).ne' |
| 46 | have hs : Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ≠ 0 := |
| 47 | (Real.sqrt_pos.mpr (DeterminantMeasure.LocalAnalysis.haarModulus_pos ℂ hb)).ne' |
| 48 | have hscale : (Real.sqrt ((ComplexFourier.LocalAnalysis.complexReferenceHaarFactor : ℝ) ^ 2 / |
| 49 | (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ)))⁻¹ * (ComplexFourier.LocalAnalysis.complexReferenceHaarFactor : ℝ) = |
| 50 | Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) := by |
| 51 | rw [Real.sqrt_div (sq_nonneg _), Real.sqrt_sq ComplexFourier.LocalAnalysis.complexReferenceHaarFactor.coe_nonneg] |
| 52 | field_simp |
| 53 | rw [Local.FunctionsMetaplectic.Construction.selfDualMeasure, fourierHaarScaleSquared_complex b hb, |
| 54 | Measure.isAddLeftInvariant_eq_smul_of_regular (Measure.addHaar : Measure ℂ) volume] |
| 55 | change ENNReal.ofReal (Real.sqrt ((ComplexFourier.LocalAnalysis.complexReferenceHaarFactor : ℝ) ^ 2 / |
| 56 | (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ)))⁻¹ • (ComplexFourier.LocalAnalysis.complexReferenceHaarFactor • volume) = _ |
| 57 | rw [ENNReal.smul_def, smul_smul] |
| 58 | rw [← ENNReal.ofReal_coe_nnreal, ← ENNReal.ofReal_mul (by positivity), hscale] |
| 59 | |
| 60 | theorem positionMeasure_complex (n : ℕ) (b : ℂ) (hb : b ≠ 0) : |
| 61 | Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b) = |
| 62 | ENNReal.ofReal (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n) • volume := by |
| 63 | unfold Local.FunctionsMetaplectic.Construction.positionMeasure |
| 64 | simp_rw [selfDualMeasure_complex b hb] |
| 65 | let : (ENNReal.ofReal (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ)) • (volume : Measure ℂ)).IsAddHaarMeasure := by |
| 66 | apply Measure.IsAddHaarMeasure.smul |
| 67 | · exact (ENNReal.ofReal_pos.mpr (Real.sqrt_pos.mpr (DeterminantMeasure.LocalAnalysis.haarModulus_pos ℂ hb))).ne' |
| 68 | · exact ENNReal.ofReal_ne_top |
| 69 | refine Measure.pi_eq (μ := fun _ : Fin n => |
| 70 | ENNReal.ofReal (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ)) • (volume : Measure ℂ)) fun s _ => ?_ |
| 71 | rw [Measure.smul_apply, volume_pi_pi] |
| 72 | simp only [Measure.smul_apply, smul_eq_mul, Finset.prod_mul_distrib, |
| 73 | Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 74 | rw [ENNReal.ofReal_pow (Real.sqrt_nonneg _)] |
| 75 | |
| 76 | theorem complex_fourier_square_volume (n : ℕ) (b : ℂ) (hb : b ≠ 0) |
| 77 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) (x : Local.FunctionsMetaplectic.Construction.Position ℂ n) : |
| 78 | Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) volume |
| 79 | (Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) volume f.val) x = |
| 80 | (((DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n)⁻¹ : ℝ) • f.val (-x) := by |
| 81 | have hf : Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) volume f.val = |
| 82 | fun y => Local.FunctionsMetaplectic.Construction.fourierIntegral ComplexFourier.LocalAnalysis.complexStandardCharacter volume f.val (b • y) := |
| 83 | funext (CharacterScaling.LocalAnalysis.fourierIntegral_mulShift n ComplexFourier.LocalAnalysis.complexStandardCharacter b volume f.val) |
| 84 | rw [hf] |
| 85 | change Local.FunctionsMetaplectic.Construction.fourierIntegral (ComplexFourier.LocalAnalysis.complexStandardCharacter.mulShift b) (Measure.pi (fun _ : Fin n => volume)) |
| 86 | (fun y => Local.FunctionsMetaplectic.Construction.fourierIntegral ComplexFourier.LocalAnalysis.complexStandardCharacter volume f.val (b • y)) x = _ |
| 87 | rw [CharacterScaling.LocalAnalysis.fourierIntegral_mulShift_scaled_input _ _ _ hb] |
| 88 | congr 1 |
| 89 | exact ComplexFourier.LocalAnalysis.complex_fourier_inversion_standard n f x |
| 90 | |
| 91 | theorem fourierIntegral_complex_normalized (n : ℕ) (b : ℂ) (hb : b ≠ 0) |
| 92 | (f : Local.FunctionsMetaplectic.Construction.Position ℂ n → ℂ) (x : Local.FunctionsMetaplectic.Construction.Position ℂ n) : |
| 93 | Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b)) f x = |
| 94 | (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n : ℝ) • Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) volume f x := by |
| 95 | rw [positionMeasure_complex n b hb, Local.FunctionsMetaplectic.Construction.fourierIntegral, integral_smul_measure] |
| 96 | rw [ENNReal.toReal_ofReal (by positivity)] |
| 97 | rfl |
| 98 | |
| 99 | theorem complex_fourier_inversion (n : ℕ) (b : ℂ) (hb : b ≠ 0) |
| 100 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) (x : Local.FunctionsMetaplectic.Construction.Position ℂ n) : |
| 101 | Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b)) |
| 102 | (Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b)) f.val) x = |
| 103 | f.val (-x) := by |
| 104 | let c : ℝ := DeterminantMeasure.LocalAnalysis.haarModulus ℂ b |
| 105 | have hc : 0 < c := DeterminantMeasure.LocalAnalysis.haarModulus_pos ℂ hb |
| 106 | have hf : Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b)) f.val = |
| 107 | (Real.sqrt c ^ n : ℂ) • Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) volume f.val := by |
| 108 | funext y |
| 109 | rw [fourierIntegral_complex_normalized n b hb] |
| 110 | simp only [c, Complex.real_smul, Pi.smul_apply, smul_eq_mul, Complex.ofReal_pow] |
| 111 | rw [fourierIntegral_complex_normalized n b hb, hf, Local.FunctionsMetaplectic.Construction.fourierIntegral_smul, |
| 112 | Pi.smul_apply, complex_fourier_square_volume n b hb] |
| 113 | simp only [Complex.real_smul, smul_eq_mul] |
| 114 | have hcoef : Real.sqrt c ^ n * Real.sqrt c ^ n * (c ^ n)⁻¹ = 1 := by |
| 115 | rw [← mul_pow, Real.mul_self_sqrt hc.le, mul_inv_cancel₀ (pow_ne_zero _ hc.ne')] |
| 116 | have hcoefC : (Real.sqrt c ^ n : ℂ) * (Real.sqrt c ^ n : ℂ) * (((c ^ n)⁻¹ : ℝ) : ℂ) = 1 := by |
| 117 | exact_mod_cast hcoef |
| 118 | calc |
| 119 | _ = ((Real.sqrt c ^ n : ℂ) * (Real.sqrt c ^ n : ℂ) * (((c ^ n)⁻¹ : ℝ) : ℂ)) * f.val (-x) := by |
| 120 | dsimp only [c] |
| 121 | push_cast |
| 122 | ring |
| 123 | _ = _ := by rw [hcoefC, one_mul] |
| 124 | |
| 125 | theorem complex_fourier_mem (n : ℕ) (b : ℂ) (hb : b ≠ 0) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) : |
| 126 | Local.FunctionsMetaplectic.Construction.fourierIntegral (complexCharacter b) (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n (complexCharacter b)) f.val ∈ |
| 127 | Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n := by |
| 128 | obtain ⟨φ, hφ⟩ := ArchimedeanCharacters.LocalAnalysis.schwartzBruhat_archimedean_iff.mp (ComplexFourier.LocalAnalysis.complex_fourier_mem_standard n f) |
| 129 | let e := (CharacterScaling.LocalAnalysis.scalarPositionEquiv n b hb).restrictScalars ℝ |
| 130 | let χ := SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e φ |
| 131 | refine ArchimedeanCharacters.LocalAnalysis.schwartzBruhat_archimedean_iff.mpr |
| 132 | ⟨(Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n : ℂ) • χ, ?_⟩ |
| 133 | funext x |
| 134 | rw [fourierIntegral_complex_normalized n b hb, complexCharacter, CharacterScaling.LocalAnalysis.fourierIntegral_mulShift, hφ] |
| 135 | change (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n : ℝ) • φ (b • x) = |
| 136 | (Real.sqrt (DeterminantMeasure.LocalAnalysis.haarModulus ℂ b : ℝ) ^ n : ℂ) * φ (b • x) |
| 137 | simp only [Complex.real_smul, Complex.ofReal_pow] |
| 138 | |
| 139 | theorem complex_fourier_analysis (n : ℕ) |
| 140 | (ψ : AddChar ℂ ℂ) (hc : Continuous ψ) (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) : |
| 141 | 0 < Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared ℂ ψ ∧ |
| 142 | (∀ f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n, |
| 143 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ) f.val ∈ Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) ∧ |
| 144 | ∀ (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) x, |
| 145 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ) |
| 146 | (Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ) f.val) x = f.val (-x) := by |
| 147 | obtain ⟨b, hbn, rfl⟩ := continuous_nontrivial_unitary_complex_character ψ hc hu hn |
| 148 | exact ⟨fourierHaarScaleSquared_complex_pos b hbn, complex_fourier_mem n b hbn, |
| 149 | complex_fourier_inversion n b hbn⟩ |
| 150 | |
| 151 | def complexRawFourierOscillator (n : ℕ) |
| 152 | (ψ : AddChar ℂ ℂ) (hc : Continuous ψ) (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) : |
| 153 | Local.FunctionsMetaplectic.Construction.Oscillator ℂ n ψ := by |
| 154 | have h := complex_fourier_analysis n ψ hc hu hn |
| 155 | let : (Local.FunctionsMetaplectic.Construction.selfDualMeasure ℂ ψ).IsAddHaarMeasure := |
| 156 | FourierTools.LocalAnalysis.selfDualMeasure_isAddHaarMeasure_of_scale_pos ℂ ψ h.1 |
| 157 | let : (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ).IsAddHaarMeasure := by unfold Local.FunctionsMetaplectic.Construction.positionMeasure; infer_instance |
| 158 | exact FourierIntertwiner.LocalAnalysis.fourierOscillator ψ hu hc (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ) h.2.1 h.2.2 |
| 159 | |
| 160 | theorem complexRawFourierOscillator_apply (n : ℕ) |
| 161 | (ψ : AddChar ℂ ℂ) (hc : Continuous ψ) (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) |
| 162 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℂ n) (x : Local.FunctionsMetaplectic.Construction.Position ℂ n) : |
| 163 | ((complexRawFourierOscillator n ψ hc hu hn).val.2 f).val x = |
| 164 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ (Local.FunctionsMetaplectic.Construction.positionMeasure ℂ n ψ) f.val x := rfl |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI.RepresentationTheory.Weil.AdelicSplitting.ComplexNormalization.LocalAnalysis |