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 Mathlib.RingTheory.Localization.Basic |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.BasisCoefficientTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.LineBundleLocalization |
| 4 | |
| 5 | /-! # Coordinate Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The global coefficient algebra of the actual affine localization |
| 12 | point is the specified localization. This transfers the section |
| 13 | localization theorem to that exact scheme morphism. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} [IsAffine S] |
| 17 | |
| 18 | theorem affineCoordinateLocalization_global |
| 19 | (T : Submonoid Γ(S, ⊤)) (B : Type u) [CommRing B] [Algebra Γ(S, ⊤) B] [IsLocalization T B] : |
| 20 | IsLocalization T (TensorSectionComparison.morphismGlobalAlgebra (QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) B))) := by |
| 21 | let q := QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) B) |
| 22 | let e : B ≃ₐ[Γ(S, ⊤)] TensorSectionComparison.morphismGlobalAlgebra q := |
| 23 | { (Scheme.ΓSpecIso (.of B)).commRingCatIsoToRingEquiv.symm with |
| 24 | commutes' := fun r => (RingHom.congr_fun |
| 25 | (Localized.BasisCoefficientTransport.affineCoordinateMap_appTop (algebraMap Γ(S, ⊤) B)) r).symm } |
| 26 | exact IsLocalization.isLocalization_of_algEquiv T e |
| 27 | |
| 28 | theorem affineCoordinateLocalization_sections |
| 29 | {X : Scheme.{u}} [CompactSpace X] [IsAffineHom (pullback.diagonal (terminal.from X))] |
| 30 | (f : X ⟶ S) (L : Line.Bundles.LineBundle X) (T : Submonoid Γ(S, ⊤)) |
| 31 | (B : Type u) [CommRing B] [Algebra Γ(S, ⊤) B] [IsLocalization T B] : |
| 32 | IsLocalizedModule T |
| 33 | ((Coefficient.PullbackSectionMap.coefficientPullbackSectionPresheafMap |
| 34 | (pullback.fst f (QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) B))) f.appTop.hom L.sheaf).app (.op ⊤)).hom := by |
| 35 | have := affineCoordinateLocalization_global T B |
| 36 | exact Flat.LineBundleLocalization.localized_lineBundle_section_pullback |
| 37 | (IsPullback.of_hasPullback f (QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) B))) L T |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateLocalization |