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.ModuleHomScalar |
| 2 | |
| 3 | /-! # Sheaf Hom Module -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local module homomorphisms form a sheaf of modules. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | local instance moduleHomAbSectionsModule {X : Scheme.{u}} (M N : X.Modules) |
| 16 | (U : X.Opensᵒᵖ) : |
| 17 | Module (X.ringCatSheaf.obj.obj U) ((ModuleHomAdditive.Construction.moduleHomAbPresheaf M N).obj U) := |
| 18 | inferInstanceAs (Module Γ(X, U.unop) (ModuleHomAdditive.Construction.moduleHomLocalAddSubgroup M N U.unop)) |
| 19 | |
| 20 | theorem moduleHomAbPresheaf_map_smul {X : Scheme.{u}} (M N : X.Modules) |
| 21 | {U V : X.Opensᵒᵖ} (f : U ⟶ V) (r : X.ringCatSheaf.obj.obj U) |
| 22 | (q : (ModuleHomAdditive.Construction.moduleHomAbPresheaf M N).obj U) : |
| 23 | (ModuleHomAdditive.Construction.moduleHomAbPresheaf M N).map f (r • q) = |
| 24 | X.ringCatSheaf.obj.map f r • (ModuleHomAdditive.Construction.moduleHomAbPresheaf M N).map f q := by |
| 25 | apply Subtype.ext |
| 26 | apply NatTrans.ext |
| 27 | funext W |
| 28 | ext m |
| 29 | let z : Γ(N, W.unop.left) := q.1.app (.op ((Over.map f.unop).obj W.unop)) m |
| 30 | change X.presheaf.map (W.unop.hom ≫ f.unop).op r • z = |
| 31 | X.presheaf.map W.unop.hom.op (X.presheaf.map f r) • z |
| 32 | have hr := congrArg (fun a ↦ a r) (X.presheaf.map_comp f W.unop.hom.op) |
| 33 | exact congrArg (fun a ↦ a • z) hr |
| 34 | |
| 35 | def sheafHomModulePresheaf {X : Scheme.{u}} (M N : X.Modules) : X.PresheafOfModules := |
| 36 | PresheafOfModules.ofPresheaf (R := X.ringCatSheaf.obj) (ModuleHomAdditive.Construction.moduleHomAbPresheaf M N) |
| 37 | (fun {_ _} f r q ↦ moduleHomAbPresheaf_map_smul M N f r q) |
| 38 | |
| 39 | def sheafHomModule {X : Scheme.{u}} (M N : X.Modules) : X.Modules where |
| 40 | val := sheafHomModulePresheaf M N |
| 41 | isSheaf := (ModuleHomAdditive.Construction.moduleHomAbSheaf M N).property |
| 42 | |
| 43 | def lineBundleDual {X : Scheme.{u}} (M : X.Modules) : X.Modules := |
| 44 | sheafHomModule M (LineBundle.Construction.structureSheafModule X) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction |