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.AbelianModuli.HilbertConstruction.Coefficient.AlgebraPresheaf |
| 2 | import Mathlib.RingTheory.Flat.CategoryTheory |
| 3 | |
| 4 | /-! # Algebra Section Modules -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSectionModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The underlying coefficient modules of the structure sheaf and their finite limits. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | |
| 18 | def commAlgToModules (R : Type u) [CommRing R] : CommAlgCat.{u} R ⥤ ModuleCat.{u} R := |
| 19 | forget₂ (CommAlgCat R) (AlgCat R) ⋙ forget₂ (AlgCat R) (ModuleCat R) |
| 20 | |
| 21 | def algebraSectionModulePresheaf (f : R →+* Γ(X, ⊤)) : |
| 22 | TopCat.Presheaf (ModuleCat.{u} R) X := |
| 23 | Coefficient.AlgebraPresheaf.coefficientAlgebraPresheaf f ⋙ commAlgToModules R |
| 24 | |
| 25 | def algebraSectionModuleForgetIso (f : R →+* Γ(X, ⊤)) : |
| 26 | algebraSectionModulePresheaf f ⋙ forget₂ (ModuleCat R) AddCommGrpCat ≅ |
| 27 | (Line.Bundles.structureModule X).presheaf := |
| 28 | NatIso.ofComponents (fun _ => Iso.refl _) (by intro U V h; ext r; rfl) |
| 29 | |
| 30 | theorem algebraSectionModulePresheaf_isSheaf (f : R →+* Γ(X, ⊤)) : |
| 31 | (algebraSectionModulePresheaf f).IsSheaf := by |
| 32 | apply (TopCat.Presheaf.isSheaf_iff_isSheaf_comp' |
| 33 | (forget₂ (ModuleCat R) AddCommGrpCat) (algebraSectionModulePresheaf f)).mpr |
| 34 | exact (TopCat.Presheaf.isSheaf_iso_iff (algebraSectionModuleForgetIso f)).mpr |
| 35 | (Line.Bundles.structureModule X).isSheaf |
| 36 | |
| 37 | def algebraSectionPairwiseLimit (f : R →+* Γ(X, ⊤)) |
| 38 | {ι : Type u} (U : ι → X.Opens) : |
| 39 | IsLimit ((algebraSectionModulePresheaf f).mapCone (Pairwise.cocone U).op) := |
| 40 | Classical.choice ((algebraSectionModulePresheaf_isSheaf f).isSheafPairwiseIntersections U) |
| 41 | |
| 42 | def flatTensorAlgebraSectionPairwiseLimit (f : R →+* Γ(X, ⊤)) |
| 43 | (N : ModuleCat.{u} R) [Module.Flat R N] {ι : Type u} [Finite ι] (U : ι → X.Opens) : |
| 44 | IsLimit ((tensorLeft N).mapCone |
| 45 | ((algebraSectionModulePresheaf f).mapCone (Pairwise.cocone U).op)) := by |
| 46 | classical |
| 47 | letI := Fintype.ofFinite ι |
| 48 | exact isLimitOfPreserves (tensorLeft N) (algebraSectionPairwiseLimit f U) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSectionModules |