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.Module.PresheafComponentEnd |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.EndRing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.ScalarBaseChange |
| 4 | |
| 5 | /-! # Presheaf Extended Scalars -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PresheafExtendedScalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Functions from the changed base act on pushed-forward module sections, with the original coefficient action recovered on base scalars. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 18 | variable (a : Y ⟶ X) (f : R →+* Γ(X, ⊤)) (M : Y.Modules) (q : B →+* Γ(Y, ⊤)) |
| 19 | |
| 20 | def pushedCoefficientScalarRingHom : B →+* End (Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward a).obj M)) := |
| 21 | (Coefficient.PresheafScalarAction.coefficientPresheafEndRingHom f ((Scheme.Modules.pushforward a).obj M)).comp |
| 22 | ((LineBundle.EndRing.moduleFunctorEndRingHom (Scheme.Modules.pushforward a) M).comp |
| 23 | ((Global.ScalarRingAction.globalModuleScalarRingHom M).comp q)) |
| 24 | |
| 25 | theorem pushedCoefficientScalarRingHom_coefficient |
| 26 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) (r : R) : |
| 27 | pushedCoefficientScalarRingHom a f M q (algebraMap R B r) = |
| 28 | Coefficient.PresheafScalarAction.coefficientPresheafGlobalScalarRingHom f ((Scheme.Modules.pushforward a).obj M) (f r) := by |
| 29 | change (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor f).map |
| 30 | ((Scheme.Modules.pushforward a).map (Global.ModuleScalars.globalModuleScalar M (q (algebraMap R B r)))) = |
| 31 | (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor f).map (Global.ModuleScalars.globalModuleScalar ((Scheme.Modules.pushforward a).obj M) (f r)) |
| 32 | apply congrArg (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor f).map |
| 33 | have h : q (algebraMap R B r) = a.appTop (f r) := DFunLike.congr_fun hq r |
| 34 | exact (congrArg (fun c => (Scheme.Modules.pushforward a).map (Global.ModuleScalars.globalModuleScalar M c)) h).trans |
| 35 | (Global.ScalarBaseChange.globalModuleScalar_pushforward a M (f r)) |
| 36 | |
| 37 | def pushedCoefficientScalarComponent (U : X.Opens) : |
| 38 | B →+* Module.End R ((Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward a).obj M)).obj (.op U)) := |
| 39 | (HilbertConstruction.Module.PresheafComponentEnd.modulePresheafComponentEndRingHom _ U).comp (pushedCoefficientScalarRingHom a f M q) |
| 40 | |
| 41 | theorem pushedCoefficientScalarComponent_coefficient |
| 42 | (hq : q.comp (algebraMap R B) = a.appTop.hom.comp f) (U : X.Opens) (r : R) |
| 43 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward a).obj M)).obj (.op U)) : |
| 44 | pushedCoefficientScalarComponent a f M q U (algebraMap R B r) x = r • x := |
| 45 | (congrArg (fun e : End (Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward a).obj M)) => |
| 46 | e.app (.op U) x) (pushedCoefficientScalarRingHom_coefficient a f M q hq r)).trans |
| 47 | (Coefficient.PresheafScalarAction.coefficientPresheafGlobalScalarRingHom_coefficient f ((Scheme.Modules.pushforward a).obj M) r U x) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PresheafExtendedScalars |