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.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf |
| 2 | |
| 3 | /-! # Module Hom Additive -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomAdditive.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Additive structure on the sheaf of local module homomorphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def moduleHomLocalAddSubgroup {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) : |
| 16 | AddSubgroup ((Over.forget U).op ⋙ M.presheaf ⟶ (Over.forget U).op ⋙ N.presheaf) where |
| 17 | carrier := (ModuleHomSheaf.Construction.moduleHomSubfunctor M N).obj (.op U) |
| 18 | zero_mem' := by |
| 19 | intro V r |
| 20 | change M.smul r ≫ 0 = 0 ≫ N.smul r |
| 21 | exact Limits.comp_zero.trans Limits.zero_comp.symm |
| 22 | add_mem' {q q'} hq hq' := by |
| 23 | intro V r |
| 24 | change M.smul r ≫ (q.app (.op V) + q'.app (.op V)) = |
| 25 | (q.app (.op V) + q'.app (.op V)) ≫ N.smul r |
| 26 | exact (Preadditive.comp_add _ _ _ _ _ _).trans |
| 27 | ((congrArg₂ (fun a b ↦ a + b) (hq V r) (hq' V r)).trans |
| 28 | (Preadditive.add_comp _ _ _ _ _ _).symm) |
| 29 | neg_mem' {q} hq := by |
| 30 | intro V r |
| 31 | change M.smul r ≫ (-(q.app (.op V))) = (-(q.app (.op V))) ≫ N.smul r |
| 32 | exact (Preadditive.comp_neg _ _).trans |
| 33 | ((congrArg Neg.neg (hq V r)).trans (Preadditive.neg_comp _ _).symm) |
| 34 | |
| 35 | def moduleHomAbPresheaf {X : Scheme.{u}} (M N : X.Modules) : |
| 36 | X.Opensᵒᵖ ⥤ AddCommGrpCat.{u} where |
| 37 | obj U := AddCommGrpCat.of (moduleHomLocalAddSubgroup M N U.unop) |
| 38 | map f := AddCommGrpCat.ofHom |
| 39 | { toFun := (ModuleHomSheaf.Construction.moduleHomSubfunctor M N).toFunctor.map f |
| 40 | map_zero' := by apply Subtype.ext; rfl |
| 41 | map_add' q q' := by apply Subtype.ext; rfl } |
| 42 | map_id U := by |
| 43 | apply AddCommGrpCat.hom_ext |
| 44 | apply AddMonoidHom.ext |
| 45 | intro q |
| 46 | exact ConcreteCategory.congr_hom ((ModuleHomSheaf.Construction.moduleHomSubfunctor M N).toFunctor.map_id U) q |
| 47 | map_comp f g := by |
| 48 | apply AddCommGrpCat.hom_ext |
| 49 | apply AddMonoidHom.ext |
| 50 | intro q |
| 51 | exact ConcreteCategory.congr_hom ((ModuleHomSheaf.Construction.moduleHomSubfunctor M N).toFunctor.map_comp f g) q |
| 52 | |
| 53 | def moduleHomAbSheaf {X : Scheme.{u}} (M N : X.Modules) : |
| 54 | Sheaf (_root_.Opens.grothendieckTopology X) AddCommGrpCat.{u} where |
| 55 | obj := moduleHomAbPresheaf M N |
| 56 | property := Presheaf.isSheaf_of_isSheaf_comp _ _ (forget AddCommGrpCat) |
| 57 | (ModuleHomSheaf.Construction.isSheaf_moduleHomSubfunctor M N) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomAdditive.Construction |