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.ZariskiCechPresheafCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechResolution |
| 3 | |
| 4 | /-! # Cech Presheaf Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechPresheafCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original bounded crystalline Cech total has the actual lifted presheaf Cech coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 17 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 18 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 19 | (p := p) (J := J) (δ := δ) fY n)) |
| 20 | |
| 21 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 22 | |
| 23 | local instance smallLimits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := |
| 24 | ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 25 | |
| 26 | local instance largeLimits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 2} R) := |
| 27 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 28 | |
| 29 | local instance largeProducts : HasProducts.{u} (ModuleCat.{u + 2} R) := |
| 30 | fun T => (largeLimits (B := B)).has_limits_of_shape (Discrete T) |
| 31 | |
| 32 | local instance smallCoproducts : HasCoproducts.{0} (ModuleCat.{u + 1} R) := |
| 33 | fun T => (AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.Colimits.LargeZariskiColimits.modules R).has_colimits_of_shape (Discrete T) |
| 34 | |
| 35 | local instance largeColimits : HasColimitsOfSize.{0, 0} (ModuleCat.{u + 2} R) := |
| 36 | ModuleCat.hasColimitsOfSize.{u + 2, u + 1, 0, 0} R |
| 37 | |
| 38 | local instance largeCoproducts : HasCoproducts.{0} (ModuleCat.{u + 2} R) := |
| 39 | fun T => (largeColimits (B := B)).has_colimits_of_shape (Discrete T) |
| 40 | |
| 41 | local instance liftLimits : PreservesLimitsOfSize.{u, u} (ModuleCat.uliftFunctor.{u + 2, u + 1} R) := |
| 42 | preservesLimitsOfSize_shrink.{u, u + 1, u, u + 1} _ |
| 43 | |
| 44 | def presheafComplex : CochainComplex (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 1} R) ℕ := |
| 45 | ((sheafToPresheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 1} R)).mapHomologicalComplex (.up ℕ)).obj |
| 46 | (CechResolution.imageComplex fY n I) |
| 47 | |
| 48 | def liftIso : CechCoefficient.Total.mappedComplex (ModuleCat.uliftFunctor.{u + 2, u + 1} R) |
| 49 | (presheafComplex fY n I) ≅ BoundedOpen.SectionComplex.complex fY n I := |
| 50 | Iso.refl _ |
| 51 | |
| 52 | variable {ι : Type u} [Finite ι] (U : ι → Y.Opens) |
| 53 | |
| 54 | def totalIso : CechResolution.total fY n I U ≅ |
| 55 | (CechCoefficient.Total.bicomplex (FormalCoproduct.mk ι U).cech |
| 56 | (BoundedOpen.SectionComplex.complex fY n I)).total (.up ℕ) := |
| 57 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).mapIso |
| 58 | (ZariskiCechPresheafCoordinates.totalIso R Y U (CechResolution.imageComplex fY n I)) ≪≫ |
| 59 | CechCoefficient.Total.totalIso (ModuleCat.uliftFunctor.{u + 2, u + 1} R) |
| 60 | (FormalCoproduct.mk ι U).cech (presheafComplex fY n I) ≪≫ |
| 61 | HomologicalComplex₂.total.mapIso |
| 62 | (((FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).mapHomologicalComplex |
| 63 | (.up ℕ)).mapIso (liftIso fY n I)) (.up ℕ) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechPresheafCoordinates |