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.Projective.RationalKernel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates |
| 3 | |
| 4 | /-! # Kernel Integrality -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The entire projective kernel is integral at every split local block: |
| 11 | its scalar cube roots of unity have local norm one. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 16 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 17 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 18 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 19 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 20 | |
| 21 | theorem Data.ActiveHeckeThetaData.projective_kernel_local_integral (hg : D.pel.HasIntegralModelGeometry) (g : D.RationalSU) |
| 22 | (h : ∀ x : D.domain, D.periodMap g x.val = x.val) (v : Fin s × Bool) : |
| 23 | D.localMatrix v g ∈ SphericalGU.Spherical.integralSL3 q := by |
| 24 | have hs := D.rational_period_kernel_scalar hg g h |
| 25 | have hc := D.rational_period_kernel_cube hg g h |
| 26 | have hp : (D.localEmbedding v (g.val.val 2 2)) ^ 3 = 1 := by |
| 27 | rw [← map_pow, hc, map_one] |
| 28 | have hn : ‖D.localEmbedding v (g.val.val 2 2)‖ ≤ 1 := by |
| 29 | apply (pow_le_one_iff_of_nonneg (norm_nonneg _) (by decide : 3 ≠ 0)).mp |
| 30 | rw [← norm_pow, hp, norm_one] |
| 31 | apply (AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport.integralSL3_iff_entries q _).mpr |
| 32 | intro i j |
| 33 | change ‖D.localEmbedding v (g.val.val i j)‖ ≤ 1 |
| 34 | have he := congrFun (congrFun hs i) j |
| 35 | rw [he] |
| 36 | by_cases hij : i = j |
| 37 | · subst j |
| 38 | simpa only [Matrix.scalar_apply, Matrix.diagonal_apply_eq] using hn |
| 39 | · simp only [Matrix.scalar_apply, Matrix.diagonal_apply_ne _ hij, map_zero, norm_zero, zero_le_one] |
| 40 | |
| 41 | theorem Data.ActiveHeckeThetaData.projective_kernel_active_integral (hg : D.pel.HasIntegralModelGeometry) (g : D.RationalSU) |
| 42 | (h : ∀ x : D.domain, D.periodMap g x.val = x.val) : |
| 43 | D.activeLocal g ∈ SphericalGU.Spherical.integralSL3 q := |
| 44 | D.projective_kernel_local_integral hg g h (D.pel.reference.distinguished, false) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.RepresentationTheory.Theta.Geometric |