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.ZariskiCechIs |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.SectionHypercohomologyInv |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationSectionComplexIso |
| 4 | |
| 5 | /-! # Section Unit -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionUnit.CechSectionUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # The canonical sheafification unit identifies the actual Čech section complexes -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Scheme.{u}) {ι : Type u} (U : ι → X.Opens) |
| 18 | |
| 19 | abbrev Sheaves := Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R) |
| 20 | |
| 21 | def presheafSections : Sheaves R X ⥤ CochainComplex (ModuleCat.{u} R) ℕ := |
| 22 | sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R) ⋙ |
| 23 | MixedCech.Functor.MixedCechFunctor.functor R X U ⋙ |
| 24 | ((CategoryTheory.evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ) |
| 25 | |
| 26 | def sheafSections : Sheaves R X ⥤ CochainComplex (ModuleCat.{u} R) ℕ := |
| 27 | MixedCech.Functor.MixedCechFunctor.sheafFunctor R X U ⋙ |
| 28 | (SectionHypercohomologyInv.SectionHypercohomology.sections R (TopCat.of X)).mapHomologicalComplex (.up ℕ) |
| 29 | |
| 30 | def componentIso (F : Sheaves R X) : |
| 31 | (presheafSections R X U).obj F ≅ (sheafSections R X U).obj F := |
| 32 | NumberTheory.PadicHodge.GeometricComparison.SheafificationSectionComplexIso.SheafificationSectionComplex.complexIso (Opens.grothendieckTopology X) (.up ℕ) |
| 33 | ((MixedCech.Functor.MixedCechFunctor.functor R X U).obj F.obj) (op ⊤) (fun n => by |
| 34 | have : IsIso (toSheafify (Opens.grothendieckTopology X) |
| 35 | (((MixedCech.Functor.MixedCechFunctor.functor R X U).obj F.obj).X n)) := |
| 36 | isIso_toSheafify (Opens.grothendieckTopology X) (ZariskiCechIs.ZariskiCechPresheafSheaf.term_isSheaf R X F U n) |
| 37 | infer_instance) |
| 38 | |
| 39 | theorem naturality {F G : Sheaves R X} (f : F ⟶ G) : |
| 40 | (presheafSections R X U).map f ≫ (componentIso R X U G).hom = |
| 41 | (componentIso R X U F).hom ≫ (sheafSections R X U).map f := by |
| 42 | ext n : 1 |
| 43 | exact congrArg (fun a => a.app (op ⊤)) |
| 44 | (toSheafify_naturality (Opens.grothendieckTopology X) |
| 45 | (((MixedCech.Functor.MixedCechFunctor.functor R X U).map f.hom).f n)) |
| 46 | |
| 47 | def iso : presheafSections R X U ≅ sheafSections R X U := |
| 48 | NatIso.ofComponents (componentIso R X U) (fun {_ _} f => naturality R X U f) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionUnit.CechSectionUnit |