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.IsogenyQuotient.HeckeKernel |
| 2 | import Mathlib.Data.Finsupp.Indicator |
| 3 | |
| 4 | /-! # Hecke -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Hecke.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Construct the unnormalized double-coset operator when its right-coset |
| 12 | support is finite. The inverse representative is the superlattice |
| 13 | convention already fixed by TateComparison. Every supporting coset has coefficient one. |
| 14 | -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | variable {G : Type*} [Group G] (U : Subgroup G) |
| 19 | |
| 20 | def rawRightCosetSupport (g : G) : Set (G ⧸ U) := |
| 21 | MulAction.orbit U (QuotientGroup.mk g⁻¹) |
| 22 | |
| 23 | theorem rawRightCosetSupport_smul_iff (g : G) (u : U) (x : G ⧸ U) : |
| 24 | (u : G) • x ∈ rawRightCosetSupport U g ↔ x ∈ rawRightCosetSupport U g := by |
| 25 | constructor |
| 26 | · intro h |
| 27 | have h' := MulAction.mem_orbit_of_mem_orbit u⁻¹ h |
| 28 | change u⁻¹ • (u • x) ∈ rawRightCosetSupport U g at h' |
| 29 | simpa only [inv_smul_smul] using h' |
| 30 | · intro h |
| 31 | exact MulAction.mem_orbit_of_mem_orbit u h |
| 32 | |
| 33 | /-- The orbit of the inverse representative is exactly Ug⁻¹U/U. -/ |
| 34 | theorem rawRightCosetSupport_mk_iff (g x : G) : |
| 35 | QuotientGroup.mk x ∈ rawRightCosetSupport U g ↔ |
| 36 | ∃ k l : U, x = (k : G) * g⁻¹ * (l : G) := by |
| 37 | constructor |
| 38 | · intro h |
| 39 | obtain ⟨k, hk⟩ := MulAction.mem_orbit_iff.mp h |
| 40 | change QuotientGroup.mk ((k : G) * g⁻¹) = QuotientGroup.mk x at hk |
| 41 | let l : U := ⟨((k : G) * g⁻¹)⁻¹ * x, |
| 42 | QuotientGroup.leftRel_apply.mp (Quotient.exact hk)⟩ |
| 43 | refine ⟨k, l, ?_⟩ |
| 44 | change x = ((k : G) * g⁻¹) * (((k : G) * g⁻¹)⁻¹ * x) |
| 45 | simp only [mul_inv_cancel_left] |
| 46 | · rintro ⟨k, l, rfl⟩ |
| 47 | apply MulAction.mem_orbit_iff.mpr |
| 48 | refine ⟨k, ?_⟩ |
| 49 | change QuotientGroup.mk ((k : G) * g⁻¹) = QuotientGroup.mk ((k : G) * g⁻¹ * (l : G)) |
| 50 | apply Quotient.sound |
| 51 | apply QuotientGroup.leftRel_apply.mpr |
| 52 | simpa only [inv_mul_cancel_left] using l.property |
| 53 | |
| 54 | def rawDoubleCosetKernel (g : G) (hfinite : (rawRightCosetSupport U g).Finite) : TateComparison.HeckeKernel.CosetModule U := |
| 55 | Finsupp.indicator hfinite.toFinset (fun _ _ => 1) |
| 56 | |
| 57 | theorem rawDoubleCosetKernel_apply (g : G) (hfinite : (rawRightCosetSupport U g).Finite) |
| 58 | (x : G ⧸ U) : |
| 59 | rawDoubleCosetKernel U g hfinite x = if x ∈ rawRightCosetSupport U g then 1 else 0 := by |
| 60 | simp [rawDoubleCosetKernel, Finsupp.indicator_apply] |
| 61 | |
| 62 | /-- The raw column is invariant under the integral level. -/ |
| 63 | theorem rawDoubleCosetKernel_invariant (g : G) (hfinite : (rawRightCosetSupport U g).Finite) |
| 64 | (u : U) : |
| 65 | TateComparison.HeckeKernel.translate U (u : G) (rawDoubleCosetKernel U g hfinite) = rawDoubleCosetKernel U g hfinite := by |
| 66 | ext x |
| 67 | obtain ⟨y, rfl⟩ := (MulAction.bijective (u : G)).surjective x |
| 68 | change Finsupp.mapDomain (fun z : G ⧸ U => (u : G) • z) |
| 69 | (rawDoubleCosetKernel U g hfinite) ((u : G) • y) = _ |
| 70 | rw [Finsupp.mapDomain_apply_of_injective (MulAction.injective (u : G)), rawDoubleCosetKernel_apply, |
| 71 | rawDoubleCosetKernel_apply, rawRightCosetSupport_smul_iff] |
| 72 | |
| 73 | /-- The finite right-coset orbit gives a genuine spherical Hecke operator. -/ |
| 74 | def rawDoubleCosetOperator (g : G) (hfinite : (rawRightCosetSupport U g).Finite) : TateComparison.HeckeKernel.SphericalHecke U := |
| 75 | HeckeKernel.Construction.sphericalHeckeFromKernel U (rawDoubleCosetKernel U g hfinite) |
| 76 | (rawDoubleCosetKernel_invariant U g hfinite) |
| 77 | |
| 78 | /-- Its kernel is exactly the raw characteristic function in TateComparison's |
| 79 | inverse-lattice convention, with integral-level volume one. -/ |
| 80 | theorem rawDoubleCosetOperator_spec (g : G) (hfinite : (rawRightCosetSupport U g).Finite) : |
| 81 | TateComparison.HeckeKernel.IsRawDoubleCoset U g (rawDoubleCosetOperator U g hfinite) := by |
| 82 | intro x |
| 83 | change TateComparison.HeckeKernel.kernel U (HeckeKernel.Construction.sphericalHeckeFromKernel U _ _) (QuotientGroup.mk x) = _ |
| 84 | rw [HeckeKernel.Construction.sphericalHeckeFromKernel_kernel, rawDoubleCosetKernel_apply, rawRightCosetSupport_mk_iff] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Hecke.Construction |