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.AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel |
| 2 | |
| 3 | /-! # Spherical GU -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.SphericalGU.Spherical |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Concrete local Hecke objects for GeometricTheta |
| 11 | |
| 12 | The spherical algebra is the endomorphism algebra of the compactly induced |
| 13 | trivial representation: equivariant endomorphisms of finitely supported |
| 14 | functions on G/K. This fixes multiplication as composition and the level |
| 15 | normalization as the delta function at K. No convolution compatibility or |
| 16 | geometric action is a field of this construction. We use inverse left-coset |
| 17 | coordinates, so gK corresponds to the manuscript's Kg⁻¹. |
| 18 | -/ |
| 19 | |
| 20 | variable {G : Type*} [Group G] |
| 21 | |
| 22 | /-- Reuse TateComparison's actual rational convolution model. -/ |
| 23 | abbrev CosetModule (K : Subgroup G) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.CosetModule K |
| 24 | abbrev algebra (K : Subgroup G) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.sphericalAlgebra K |
| 25 | abbrev kernel (K : Subgroup G) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.kernel K |
| 26 | |
| 27 | def coefficient (K : Subgroup G) (T : algebra K) (g : G) : ℚ := |
| 28 | kernel K T (QuotientGroup.mk g) |
| 29 | |
| 30 | /-- The finite summation formula for the Weil action. On K-fixed inputs, |
| 31 | the value is independent of the chosen coset representatives. -/ |
| 32 | def weilOperator {S : Type*} [AddCommGroup S] [Module ℂ S] |
| 33 | (K : Subgroup G) (rho : G →* (S ≃ₗ[ℂ] S)) |
| 34 | (T : algebra K) : S →ₗ[ℂ] S := |
| 35 | (kernel K T).sum fun c a => (a : ℂ) • (rho c.out).toLinearMap |
| 36 | |
| 37 | def fixedInputs {S : Type*} [AddCommGroup S] [Module ℂ S] |
| 38 | (K : Subgroup G) (rho : G →* (S ≃ₗ[ℂ] S)) : Submodule ℂ S where |
| 39 | carrier := {φ | ∀ k ∈ K, rho k φ = φ} |
| 40 | zero_mem' := by simp |
| 41 | add_mem' := by intro φ ψ hφ hψ k hk; simp [hφ k hk, hψ k hk] |
| 42 | smul_mem' := by intro c φ hφ k hk; simp [hφ k hk] |
| 43 | |
| 44 | /-- Changing a representative by an integral element does not change |
| 45 | its finite Weil transform on an integral-level fixed input. -/ |
| 46 | theorem weil_value_eq_of_same_coset |
| 47 | {S : Type*} [AddCommGroup S] [Module ℂ S] |
| 48 | (K : Subgroup G) (rho : G →* (S ≃ₗ[ℂ] S)) |
| 49 | (φ : fixedInputs K rho) {g h : G} |
| 50 | (heq : (QuotientGroup.mk g : G ⧸ K) = QuotientGroup.mk h) : |
| 51 | rho g φ.val = rho h φ.val := by |
| 52 | have hmem : g⁻¹ * h ∈ K := QuotientGroup.eq.mp heq |
| 53 | have hfix := φ.property (g⁻¹ * h) hmem |
| 54 | have h := congrArg (rho g) hfix |
| 55 | simpa only [← LinearEquiv.mul_apply, ← map_mul, mul_inv_cancel_left] using h.symm |
| 56 | |
| 57 | section Weil |
| 58 | |
| 59 | variable {S : Type*} [AddCommGroup S] [Module ℂ S] |
| 60 | (K : Subgroup G) (rho : G →* (S ≃ₗ[ℂ] S)) |
| 61 | |
| 62 | def cosetValue (φ : fixedInputs K rho) : G ⧸ K → S := |
| 63 | Quotient.lift (fun g => rho g φ.val) (fun _ _ h => |
| 64 | weil_value_eq_of_same_coset K rho φ (Quotient.sound h)) |
| 65 | |
| 66 | @[simp] theorem cosetValue_mk (φ : fixedInputs K rho) (g : G) : |
| 67 | cosetValue K rho φ (QuotientGroup.mk g) = rho g φ.val := rfl |
| 68 | |
| 69 | theorem cosetValue_smul (φ : fixedInputs K rho) (g : G) (c : G ⧸ K) : |
| 70 | cosetValue K rho φ (g • c) = rho g (cosetValue K rho φ c) := by |
| 71 | induction c using Quotient.inductionOn with |
| 72 | | h x => |
| 73 | change rho (g * x) φ.val = rho g (rho x φ.val) |
| 74 | rw [map_mul, LinearEquiv.mul_apply] |
| 75 | |
| 76 | variable [Module ℚ S] [IsScalarTower ℚ ℂ S] |
| 77 | |
| 78 | def evaluateKernel (φ : fixedInputs K rho) : CosetModule K →ₗ[ℚ] S := |
| 79 | Finsupp.linearCombination ℚ (cosetValue K rho φ) |
| 80 | |
| 81 | theorem evaluateKernel_translate (φ : fixedInputs K rho) (g : G) (v : CosetModule K) : |
| 82 | evaluateKernel K rho φ (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.translate K g v) = |
| 83 | rho g (evaluateKernel K rho φ v) := by |
| 84 | have heq : (evaluateKernel K rho φ).comp (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.translate K g) = |
| 85 | ((rho g).toLinearMap.restrictScalars ℚ).comp (evaluateKernel K rho φ) := by |
| 86 | apply Finsupp.lhom_ext |
| 87 | intro c r |
| 88 | simp [evaluateKernel, cosetValue_smul] |
| 89 | exact (((rho g).toLinearMap.restrictScalars ℚ).map_smul r _).symm |
| 90 | exact LinearMap.congr_fun heq v |
| 91 | |
| 92 | theorem kernel_fixed (T : algebra K) (k : G) (hk : k ∈ K) : |
| 93 | AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.translate K k (kernel K T) = kernel K T := by |
| 94 | rw [← AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.hecke_single] |
| 95 | have heq : (QuotientGroup.mk k : G ⧸ K) = QuotientGroup.mk 1 := |
| 96 | QuotientGroup.eq.mpr (by simpa using K.inv_mem hk) |
| 97 | rw [heq] |
| 98 | rfl |
| 99 | |
| 100 | theorem weilOperator_eq_evaluateKernel (T : algebra K) (φ : fixedInputs K rho) : |
| 101 | weilOperator K rho T φ.val = evaluateKernel K rho φ (kernel K T) := by |
| 102 | change ((kernel K T).sum fun c a => (a : ℂ) • (rho c.out).toLinearMap) φ.val = _ |
| 103 | rw [LinearMap.finsupp_sum_apply] |
| 104 | change (kernel K T).sum (fun c a => (a : ℂ) • rho c.out φ.val) = |
| 105 | (kernel K T).sum (fun c a => a • cosetValue K rho φ c) |
| 106 | apply Finsupp.sum_congr |
| 107 | intro c hc |
| 108 | have hv : cosetValue K rho φ c = rho c.out φ.val := by |
| 109 | conv_lhs => rw [← QuotientGroup.out_eq' c] |
| 110 | rfl |
| 111 | rw [hv] |
| 112 | exact IsScalarTower.algebraMap_smul ℂ (kernel K T c) (rho c.out φ.val) |
| 113 | |
| 114 | theorem weilOperator_preserves_fixed (T : algebra K) (φ : fixedInputs K rho) : |
| 115 | weilOperator K rho T φ.val ∈ fixedInputs K rho := by |
| 116 | intro k hk |
| 117 | rw [weilOperator_eq_evaluateKernel, ← evaluateKernel_translate, kernel_fixed K T k hk] |
| 118 | |
| 119 | /-- The finite Weil spherical operator on integral-level fixed vectors, |
| 120 | constructed by the actual finite coset sum. -/ |
| 121 | def weilAction (T : algebra K) : fixedInputs K rho →ₗ[ℂ] fixedInputs K rho := |
| 122 | LinearMap.codRestrict _ ((weilOperator K rho T).comp (fixedInputs K rho).subtype) |
| 123 | (weilOperator_preserves_fixed K rho T) |
| 124 | |
| 125 | end Weil |
| 126 | |
| 127 | variable (q : ℕ) [Fact q.Prime] |
| 128 | |
| 129 | abbrev SL3 := Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] |
| 130 | abbrev GL3 := Matrix.GeneralLinearGroup (Fin 3) ℚ_[q] |
| 131 | |
| 132 | def integralSL3 : Subgroup (SL3 q) := |
| 133 | (Matrix.SpecialLinearGroup.map (PadicInt.Coe.ringHom (p := q))).range |
| 134 | |
| 135 | def integralGL3 : Subgroup (GL3 q) := |
| 136 | (Matrix.GeneralLinearGroup.map (PadicInt.Coe.ringHom (p := q))).range |
| 137 | |
| 138 | abbrev SL3Hecke := algebra (integralSL3 q) |
| 139 | |
| 140 | /-- The completely split rational similitude group has one multiplier. -/ |
| 141 | abbrev SplitGU (s : ℕ) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.SplitGroup s q |
| 142 | |
| 143 | abbrev integralSplitGU (s : ℕ) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.integralLevel s q |
| 144 | abbrev FullHecke (s : ℕ) := AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.Hecke s q |
| 145 | |
| 146 | /-- Trivial multiplier, one special-linear active block, identity elsewhere. -/ |
| 147 | def activeEmbedding {s : ℕ} (active : Fin s) : SL3 q →* SplitGU q s where |
| 148 | toFun g := (fun v => if v = active then Matrix.SpecialLinearGroup.toGL g else 1, 1) |
| 149 | map_one' := by ext v <;> simp |
| 150 | map_mul' g h := by |
| 151 | apply Prod.ext |
| 152 | · funext v |
| 153 | change (if v = active then Matrix.SpecialLinearGroup.toGL (g * h) else 1) = |
| 154 | (if v = active then Matrix.SpecialLinearGroup.toGL g else 1) * |
| 155 | (if v = active then Matrix.SpecialLinearGroup.toGL h else 1) |
| 156 | split_ifs <;> simp |
| 157 | · simp |
| 158 | |
| 159 | /-- Generated by the integral level and the determinant-one active block. |
| 160 | ElementaryDivisors identifies this with the zero active determinant-exponent sector. -/ |
| 161 | def activeSector {s : ℕ} (active : Fin s) : Subgroup (SplitGU q s) := |
| 162 | integralSplitGU q s ⊔ (activeEmbedding q active).range |
| 163 | |
| 164 | def activeOrbit {s : ℕ} (active : Fin s) : Set (SplitGU q s ⧸ integralSplitGU q s) := |
| 165 | QuotientGroup.mk '' (activeSector q active : Set (SplitGU q s)) |
| 166 | |
| 167 | def activeCosetModule {s : ℕ} (active : Fin s) : |
| 168 | Submodule ℚ (CosetModule (integralSplitGU q s)) := |
| 169 | Finsupp.supported ℚ ℚ (activeOrbit q active) |
| 170 | |
| 171 | /-- The spherical operators supported on the active sector. Equivariance |
| 172 | identifies support of the identity column with preservation of this module. -/ |
| 173 | def activeAlgebra {s : ℕ} (active : Fin s) : Subalgebra ℚ (FullHecke q s) where |
| 174 | carrier := {T | ∀ v ∈ activeCosetModule q active, |
| 175 | T.val v ∈ activeCosetModule q active} |
| 176 | zero_mem' := by |
| 177 | change ∀ v ∈ activeCosetModule q active, (0 : FullHecke q s).val v ∈ activeCosetModule q active |
| 178 | intro v hv |
| 179 | exact (activeCosetModule q active).zero_mem |
| 180 | add_mem' := by |
| 181 | intro T U hT hU v hv |
| 182 | exact (activeCosetModule q active).add_mem (hT v hv) (hU v hv) |
| 183 | one_mem' := by intro v hv; exact hv |
| 184 | mul_mem' := by intro T U hT hU v hv; exact hT _ (hU v hv) |
| 185 | algebraMap_mem' := by |
| 186 | intro c v hv |
| 187 | exact (activeCosetModule q active).smul_mem c hv |
| 188 | |
| 189 | end |
| 190 | |
| 191 | end OAI.RepresentationTheory.Theta.Geometric.SphericalGU.Spherical |