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.SphericalGU |
| 2 | |
| 3 | /-! # Away -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Away.Spherical |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The local spherical action preserves the prescribed away-level fixed |
| 10 | condition, because the two factors of the finite group commute. -/ |
| 11 | |
| 12 | variable {G A S : Type*} [Group G] [Group A] |
| 13 | [AddCommGroup S] [Module ℂ S] [Module ℚ S] [IsScalarTower ℚ ℂ S] |
| 14 | (K : Subgroup G) (L : Subgroup A) (rho : G × A →* (S ≃ₗ[ℂ] S)) |
| 15 | |
| 16 | omit [Module ℚ S] [IsScalarTower ℚ ℂ S] in |
| 17 | theorem fixedProduct_iff (v : S) : |
| 18 | v ∈ SphericalGU.Spherical.fixedInputs (K.prod L) rho ↔ |
| 19 | v ∈ SphericalGU.Spherical.fixedInputs K (rho.comp (MonoidHom.inl G A)) ∧ |
| 20 | v ∈ SphericalGU.Spherical.fixedInputs L (rho.comp (MonoidHom.inr G A)) := by |
| 21 | constructor |
| 22 | · intro hv |
| 23 | exact ⟨fun k hk => hv (k, 1) ⟨hk, L.one_mem⟩, |
| 24 | fun a ha => hv (1, a) ⟨K.one_mem, ha⟩⟩ |
| 25 | · rintro ⟨hk, ha⟩ ⟨k, a⟩ ⟨hkm, ham⟩ |
| 26 | change rho (k, a) v = v |
| 27 | have he : (k, a) = (k, 1) * (1, a) := by simp |
| 28 | have hka : rho (k, 1) v = v := hk k hkm |
| 29 | have haa : rho (1, a) v = v := ha a ham |
| 30 | rw [he, map_mul, LinearEquiv.mul_apply, haa, hka] |
| 31 | |
| 32 | theorem local_weil_preserves_product |
| 33 | (T : SphericalGU.Spherical.algebra K) (φ : SphericalGU.Spherical.fixedInputs (K.prod L) rho) : |
| 34 | SphericalGU.Spherical.weilOperator K (rho.comp (MonoidHom.inl G A)) T φ.val ∈ |
| 35 | SphericalGU.Spherical.fixedInputs (K.prod L) rho := by |
| 36 | obtain ⟨hk, ha⟩ := (fixedProduct_iff K L rho φ.val).mp φ.property |
| 37 | apply (fixedProduct_iff K L rho _).mpr |
| 38 | refine ⟨SphericalGU.Spherical.weilOperator_preserves_fixed K (rho.comp (MonoidHom.inl G A)) T ⟨φ.val, hk⟩, ?_⟩ |
| 39 | intro a ham |
| 40 | have haa : rho (1, a) φ.val = φ.val := ha a ham |
| 41 | have hcomm (g : G) : rho (1, a) (rho (g, 1) φ.val) = rho (g, 1) φ.val := by |
| 42 | have he : (1, a) * (g, 1) = (g, 1) * (1, a) := by simp |
| 43 | rw [← LinearEquiv.mul_apply, ← map_mul, he, map_mul, LinearEquiv.mul_apply, |
| 44 | haa] |
| 45 | change rho (1, a) (SphericalGU.Spherical.weilOperator K (rho.comp (MonoidHom.inl G A)) T φ.val) = _ |
| 46 | unfold SphericalGU.Spherical.weilOperator |
| 47 | rw [LinearMap.finsupp_sum_apply] |
| 48 | simp only [Finsupp.sum, LinearMap.smul_apply, LinearEquiv.coe_coe, |
| 49 | MonoidHom.coe_comp, Function.comp_apply, MonoidHom.inl_apply, map_sum, map_smul, hcomm] |
| 50 | |
| 51 | def productWeilAction (T : SphericalGU.Spherical.algebra K) : |
| 52 | SphericalGU.Spherical.fixedInputs (K.prod L) rho →ₗ[ℂ] SphericalGU.Spherical.fixedInputs (K.prod L) rho := |
| 53 | LinearMap.codRestrict _ |
| 54 | ((SphericalGU.Spherical.weilOperator K (rho.comp (MonoidHom.inl G A)) T).comp |
| 55 | (SphericalGU.Spherical.fixedInputs (K.prod L) rho).subtype) |
| 56 | (local_weil_preserves_product K L rho T) |
| 57 | |
| 58 | theorem productWeilAction_val (T : SphericalGU.Spherical.algebra K) (φ : SphericalGU.Spherical.fixedInputs (K.prod L) rho) : |
| 59 | (productWeilAction K L rho T φ).val = |
| 60 | SphericalGU.Spherical.evaluateKernel K (rho.comp (MonoidHom.inl G A)) |
| 61 | ⟨φ.val, ((fixedProduct_iff K L rho φ.val).mp φ.property).1⟩ (SphericalGU.Spherical.kernel K T) := by |
| 62 | change SphericalGU.Spherical.weilOperator K (rho.comp (MonoidHom.inl G A)) T φ.val = _ |
| 63 | exact SphericalGU.Spherical.weilOperator_eq_evaluateKernel K (rho.comp (MonoidHom.inl G A)) T |
| 64 | ⟨φ.val, ((fixedProduct_iff K L rho φ.val).mp φ.property).1⟩ |
| 65 | |
| 66 | /-- The spherical Weil action is rational-linear in its actual Hecke |
| 67 | kernel, so complex coefficients are obtained by genuine scalar extension. -/ |
| 68 | def productWeilActionLinear : SphericalGU.Spherical.algebra K →ₗ[ℚ] |
| 69 | Module.End ℂ (SphericalGU.Spherical.fixedInputs (K.prod L) rho) where |
| 70 | toFun := productWeilAction K L rho |
| 71 | map_add' T U := by |
| 72 | apply LinearMap.ext |
| 73 | intro φ |
| 74 | apply Subtype.ext |
| 75 | change (productWeilAction K L rho (T + U) φ).val = |
| 76 | (productWeilAction K L rho T φ).val + (productWeilAction K L rho U φ).val |
| 77 | have hk : SphericalGU.Spherical.kernel K (T + U) = SphericalGU.Spherical.kernel K T + SphericalGU.Spherical.kernel K U := rfl |
| 78 | simp only [productWeilAction_val, hk, map_add] |
| 79 | map_smul' r T := by |
| 80 | apply LinearMap.ext |
| 81 | intro φ |
| 82 | apply Subtype.ext |
| 83 | change (productWeilAction K L rho (r • T) φ).val = |
| 84 | r • (productWeilAction K L rho T φ).val |
| 85 | have hk : SphericalGU.Spherical.kernel K (r • T) = r • SphericalGU.Spherical.kernel K T := rfl |
| 86 | simp only [productWeilAction_val, hk, map_smul] |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.RepresentationTheory.Theta.Geometric.Away.Spherical |