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.AdelicSplitting.RationalFourier |
| 2 | |
| 3 | /-! # Fourier Relations -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace RepresentationTheory.Weil.AdelicSplitting.FourierRelations.Construction |
| 10 | |
| 11 | /-! Exact operator relations for the assembled rational Fourier generator. -/ |
| 12 | |
| 13 | theorem weylSymplectic_fourth (k : Type) [Field k] (N : ℕ) : |
| 14 | Weil.Local.Generators.Construction.weylSymplectic k N ^ 4 = 1 := by |
| 15 | apply Subtype.ext |
| 16 | change (Matrix.fromBlocks 0 1 (-1) 0 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k) ^ 4 = 1 |
| 17 | have hW : (Matrix.fromBlocks 0 1 (-1) 0 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) k) = |
| 18 | -Matrix.J (Fin N) k := by |
| 19 | ext i j |
| 20 | cases i <;> cases j <;> simp [Matrix.J, Matrix.fromBlocks] |
| 21 | rw [hW, show 4 = 2 * 2 from rfl, pow_mul] |
| 22 | have h : (-Matrix.J (Fin N) k) ^ 2 = -1 := by simp [pow_two, Matrix.J_squared] |
| 23 | rw [h] |
| 24 | simp |
| 25 | |
| 26 | section Local |
| 27 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 28 | (n m : ℕ) (hN : 0 < n * m) |
| 29 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 30 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 31 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 32 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 33 | |
| 34 | include hN D in |
| 35 | theorem normalized_local_fourier_inversion (v : ArchimedeanAdeles.Construction.Places F) |
| 36 | (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) (n * m)) (x : Weil.Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F v) (n * m)) : |
| 37 | Weil.Local.FunctionsMetaplectic.Construction.fourierIntegral (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 38 | (Weil.Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v)) |
| 39 | (Weil.Local.FunctionsMetaplectic.Construction.fourierIntegral (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 40 | (Weil.Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v)) f.val) x = f.val (-x) := by |
| 41 | cases v with |
| 42 | | inr v => exact FiniteFourier.Construction.normalized_finite_fourier_inversion F d hd n m hN H K C P D v f x |
| 43 | | inl v => |
| 44 | exact (ArchimedeanFourierCovers.Construction.archimedean_fourier_analysis F (n * m) v (Characters.Construction.localAdditiveCharacter F C.ψ (.inl v)) |
| 45 | (Characters.Construction.localAdditiveCharacter_continuous F C.ψ C.ψ_continuous (.inl v)) |
| 46 | (Characters.Construction.localAdditiveCharacter_unitary F C.ψ C.ψ_unitary (.inl v)) |
| 47 | (NontrivialLocalCharacter.Construction.normalizedLocalSplittings_character_nontrivial F d hd n m hN H K C P D (.inl v))).2 f x |
| 48 | |
| 49 | theorem normalizedLocalFourierOscillator_square_apply (v : ArchimedeanAdeles.Construction.Places F) |
| 50 | (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) (n * m)) (x : Weil.Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F v) (n * m)) : |
| 51 | (((ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v * |
| 52 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v).val.2) f).val x = f.val (-x) := by |
| 53 | let T := ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v |
| 54 | have hT (g : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) (n * m)) : (T.val.2 g).val = |
| 55 | Weil.Local.FunctionsMetaplectic.Construction.fourierIntegral (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 56 | (Weil.Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v)) g.val := |
| 57 | funext (ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator_apply F d hd n m hN H K C P D v g) |
| 58 | change (T.val.2 (T.val.2 f)).val x = _ |
| 59 | rw [hT, hT] |
| 60 | exact normalized_local_fourier_inversion F d hd n m hN H K C P D v f x |
| 61 | |
| 62 | theorem normalizedLocalFourierOscillator_fourth (v : ArchimedeanAdeles.Construction.Places F) : |
| 63 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v ^ 4 = 1 := by |
| 64 | let T := ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v |
| 65 | apply NormalizationLevi.Construction.localCover_ext |
| 66 | · rw [map_pow, map_one] |
| 67 | change Vacuum.Construction.projectionAt F (n * m) C.ψ v T ^ 4 = 1 |
| 68 | rw [ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator_covers] |
| 69 | exact weylSymplectic_fourth _ _ |
| 70 | · intro f x |
| 71 | have hp : T ^ 4 = (T * T) * (T * T) := by simp [pow_succ, mul_assoc] |
| 72 | change ((T ^ 4).val.2 f).val x = f.val x |
| 73 | rw [hp] |
| 74 | change ((T * T).val.2 ((T * T).val.2 f)).val x = _ |
| 75 | rw [normalizedLocalFourierOscillator_square_apply, |
| 76 | normalizedLocalFourierOscillator_square_apply, neg_neg] |
| 77 | |
| 78 | end Local |
| 79 | |
| 80 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) (hds : ¬ IsSquare d) |
| 81 | (n m : ℕ) (hN : 0 < n * m) |
| 82 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 83 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 84 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 85 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 86 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 87 | |
| 88 | theorem rationalFourierFamily_fourth : |
| 89 | RationalFourier.Construction.rationalFourierFamily F d hd hds n m hN H K hH hK C P D ^ 4 = 1 := by |
| 90 | apply RestrictedProduct.ext |
| 91 | intro v |
| 92 | exact normalizedLocalFourierOscillator_fourth F d hd n m hN H K C P D v |
| 93 | |
| 94 | theorem rationalFourierLift_fourth : |
| 95 | RationalFourier.Construction.rationalFourierLift F d hd hds n m hN H K hH hK C P D ^ 4 = 1 := by |
| 96 | change Rational.Construction.assembleGlobalCover F (n * m) C.ψ (RationalFourier.Construction.rationalFourierFamily F d hd hds n m hN H K hH hK C P D) ^ 4 = 1 |
| 97 | rw [← map_pow, rationalFourierFamily_fourth, map_one] |
| 98 | |
| 99 | end RepresentationTheory.Weil.AdelicSplitting.FourierRelations.Construction |
| 100 | |
| 101 | namespace RepresentationTheory.Weil.AdelicSplitting.FourierRelations |
| 102 | |
| 103 | /-! Fourier squared is the prescribed rational Levi lift of minus the |
| 104 | identity, locally and in the adelic cover. -/ |
| 105 | |
| 106 | namespace LocalAnalysis |
| 107 | |
| 108 | theorem localModulus_of_square_one |
| 109 | (k : Type) [NormedField k] [LocallyCompactSpace k] (a : kˣ) (ha : a * a = 1) : |
| 110 | Weil.Local.FunctionsMetaplectic.Construction.localModulus k a = 1 := by |
| 111 | have h : Weil.Local.FunctionsMetaplectic.Construction.localModulus k a * Weil.Local.FunctionsMetaplectic.Construction.localModulus k a = 1 := by |
| 112 | rw [← Weil.Local.FunctionsMetaplectic.Construction.localModulus_mul, ha, Weil.Local.FunctionsMetaplectic.Construction.localModulus_one] |
| 113 | have hp := Weil.Local.FunctionsMetaplectic.Construction.localModulus_pos k a |
| 114 | nlinarith |
| 115 | |
| 116 | theorem linearOscillator_neg_one_apply |
| 117 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 118 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 119 | (N : ℕ) (ψ : AddChar k ℂ) (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat k N) (x : Weil.Local.FunctionsMetaplectic.Construction.Position k N) : |
| 120 | ((NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator ψ (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N)).val.2 f).val x = f.val (-x) := by |
| 121 | have hdet : Weil.Local.FunctionsMetaplectic.Construction.determinantUnit k (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N) * Weil.Local.FunctionsMetaplectic.Construction.determinantUnit k (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N) = 1 := by |
| 122 | have h := congrArg (Units.map (Matrix.detMonoidHom : Matrix (Fin N) (Fin N) k →* k)) |
| 123 | (show (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N) * (-1) = 1 by simp) |
| 124 | simpa only [map_mul, map_one] using! h |
| 125 | rw [NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator_apply, localModulus_of_square_one k _ hdet] |
| 126 | simp [Matrix.neg_mulVec] |
| 127 | |
| 128 | end LocalAnalysis |
| 129 | |
| 130 | namespace Construction |
| 131 | open OAI.RepresentationTheory.Weil.AdelicSplitting.FourierRelations.LocalAnalysis |
| 132 | |
| 133 | theorem weylSymplectic_square (k : Type) [Field k] (N : ℕ) : |
| 134 | Weil.Local.Generators.Construction.weylSymplectic k N * Weil.Local.Generators.Construction.weylSymplectic k N = Weil.Local.Generators.Construction.leviSymplectic (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N) := by |
| 135 | apply Subtype.ext |
| 136 | simp [Weil.Local.Generators.Construction.weylSymplectic, Weil.Local.Generators.Construction.leviSymplectic, Matrix.fromBlocks_multiply] |
| 137 | |
| 138 | section Local |
| 139 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 140 | (n m : ℕ) (hN : 0 < n * m) |
| 141 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 142 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 143 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 144 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 145 | |
| 146 | theorem normalizedLocalFourierOscillator_square (v : ArchimedeanAdeles.Construction.Places F) : |
| 147 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v * |
| 148 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v = |
| 149 | NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator (Characters.Construction.localAdditiveCharacter F C.ψ v) (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear (ArchimedeanAdeles.Construction.Completion F v) (n * m)) := by |
| 150 | apply NormalizationLevi.Construction.localCover_ext |
| 151 | · rw [map_mul] |
| 152 | change Vacuum.Construction.projectionAt F (n * m) C.ψ v (ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v) * |
| 153 | Vacuum.Construction.projectionAt F (n * m) C.ψ v (ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v) = |
| 154 | Weil.Local.Generators.Construction.leviSymplectic (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear (ArchimedeanAdeles.Construction.Completion F v) (n * m)) |
| 155 | rw [ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator_covers, weylSymplectic_square] |
| 156 | · intro f x |
| 157 | change (((ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v * |
| 158 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v).val.2) f).val x = _ |
| 159 | rw [normalizedLocalFourierOscillator_square_apply] |
| 160 | exact (LocalAnalysis.linearOscillator_neg_one_apply (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v) f x).symm |
| 161 | |
| 162 | end Local |
| 163 | |
| 164 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) (hds : ¬ IsSquare d) |
| 165 | (n m : ℕ) (hN : 0 < n * m) |
| 166 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 167 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 168 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 169 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 170 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 171 | |
| 172 | theorem rationalFourierFamily_square : |
| 173 | RationalFourier.Construction.rationalFourierFamily F d hd hds n m hN H K hH hK C P D * |
| 174 | RationalFourier.Construction.rationalFourierFamily F d hd hds n m hN H K hH hK C P D = |
| 175 | RationalLevi.Construction.rationalLeviFamily F (n * m) C.ψ (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear F (n * m)) := by |
| 176 | apply RestrictedProduct.ext |
| 177 | intro v |
| 178 | change ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v * |
| 179 | ArchimedeanFourierCovers.Construction.normalizedLocalFourierOscillator F d hd n m hN H K C P D v = |
| 180 | NonarchimedeanIntertwiner.LocalAnalysis.linearOscillator (Characters.Construction.localAdditiveCharacter F C.ψ v) (Rational.Construction.localizeLinear F (n * m) (-1) v) |
| 181 | have hneg : Rational.Construction.localizeLinear F (n * m) (-1) v = (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear (ArchimedeanAdeles.Construction.Completion F v) (n * m)) := by |
| 182 | apply Units.ext |
| 183 | change ((-1 : Matrix (Fin (n * m)) (Fin (n * m)) F).map (ArchimedeanAdeles.Construction.rationalScalar F v)) = -1 |
| 184 | ext i j |
| 185 | simp [Matrix.map_apply, Matrix.one_apply] |
| 186 | rw [hneg] |
| 187 | exact normalizedLocalFourierOscillator_square F d hd n m hN H K C P D v |
| 188 | |
| 189 | theorem rationalFourierLift_square : |
| 190 | RationalFourier.Construction.rationalFourierLift F d hd hds n m hN H K hH hK C P D * |
| 191 | RationalFourier.Construction.rationalFourierLift F d hd hds n m hN H K hH hK C P D = |
| 192 | NormalizationLevi.Construction.rationalLeviLift F (n * m) C.ψ (-1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear F (n * m)) := by |
| 193 | have h := congrArg (Rational.Construction.assembleGlobalCover F (n * m) C.ψ) |
| 194 | (rationalFourierFamily_square F d hd hds n m hN H K hH hK C P D) |
| 195 | rw [map_mul] at h |
| 196 | exact h |
| 197 | |
| 198 | end Construction |
| 199 | |
| 200 | end RepresentationTheory.Weil.AdelicSplitting.FourierRelations |
| 201 | |
| 202 | end |
| 203 | |
| 204 | end OAI |