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