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.PlanarIntegral |
| 2 | |
| 3 | /-! # Complex Power Gaussian -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.ComplexPowerGaussian.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The actual complex Gaussian limit for every norm power in (0, 1]. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Filter |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | theorem planarPowerDamping_one_haar (ε : ℝ) : |
| 17 | FunctionsMetaplectic.Construction.regularizedGaussian ℂ ArchimedeanTestSpace.Construction.complexStandardCharacter 1 ε = |
| 18 | (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * ∫ z, PlanarPowerDamping.Construction.planarPowerDamping 1 ε Real.pi z := by |
| 19 | rw [FunctionsMetaplectic.Construction.regularizedGaussian, Measure.isAddLeftInvariant_eq_smul_of_regular |
| 20 | (Measure.addHaar : Measure ℂ) volume, integral_smul_nnreal_measure] |
| 21 | change (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * |
| 22 | (∫ z : ℂ, (Real.exp (-ε * ‖z‖ ^ 2) : ℂ) * ArchimedeanTestSpace.Construction.complexStandardCharacter (1 * z ^ 2 / 2)) = _ |
| 23 | congr 1 |
| 24 | rw [← Complex.volume_preserving_equiv_real_prod.symm.integral_comp |
| 25 | Complex.measurableEquivRealProd.symm.measurableEmbedding] |
| 26 | apply integral_congr_ae |
| 27 | exact Eventually.of_forall fun z => by |
| 28 | have h := PlanarPowerDamping.Construction.planarPowerDamping_complex 1 ε (Complex.measurableEquivRealProd.symm z) |
| 29 | have hz : ((Complex.measurableEquivRealProd.symm z).re, |
| 30 | (Complex.measurableEquivRealProd.symm z).im) = z := |
| 31 | Complex.measurableEquivRealProd.apply_symm_apply z |
| 32 | rw [hz] at h |
| 33 | simpa only [mul_one, one_mul, Real.rpow_two] using h.symm |
| 34 | |
| 35 | theorem planarPowerDamping_one_integral_tendsto : |
| 36 | Tendsto (fun ε => ∫ z, PlanarPowerDamping.Construction.planarPowerDamping 1 ε Real.pi z) (𝓝[>] (0 : ℝ)) (𝓝 1) := by |
| 37 | have hr : (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) ≠ 0 := by exact_mod_cast ArchimedeanTestSpace.Construction.complexReferenceHaarFactor_pos.ne' |
| 38 | have ht := ArchimedeanTestSpace.Construction.regularizedGaussian_complex_standard_tendsto.const_mul (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ)⁻¹ |
| 39 | rw [inv_mul_cancel₀ hr] at ht |
| 40 | apply ht.congr |
| 41 | intro ε |
| 42 | rw [planarPowerDamping_one_haar, ← mul_assoc, inv_mul_cancel₀ hr, one_mul] |
| 43 | |
| 44 | theorem planarPowerDamping_integral_tendsto (s : ℝ) (hs : 0 < s) (hs1 : s ≤ 1) : |
| 45 | Tendsto (fun ε => ∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε Real.pi z) (𝓝[>] (0 : ℝ)) (𝓝 1) := by |
| 46 | have ht := (PlanarIntegral.Construction.planarPowerDamping_integral_difference_tendsto s Real.pi hs hs1 Real.pi_ne_zero).add |
| 47 | planarPowerDamping_one_integral_tendsto |
| 48 | simpa only [sub_add_cancel, zero_add] using ht |
| 49 | |
| 50 | def complexPowerDamping (s ε : ℝ) (z : ℂ) : ℂ := |
| 51 | (Real.exp (-ε * ‖z‖ ^ (2 * s)) : ℂ) * ArchimedeanTestSpace.Construction.complexStandardCharacter (z ^ 2 / 2) |
| 52 | |
| 53 | theorem complexPowerDamping_integral_eq_planar (s ε : ℝ) : |
| 54 | (∫ z : ℂ, complexPowerDamping s ε z) = ∫ z, PlanarPowerDamping.Construction.planarPowerDamping s ε Real.pi z := by |
| 55 | rw [← Complex.volume_preserving_equiv_real_prod.symm.integral_comp |
| 56 | Complex.measurableEquivRealProd.symm.measurableEmbedding] |
| 57 | apply integral_congr_ae |
| 58 | exact Eventually.of_forall fun z => by |
| 59 | have h := PlanarPowerDamping.Construction.planarPowerDamping_complex s ε (Complex.measurableEquivRealProd.symm z) |
| 60 | have hz : ((Complex.measurableEquivRealProd.symm z).re, |
| 61 | (Complex.measurableEquivRealProd.symm z).im) = z := |
| 62 | Complex.measurableEquivRealProd.apply_symm_apply z |
| 63 | rw [hz] at h |
| 64 | exact h.symm |
| 65 | |
| 66 | theorem complexPowerDamping_integral_tendsto (s : ℝ) (hs : 0 < s) (hs1 : s ≤ 1) : |
| 67 | Tendsto (fun ε => ∫ z : ℂ, complexPowerDamping s ε z) (𝓝[>] (0 : ℝ)) (𝓝 1) := by |
| 68 | apply (planarPowerDamping_integral_tendsto s hs hs1).congr |
| 69 | intro ε |
| 70 | exact (complexPowerDamping_integral_eq_planar s ε).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | /-! Positive complex Gaussian limits with power damping, for every nontrivial unitary character. -/ |
| 75 | |
| 76 | open _root_.MeasureTheory Filter |
| 77 | open scoped _root_.Topology |
| 78 | |
| 79 | def complexRegularizedPowerGaussian (p : ℝ) (ψ : AddChar ℂ ℂ) (a : ℂ) (ε : ℝ) : ℂ := |
| 80 | ∫ z : ℂ, (Real.exp (-ε * ‖z‖ ^ (2 * p)) : ℂ) * ψ (a * z ^ 2 / 2) ∂Measure.addHaar |
| 81 | |
| 82 | theorem complexRegularizedPowerGaussian_standard_tendsto (p : ℝ) (hp : 0 < p) (hp1 : p ≤ 1) : |
| 83 | Tendsto (complexRegularizedPowerGaussian p ArchimedeanTestSpace.Construction.complexStandardCharacter 1) (𝓝[>] (0 : ℝ)) |
| 84 | (𝓝 (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ)) := by |
| 85 | have ht := (complexPowerDamping_integral_tendsto p hp hp1).const_mul (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) |
| 86 | rw [mul_one] at ht |
| 87 | apply ht.congr |
| 88 | intro ε |
| 89 | rw [complexRegularizedPowerGaussian, Measure.isAddLeftInvariant_eq_smul_of_regular |
| 90 | (Measure.addHaar : Measure ℂ) volume, integral_smul_nnreal_measure] |
| 91 | change (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * (∫ z : ℂ, complexPowerDamping p ε z) = |
| 92 | (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) * ∫ z : ℂ, |
| 93 | (Real.exp (-ε * ‖z‖ ^ (2 * p)) : ℂ) * ArchimedeanTestSpace.Construction.complexStandardCharacter (1 * z ^ 2 / 2) |
| 94 | simp only [one_mul, complexPowerDamping] |
| 95 | |
| 96 | theorem complexRegularizedPowerGaussian_substitution |
| 97 | (p : ℝ) (ψ : AddChar ℂ ℂ) (a q : ℂ) (hq : q ≠ 0) |
| 98 | (hphase : ∀ z : ℂ, ψ (a * (q * z) ^ 2 / 2) = ArchimedeanTestSpace.Construction.complexStandardCharacter (z ^ 2 / 2)) (ε : ℝ) : |
| 99 | complexRegularizedPowerGaussian p ψ a ε = |
| 100 | (addEquivAddHaarChar (ArchimedeanTestSpace.Construction.complexScalarAddEquiv q hq) : ℂ) * |
| 101 | complexRegularizedPowerGaussian p ArchimedeanTestSpace.Construction.complexStandardCharacter 1 (ε * ‖q‖ ^ (2 * p)) := by |
| 102 | unfold complexRegularizedPowerGaussian |
| 103 | rw [ArchimedeanTestSpace.Construction.integral_complex_substitution q hq] |
| 104 | congr 1 |
| 105 | apply integral_congr_ae |
| 106 | exact Eventually.of_forall fun z => by |
| 107 | dsimp only |
| 108 | rw [hphase, one_mul, norm_mul, Real.mul_rpow (norm_nonneg q) (norm_nonneg z)] |
| 109 | congr 2 |
| 110 | ring_nf |
| 111 | |
| 112 | theorem complex_power_gaussian_limit_positive |
| 113 | (p : ℝ) (hp : 0 < p) (hp1 : p ≤ 1) |
| 114 | (ψ : AddChar ℂ ℂ) (hc : Continuous (fun z => ψ z)) (hu : ∀ z, ‖ψ z‖ = 1) |
| 115 | (hn : ∃ z, ψ z ≠ 1) (a : ℂ) (ha : a ≠ 0) : |
| 116 | ∃ r : ℝ, 0 < r ∧ Tendsto (complexRegularizedPowerGaussian p ψ a) (𝓝[>] (0 : ℝ)) (𝓝 (r : ℂ)) := by |
| 117 | obtain ⟨b, hb⟩ := ArchimedeanTestSpace.Construction.complex_character_coefficient ψ hc hu |
| 118 | have hb0 : b ≠ 0 := by |
| 119 | rintro rfl |
| 120 | obtain ⟨z, hz⟩ := hn |
| 121 | apply hz |
| 122 | rw [hb, zero_mul, ArchimedeanTestSpace.Construction.complexStandardCharacter.map_zero_eq_one] |
| 123 | let q : ℂ := ((b * a)⁻¹) ^ (1 / 2 : ℂ) |
| 124 | have hsq : q ^ (2 : ℕ) = (b * a)⁻¹ := by simp [q, one_div] |
| 125 | have hq : q ≠ 0 := by |
| 126 | intro hq |
| 127 | rw [hq, zero_pow (by decide)] at hsq |
| 128 | exact (inv_ne_zero (mul_ne_zero hb0 ha)) hsq.symm |
| 129 | have hprod : b * a * q ^ 2 = 1 := by rw [hsq, mul_inv_cancel₀ (mul_ne_zero hb0 ha)] |
| 130 | have hphase (z : ℂ) : ψ (a * (q * z) ^ 2 / 2) = ArchimedeanTestSpace.Construction.complexStandardCharacter (z ^ 2 / 2) := by |
| 131 | rw [hb] |
| 132 | congr 1 |
| 133 | calc |
| 134 | _ = (b * a * q ^ 2) * (z ^ 2 / 2) := by ring |
| 135 | _ = _ := by rw [hprod, one_mul] |
| 136 | have hd : 0 < ‖q‖ ^ (2 * p) := Real.rpow_pos_of_pos (norm_pos_iff.mpr hq) _ |
| 137 | have ht : Tendsto (fun ε : ℝ => ε * ‖q‖ ^ (2 * p)) (𝓝[>] (0 : ℝ)) (𝓝[>] (0 : ℝ)) := by |
| 138 | apply tendsto_nhdsWithin_iff.mpr |
| 139 | constructor |
| 140 | · have h0 : Tendsto (fun ε : ℝ => ε) (𝓝[>] (0 : ℝ)) (𝓝 (0 : ℝ)) := |
| 141 | tendsto_id.mono_left nhdsWithin_le_nhds |
| 142 | simpa only [zero_mul] using h0.mul_const (‖q‖ ^ (2 * p)) |
| 143 | · filter_upwards [self_mem_nhdsWithin (a := (0 : ℝ)) (s := Set.Ioi 0)] with ε hε |
| 144 | exact mul_pos hε hd |
| 145 | let r : ℝ := (addEquivAddHaarChar (ArchimedeanTestSpace.Construction.complexScalarAddEquiv q hq) : ℝ) * ArchimedeanTestSpace.Construction.complexReferenceHaarFactor |
| 146 | refine ⟨r, mul_pos (addEquivAddHaarChar_pos _) ArchimedeanTestSpace.Construction.complexReferenceHaarFactor_pos, ?_⟩ |
| 147 | have h := ((complexRegularizedPowerGaussian_standard_tendsto p hp hp1).comp ht).const_mul |
| 148 | (addEquivAddHaarChar (ArchimedeanTestSpace.Construction.complexScalarAddEquiv q hq) : ℂ) |
| 149 | have hr : (r : ℂ) = (addEquivAddHaarChar (ArchimedeanTestSpace.Construction.complexScalarAddEquiv q hq) : ℂ) * |
| 150 | (ArchimedeanTestSpace.Construction.complexReferenceHaarFactor : ℂ) := by simp only [r, Complex.ofReal_mul] |
| 151 | rw [hr] |
| 152 | exact h.congr fun ε => (complexRegularizedPowerGaussian_substitution p ψ a q hq hphase ε).symm |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.RepresentationTheory.Weil.Local.ComplexPowerGaussian.Construction |