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 | import Mathlib.LinearAlgebra.Finsupp.Supported |
| 3 | |
| 4 | /-! # Hecke Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HeckeDegree.Local |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A group character trivial on the integral level grades the actual |
| 11 | spherical kernels. Products multiply degrees; raw kernels have the |
| 12 | inverse degree of their double-coset representative. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel |
| 17 | |
| 18 | variable {G C : Type*} [Group G] [CommGroup C] (U : Subgroup G) |
| 19 | (d : G →* C) (hd : ∀ u ∈ U, d u = 1) |
| 20 | |
| 21 | def heckeCosetDegree : G ⧸ U → C := |
| 22 | Quotient.lift d (by |
| 23 | intro g h hgh |
| 24 | have h := hd (g⁻¹ * h) (QuotientGroup.leftRel_apply.mp hgh) |
| 25 | simpa only [map_mul, map_inv, inv_mul_eq_one] using h) |
| 26 | |
| 27 | theorem heckeCosetDegree_smul (g : G) (x : G ⧸ U) : |
| 28 | heckeCosetDegree U d hd (g • x) = d g * heckeCosetDegree U d hd x := by |
| 29 | obtain ⟨h, rfl⟩ := QuotientGroup.mk_surjective x |
| 30 | exact map_mul d g h |
| 31 | |
| 32 | def heckeDegreeSpace (c : C) : Submodule ℚ (AbelianScheme.TateComparison.HeckeKernel.CosetModule U) := |
| 33 | Finsupp.supported ℚ ℚ {x | heckeCosetDegree U d hd x = c} |
| 34 | |
| 35 | theorem heckeDegreeSpace_translate (g : G) {c : C} {w : AbelianScheme.TateComparison.HeckeKernel.CosetModule U} |
| 36 | (hw : w ∈ heckeDegreeSpace U d hd c) : |
| 37 | AbelianScheme.TateComparison.HeckeKernel.translate U g w ∈ heckeDegreeSpace U d hd (d g * c) := by |
| 38 | have hle : heckeDegreeSpace U d hd c ≤ |
| 39 | (heckeDegreeSpace U d hd (d g * c)).comap (AbelianScheme.TateComparison.HeckeKernel.translate U g) := by |
| 40 | rw [heckeDegreeSpace, Finsupp.supported_eq_span_single] |
| 41 | apply Submodule.span_le.mpr |
| 42 | rintro w ⟨x, hx, rfl⟩ |
| 43 | change AbelianScheme.TateComparison.HeckeKernel.translate U g (Finsupp.single x 1) ∈ heckeDegreeSpace U d hd (d g * c) |
| 44 | rw [AbelianScheme.TateComparison.HeckeKernel.translate_single] |
| 45 | apply Finsupp.single_mem_supported ℚ 1 |
| 46 | change heckeCosetDegree U d hd (g • x) = d g * c |
| 47 | rw [heckeCosetDegree_smul, hx] |
| 48 | exact hle hw |
| 49 | |
| 50 | def IsHomogeneousHecke (T : AbelianScheme.TateComparison.HeckeKernel.SphericalHecke U) (c : C) : Prop := |
| 51 | AbelianScheme.TateComparison.HeckeKernel.kernel U T ∈ heckeDegreeSpace U d hd c |
| 52 | |
| 53 | theorem homogeneousHecke_action {T : AbelianScheme.TateComparison.HeckeKernel.SphericalHecke U} {a b : C} |
| 54 | (hT : IsHomogeneousHecke U d hd T a) {w : AbelianScheme.TateComparison.HeckeKernel.CosetModule U} |
| 55 | (hw : w ∈ heckeDegreeSpace U d hd b) : |
| 56 | T.val w ∈ heckeDegreeSpace U d hd (a * b) := by |
| 57 | have hle : heckeDegreeSpace U d hd b ≤ (heckeDegreeSpace U d hd (a * b)).comap T.val := by |
| 58 | rw [heckeDegreeSpace, Finsupp.supported_eq_span_single] |
| 59 | apply Submodule.span_le.mpr |
| 60 | rintro w ⟨x, hx, rfl⟩ |
| 61 | obtain ⟨g, rfl⟩ := QuotientGroup.mk_surjective x |
| 62 | change d g = b at hx |
| 63 | change T.val (Finsupp.single (QuotientGroup.mk g) 1) ∈ heckeDegreeSpace U d hd (a * b) |
| 64 | rw [AbelianScheme.TateComparison.HeckeKernel.hecke_single] |
| 65 | simpa only [hx, mul_comm b a] using heckeDegreeSpace_translate U d hd g hT |
| 66 | exact hle hw |
| 67 | |
| 68 | theorem homogeneousHecke_mul {T S : AbelianScheme.TateComparison.HeckeKernel.SphericalHecke U} {a b : C} |
| 69 | (hT : IsHomogeneousHecke U d hd T a) (hS : IsHomogeneousHecke U d hd S b) : |
| 70 | IsHomogeneousHecke U d hd (T * S) (a * b) := |
| 71 | homogeneousHecke_action U d hd hT hS |
| 72 | |
| 73 | theorem homogeneousHecke_one : IsHomogeneousHecke U d hd 1 1 := by |
| 74 | apply Finsupp.single_mem_supported ℚ 1 |
| 75 | exact map_one d |
| 76 | |
| 77 | theorem homogeneousHecke_pow {T : AbelianScheme.TateComparison.HeckeKernel.SphericalHecke U} {a : C} |
| 78 | (hT : IsHomogeneousHecke U d hd T a) (n : ℕ) : |
| 79 | IsHomogeneousHecke U d hd (T ^ n) (a ^ n) := by |
| 80 | induction n with |
| 81 | | zero => simpa only [pow_zero] using homogeneousHecke_one U d hd |
| 82 | | succ n hn => |
| 83 | simpa only [pow_succ] using homogeneousHecke_mul U d hd hn hT |
| 84 | |
| 85 | theorem rawHecke_homogeneous {g : G} {T : AbelianScheme.TateComparison.HeckeKernel.SphericalHecke U} (hT : AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset U g T) : |
| 86 | IsHomogeneousHecke U d hd T (d g)⁻¹ := by |
| 87 | apply (Finsupp.mem_supported' ℚ _).mpr |
| 88 | intro x hx |
| 89 | rw [AbelianScheme.TateComparison.HeckeKernel.raw_kernel_at U hT, ite_eq_right] |
| 90 | rintro ⟨u, rfl⟩ |
| 91 | apply hx |
| 92 | change heckeCosetDegree U d hd (u.val • QuotientGroup.mk g⁻¹) = (d g)⁻¹ |
| 93 | rw [heckeCosetDegree_smul, hd u.val u.property, one_mul] |
| 94 | exact map_inv d g |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HeckeDegree.Local |