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.QuasicoherentPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.PullbackSquare |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceLocality |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 5 | |
| 6 | /-! # Morphism Quasicoherent Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.MorphismQuasicoherentPullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pullback along an affine morphism preserves actual quasicoherent modules, by restriction to affine opens. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | universe u |
| 15 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 16 | |
| 17 | theorem quasicoherent_pullback_of_isAffineHom [IsAffineHom f] |
| 18 | (M : Y.Modules) [M.IsQuasicoherent] : |
| 19 | ((Scheme.Modules.pullback f).obj M).IsQuasicoherent := by |
| 20 | let P := (Scheme.Modules.pullback f).obj M |
| 21 | have hlocal (U : Y.affineOpens) : (P.over (f ⁻¹ᵁ U.1)).IsQuasicoherent := by |
| 22 | have : IsAffine U.1.toScheme := U.2 |
| 23 | have : IsAffine (f ⁻¹ᵁ U.1).toScheme := U.2.preimage f |
| 24 | have hq : ((Scheme.Modules.pullback (f ∣_ U.1)).obj |
| 25 | ((Scheme.Modules.restrictFunctor U.1.ι).obj M)).IsQuasicoherent := |
| 26 | QuasicoherentPullback.affine_pullback_quasicoherent (f ∣_ U.1) _ |
| 27 | have : (P.restrict (f ⁻¹ᵁ U.1).ι).IsQuasicoherent := |
| 28 | (SheafOfModules.isQuasicoherent (f ⁻¹ᵁ U.1).toScheme.ringCatSheaf).prop_of_iso |
| 29 | ((OpenModule.PullbackSquare.OpenPullbackSquare.adjointPullbackSquare f U.1).app M) hq |
| 30 | exact Module.QuasicoherenceLocality.module_over_quasicoherent_of_affine_restriction P |
| 31 | (f ⁻¹ᵁ U.1) |
| 32 | have hcover : (Opens.grothendieckTopology X).CoversTop |
| 33 | (fun U : Y.affineOpens => f ⁻¹ᵁ U.1) := by |
| 34 | rw [Opens.coversTop_iff, IsOpenCover, ← f.preimage_iSup, iSup_affineOpens_eq_top, f.preimage_top] |
| 35 | exact @SheafOfModules.IsQuasicoherent.of_coversTop _ _ _ _ _ _ _ _ P _ |
| 36 | (fun U : Y.affineOpens => f ⁻¹ᵁ U.1) hcover hlocal |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.MorphismQuasicoherentPullback |