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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleBaseCech.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.ProductForget |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.CoefficientCechComplex |
| 9 | |
| 10 | /-! # Formal Coproduct Forget -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FormalCoproductForget |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.AlgebraicTopology _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | |
| 19 | noncomputable def evalOpForgetIsoApp |
| 20 | {C : Type u} [Category.{u} C] (R : Type u) [Ring R] |
| 21 | (P : Cᵒᵖ ⥤ ModuleCat.{u} R) (V : (FormalCoproduct C)ᵒᵖ) : |
| 22 | (((FormalCoproduct.evalOp C (ModuleCat.{u} R)).obj P ⋙ |
| 23 | Module.ProductForget.moduleForget R).obj V) ≅ |
| 24 | (((FormalCoproduct.evalOp C AddCommGrpCat.{u}).obj |
| 25 | (P ⋙ Module.ProductForget.moduleForget R)).obj V) := by |
| 26 | change (Module.ProductForget.moduleForget R).obj |
| 27 | (∏ᶜ fun i : V.unop.I => P.obj (op (V.unop.obj i))) ≅ |
| 28 | ∏ᶜ fun i : V.unop.I => |
| 29 | (Module.ProductForget.moduleForget R).obj (P.obj (op (V.unop.obj i))) |
| 30 | exact Module.ProductForget.modulePiForgetIso R fun i => P.obj (op (V.unop.obj i)) |
| 31 | |
| 32 | /-- Evaluation of a module-valued presheaf on a formal coproduct commutes with |
| 33 | forgetting to additive groups. -/ |
| 34 | noncomputable def evalOpForgetIso |
| 35 | {C : Type u} [Category.{u} C] (R : Type u) [Ring R] |
| 36 | (P : Cᵒᵖ ⥤ ModuleCat.{u} R) : |
| 37 | (FormalCoproduct.evalOp C (ModuleCat.{u} R)).obj P ⋙ |
| 38 | Module.ProductForget.moduleForget R ≅ |
| 39 | (FormalCoproduct.evalOp C AddCommGrpCat.{u}).obj |
| 40 | (P ⋙ Module.ProductForget.moduleForget R) := |
| 41 | NatIso.ofComponents (evalOpForgetIsoApp R P) (by |
| 42 | intro V W f |
| 43 | exact Module.ProductForget.modulePiForgetIso_naturality R |
| 44 | (fun i : V.unop.I => P.obj (op (V.unop.obj i))) |
| 45 | (fun i : W.unop.I => P.obj (op (W.unop.obj i))) |
| 46 | f.unop.f (fun i => P.map (f.unop.φ i).op)) |
| 47 | |
| 48 | /-- The evaluation comparison from a forgotten module product to the additive |
| 49 | product commutes with every projection. -/ |
| 50 | @[reassoc] |
| 51 | theorem evalOpForgetIso_hom_π |
| 52 | {C : Type u} [Category.{u} C] (R : Type u) [Ring R] |
| 53 | (P : Cᵒᵖ ⥤ ModuleCat.{u} R) |
| 54 | (V : (FormalCoproduct C)ᵒᵖ) (i : V.unop.I) : |
| 55 | (evalOpForgetIso R P).hom.app V ≫ |
| 56 | Pi.π (fun j => (Module.ProductForget.moduleForget R).obj |
| 57 | (P.obj (op (V.unop.obj j)))) i = |
| 58 | (Module.ProductForget.moduleForget R).map |
| 59 | (Pi.π (fun j => P.obj (op (V.unop.obj j))) i) := |
| 60 | Module.ProductForget.modulePiForgetIso_hom_π R |
| 61 | (fun j => P.obj (op (V.unop.obj j))) i |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FormalCoproductForget |