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.ImageLineBundleLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocalizationRestrictScalars |
| 3 | import Mathlib.AlgebraicGeometry.Modules.Tilde |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 5 | |
| 6 | /-! # Target Line Bundle Quasicoherence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TargetLineBundleQuasicoherence |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Line-bundle direct images to affine spectra are quasicoherent, proved from actual section localization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem lineBundle_directImage_quasicoherent_over_spectrum |
| 19 | {R : CommRingCat.{u}} {X : Scheme.{u}} [CompactSpace X] |
| 20 | [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 21 | (f : X ⟶ Spec R) (L : Line.Bundles.LineBundle X) : |
| 22 | ((Scheme.Modules.pushforward f).obj L.sheaf).IsQuasicoherent := by |
| 23 | let M := (Scheme.Modules.pushforward f).obj L.sheaf |
| 24 | apply (isQuasicoherent_iff_isIso_fromTildeΓ M).mpr |
| 25 | apply (isIso_fromTildeΓ_iff_isLocalizing M).mpr |
| 26 | intro r |
| 27 | let φ := (Scheme.ΓSpecIso R).inv.hom |
| 28 | let s : Γ(Spec R, ⊤) := φ r |
| 29 | have := ImageLineBundleLocalization.lineBundle_directImage_sections_localize f L s |
| 30 | have h := LocalizationRestrictScalars.coefficientSection_localization_restrictScalars φ (RingHom.id Γ(Spec R, ⊤)) |
| 31 | M ((Spec R).basicOpen s) r |
| 32 | have hs : (Spec R).basicOpen s = PrimeSpectrum.basicOpen r := basicOpen_eq_of_affine r |
| 33 | rw [hs] at h |
| 34 | exact h |
| 35 | |
| 36 | theorem proper_lineBundle_directImage_quasicoherent_over_spectrum |
| 37 | {R : CommRingCat.{u}} {X : Scheme.{u}} (f : X ⟶ Spec R) [IsProper f] |
| 38 | (L : Line.Bundles.LineBundle X) : ((Scheme.Modules.pushforward f).obj L.sheaf).IsQuasicoherent := by |
| 39 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 40 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 41 | exact lineBundle_directImage_quasicoherent_over_spectrum f L |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TargetLineBundleQuasicoherence |