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.SheafCohomology.Projective.BaseGlobalSectionsExact |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoproductMatrixComponents |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 4 | |
| 5 | /-! # Additive Coproduct Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An additive module-valued functor sends finite coproducts to products of its values. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | universe u v w t |
| 16 | |
| 17 | section Category |
| 18 | variable {C : Type u} [Category.{v} C] [Preadditive C] [HasFiniteBiproducts C] |
| 19 | variable {R : Type w} [Ring R] (F : C ⥤ ModuleCat.{t} R) [F.Additive] |
| 20 | variable {ι : Type} [Fintype ι] |
| 21 | |
| 22 | def additiveCoproductIsoPi (M : ι → C) : F.obj (∐ M) ≅ ModuleCat.of R (∀ i, F.obj (M i)) := by |
| 23 | letI : HasFiniteBiproducts (ModuleCat.{t} R) := HasFiniteBiproducts.of_hasFiniteProducts |
| 24 | letI : F.PreservesZeroMorphisms := Functor.preservesZeroMorphisms_of_additive F |
| 25 | letI : PreservesBiproductsOfShape ι F := |
| 26 | (Functor.preservesFiniteBiproductsOfAdditive F).preserves (J := ι) |
| 27 | letI : PreservesBiproduct M F := PreservesBiproductsOfShape.preserves (F := F) |
| 28 | exact F.mapIso (biproduct.isoCoproduct M).symm ≪≫ F.mapBiproduct M ≪≫ |
| 29 | biproduct.isoProduct (F.obj ∘ M) ≪≫ ModuleCat.piIsoPi (F.obj ∘ M) |
| 30 | |
| 31 | theorem additiveCoproductIsoPi_hom_projection (M : ι → C) (i : ι) : |
| 32 | (additiveCoproductIsoPi F M).hom ≫ |
| 33 | ModuleCat.ofHom (LinearMap.proj i : (∀ k, F.obj (M k)) →ₗ[R] F.obj (M i)) = |
| 34 | F.map (CoproductMatrixComponents.finiteCoproductProjection M i) := by |
| 35 | simp only [additiveCoproductIsoPi, Iso.trans_hom, Category.assoc, |
| 36 | ModuleCat.piIsoPi_hom_ker_subtype, biproduct.isoProduct_hom, Pi.lift_comp_π, |
| 37 | Functor.mapBiproduct_hom] |
| 38 | erw [biproduct.lift_π] |
| 39 | exact (F.map_comp _ _).symm |
| 40 | |
| 41 | end Category |
| 42 | |
| 43 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 44 | |
| 45 | def baseGlobalSectionsFunctor : X.Modules ⥤ ModuleCat.{u} Γ(S, ⊤) where |
| 46 | obj M := letI := BaseZeroSections.baseGlobalSectionsModule π M; ModuleCat.of Γ(S, ⊤) Γ(M, ⊤) |
| 47 | map {M N} f := by |
| 48 | letI := BaseZeroSections.baseGlobalSectionsModule π M |
| 49 | letI := BaseZeroSections.baseGlobalSectionsModule π N |
| 50 | exact ModuleCat.ofHom (BaseGlobalSectionsExact.baseGlobalSectionsMap π f) |
| 51 | map_id M := by ext; rfl |
| 52 | map_comp f g := by ext; rfl |
| 53 | |
| 54 | instance baseGlobalSectionsFunctor_additive : (baseGlobalSectionsFunctor π).Additive where |
| 55 | map_add := by intros; ext x; rfl |
| 56 | |
| 57 | noncomputable local instance sectionsCoproductBiproducts : |
| 58 | HasFiniteBiproducts X.Modules := HasFiniteBiproducts.of_hasFiniteProducts |
| 59 | |
| 60 | def finiteCoproductGlobalSectionsIso {ι : Type} [Fintype ι] (M : ι → X.Modules) : |
| 61 | (baseGlobalSectionsFunctor π).obj (∐ M) ≅ |
| 62 | ModuleCat.of Γ(S, ⊤) (∀ i, (baseGlobalSectionsFunctor π).obj (M i)) := |
| 63 | additiveCoproductIsoPi (baseGlobalSectionsFunctor π) M |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections |