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 | |
| 3 | /-! # Quasicoherence Locality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quasicoherence can be checked on restrictions to actual affine open subschemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem module_over_quasicoherent_of_affine_restriction |
| 17 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) [IsAffine U.toScheme] |
| 18 | [(M.restrict U.ι).IsQuasicoherent] : (M.over U).IsQuasicoherent := by |
| 19 | let N := M.restrict U.ι |
| 20 | let P : N.Presentation := Affine.ModulePresentations.quasicoherentAffinePresentation N |
| 21 | let : (overEquiv U).inverse.IsEquivalence := inferInstance |
| 22 | let hPres : PreservesColimitsOfSize.{u, u} (overEquiv U).inverse := inferInstance |
| 23 | let Q : ((overEquiv U).inverse.obj N).Presentation := |
| 24 | @SheafOfModules.Presentation.map _ _ _ _ _ _ _ _ _ _ _ _ _ P |
| 25 | (overEquiv U).inverse hPres (U.sheafOfModulesEquivOverInverseUnit X.ringCatSheaf).symm |
| 26 | let e : M.over U ≅ (overEquiv U).inverse.obj N := |
| 27 | (overEquiv U).unitIso.app (M.over U) ≪≫ |
| 28 | (overEquiv U).inverse.mapIso ((overFunctorEquiv U).app M) |
| 29 | let Q' : (M.over U).Presentation := |
| 30 | @SheafOfModules.Presentation.ofIsIso _ _ _ _ _ _ _ _ e.inv e.isIso_inv Q |
| 31 | exact Q'.isQuasicoherent |
| 32 | |
| 33 | theorem module_quasicoherent_of_affine_restrictions |
| 34 | {X : Scheme.{u}} (M : X.Modules) |
| 35 | (hM : ∀ U : X.affineOpens, (M.restrict U.1.ι).IsQuasicoherent) : M.IsQuasicoherent := by |
| 36 | have hlocal (U : X.affineOpens) : (M.over U.1).IsQuasicoherent := by |
| 37 | have : IsAffine U.1.toScheme := U.2 |
| 38 | have := hM U |
| 39 | exact module_over_quasicoherent_of_affine_restriction M U.1 |
| 40 | have hcover : (Opens.grothendieckTopology X).CoversTop (fun U : X.affineOpens => U.1) := by |
| 41 | rw [Opens.coversTop_iff, IsOpenCover, iSup_affineOpens_eq_top X] |
| 42 | exact @SheafOfModules.IsQuasicoherent.of_coversTop _ _ _ _ _ _ _ _ M _ |
| 43 | (fun U : X.affineOpens => U.1) hcover hlocal |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |