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.Affine.ModulePresentations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.IsoImage |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |
| 4 | |
| 5 | /-! # Coproducts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Coproducts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual coproducts of quasicoherent scheme modules are quasicoherent. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem spec_quasicoherent_coproduct {R : CommRingCat.{u}} {ι : Type u} |
| 18 | (M : ι → (Spec R).Modules) (hM : ∀ i, (M i).IsQuasicoherent) : |
| 19 | (∐ M).IsQuasicoherent := by |
| 20 | let A := fun i ↦ moduleSpecΓFunctor.obj (M i) |
| 21 | let e (i) : (tilde.functor R).obj (A i) ≅ M i := by |
| 22 | have hIso : IsIso (M i).fromTildeΓ := (isQuasicoherent_iff_isIso_fromTildeΓ (M i)).mp (hM i) |
| 23 | exact @asIso _ _ _ _ (M i).fromTildeΓ hIso |
| 24 | let E : (∐ M) ≅ (tilde.functor R).obj (∐ A) := |
| 25 | Sigma.mapIso (fun i ↦ (e i).symm) ≪≫ (PreservesCoproduct.iso (tilde.functor R) A).symm |
| 26 | have htilde : ((tilde.functor R).obj (∐ A)).IsQuasicoherent := |
| 27 | inferInstanceAs ((tilde (∐ A)).IsQuasicoherent) |
| 28 | exact (SheafOfModules.isQuasicoherent (Spec R).ringCatSheaf).prop_of_iso E.symm htilde |
| 29 | |
| 30 | theorem affine_quasicoherent_coproduct {X : Scheme.{u}} [IsAffine X] {ι : Type u} |
| 31 | (M : ι → X.Modules) (hM : ∀ i, (M i).IsQuasicoherent) : |
| 32 | (∐ M).IsQuasicoherent := by |
| 33 | let F := restrictFunctor X.isoSpec.inv |
| 34 | have hFM (i) : (F.obj (M i)).IsQuasicoherent := by |
| 35 | have : (M i).IsQuasicoherent := hM i |
| 36 | infer_instance |
| 37 | have hsum : (∐ (F.obj ∘ M)).IsQuasicoherent := spec_quasicoherent_coproduct _ hFM |
| 38 | have : (F.obj (∐ M)).IsQuasicoherent := |
| 39 | (SheafOfModules.isQuasicoherent (Spec Γ(X, ⊤)).ringCatSheaf).prop_of_iso |
| 40 | (PreservesCoproduct.iso F M).symm hsum |
| 41 | have hres : ((F.obj (∐ M)).restrict X.isoSpec.hom).IsQuasicoherent := inferInstance |
| 42 | exact (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso |
| 43 | ((LineBundle.IsoImage.restrictFunctorInverseIso X.isoSpec).app (∐ M)) hres |
| 44 | |
| 45 | theorem module_quasicoherent_coproduct {X : Scheme.{u}} {ι : Type u} |
| 46 | (M : ι → X.Modules) (hM : ∀ i, (M i).IsQuasicoherent) : |
| 47 | (∐ M).IsQuasicoherent := by |
| 48 | apply Module.QuasicoherenceLocality.module_quasicoherent_of_affine_restrictions |
| 49 | intro U |
| 50 | have : IsAffine U.1.toScheme := U.2 |
| 51 | let F := restrictFunctor U.1.ι |
| 52 | have hFM (i) : (F.obj (M i)).IsQuasicoherent := by |
| 53 | have : (M i).IsQuasicoherent := hM i |
| 54 | infer_instance |
| 55 | have hsum : (∐ (F.obj ∘ M)).IsQuasicoherent := affine_quasicoherent_coproduct _ hFM |
| 56 | exact (SheafOfModules.isQuasicoherent U.1.toScheme.ringCatSheaf).prop_of_iso |
| 57 | (PreservesCoproduct.iso F M).symm hsum |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Coproducts |