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.FaithfullyFlatQuasicoherentIso |
| 2 | |
| 3 | /-! # Quasicoherent Affine Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.QuasicoherentAffinePullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback along an affine scheme morphism preserves actual quasicoherent modules. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 15 | |
| 16 | theorem affine_pullback_quasicoherent [IsAffine X] [IsAffine Y] |
| 17 | (M : Y.Modules) [M.IsQuasicoherent] : |
| 18 | ((Scheme.Modules.pullback f).obj M).IsQuasicoherent := by |
| 19 | let i := X.isoSpec.symm |
| 20 | let j := Y.isoSpec.symm |
| 21 | let G := Scheme.Modules.pullback j.hom |
| 22 | let H := Scheme.Modules.pullback i.hom |
| 23 | have : (G.obj M).IsQuasicoherent := |
| 24 | ObjectProperty.prop_of_iso _ ((Scheme.Modules.restrictFunctorIsoPullback j.hom).app M) |
| 25 | (inferInstanceAs ((Scheme.Modules.restrictFunctor j.hom).obj M).IsQuasicoherent) |
| 26 | have hp : ((Scheme.Modules.pullback (Spec.map f.appTop)).obj (G.obj M)).IsQuasicoherent := |
| 27 | Picard.PoincareBundle.Affine.QuasiCoherent.pullback_isQuasicoherent f.appTop (G.obj M) |
| 28 | let α := Picard.PoincareBundle.IsoDescent.pullbackSquareIso f (Spec.map f.appTop) i j (Scheme.isoSpec_inv_naturality f) |
| 29 | have hH : (H.obj ((Scheme.Modules.pullback f).obj M)).IsQuasicoherent := |
| 30 | ObjectProperty.prop_of_iso _ (α.app M) hp |
| 31 | have hrestrict : (((Scheme.Modules.pullback f).obj M).restrict i.hom).IsQuasicoherent := |
| 32 | ObjectProperty.prop_of_iso _ |
| 33 | ((Scheme.Modules.restrictFunctorIsoPullback i.hom).app ((Scheme.Modules.pullback f).obj M)).symm hH |
| 34 | exact (Quasicoherent.Scheme.Modules.isQuasicoherent_restrictFunctor_iff i).mp hrestrict |
| 35 | |
| 36 | theorem quasicoherent_pullback_of_isAffineHom [IsAffineHom f] |
| 37 | (M : Y.Modules) [M.IsQuasicoherent] : |
| 38 | ((Scheme.Modules.pullback f).obj M).IsQuasicoherent := by |
| 39 | let P := (Scheme.Modules.pullback f).obj M |
| 40 | have hlocal (U : Y.affineOpens) : (P.over (f ⁻¹ᵁ U.1)).IsQuasicoherent := by |
| 41 | have : IsAffine U.1.toScheme := U.2 |
| 42 | have : IsAffine (f ⁻¹ᵁ U.1).toScheme := U.2.preimage f |
| 43 | have hq : ((Scheme.Modules.pullback (f ∣_ U.1)).obj |
| 44 | ((Scheme.Modules.restrictFunctor U.1.ι).obj M)).IsQuasicoherent := |
| 45 | affine_pullback_quasicoherent (f ∣_ U.1) _ |
| 46 | have : (P.restrict (f ⁻¹ᵁ U.1).ι).IsQuasicoherent := |
| 47 | ObjectProperty.prop_of_iso _ ((Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U.1).app M).symm hq |
| 48 | exact Quasicoherent.Scheme.Modules.isQuasicoherent_over_of_restrict_of_isAffineOpen P |
| 49 | (f ⁻¹ᵁ U.1) |
| 50 | have hcover : (Opens.grothendieckTopology X).CoversTop |
| 51 | (fun U : Y.affineOpens => f ⁻¹ᵁ U.1) := by |
| 52 | rw [Opens.coversTop_iff, IsOpenCover, ← f.preimage_iSup, iSup_affineOpens_eq_top, f.preimage_top] |
| 53 | exact @SheafOfModules.IsQuasicoherent.of_coversTop _ _ _ _ _ _ _ _ P _ |
| 54 | (fun U : Y.affineOpens => f ⁻¹ᵁ U.1) hcover hlocal |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.QuasicoherentAffinePullback |