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.Basis |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalSpan |
| 3 | |
| 4 | /-! # Cartan -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Active.Cartan.Spherical |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ElementaryDivisors gives all active SL3 double cosets. Consequently the raw active |
| 11 | operators span the entire rational spherical algebra. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalSpan |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | theorem exists_active_cartan (g : SphericalGU.Spherical.SL3 q) : |
| 18 | ∃ a : Intrinsic.Hecke.ActiveWeight, DoubleCosets.Spherical.InDoubleCoset (SphericalGU.Spherical.integralSL3 q) (Intrinsic.Hecke.activeSLRepresentative q a) g := by |
| 19 | obtain ⟨a, ⟨ha, hsum, U, V, he⟩, _⟩ := |
| 20 | Algebra.Modules.ElementaryDivisors.sl3_smith_normal_form (q : ℤ_[q]) PadicInt.irreducible_p g⁻¹ |
| 21 | let b : Intrinsic.Hecke.ActiveWeight := ⟨fun i => -a i, |
| 22 | (fun _ _ hij => neg_le_neg (ha hij)), by simp only [Finset.sum_neg_distrib, hsum, neg_zero]⟩ |
| 23 | let F : Matrix.SpecialLinearGroup (Fin 3) ℤ_[q] →* SphericalGU.Spherical.SL3 q := |
| 24 | Matrix.SpecialLinearGroup.map (PadicInt.Coe.ringHom (p := q)) |
| 25 | have hdiag : Matrix.SpecialLinearGroup.toGL (Intrinsic.Hecke.activeSLRepresentative q b) = |
| 26 | AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.diagonalUnit (fun i => AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ b.val i) := Units.ext rfl |
| 27 | have hd : ((Intrinsic.Hecke.activeSLRepresentative q b)⁻¹).val = |
| 28 | Matrix.diagonal (fun i => (q : ℚ_[q]) ^ a i) := by |
| 29 | have hi := congrArg (fun z : SphericalGU.Spherical.GL3 q => z.inv) hdiag |
| 30 | change ((Intrinsic.Hecke.activeSLRepresentative q b)⁻¹).val = |
| 31 | (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.diagonalUnit (fun i => AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ b.val i)).inv at hi |
| 32 | rw [hi] |
| 33 | simp [AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.diagonalUnit, b, AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.qUnit] |
| 34 | have hg : g⁻¹ = F U * (Intrinsic.Hecke.activeSLRepresentative q b)⁻¹ * F V := by |
| 35 | apply Subtype.ext |
| 36 | change (g⁻¹).val = (F U).val * ((Intrinsic.Hecke.activeSLRepresentative q b)⁻¹).val * (F V).val |
| 37 | rw [hd] |
| 38 | exact he |
| 39 | refine ⟨b, ⟨⟨F V⁻¹, ⟨V⁻¹, rfl⟩⟩, ⟨F U⁻¹, ⟨U⁻¹, rfl⟩⟩, ?_⟩⟩ |
| 40 | simpa only [mul_inv_rev, inv_inv, map_inv, mul_assoc] using congrArg Inv.inv hg |
| 41 | |
| 42 | theorem active_coset_covered (c : SphericalGU.Spherical.SL3 q ⧸ SphericalGU.Spherical.integralSL3 q) : |
| 43 | ∃ a : Intrinsic.Hecke.ActiveWeight, c ∈ AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.doubleCosetOrbit (SphericalGU.Spherical.integralSL3 q) (Intrinsic.Hecke.activeSLRepresentative q a) := by |
| 44 | induction c using Quotient.inductionOn with |
| 45 | | h g => |
| 46 | obtain ⟨a, l, r, hg⟩ := exists_active_cartan q g⁻¹ |
| 47 | refine ⟨a, (AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.mem_doubleCosetOrbit _ _ _).mpr ⟨r⁻¹, l⁻¹, ?_⟩⟩ |
| 48 | simpa only [inv_inv, mul_inv_rev, Subgroup.coe_inv, mul_assoc] using congrArg Inv.inv hg |
| 49 | |
| 50 | theorem active_raw_span (basis : Intrinsic.Hecke.ActiveWeight → SphericalGU.Spherical.SL3Hecke q) |
| 51 | (hraw : ∀ a, AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (SphericalGU.Spherical.integralSL3 q) (Intrinsic.Hecke.activeSLRepresentative q a) (basis a)) : |
| 52 | Submodule.span ℚ (Set.range basis) = ⊤ := by |
| 53 | rw [← Finsupp.range_linearCombination] |
| 54 | apply LinearMap.range_eq_top.mpr |
| 55 | intro T |
| 56 | obtain ⟨c, hc⟩ := AlgebraicGeometry.AbelianScheme.TateComparison.RationalSpan.exists_raw_rational_expansion (SphericalGU.Spherical.integralSL3 q) |
| 57 | (Intrinsic.Hecke.activeSLRepresentative q) basis hraw (active_coset_covered q) T |
| 58 | exact ⟨c, hc.symm⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.RepresentationTheory.Theta.Geometric.Active.Cartan.Spherical |