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.LargeZariski.CechFunctorCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechSections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 4 | |
| 5 | /-! # Zariski Cech Presheaf Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechPresheafCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original Zariski sheaf Cech section total is the native presheaf Cech total. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type (u + 1)) [CommRing R] (X : Scheme.{u}) {ι : Type u} [Finite ι] (U : ι → X.Opens) |
| 18 | |
| 19 | local instance coefficientLimits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := |
| 20 | ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 21 | |
| 22 | local instance moduleCoproducts : HasCoproducts.{0} (ModuleCat.{u + 1} R) := |
| 23 | fun J => (AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.Colimits.LargeZariskiColimits.modules R).has_colimits_of_shape (Discrete J) |
| 24 | |
| 25 | local instance presheaves_additive : |
| 26 | (sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)).Additive where |
| 27 | map_add := rfl |
| 28 | |
| 29 | local instance cech_additive : (cechComplexFunctor (A := ModuleCat.{u + 1} R) U).Additive := by |
| 30 | change (FormalCoproduct.cochainComplexFunctor (A := ModuleCat.{u + 1} R) |
| 31 | (FormalCoproduct.mk ι U).cech).Additive |
| 32 | infer_instance |
| 33 | |
| 34 | def functorIso : AlgebraicGeometry.Crystalline.Cohomology.MixedCech.Functor.MixedCechFunctor.sheafFunctor R X U ⋙ |
| 35 | (ZariskiCechSections.sections R X).mapHomologicalComplex (.up ℕ) ≅ |
| 36 | sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R) ⋙ cechComplexFunctor U := |
| 37 | Functor.isoWhiskerLeft (AlgebraicGeometry.Crystalline.Cohomology.MixedCech.Functor.MixedCechFunctor.sheafFunctor R X U) |
| 38 | (NatIso.mapHomologicalComplex |
| 39 | (Sheaf.ΓNatIsoSheafSections (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R) |
| 40 | (isTerminalTop : IsTerminal (⊤ : X.Opens))).symm (.up ℕ)) ≪≫ |
| 41 | AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.CechFunctorCoordinates.LargeZariskiCechFunctorCoordinates.sheafIso R X U |
| 42 | |
| 43 | variable (A : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)) ℕ) |
| 44 | |
| 45 | def bicomplexIso : ZariskiCechSections.bicomplex R X U A ≅ |
| 46 | CechCoefficient.Total.bicomplex (FormalCoproduct.mk ι U).cech |
| 47 | (((sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)).mapHomologicalComplex (.up ℕ)).obj A) := |
| 48 | (NatIso.mapHomologicalComplex (functorIso R X U) (.up ℕ)).app A |
| 49 | |
| 50 | def totalIso : ZariskiCechSections.total R X U A ≅ |
| 51 | (CechCoefficient.Total.bicomplex (FormalCoproduct.mk ι U).cech |
| 52 | (((sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)).mapHomologicalComplex (.up ℕ)).obj A)).total |
| 53 | (.up ℕ) := |
| 54 | HomologicalComplex₂.total.mapIso (bicomplexIso R X U A) (.up ℕ) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechPresheafCoordinates |