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.Theta.Geometric.Active.Cosets |
| 2 | |
| 3 | /-! # Cosets Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CosetsKernel.Local |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The full active GL3 block and its actual integral cosets inside the |
| 12 | split PEL similitude group. No determinant-unit condition is imposed on |
| 13 | the active block. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical |
| 18 | |
| 19 | variable (q : ℕ) [Fact q.Prime] {s : ℕ} (v : Fin s) |
| 20 | |
| 21 | def activeGL3Embedding : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q →* RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SplitGU q s where |
| 22 | toFun g := (fun w => if w = v then g else 1, 1) |
| 23 | map_one' := by |
| 24 | apply Prod.ext |
| 25 | · funext w |
| 26 | simp |
| 27 | · rfl |
| 28 | map_mul' g h := by |
| 29 | apply Prod.ext |
| 30 | · funext w |
| 31 | change (if w = v then g * h else 1) = |
| 32 | (if w = v then g else 1) * (if w = v then h else 1) |
| 33 | split_ifs <;> simp |
| 34 | · simp |
| 35 | |
| 36 | theorem activeGL3Embedding_self (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) : (activeGL3Embedding q v g).1 v = g := by |
| 37 | simp [activeGL3Embedding] |
| 38 | |
| 39 | theorem activeGL3Embedding_integral_iff (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) : |
| 40 | activeGL3Embedding q v g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s ↔ g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q := by |
| 41 | constructor |
| 42 | · intro hg |
| 43 | simpa only [activeGL3Embedding_self] using ((RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.mem_integralSplitGU_iff q _).mp hg).1 v |
| 44 | · intro hg |
| 45 | apply (RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.mem_integralSplitGU_iff q _).mpr |
| 46 | refine ⟨?_, (RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.integralUnits q).one_mem⟩ |
| 47 | intro w |
| 48 | change (if w = v then g else 1) ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q |
| 49 | split_ifs |
| 50 | · exact hg |
| 51 | · exact (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q).one_mem |
| 52 | |
| 53 | def activeGL3CosetMap : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SplitGU q s ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s := |
| 54 | Quotient.map (activeGL3Embedding q v) (by |
| 55 | intro g h hgh |
| 56 | apply QuotientGroup.leftRel_apply.mpr |
| 57 | rw [← map_inv, ← map_mul] |
| 58 | exact (activeGL3Embedding_integral_iff q v _).mpr (QuotientGroup.leftRel_apply.mp hgh)) |
| 59 | |
| 60 | theorem activeGL3CosetMap_injective : Function.Injective (activeGL3CosetMap q v) := by |
| 61 | intro c d |
| 62 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective c |
| 63 | obtain ⟨h, rfl⟩ := QuotientGroup.mk_surjective d |
| 64 | intro he |
| 65 | apply QuotientGroup.eq.mpr |
| 66 | apply (activeGL3Embedding_integral_iff q v (g⁻¹ * h)).mp |
| 67 | rw [map_mul, map_inv] |
| 68 | exact QuotientGroup.eq.mp he |
| 69 | |
| 70 | theorem activeGL3CosetMap_smul (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) (c : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) : |
| 71 | activeGL3CosetMap q v (g • c) = activeGL3Embedding q v g • activeGL3CosetMap q v c := by |
| 72 | obtain ⟨h, rfl⟩ := QuotientGroup.mk_surjective c |
| 73 | change QuotientGroup.mk (activeGL3Embedding q v (g * h)) = |
| 74 | QuotientGroup.mk (activeGL3Embedding q v g * activeGL3Embedding q v h) |
| 75 | rw [map_mul] |
| 76 | |
| 77 | theorem integral_activeGL3_coset_action (k : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) |
| 78 | (c : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) : |
| 79 | k.val • activeGL3CosetMap q v c = activeGL3CosetMap q v (k.val.1 v • c) := by |
| 80 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective c |
| 81 | apply QuotientGroup.eq.mpr |
| 82 | apply (RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.mem_integralSplitGU_iff q _).mpr |
| 83 | obtain ⟨hk, hm⟩ := (RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.mem_integralSplitGU_iff q k.val).mp k.property |
| 84 | constructor |
| 85 | · intro w |
| 86 | change ((k.val.1 w * (if w = v then g else 1))⁻¹ * |
| 87 | (if w = v then k.val.1 v * g else 1)) ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q |
| 88 | by_cases hw : w = v |
| 89 | · subst w |
| 90 | simp |
| 91 | · simpa only [ite_eq_right hw, mul_one] using (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q).inv_mem (hk w) |
| 92 | · change ((k.val.2 * 1)⁻¹ * 1) ∈ RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.integralUnits q |
| 93 | simpa only [mul_one] using (RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.integralUnits q).inv_mem hm |
| 94 | |
| 95 | end |
| 96 | |
| 97 | section |
| 98 | |
| 99 | /-! Extend actual GL3 spherical kernels into the full PEL algebra. |
| 100 | Integral invariance follows from the literal full-level coset action. -/ |
| 101 | |
| 102 | open scoped Classical |
| 103 | |
| 104 | open OAI.RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical |
| 105 | |
| 106 | variable (q : ℕ) [Fact q.Prime] {s : ℕ} (v : Fin s) |
| 107 | |
| 108 | def activeGL3ModuleMap : AbelianScheme.TateComparison.HeckeKernel.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) →ₗ[ℚ] AbelianScheme.TateComparison.HeckeKernel.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) := |
| 109 | Finsupp.lmapDomain ℚ ℚ (activeGL3CosetMap q v) |
| 110 | |
| 111 | theorem activeGL3ModuleMap_injective : Function.Injective (activeGL3ModuleMap q v) := |
| 112 | Finsupp.mapDomain_injective (activeGL3CosetMap_injective q v) |
| 113 | |
| 114 | theorem activeGL3ModuleMap_translate (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) (w : AbelianScheme.TateComparison.HeckeKernel.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 115 | activeGL3ModuleMap q v (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) g w) = |
| 116 | AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (activeGL3Embedding q v g) (activeGL3ModuleMap q v w) := by |
| 117 | have h : (activeGL3ModuleMap q v).comp (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) g) = |
| 118 | (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (activeGL3Embedding q v g)).comp (activeGL3ModuleMap q v) := by |
| 119 | apply Finsupp.lhom_ext |
| 120 | intro c r |
| 121 | simp [activeGL3ModuleMap, activeGL3CosetMap_smul] |
| 122 | exact LinearMap.congr_fun h w |
| 123 | |
| 124 | theorem activeGL3ModuleMap_integral_translate (k : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) |
| 125 | (w : AbelianScheme.TateComparison.HeckeKernel.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 126 | AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) k.val (activeGL3ModuleMap q v w) = |
| 127 | activeGL3ModuleMap q v (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) (k.val.1 v) w) := by |
| 128 | have h : (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) k.val).comp (activeGL3ModuleMap q v) = |
| 129 | (activeGL3ModuleMap q v).comp (AbelianScheme.TateComparison.HeckeKernel.translate (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) (k.val.1 v)) := by |
| 130 | apply Finsupp.lhom_ext |
| 131 | intro c r |
| 132 | simp [activeGL3ModuleMap, integral_activeGL3_coset_action] |
| 133 | exact LinearMap.congr_fun h w |
| 134 | |
| 135 | theorem activeGL3ModuleMap_identity : |
| 136 | activeGL3ModuleMap q v (Finsupp.single (QuotientGroup.mk (1 : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q)) 1) = |
| 137 | Finsupp.single (QuotientGroup.mk (1 : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SplitGU q s)) 1 := by |
| 138 | change Finsupp.mapDomain (activeGL3CosetMap q v) (Finsupp.single _ _) = _ |
| 139 | rw [Finsupp.mapDomain_single] |
| 140 | change Finsupp.single (QuotientGroup.mk (activeGL3Embedding q v 1)) 1 = _ |
| 141 | rw [map_one] |
| 142 | |
| 143 | def extendGL3Kernel (w : RepresentationTheory.Theta.Geometric.Kernel.Spherical.invariantKernels (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 144 | RepresentationTheory.Theta.Geometric.Kernel.Spherical.invariantKernels (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) := |
| 145 | ⟨activeGL3ModuleMap q v w.val, by |
| 146 | intro k hk |
| 147 | rw [activeGL3ModuleMap_integral_translate q v ⟨k, hk⟩] |
| 148 | rw [w.property _ (((RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical.mem_integralSplitGU_iff q k).mp hk).1 v)]⟩ |
| 149 | |
| 150 | def extendGL3Operator (T : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) := |
| 151 | RepresentationTheory.Theta.Geometric.Kernel.Spherical.sphericalOfKernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (extendGL3Kernel q v (RepresentationTheory.Theta.Geometric.Kernel.Spherical.kernelLinearEquiv (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T)) |
| 152 | |
| 153 | theorem extendGL3Operator_kernel (T : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 154 | AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (extendGL3Operator q v T) = |
| 155 | activeGL3ModuleMap q v (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T) := |
| 156 | RepresentationTheory.Theta.Geometric.Kernel.Spherical.kernel_sphericalOfKernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) _ |
| 157 | |
| 158 | theorem extendGL3Operator_transport (T : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) |
| 159 | (w : AbelianScheme.TateComparison.HeckeKernel.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 160 | (extendGL3Operator q v T).val (activeGL3ModuleMap q v w) = |
| 161 | activeGL3ModuleMap q v (T.val w) := by |
| 162 | have hs (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) : |
| 163 | (extendGL3Operator q v T).val |
| 164 | (activeGL3ModuleMap q v (Finsupp.single (QuotientGroup.mk g) 1)) = |
| 165 | activeGL3ModuleMap q v (T.val (Finsupp.single (QuotientGroup.mk g) 1)) := by |
| 166 | change (extendGL3Operator q v T).val |
| 167 | (Finsupp.mapDomain (activeGL3CosetMap q v) (Finsupp.single _ _)) = _ |
| 168 | rw [Finsupp.mapDomain_single] |
| 169 | change (extendGL3Operator q v T).val |
| 170 | (Finsupp.single (QuotientGroup.mk (activeGL3Embedding q v g)) 1) = _ |
| 171 | rw [AbelianScheme.TateComparison.HeckeKernel.hecke_single, extendGL3Operator_kernel, ← activeGL3ModuleMap_translate, ← AbelianScheme.TateComparison.HeckeKernel.hecke_single] |
| 172 | have he : (extendGL3Operator q v T).val.comp (activeGL3ModuleMap q v) = |
| 173 | (activeGL3ModuleMap q v).comp T.val := by |
| 174 | apply Finsupp.lhom_ext |
| 175 | intro c r |
| 176 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective c |
| 177 | change (extendGL3Operator q v T).val |
| 178 | (activeGL3ModuleMap q v (Finsupp.single (QuotientGroup.mk g) r)) = |
| 179 | activeGL3ModuleMap q v (T.val (Finsupp.single (QuotientGroup.mk g) r)) |
| 180 | rw [← Finsupp.smul_single_one (QuotientGroup.mk g) r] |
| 181 | simp only [map_smul, hs] |
| 182 | exact LinearMap.congr_fun he w |
| 183 | |
| 184 | end |
| 185 | |
| 186 | /-! The full active GL3 spherical algebra embeds in the actual full PEL |
| 187 | Hecke algebra. Multiplication is proved on the original kernel action. -/ |
| 188 | |
| 189 | open scoped Classical |
| 190 | |
| 191 | open OAI.RepresentationTheory.Theta.Geometric.Active.Cosets.Spherical |
| 192 | |
| 193 | variable (q : ℕ) [Fact q.Prime] {s : ℕ} (v : Fin s) |
| 194 | |
| 195 | def activeGL3HeckeMap : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) →ₐ[ℚ] RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) where |
| 196 | toFun := extendGL3Operator q v |
| 197 | map_zero' := by |
| 198 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective |
| 199 | rw [extendGL3Operator_kernel] |
| 200 | exact map_zero (activeGL3ModuleMap q v) |
| 201 | map_one' := by |
| 202 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective |
| 203 | rw [extendGL3Operator_kernel] |
| 204 | exact activeGL3ModuleMap_identity q v |
| 205 | map_add' T U := by |
| 206 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective |
| 207 | rw [extendGL3Operator_kernel] |
| 208 | change activeGL3ModuleMap q v (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T + AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) U) = |
| 209 | AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (extendGL3Operator q v T) + |
| 210 | AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (extendGL3Operator q v U) |
| 211 | rw [map_add, extendGL3Operator_kernel, extendGL3Operator_kernel] |
| 212 | map_mul' T U := by |
| 213 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective |
| 214 | rw [extendGL3Operator_kernel] |
| 215 | change activeGL3ModuleMap q v (T.val (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) U)) = |
| 216 | (extendGL3Operator q v T).val (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (extendGL3Operator q v U)) |
| 217 | rw [extendGL3Operator_kernel, extendGL3Operator_transport] |
| 218 | commutes' r := by |
| 219 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective |
| 220 | rw [extendGL3Operator_kernel] |
| 221 | change activeGL3ModuleMap q v (r • Finsupp.single (QuotientGroup.mk (1 : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q)) 1) = |
| 222 | r • Finsupp.single (QuotientGroup.mk (1 : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SplitGU q s)) 1 |
| 223 | rw [map_smul, activeGL3ModuleMap_identity] |
| 224 | |
| 225 | theorem activeGL3HeckeMap_kernel (T : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 226 | AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) (activeGL3HeckeMap q v T) = |
| 227 | activeGL3ModuleMap q v (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T) := extendGL3Operator_kernel q v T |
| 228 | |
| 229 | theorem activeGL3HeckeMap_injective : Function.Injective (activeGL3HeckeMap q v) := by |
| 230 | intro T U h |
| 231 | apply AbelianScheme.TateComparison.HeckeKernel.kernel_injective (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) |
| 232 | apply activeGL3ModuleMap_injective q v |
| 233 | simpa only [activeGL3HeckeMap_kernel] using congrArg (AbelianScheme.TateComparison.HeckeKernel.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s)) h |
| 234 | |
| 235 | end |
| 236 | |
| 237 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CosetsKernel.Local |