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.ModulePresheafFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSectionModules |
| 3 | |
| 4 | /-! # Structure Module Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.StructureModuleComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient sections of the structure module agree with the underlying modules of the coefficient-algebra presheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] (f : R →+* Γ(X, ⊤)) |
| 17 | |
| 18 | def coefficientStructureModuleComponent (U : X.Opens) : |
| 19 | (ModulePresheaf.coefficientModulePresheaf f (Line.Bundles.structureModule X)).obj (.op U) ≃ₗ[R] |
| 20 | (AlgebraSectionModules.algebraSectionModulePresheaf f).obj (.op U) where |
| 21 | toFun x := x |
| 22 | invFun x := x |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | def coefficientStructureModuleIso : |
| 29 | ModulePresheaf.coefficientModulePresheaf f (Line.Bundles.structureModule X) ≅ AlgebraSectionModules.algebraSectionModulePresheaf f := |
| 30 | NatIso.ofComponents (fun U => (coefficientStructureModuleComponent f U.unop).toModuleIso) (by |
| 31 | intro U V h |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro x |
| 35 | rfl) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.StructureModuleComparison |