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.FrameGenerators |
| 2 | import OAI.RepresentationTheory.Weil.Local.RealGenerators |
| 3 | |
| 4 | /-! # Frame Gaussian Action -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Weil.Local |
| 11 | |
| 12 | /-! Actual Gaussian vectors and the prescribed real bare generator actions. -/ |
| 13 | |
| 14 | open _root_.Matrix _root_.MeasureTheory |
| 15 | |
| 16 | theorem SiegelGaussian.Construction.PositiveLagrangianFrame.gaussian_memLp {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 17 | MemLp (SiegelGaussian.Construction.siegelGaussian P.quadraticMatrix) 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) := |
| 18 | RealGenerators.Construction.real_memLp_reference_of_volume (SiegelGaussian.Construction.siegelGaussian_memLp_two _ |
| 19 | P.quadraticMatrix_symmetric P.imaginaryPart_positive) |
| 20 | |
| 21 | def SiegelGaussian.Construction.PositiveLagrangianFrame.gaussianLp {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 22 | Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) := |
| 23 | P.gaussian_memLp.toLp (SiegelGaussian.Construction.siegelGaussian P.quadraticMatrix) |
| 24 | |
| 25 | theorem SiegelGaussian.Construction.PositiveLagrangianFrame.gaussianLp_ne_zero {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 26 | P.gaussianLp ≠ 0 := by |
| 27 | intro h |
| 28 | have he : SiegelGaussian.Construction.siegelGaussian P.quadraticMatrix =ᵐ[UnitaryInner.Construction.referencePositionMeasure ℝ n] 0 := |
| 29 | (MemLp.toLp_eq_toLp_iff P.gaussian_memLp MemLp.zero).mp h |
| 30 | have hf := Measure.eq_of_ae_eq he (SiegelGaussian.Construction.siegelGaussian_continuous _) continuous_const |
| 31 | have hz := congrFun hf 0 |
| 32 | exact one_ne_zero (by simpa only [SiegelGaussian.Construction.siegelGaussian_zero, Pi.zero_apply] using hz) |
| 33 | |
| 34 | theorem SiegelGaussian.Construction.PositiveLagrangianFrame.lower_gaussianLp {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) |
| 35 | (B : FunctionsMetaplectic.Construction.SymmetricMatrix ℝ n) : |
| 36 | RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) (QuadraticIntertwiner.Construction.realQuadraticMetaplectic 1 B).val P.gaussianLp = |
| 37 | (P.act (Generators.Construction.quadraticSymplectic B)).gaussianLp := by |
| 38 | apply RealGenerators.Construction.realL2Oscillator_multiplier (Gaussian.Construction.realCharacter 1) _ |
| 39 | (fun x => Gaussian.Construction.realCharacter 1 (FunctionsMetaplectic.Construction.quadratic B.val x)) |
| 40 | (fun x => QuadraticIntertwiner.Construction.realCharacter_unitary 1 _) (QuadraticIntertwiner.Construction.realQuadraticMetaplectic_apply 1 B) |
| 41 | intro x |
| 42 | rw [P.lower_quadraticMatrix] |
| 43 | exact (FrameGenerators.Construction.siegelGaussian_quadratic_mul _ B.val x).symm |
| 44 | |
| 45 | theorem SiegelGaussian.Construction.PositiveLagrangianFrame.fourier_gaussianLp {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 46 | ∃ c : ℂ, c ^ 2 * P.quadraticMatrix.det = Complex.I ^ n ∧ |
| 47 | RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) (RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero) P.gaussianLp = |
| 48 | c • (P.act (Generators.Construction.weylSymplectic ℝ n)).gaussianLp := by |
| 49 | obtain ⟨c, hc, hF⟩ := SiegelGaussian.Construction.siegelGaussian_fourier P.quadraticMatrix |
| 50 | P.quadraticMatrix_symmetric P.imaginaryPart_positive |
| 51 | refine ⟨c, hc, ?_⟩ |
| 52 | exact RealGenerators.Construction.realL2Oscillator_fourier |
| 53 | (SiegelGaussian.Construction.siegelGaussian_integrable _ P.quadraticMatrix_symmetric P.imaginaryPart_positive) |
| 54 | P.gaussian_memLp ((P.act (Generators.Construction.weylSymplectic ℝ n)).gaussian_memLp.const_smul c) |
| 55 | (fun x => by |
| 56 | change c * SiegelGaussian.Construction.siegelGaussian (P.act (Generators.Construction.weylSymplectic ℝ n)).quadraticMatrix x = _ |
| 57 | rw [P.weyl_quadraticMatrix] |
| 58 | exact (hF x).symm) |
| 59 | |
| 60 | theorem FrameGaussianAction.Construction.real_standard_gaussianIndex_square : |
| 61 | FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter 1) 1 ^ 2 = Complex.I := by |
| 62 | have h := RealFresnelNormalization.Construction.realGaussian_coefficient_normalized 1 one_ne_zero |
| 63 | simp only [abs_one, Real.sqrt_one, Complex.ofReal_one, one_mul, div_one] at h |
| 64 | rw [← h] |
| 65 | simp [one_div] |
| 66 | |
| 67 | theorem SiegelGaussian.Construction.PositiveLagrangianFrame.bare_weyl_gaussianLp {n : ℕ} |
| 68 | (w : FunctionsMetaplectic.Construction.Metaplectic ℝ n (Gaussian.Construction.realCharacter 1)) |
| 69 | (hw : ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) x, |
| 70 | (FunctionsMetaplectic.Construction.weilRepresentation ℝ n (Gaussian.Construction.realCharacter 1) w f).val x = |
| 71 | (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter 1) 1 ^ n)⁻¹ * |
| 72 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter 1)) f.val x) |
| 73 | (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 74 | ∃ c : ℂ, c ^ 2 * (P.act (Generators.Construction.weylSymplectic ℝ n)).position.det = P.position.det ∧ |
| 75 | RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) w.val P.gaussianLp = |
| 76 | c • (P.act (Generators.Construction.weylSymplectic ℝ n)).gaussianLp := by |
| 77 | obtain ⟨c, hc, hF⟩ := P.fourier_gaussianLp |
| 78 | let γ := FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter 1) 1 |
| 79 | have hγ : γ ^ 2 = Complex.I := FrameGaussianAction.Construction.real_standard_gaussianIndex_square |
| 80 | have hscalar (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : w.val.val.2 f = |
| 81 | (γ ^ n)⁻¹ • (RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero).val.2 f := by |
| 82 | apply Subtype.ext |
| 83 | funext x |
| 84 | change (FunctionsMetaplectic.Construction.weilRepresentation ℝ n (Gaussian.Construction.realCharacter 1) w f).val x = |
| 85 | (γ ^ n)⁻¹ * ((RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero).val.2 f).val x |
| 86 | rw [hw, RealGenerators.Construction.real_standard_fourier_oscillator_apply, RealNormalization.Construction.fourierIntegral_real_normalized 1 one_ne_zero] |
| 87 | simp [γ] |
| 88 | refine ⟨(γ ^ n)⁻¹ * c, ?_, ?_⟩ |
| 89 | · rw [mul_pow, inv_pow, P.weyl_position_det] |
| 90 | calc |
| 91 | _ = ((γ ^ 2) ^ n)⁻¹ * (c ^ 2 * P.quadraticMatrix.det) * P.position.det := by |
| 92 | rw [← pow_mul, ← pow_mul, Nat.mul_comm n 2] |
| 93 | ring |
| 94 | _ = P.position.det := by |
| 95 | rw [hγ, hc, inv_mul_cancel₀ (pow_ne_zero _ Complex.I_ne_zero), one_mul] |
| 96 | · rw [RealGenerators.Construction.realL2Oscillator_scalar_multiple _ _ _ _ hscalar, hF, smul_smul] |
| 97 | |
| 98 | end RepresentationTheory.Weil.Local |
| 99 | |
| 100 | namespace RepresentationTheory.Weil.Local.FrameGaussianAction.Construction |
| 101 | |
| 102 | /-! The square-normalized Gaussian graph and its oscillator stabilizer. -/ |
| 103 | |
| 104 | open _root_.Matrix _root_.MeasureTheory |
| 105 | |
| 106 | def realGaussianGraph {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) |
| 107 | (v : Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) : Prop := |
| 108 | ∃ c : ℂ, c ^ 2 * P.position.det = 1 ∧ v = c • P.gaussianLp |
| 109 | |
| 110 | theorem realGaussianGraph_exists {n : ℕ} (P : SiegelGaussian.Construction.PositiveLagrangianFrame n) : |
| 111 | ∃ v, realGaussianGraph P v := by |
| 112 | let c : ℂ := (P.position.det⁻¹) ^ (1 / 2 : ℂ) |
| 113 | refine ⟨c • P.gaussianLp, c, ?_, rfl⟩ |
| 114 | simp only [c, one_div, Complex.cpow_ofNat_inv_pow] |
| 115 | exact inv_mul_cancel₀ P.position_det_ne_zero |
| 116 | |
| 117 | def realGaussianSubgroup (n : ℕ) : Subgroup (FunctionsMetaplectic.Construction.Oscillator ℝ n (Gaussian.Construction.realCharacter 1)) where |
| 118 | carrier := {a | ∀ P v, realGaussianGraph P v ↔ |
| 119 | realGaussianGraph (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a)) |
| 120 | (RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a v)} |
| 121 | one_mem' := by |
| 122 | intro P v |
| 123 | rw [map_one, P.act_one, RealOscillator.Construction.realL2Oscillator_one] |
| 124 | rfl |
| 125 | mul_mem' := by |
| 126 | intro a b ha hb P v |
| 127 | rw [map_mul, P.act_mul, RealOscillator.Construction.realL2Oscillator_mul] |
| 128 | exact (hb P v).trans (ha _ _) |
| 129 | inv_mem' := by |
| 130 | intro a ha P v |
| 131 | have h := ha (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a⁻¹)) |
| 132 | (RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a⁻¹ v) |
| 133 | have hP : (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a⁻¹)).act |
| 134 | (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a) = P := by |
| 135 | rw [← P.act_mul, map_inv, mul_inv_cancel, P.act_one] |
| 136 | have hU : RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a |
| 137 | (RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a⁻¹ v) = v := by |
| 138 | change (RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a * RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a⁻¹) v = v |
| 139 | rw [← RealOscillator.Construction.realL2Oscillator_mul, mul_inv_cancel, RealOscillator.Construction.realL2Oscillator_one] |
| 140 | rfl |
| 141 | rw [hP, hU] at h |
| 142 | exact h.symm |
| 143 | |
| 144 | theorem realGaussianSubgroup_mem_of_amplitudes {n : ℕ} |
| 145 | (a : FunctionsMetaplectic.Construction.Oscillator ℝ n (Gaussian.Construction.realCharacter 1)) |
| 146 | (h : ∀ P : SiegelGaussian.Construction.PositiveLagrangianFrame n, ∃ c : ℂ, |
| 147 | c ^ 2 * (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a)).position.det = P.position.det ∧ |
| 148 | RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a P.gaussianLp = |
| 149 | c • (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a)).gaussianLp) : |
| 150 | a ∈ realGaussianSubgroup n := by |
| 151 | intro P v |
| 152 | obtain ⟨c, hc, hU⟩ := h P |
| 153 | have hc0 : c ≠ 0 := by |
| 154 | intro hz |
| 155 | rw [hz, zero_pow (by decide), zero_mul] at hc |
| 156 | exact P.position_det_ne_zero hc.symm |
| 157 | constructor |
| 158 | · rintro ⟨d, hd, rfl⟩ |
| 159 | refine ⟨d * c, ?_, ?_⟩ |
| 160 | · rw [mul_pow, mul_assoc, hc, hd] |
| 161 | · rw [map_smul, hU, smul_smul] |
| 162 | · rintro ⟨d, hd, hv⟩ |
| 163 | refine ⟨d / c, ?_, ?_⟩ |
| 164 | · rw [div_pow, ← hc] |
| 165 | calc |
| 166 | _ = d ^ 2 * (P.act (OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) a)).position.det := by |
| 167 | field_simp |
| 168 | _ = 1 := hd |
| 169 | · apply (RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) a).injective |
| 170 | rw [map_smul, hU, smul_smul, div_mul_cancel₀ _ hc0] |
| 171 | exact hv |
| 172 | |
| 173 | theorem realGaussianSubgroup_lower {n : ℕ} (B : FunctionsMetaplectic.Construction.SymmetricMatrix ℝ n) : |
| 174 | (QuadraticIntertwiner.Construction.realQuadraticMetaplectic 1 B).val ∈ realGaussianSubgroup n := by |
| 175 | apply realGaussianSubgroup_mem_of_amplitudes |
| 176 | intro P |
| 177 | refine ⟨1, ?_, ?_⟩ |
| 178 | · change 1 ^ 2 * (P.act (Generators.Construction.quadraticSymplectic B)).position.det = _ |
| 179 | rw [P.lower_position, one_pow, one_mul] |
| 180 | · simpa only [one_smul] using! P.lower_gaussianLp B |
| 181 | |
| 182 | theorem realGaussianSubgroup_weyl {n : ℕ} |
| 183 | (w : FunctionsMetaplectic.Construction.Metaplectic ℝ n (Gaussian.Construction.realCharacter 1)) |
| 184 | (hwπ : FunctionsMetaplectic.Construction.metaplecticProjection ℝ n (Gaussian.Construction.realCharacter 1) w = Generators.Construction.weylSymplectic ℝ n) |
| 185 | (hw : ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) x, |
| 186 | (FunctionsMetaplectic.Construction.weilRepresentation ℝ n (Gaussian.Construction.realCharacter 1) w f).val x = |
| 187 | (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter 1) 1 ^ n)⁻¹ * |
| 188 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter 1)) f.val x) : |
| 189 | w.val ∈ realGaussianSubgroup n := by |
| 190 | apply realGaussianSubgroup_mem_of_amplitudes |
| 191 | intro P |
| 192 | have hproj : OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter 1) w.val = Generators.Construction.weylSymplectic ℝ n := hwπ |
| 193 | simpa only [hproj] using! P.bare_weyl_gaussianLp w hw |
| 194 | |
| 195 | theorem realGaussianSubgroup_minus (n : ℕ) : |
| 196 | FunctionsMetaplectic.Construction.oscillatorMinus ℝ n (Gaussian.Construction.realCharacter 1) ∈ realGaussianSubgroup n := by |
| 197 | apply realGaussianSubgroup_mem_of_amplitudes |
| 198 | intro P |
| 199 | refine ⟨-1, ?_, ?_⟩ |
| 200 | · change (-1 : ℂ) ^ 2 * (P.act 1).position.det = P.position.det |
| 201 | rw [P.act_one] |
| 202 | ring |
| 203 | · change RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) (FunctionsMetaplectic.Construction.oscillatorMinus ℝ n (Gaussian.Construction.realCharacter 1)) P.gaussianLp = |
| 204 | (-1 : ℂ) • (P.act 1).gaussianLp |
| 205 | rw [P.act_one] |
| 206 | apply RealOscillator.Construction.realL2Oscillator_scalar |
| 207 | intro f |
| 208 | change -f = (-1 : ℂ) • f |
| 209 | exact (neg_one_smul ℂ f).symm |
| 210 | |
| 211 | end RepresentationTheory.Weil.Local.FrameGaussianAction.Construction |
| 212 | |
| 213 | end |
| 214 | |
| 215 | end OAI |