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.Crystalline.Cohomology.Cech.TotalQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeTotal |
| 3 | |
| 4 | /-! # Total Map Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.TotalMapCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Module-valued Čech total maps in named cone-total coordinates. |
| 11 | The homology identity is proved before choosing the coefficient complexes. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | universe u v s t |
| 17 | variable (R : Type u) [CommRing R] {C : Type s} [Category.{t} C] [HasBinaryProducts C] |
| 18 | {ι : Type} (U : ι → C) |
| 19 | |
| 20 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 21 | ModuleCat.hasLimitsOfSize.{0, 0, max u v, u} |
| 22 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 23 | ModuleCat.hasColimitsOfSize.{max u v, u, 0, 0} R |
| 24 | |
| 25 | local instance total_exists (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : |
| 26 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex U K).HasTotal (.up ℕ) := |
| 27 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 28 | |
| 29 | def total (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) : |
| 30 | CochainComplex (ModuleCat.{max u v} R) ℕ := |
| 31 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex U K).total (.up ℕ) |
| 32 | |
| 33 | variable {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ} (a : K ⟶ L) |
| 34 | |
| 35 | def map : TotalMapCoordinates.total R U K ⟶ TotalMapCoordinates.total R U L := |
| 36 | AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map R (NonemptyCechNerve.nerve U) a |
| 37 | |
| 38 | theorem map_eq : map R U a = |
| 39 | AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map R (NonemptyCechNerve.nerve U) a := rfl |
| 40 | |
| 41 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 42 | |
| 43 | theorem homology_map (q : ℕ) : |
| 44 | homologyMap (map R U a) q = |
| 45 | homologyMap (AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map R (NonemptyCechNerve.nerve U) a) q := rfl |
| 46 | |
| 47 | theorem composition (q : ℕ) {T : ModuleCat.{max u v} R} |
| 48 | (b : (TotalMapCoordinates.total R U L).homology q ⟶ T) : |
| 49 | homologyMap (map R U a) q ≫ b = |
| 50 | homologyMap (AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map R (NonemptyCechNerve.nerve U) a) q ≫ b := by |
| 51 | rw [homology_map] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.TotalMapCoordinates |