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.RealNormalization |
| 2 | import OAI.RepresentationTheory.Weil.Local.RealCover |
| 3 | |
| 4 | /-! # Real Fourier Family -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.RealFourierFamily.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized real Fourier operator for every nonzero character parameter. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | |
| 14 | def realFrequencyAddEquiv (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 15 | FunctionsMetaplectic.Construction.Position ℝ n ≃ₜ+ FunctionsMetaplectic.Construction.Position ℝ n := |
| 16 | (LinearEquiv.smulOfNeZero ℝ (FunctionsMetaplectic.Construction.Position ℝ n) c hc).toContinuousLinearEquiv.toContinuousAddEquiv |
| 17 | |
| 18 | def realFourierScale (n : ℕ) (c : ℝ) : ℝ := Real.sqrt |c| ^ n |
| 19 | |
| 20 | theorem realFourierScale_pos (n : ℕ) (c : ℝ) (hc : c ≠ 0) : 0 < realFourierScale n c := |
| 21 | pow_pos (Real.sqrt_pos.mpr (abs_pos.mpr hc)) n |
| 22 | |
| 23 | def realFourierScaleUnit (n : ℕ) (c : ℝ) (hc : c ≠ 0) : ℂˣ := |
| 24 | Units.mk0 (realFourierScale n c : ℂ) |
| 25 | (Complex.ofReal_ne_zero.mpr (realFourierScale_pos n c hc).ne') |
| 26 | |
| 27 | def realNormalizedFourier (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 28 | FunctionsMetaplectic.Construction.schwartzBruhat ℝ n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat ℝ n := |
| 29 | ((RealFourierLp.Construction.realBruhatFourier n).trans (FunctionsMetaplectic.Construction.schwartzBruhat_coordinateEquiv (realFrequencyAddEquiv n c hc))).trans |
| 30 | (LinearEquiv.smulOfUnit (realFourierScaleUnit n c hc)) |
| 31 | |
| 32 | theorem realNormalizedFourier_apply {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 33 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 34 | (realNormalizedFourier n c hc f).val x = |
| 35 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val x := by |
| 36 | change (realFourierScale n c : ℂ) * (RealFourierLp.Construction.realBruhatFourier n f).val (c • x) = _ |
| 37 | rw [RealNormalization.Construction.fourierIntegral_real_normalized c hc, RealNormalization.Construction.real_fourier_frequency, RealFourierLp.Construction.realBruhatFourier_apply, |
| 38 | Complex.real_smul] |
| 39 | rfl |
| 40 | |
| 41 | theorem realFourierScale_square (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 42 | realFourierScale n c ^ 2 * (|c| ^ n)⁻¹ = 1 := by |
| 43 | rw [realFourierScale, pow_two, ← mul_pow, Real.mul_self_sqrt (abs_nonneg _), |
| 44 | mul_inv_cancel₀ (pow_ne_zero _ (abs_ne_zero.mpr hc))] |
| 45 | |
| 46 | theorem realNormalizedFourier_plancherel {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 47 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 48 | (∫ x, ‖(realNormalizedFourier n c hc f).val x‖ ^ 2) = ∫ x, ‖f.val x‖ ^ 2 := by |
| 49 | have hval (x : FunctionsMetaplectic.Construction.Position ℝ n) : (realNormalizedFourier n c hc f).val x = |
| 50 | (realFourierScale n c : ℂ) * FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume f.val (c • x) := by |
| 51 | change (realFourierScale n c : ℂ) * (RealFourierLp.Construction.realBruhatFourier n f).val (c • x) = _ |
| 52 | rw [RealFourierLp.Construction.realBruhatFourier_apply] |
| 53 | simp_rw [hval, norm_mul, Complex.norm_real, Real.norm_eq_abs, |
| 54 | abs_of_pos (realFourierScale_pos n c hc), mul_pow] |
| 55 | rw [integral_const_mul] |
| 56 | have h := Measure.integral_comp_smul (volume : Measure (FunctionsMetaplectic.Construction.Position ℝ n)) |
| 57 | (fun x => ‖FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume f.val x‖ ^ 2) c |
| 58 | simp only [Module.finrank_pi, Fintype.card_fin, abs_inv, abs_pow, smul_eq_mul] at h |
| 59 | rw [h, ← mul_assoc, realFourierScale_square n c hc, one_mul] |
| 60 | exact RealFourierLp.Construction.real_fourier_plancherel_standard f |
| 61 | |
| 62 | theorem realNormalizedFourier_unitary {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 63 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 64 | FunctionsMetaplectic.Construction.l2Energy ℝ n (realNormalizedFourier n c hc f) = FunctionsMetaplectic.Construction.l2Energy ℝ n f := by |
| 65 | let μ : Measure (FunctionsMetaplectic.Construction.Position ℝ n) := Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure ℝ)) |
| 66 | have h := Measure.isAddLeftInvariant_eq_smul_of_regular μ volume |
| 67 | change (∫ x, ‖(realNormalizedFourier n c hc f).val x‖ ^ 2 ∂μ) = ∫ x, ‖f.val x‖ ^ 2 ∂μ |
| 68 | rw [h, integral_smul_nnreal_measure, integral_smul_nnreal_measure] |
| 69 | congr 1 |
| 70 | exact realNormalizedFourier_plancherel c hc f |
| 71 | |
| 72 | theorem realNormalizedFourier_intertwines {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 73 | (v : FunctionsMetaplectic.Construction.PhaseSpace ℝ n) (f h : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 74 | FunctionsMetaplectic.Construction.heisenbergGraph (Gaussian.Construction.realCharacter c) v f h ↔ |
| 75 | FunctionsMetaplectic.Construction.heisenbergGraph (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.weylSymplectic ℝ n) v) |
| 76 | (realNormalizedFourier n c hc f) (realNormalizedFourier n c hc h) := by |
| 77 | let : (FunctionsMetaplectic.Construction.selfDualMeasure ℝ (Gaussian.Construction.realCharacter c)).IsAddHaarMeasure := |
| 78 | FourierTools.Construction.selfDualMeasure_isAddHaarMeasure_of_scale_pos ℝ (Gaussian.Construction.realCharacter c) |
| 79 | (RealFourierLp.Construction.fourierHaarScaleSquared_real_pos c hc) |
| 80 | let : (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)).IsAddHaarMeasure := by |
| 81 | unfold FunctionsMetaplectic.Construction.positionMeasure |
| 82 | infer_instance |
| 83 | let hf : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n := |
| 84 | ⟨FunctionsMetaplectic.Construction.heisenbergFunction (Gaussian.Construction.realCharacter c) v f.val, FourierEquivalence.Construction.real_heisenberg_mem c v f⟩ |
| 85 | have hcov : (realNormalizedFourier n c hc hf).val = |
| 86 | FunctionsMetaplectic.Construction.heisenbergFunction (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.weylSymplectic ℝ n) v) |
| 87 | (realNormalizedFourier n c hc f).val := by |
| 88 | have heq (g : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : (realNormalizedFourier n c hc g).val = |
| 89 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) g.val := |
| 90 | funext (realNormalizedFourier_apply c hc g) |
| 91 | rw [heq, heq] |
| 92 | exact FourierEquivalence.Construction.fourierIntegral_heisenberg (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) v f.val |
| 93 | unfold FunctionsMetaplectic.Construction.heisenbergGraph |
| 94 | rw [← hcov] |
| 95 | change h.val = hf.val ↔ |
| 96 | (realNormalizedFourier n c hc h).val = (realNormalizedFourier n c hc hf).val |
| 97 | constructor |
| 98 | · intro hh |
| 99 | rw [Subtype.ext hh] |
| 100 | · intro hh |
| 101 | exact congrArg Subtype.val ((realNormalizedFourier n c hc).injective (Subtype.ext hh)) |
| 102 | |
| 103 | def realFourierOscillatorFamily (n : ℕ) (c : ℝ) (hc : c ≠ 0) : FunctionsMetaplectic.Construction.Oscillator ℝ n (Gaussian.Construction.realCharacter c) := |
| 104 | ⟨(Generators.Construction.weylSymplectic ℝ n, realNormalizedFourier n c hc), |
| 105 | ⟨realNormalizedFourier_unitary c hc, realNormalizedFourier_intertwines c hc⟩⟩ |
| 106 | |
| 107 | theorem real_metaplecticProjection_surjective_parameter (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 108 | Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection ℝ n (Gaussian.Construction.realCharacter c)) := by |
| 109 | apply MonoidHom.range_eq_top.mp |
| 110 | apply GenerationSymplectic.Construction.subgroup_eq_top_of_symplectic_unipotents |
| 111 | · intro B |
| 112 | let u := QuadraticIntertwiner.Construction.realQuadraticMetaplectic c ⟨-B.val, B.property.neg⟩ |
| 113 | let w := realFourierOscillatorFamily n c hc |
| 114 | have h : w⁻¹ * u.val * w ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c) := by |
| 115 | have hh := (inferInstance : (FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c)).Normal).conj_mem |
| 116 | u.val u.property w⁻¹ |
| 117 | simpa only [inv_inv] using hh |
| 118 | refine ⟨⟨w⁻¹ * u.val * w, h⟩, ?_⟩ |
| 119 | change OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter c) (w⁻¹ * u.val * w) = GenerationSymplectic.Construction.upperSymplectic B |
| 120 | rw [map_mul, map_mul, map_inv] |
| 121 | exact (OscillatorProjection.Construction.upper_quadratic_conjugation ℝ n B).symm |
| 122 | · intro B |
| 123 | exact ⟨QuadraticIntertwiner.Construction.realQuadraticMetaplectic c B, rfl⟩ |
| 124 | |
| 125 | theorem real_metaplecticProjection_surjective |
| 126 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t => ψ t)) |
| 127 | (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) (n : ℕ) : |
| 128 | Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection ℝ n ψ) := by |
| 129 | obtain ⟨c, hc', rfl⟩ := RealCharacters.Construction.continuous_nontrivial_unitary_real_character ψ hc hu hn |
| 130 | exact real_metaplecticProjection_surjective_parameter n c hc' |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.RepresentationTheory.Weil.Local.RealFourierFamily.Construction |