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.HodgeConjecture.CMExtraction.GeometricTheta |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Active.Cartan |
| 3 | |
| 4 | /-! # Canonical Active Equiv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CanonicalActiveEquiv.Local |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The raw-basis clause of the full GeometricTheta output uniquely determines its |
| 11 | active algebra equivalence. Thus subsequent restrictions use the actual |
| 12 | canonical inclusion, without identifying independent choices by fiat. -/ |
| 13 | |
| 14 | theorem activeHeckeEquiv_eq_of_raw_matching |
| 15 | (q : ℕ) [Fact q.Prime] {s : ℕ} (v : Fin s) |
| 16 | (basis : AbelianScheme.TateComparison.Local.LocalType s → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.FullHecke q s) |
| 17 | (hbasis : ∀ t, AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSplitGU q s) |
| 18 | (AbelianScheme.TateComparison.HeckeKernel.representative s q t) (basis t)) |
| 19 | (e : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3Hecke q ≃ₐ[ℚ] RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.activeAlgebra q v) |
| 20 | (he : ∀ a : RepresentationTheory.Theta.Geometric.Intrinsic.Hecke.ActiveWeight, ∃ T : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3Hecke q, |
| 21 | AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) (RepresentationTheory.Theta.Geometric.Intrinsic.Hecke.activeSLRepresentative q a) T ∧ |
| 22 | RepresentationTheory.Theta.Geometric.Intrinsic.Action.activeHeckeMap q v e T = basis (RepresentationTheory.Theta.Geometric.Intrinsic.Hecke.activeType v a)) : |
| 23 | e = RepresentationTheory.Theta.Geometric.Active.Algebra.Spherical.activeHeckeEquiv q v := by |
| 24 | choose T hT hmatch using he |
| 25 | have hcanonical (a : RepresentationTheory.Theta.Geometric.Intrinsic.Hecke.ActiveWeight) : |
| 26 | RepresentationTheory.Theta.Geometric.Intrinsic.Action.activeHeckeMap q v (RepresentationTheory.Theta.Geometric.Active.Algebra.Spherical.activeHeckeEquiv q v) (T a) = |
| 27 | basis (RepresentationTheory.Theta.Geometric.Intrinsic.Hecke.activeType v a) := by |
| 28 | obtain ⟨S, hS, hSmap⟩ := RepresentationTheory.Theta.Geometric.Active.Basis.Spherical.active_basis_matching q v basis hbasis a |
| 29 | rw [AbelianScheme.TateComparison.HeckeKernel.rawDoubleCoset_unique _ (hT a) hS] |
| 30 | exact hSmap |
| 31 | have hlinear : e.toLinearMap = (RepresentationTheory.Theta.Geometric.Active.Algebra.Spherical.activeHeckeEquiv q v).toLinearMap := by |
| 32 | apply LinearMap.ext_on (RepresentationTheory.Theta.Geometric.Active.Cartan.Spherical.active_raw_span q T hT) |
| 33 | rintro _ ⟨a, rfl⟩ |
| 34 | apply Subtype.ext |
| 35 | exact (hmatch a).trans (hcanonical a).symm |
| 36 | apply AlgEquiv.ext |
| 37 | exact LinearMap.congr_fun hlinear |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CanonicalActiveEquiv.Local |