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.NumberTheory.PadicHodge.IntegralComparison.Module.TotalCoordinates |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 3 | import Mathlib.Algebra.Regular.SMul |
| 4 | |
| 5 | /-! # Total Regularity -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Regular coefficients stay regular on categorical module products and first-quadrant totals. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | |
| 18 | theorem product {ι : Type v} (M : ι → ModuleCat.{v} R) (r : R) |
| 19 | (h : ∀ i, IsSMulRegular (M i) r) : IsSMulRegular (∏ᶜ M : ModuleCat.{v} R) r := by |
| 20 | intro x y hxy |
| 21 | apply (ModuleCat.piIsoPi M).toLinearEquiv.injective |
| 22 | funext i |
| 23 | apply h i |
| 24 | exact (map_smul (Pi.π M i).hom r x).symm.trans |
| 25 | ((congrArg (Pi.π M i) hxy).trans (map_smul (Pi.π M i).hom r y)) |
| 26 | |
| 27 | theorem total (K : HomologicalComplex₂ (ModuleCat.{v} R) (.up ℕ) (.up ℕ)) |
| 28 | [K.HasTotal (.up ℕ)] (r : R) (h : ∀ q p, IsSMulRegular ((K.X q).X p) r) (n : ℕ) : |
| 29 | IsSMulRegular ((K.total (.up ℕ)).X n) r := by |
| 30 | apply IsSMulRegular.of_right_eq_zero_of_smul |
| 31 | intro x hx |
| 32 | apply IntegralComparison.Module.TotalCoordinates.eq_zero_of_coordinates K n x |
| 33 | intro i |
| 34 | apply (h i (n - i)).right_eq_zero_of_smul |
| 35 | exact (map_smul ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) i (n - i) n).hom r x).symm.trans |
| 36 | ((congrArg ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) i (n - i) n) hx).trans (map_zero _)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity |