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.FormalCoproductForget |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnderlyingAdditiveSheafExactness |
| 3 | |
| 4 | /-! # Cosimplicial Forget -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.CosimplicialForget |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.AlgebraicTopology _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | /-- Forgetting the base module structure recovers the underlying additive |
| 14 | presheaf of the scheme module. -/ |
| 15 | noncomputable def coefficientModulePresheafForgetIso {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 16 | (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) : |
| 17 | Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M ⋙ Module.ProductForget.moduleForget R ≅ (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj := |
| 18 | NatIso.ofComponents (fun _ => Iso.refl _) (fun _ => rfl) |
| 19 | |
| 20 | /-- Forgetting the base module structure degreewise in the Cech cosimplicial |
| 21 | object recovers the cosimplicial object of the underlying sheaf. -/ |
| 22 | noncomputable def coefficientCechCosimplicialIso |
| 23 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 24 | {ι : Type u} (U : ι → X.Opens) : |
| 25 | ((FormalCoproduct.cosimplicialObjectFunctor |
| 26 | (FormalCoproduct.mk _ U).cech).obj (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M) ⋙ |
| 27 | Module.ProductForget.moduleForget R) ≅ |
| 28 | (FormalCoproduct.cosimplicialObjectFunctor |
| 29 | (FormalCoproduct.mk _ U).cech).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj := |
| 30 | Functor.isoWhiskerLeft (FormalCoproduct.mk _ U).cech.rightOp |
| 31 | (FormalCoproductForget.evalOpForgetIso R (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)) ≪≫ |
| 32 | Functor.isoWhiskerLeft (FormalCoproduct.mk _ U).cech.rightOp |
| 33 | ((FormalCoproduct.evalOp X.Opens AddCommGrpCat.{u}).mapIso |
| 34 | (coefficientModulePresheafForgetIso ρ M)) |
| 35 | |
| 36 | @[reassoc] |
| 37 | theorem coefficientCechCosimplicialIso_hom_π |
| 38 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 39 | {ι : Type u} (U : ι → X.Opens) (q : SimplexCategory) |
| 40 | (i : (unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).I) : |
| 41 | (coefficientCechCosimplicialIso ρ M U).hom.app q ≫ |
| 42 | Pi.π (fun j => M.presheaf.obj |
| 43 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).obj j))) i = |
| 44 | (Module.ProductForget.moduleForget R).map |
| 45 | (Pi.π (fun j => (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M).obj |
| 46 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).obj j))) i) := by |
| 47 | change |
| 48 | ((Functor.isoWhiskerLeft (FormalCoproduct.mk _ U).cech.rightOp |
| 49 | (FormalCoproductForget.evalOpForgetIso R |
| 50 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M))).hom.app q ≫ |
| 51 | (Functor.isoWhiskerLeft (FormalCoproduct.mk _ U).cech.rightOp |
| 52 | ((FormalCoproduct.evalOp X.Opens AddCommGrpCat.{u}).mapIso |
| 53 | (coefficientModulePresheafForgetIso ρ M))).hom.app q) ≫ _ = _ |
| 54 | erw [Category.assoc] |
| 55 | have hsecond : |
| 56 | (Functor.isoWhiskerLeft (FormalCoproduct.mk _ U).cech.rightOp |
| 57 | ((FormalCoproduct.evalOp X.Opens AddCommGrpCat.{u}).mapIso |
| 58 | (coefficientModulePresheafForgetIso ρ M))).hom.app q ≫ |
| 59 | Pi.π (fun j => M.presheaf.obj |
| 60 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).obj j))) i = |
| 61 | Pi.π (fun j => |
| 62 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M ⋙ Module.ProductForget.moduleForget R).obj |
| 63 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).obj j))) i := by |
| 64 | change Limits.Pi.map (fun j => |
| 65 | (coefficientModulePresheafForgetIso ρ M).hom.app |
| 66 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj q)).obj j))) ≫ _ = _ |
| 67 | erw [Limits.Pi.map_π] |
| 68 | rfl |
| 69 | erw [hsecond] |
| 70 | change (FormalCoproductForget.evalOpForgetIso R |
| 71 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)).hom.app |
| 72 | ((FormalCoproduct.mk _ U).cech.rightOp.obj q) ≫ _ = _ |
| 73 | exact FormalCoproductForget.evalOpForgetIso_hom_π R |
| 74 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M) |
| 75 | ((FormalCoproduct.mk _ U).cech.rightOp.obj q) i |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.CosimplicialForget |