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.Global.ScalarRingAction |
| 3 | import Mathlib.CategoryTheory.Linear.FunctorCategory |
| 4 | |
| 5 | /-! # Presheaf Scalar Action -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PresheafScalarAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar actions on module sheaves give natural coefficient-linear endomorphisms of their section presheaves. Coefficient scalars act by the prescribed module action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | instance coefficientSectionPresheafPreadditive {X : Scheme.{u}} {R : Type u} [CommRing R] : |
| 18 | Preadditive (TopCat.Presheaf (ModuleCat.{u} R) X) := |
| 19 | inferInstanceAs (Preadditive (X.Opensᵒᵖ ⥤ ModuleCat.{u} R)) |
| 20 | |
| 21 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 22 | variable (f : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 23 | |
| 24 | def coefficientPresheafEndRingHom : End M →+* End (ModulePresheaf.coefficientModulePresheaf f M) where |
| 25 | toFun := (ModulePresheafFunctor.coefficientModulePresheafFunctor f).map |
| 26 | map_one' := (ModulePresheafFunctor.coefficientModulePresheafFunctor f).map_id M |
| 27 | map_mul' a b := (ModulePresheafFunctor.coefficientModulePresheafFunctor f).map_comp b a |
| 28 | map_zero' := rfl |
| 29 | map_add' _ _ := rfl |
| 30 | |
| 31 | def coefficientPresheafGlobalScalarRingHom : Γ(X, ⊤) →+* End (ModulePresheaf.coefficientModulePresheaf f M) := |
| 32 | (coefficientPresheafEndRingHom f M).comp (Global.ScalarRingAction.globalModuleScalarRingHom M) |
| 33 | |
| 34 | theorem coefficientPresheafGlobalScalarRingHom_coefficient (r : R) (U : X.Opens) |
| 35 | (x : (ModulePresheaf.coefficientModulePresheaf f M).obj (.op U)) : |
| 36 | (coefficientPresheafGlobalScalarRingHom f M (f r)).app (.op U) x = r • x := rfl |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PresheafScalarAction |