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.OpenFrame.RestrictionCompatibility |
| 2 | |
| 3 | /-! # Module Presheaf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModulePresheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible frame-coordinate modules and their restriction maps form an actual presheaf of modules on the scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : Transitions.OpenFrameTransitions U) |
| 16 | |
| 17 | def openFrameModulePresheaf : PresheafOfModules X.ringCatSheaf.obj where |
| 18 | obj V := ModuleCat.of Γ(X, V.unop) (SectionModules.openFrameSectionModule U D V.unop) |
| 19 | map {V W} h := ModuleCat.ofHom |
| 20 | (X := ModuleCat.of Γ(X, V.unop) (SectionModules.openFrameSectionModule U D V.unop)) |
| 21 | (Y := (ModuleCat.restrictScalars (X.presheaf.map h).hom).obj |
| 22 | (ModuleCat.of Γ(X, W.unop) (SectionModules.openFrameSectionModule U D W.unop))) { |
| 23 | __ := (RestrictionCompatibility.openFrameSectionRestriction D h.unop.le).toAddMonoidHom |
| 24 | map_smul' := (RestrictionCompatibility.openFrameSectionRestriction D h.unop.le).map_smul' } |
| 25 | map_id V := by |
| 26 | apply ModuleCat.hom_ext |
| 27 | ext x |
| 28 | exact RestrictionCompatibility.openFrameSectionRestriction_refl D V.unop x |
| 29 | map_comp {V W Z} h k := by |
| 30 | apply ModuleCat.hom_ext |
| 31 | ext x |
| 32 | exact (RestrictionCompatibility.openFrameSectionRestriction_comp D h.unop.le k.unop.le x).symm |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModulePresheaf |