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.TargetQuasicoherentImage |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionPushforward |
| 4 | |
| 5 | /-! # Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Quasi-compact separated direct images preserve quasicoherence over every scheme base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem quasiCompact_separated_directImage_affine |
| 18 | {X S : Scheme.{u}} [IsAffine S] (f : X ⟶ S) [QuasiCompact f] [IsSeparated f] (M : X.Modules) [M.IsQuasicoherent] : |
| 19 | ((pushforward f).obj M).IsQuasicoherent := by |
| 20 | let N := (pushforward f).obj M |
| 21 | have h : ((pushforward (f ≫ S.toSpecΓ)).obj M).IsQuasicoherent := |
| 22 | Affine.TargetQuasicoherentImage.quasiCompact_separated_directImage_over_spectrum (f ≫ S.toSpecΓ) M |
| 23 | have h' : ((pushforward S.toSpecΓ).obj N).IsQuasicoherent := |
| 24 | (SheafOfModules.isQuasicoherent (Spec Γ(S, ⊤)).ringCatSheaf).prop_of_iso |
| 25 | ((pushforwardComp f S.toSpecΓ).app M).symm h |
| 26 | have h'' : (((pushforward S.toSpecΓ).obj N).restrict S.toSpecΓ).IsQuasicoherent := inferInstance |
| 27 | exact (SheafOfModules.isQuasicoherent S.ringCatSheaf).prop_of_iso |
| 28 | ((restrictFunctorAdjCounitIso S.toSpecΓ).app N) h'' |
| 29 | |
| 30 | theorem quasiCompact_separated_directImage_quasicoherent |
| 31 | {X S : Scheme.{u}} (f : X ⟶ S) [QuasiCompact f] [IsSeparated f] (M : X.Modules) [M.IsQuasicoherent] : |
| 32 | ((pushforward f).obj M).IsQuasicoherent := by |
| 33 | apply Module.QuasicoherenceLocality.module_quasicoherent_of_affine_restrictions |
| 34 | intro U |
| 35 | let V := f ⁻¹ᵁ U.1 |
| 36 | let q := f ∣_ U.1 |
| 37 | have : IsAffine U.1.toScheme := U.2 |
| 38 | have h : ((pushforward q).obj (M.restrict V.ι)).IsQuasicoherent := |
| 39 | quasiCompact_separated_directImage_affine q (M.restrict V.ι) |
| 40 | let e : (((pushforward f).obj M).restrict U.1.ι) ≅ |
| 41 | (pushforward q).obj (M.restrict V.ι) := |
| 42 | Open.RestrictionPushforward.restrictPushforwardIsoOfIsPullbackApp f q V.ι U.1.ι |
| 43 | (isPullback_morphismRestrict f U.1) M |
| 44 | exact (SheafOfModules.isQuasicoherent U.1.toScheme.ringCatSheaf).prop_of_iso e.symm h |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image |