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 Mathlib.Algebra.Category.ModuleCat.Products |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits |
| 3 | import Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 4 | import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor |
| 5 | |
| 6 | /-! # Coproduct Sections -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoproductSections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Sections of finite coproducts have finite modules whenever their summands do. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem finite_coproduct_sections {X : Scheme.{u}} {ι : Type u} [Finite ι] |
| 19 | (M : ι → X.Modules) (U : X.Opens) |
| 20 | (hM : ∀ i, Module.Finite Γ(X, U) Γ(M i, U)) : |
| 21 | Module.Finite Γ(X, U) Γ(∐ M, U) := by |
| 22 | let : HasZeroMorphisms X.Modules := CategoryTheory.Preadditive.preadditiveHasZeroMorphisms |
| 23 | let F : X.Modules ⥤ ModuleCat.{u} (X.ringCatSheaf.obj.obj (op U)) := |
| 24 | SheafOfModules.evaluation X.ringCatSheaf (op U) |
| 25 | let : HasBiproduct M := HasBiproduct.of_hasCoproduct M |
| 26 | let : F.Additive := by |
| 27 | constructor |
| 28 | intro A B f g |
| 29 | apply ModuleCat.hom_ext |
| 30 | ext x |
| 31 | rfl |
| 32 | let : PreservesFiniteLimits F := |
| 33 | SheafOfModules.Finite.evaluationPreservesFiniteLimits X.ringCatSheaf (op U) |
| 34 | let : PreservesLimit (Discrete.functor M) F := by |
| 35 | infer_instance |
| 36 | let : PreservesBiproduct M F := preservesBiproduct_of_preservesProduct F |
| 37 | let e : F.obj (∐ M) ≅ |
| 38 | ModuleCat.of (X.ringCatSheaf.obj.obj (op U)) (∀ i, F.obj (M i)) := |
| 39 | F.mapIso (biproduct.isoCoproduct M).symm ≪≫ |
| 40 | F.mapBiproduct M ≪≫ biproduct.isoProduct (F.obj ∘ M) ≪≫ ModuleCat.piIsoPi (F.obj ∘ M) |
| 41 | have hfinite (i : ι) : Module.Finite (X.ringCatSheaf.obj.obj (op U)) (F.obj (M i)) := hM i |
| 42 | let : Module.Finite (X.ringCatSheaf.obj.obj (op U)) (∀ i, F.obj (M i)) := |
| 43 | @Module.Finite.pi _ _ ι (fun i ↦ F.obj (M i)) inferInstance |
| 44 | (fun _ ↦ inferInstance) (fun _ ↦ inferInstance) hfinite |
| 45 | have hsum : Module.Finite (X.ringCatSheaf.obj.obj (op U)) (F.obj (∐ M)) := |
| 46 | Module.Finite.equiv e.symm.toLinearEquiv |
| 47 | exact hsum |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoproductSections |