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.RealFresnelNormalization |
| 2 | import OAI.RepresentationTheory.Weil.Local.NormalizedFresnel |
| 3 | |
| 4 | /-! # Real Weyl -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.RealWeyl.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact Gaussian-normalized real Weyl generator lies in the intrinsic bare cover. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | |
| 14 | theorem real_modulation_mem {n : ℕ} (c : ℝ) (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 15 | (fun z => f.val z * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.dot x z)) ∈ FunctionsMetaplectic.Construction.schwartzBruhat ℝ n := by |
| 16 | obtain ⟨φ, hφ⟩ := RealTestSpace.Construction.schwartzBruhat_real_iff.mp f.property |
| 17 | have hp : Function.HasTemperateGrowth (fun z : FunctionsMetaplectic.Construction.Position ℝ n => -FunctionsMetaplectic.Construction.dot x z) := by |
| 18 | exact (Function.HasTemperateGrowth.sum (fun i _ => |
| 19 | (Function.HasTemperateGrowth.const (x i)).mul |
| 20 | (ContinuousLinearMap.proj i : FunctionsMetaplectic.Construction.Position ℝ n →L[ℝ] ℝ).hasTemperateGrowth)).neg |
| 21 | refine RealTestSpace.Construction.schwartzBruhat_real_iff.mpr ⟨SchwartzMap.smulLeftCLM ℂ |
| 22 | (fun z => Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.dot x z)) φ, ?_⟩ |
| 23 | funext z |
| 24 | change f.val z * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.dot x z) = |
| 25 | (SchwartzMap.smulLeftCLM ℂ (Gaussian.Construction.realCharacter c ∘ fun z => -FunctionsMetaplectic.Construction.dot x z) φ) z |
| 26 | rw [SchwartzMap.smulLeftCLM_apply_apply ((RealTestSpace.Construction.realCharacter_temperate c).comp hp)] |
| 27 | rw [← congrFun hφ z] |
| 28 | exact mul_comm _ _ |
| 29 | |
| 30 | theorem real_fourier_quadratic_fourier {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 31 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 32 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) |
| 33 | (FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) 1 |
| 34 | (FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val)) x = |
| 35 | FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * |
| 36 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) |
| 37 | (FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) (-1) f.val) x := by |
| 38 | let : (FunctionsMetaplectic.Construction.selfDualMeasure ℝ (Gaussian.Construction.realCharacter c)).IsAddHaarMeasure := |
| 39 | FourierTools.Construction.selfDualMeasure_isAddHaarMeasure_of_scale_pos ℝ (Gaussian.Construction.realCharacter c) |
| 40 | (RealFourierLp.Construction.fourierHaarScaleSquared_real_pos c hc) |
| 41 | let μ := FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c) |
| 42 | let : μ.IsAddHaarMeasure := by dsimp [μ, FunctionsMetaplectic.Construction.positionMeasure]; infer_instance |
| 43 | let g : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n := ⟨fun z => f.val z * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.dot x z), real_modulation_mem c f x⟩ |
| 44 | have hpair := RealFresnelNormalization.Construction.real_fresnel_pairing c hc g |
| 45 | calc |
| 46 | _ = Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * ∫ y, |
| 47 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) μ g.val y * Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic 1 y) ∂μ := |
| 48 | NormalizedFresnel.Construction.fourier_quadratic_shift (Gaussian.Construction.realCharacter c) μ f.val x |
| 49 | _ = Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * |
| 50 | ∫ y, g.val y * Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 y) ∂μ) := |
| 51 | congrArg (fun z : ℂ => Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * z) hpair |
| 52 | _ = Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * |
| 53 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) μ (FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) (-1) f.val) x) := |
| 54 | congrArg (fun z : ℂ => Gaussian.Construction.realCharacter c (-FunctionsMetaplectic.Construction.quadratic 1 x) * (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * z)) |
| 55 | (NormalizedFresnel.Construction.modulated_quadratic_integral (Gaussian.Construction.realCharacter c) μ f.val x) |
| 56 | _ = _ := by ring |
| 57 | |
| 58 | theorem real_fourier_quadratic_relation {n : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 59 | (T : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) |
| 60 | (hT : ∀ f x, (T f).val x = FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val x) |
| 61 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 62 | let P := QuadraticIntertwiner.Construction.testQuadratic (Gaussian.Construction.realCharacter c) (fun B f => RealTestSpace.Construction.quadraticOperator_real_mem c B f.property) 1 |
| 63 | T (P (T f)) = FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n • P.symm (T (P.symm f)) := by |
| 64 | let P := QuadraticIntertwiner.Construction.testQuadratic (Gaussian.Construction.realCharacter c) (fun B f => RealTestSpace.Construction.quadraticOperator_real_mem c B f.property) |
| 65 | (1 : Matrix (Fin n) (Fin n) ℝ) |
| 66 | have hTf (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : (T f).val = |
| 67 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val := funext (hT f) |
| 68 | have hP (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : (P f).val = FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) 1 f.val := rfl |
| 69 | have hN (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : (P.symm f).val = FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) (-1) f.val := rfl |
| 70 | change T (P (T f)) = FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n • P.symm (T (P.symm f)) |
| 71 | apply Subtype.ext |
| 72 | change (T (P (T f))).val = (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n) • (P.symm (T (P.symm f))).val |
| 73 | rw [hTf, hP, hTf, hN, hTf, hN] |
| 74 | funext x |
| 75 | change _ = FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n * |
| 76 | (Gaussian.Construction.realCharacter c (FunctionsMetaplectic.Construction.quadratic (-1) x) * FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) |
| 77 | (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) (FunctionsMetaplectic.Construction.quadraticOperator (Gaussian.Construction.realCharacter c) (-1) f.val) x) |
| 78 | rw [FunctionsMetaplectic.Construction.quadratic_neg, ← mul_assoc] |
| 79 | exact real_fourier_quadratic_fourier c hc f x |
| 80 | |
| 81 | theorem exists_real_weyl_metaplectic_parameter (n : ℕ) (c : ℝ) (hc : c ≠ 0) : |
| 82 | ∃ w : FunctionsMetaplectic.Construction.Metaplectic ℝ n (Gaussian.Construction.realCharacter c), |
| 83 | FunctionsMetaplectic.Construction.metaplecticProjection ℝ n (Gaussian.Construction.realCharacter c) w = Generators.Construction.weylSymplectic ℝ n ∧ |
| 84 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n), |
| 85 | (FunctionsMetaplectic.Construction.weilRepresentation ℝ n (Gaussian.Construction.realCharacter c) w f).val x = |
| 86 | (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n)⁻¹ * |
| 87 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter c) (FunctionsMetaplectic.Construction.positionMeasure ℝ n (Gaussian.Construction.realCharacter c)) f.val x := by |
| 88 | let w := RealFourierFamily.Construction.realFourierOscillatorFamily n c hc |
| 89 | let u := QuadraticIntertwiner.Construction.realQuadraticMetaplectic c (⟨-1, Matrix.isSymm_one.neg⟩ : FunctionsMetaplectic.Construction.SymmetricMatrix ℝ n) |
| 90 | have hconj : w⁻¹ * u.val * w ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c) := by |
| 91 | have h := (inferInstance : (FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c)).Normal).conj_mem u.val u.property w⁻¹ |
| 92 | simpa only [inv_inv] using h |
| 93 | let v : FunctionsMetaplectic.Construction.Metaplectic ℝ n (Gaussian.Construction.realCharacter c) := ⟨u.val * (w⁻¹ * u.val * w) * u.val, |
| 94 | (FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c)).mul_mem |
| 95 | ((FunctionsMetaplectic.Construction.metaplecticSubgroup ℝ n (Gaussian.Construction.realCharacter c)).mul_mem u.property hconj) u.property⟩ |
| 96 | have hw : OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter c) w = Generators.Construction.weylSymplectic ℝ n := rfl |
| 97 | have huProj : OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter c) u.val = |
| 98 | Generators.Construction.quadraticSymplectic ⟨-1, Matrix.isSymm_one.neg⟩ := rfl |
| 99 | have hupper : OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter c) (w⁻¹ * u.val * w) = |
| 100 | GenerationSymplectic.Construction.upperSymplectic ⟨1, Matrix.isSymm_one⟩ := by |
| 101 | rw [map_mul, map_mul, map_inv, hw, huProj] |
| 102 | exact (OscillatorProjection.Construction.upper_quadratic_conjugation ℝ n ⟨1, Matrix.isSymm_one⟩).symm |
| 103 | refine ⟨v, ?_, ?_⟩ |
| 104 | · change OscillatorProjection.Construction.oscillatorProjection ℝ n (Gaussian.Construction.realCharacter c) (u.val * (w⁻¹ * u.val * w) * u.val) = _ |
| 105 | rw [map_mul, map_mul, huProj, hupper] |
| 106 | exact NormalizedFresnel.Construction.weyl_lower_unipotent_factorization n |
| 107 | · let P := QuadraticIntertwiner.Construction.testQuadratic (Gaussian.Construction.realCharacter c) (fun B f => RealTestSpace.Construction.quadraticOperator_real_mem c B f.property) |
| 108 | (1 : Matrix (Fin n) (Fin n) ℝ) |
| 109 | have hN : u.val.val.2 = P.symm := by apply LinearEquiv.ext; intro f; rfl |
| 110 | have hγ : FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n ≠ 0 := pow_ne_zero _ (by |
| 111 | intro hz |
| 112 | have h := Gaussian.Construction.gaussianIndex_real_norm c 1 hc one_ne_zero |
| 113 | rw [hz, norm_zero] at h |
| 114 | exact zero_ne_one h) |
| 115 | have hrel := real_fourier_quadratic_relation c hc w.val.2 (RealFourierFamily.Construction.realNormalizedFourier_apply c hc) |
| 116 | have hword := NormalizedFresnel.Construction.linearEquiv_weyl_word w.val.2 P (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n) hγ hrel |
| 117 | intro f x |
| 118 | have hop : FunctionsMetaplectic.Construction.weilRepresentation ℝ n (Gaussian.Construction.realCharacter c) v f = |
| 119 | P.symm (w.val.2.symm (P.symm (w.val.2 (P.symm f)))) := by |
| 120 | change ((u.val.val.2 * ((w.val.2)⁻¹ * u.val.val.2 * w.val.2)) * u.val.val.2) f = _ |
| 121 | rw [hN] |
| 122 | rfl |
| 123 | rw [hop, hword] |
| 124 | change (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n)⁻¹ * (w.val.2 f).val x = _ |
| 125 | exact congrArg (fun z : ℂ => (FunctionsMetaplectic.Construction.gaussianIndex ℝ (Gaussian.Construction.realCharacter c) 1 ^ n)⁻¹ * z) |
| 126 | (RealFourierFamily.Construction.realNormalizedFourier_apply c hc f x) |
| 127 | |
| 128 | theorem exists_real_weyl_metaplectic (n : ℕ) |
| 129 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t => ψ t)) |
| 130 | (hu : ∀ t, ‖ψ t‖ = 1) (hn : ∃ t, ψ t ≠ 1) : |
| 131 | ∃ w : FunctionsMetaplectic.Construction.Metaplectic ℝ n ψ, FunctionsMetaplectic.Construction.metaplecticProjection ℝ n ψ w = Generators.Construction.weylSymplectic ℝ n ∧ |
| 132 | ∀ (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) (x : FunctionsMetaplectic.Construction.Position ℝ n), |
| 133 | (FunctionsMetaplectic.Construction.weilRepresentation ℝ n ψ w f).val x = |
| 134 | (FunctionsMetaplectic.Construction.gaussianIndex ℝ ψ 1 ^ n)⁻¹ * FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure ℝ n ψ) f.val x := by |
| 135 | obtain ⟨c, hc', rfl⟩ := RealCharacters.Construction.continuous_nontrivial_unitary_real_character ψ hc hu hn |
| 136 | exact exists_real_weyl_metaplectic_parameter n c hc' |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.RepresentationTheory.Weil.Local.RealWeyl.Construction |