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.Global.SectionsSchemeIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 3 | import Mathlib.LinearAlgebra.Dimension.Finrank |
| 4 | |
| 5 | /-! # Line Bundle Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.LineBundleSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Intrinsic spaces of sections of tensor powers are unchanged by isomorphisms of schemes and line bundles over the coefficient field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {X Y : Scheme.{u}} |
| 18 | |
| 19 | def schemeGlobalSectionsBaseCongr {p q : X ⟶ Spec (.of R)} (h : p = q) (M : X.Modules) : |
| 20 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M ≃ₗ[R] (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor q).obj M := |
| 21 | (eqToIso (congrArg (fun c => (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor c).obj M) h)).toLinearEquiv |
| 22 | |
| 23 | def lineBundlePowerSectionsIso (f : X ⟶ Y) [IsIso f] (p : Y ⟶ Spec (.of R)) |
| 24 | (L : Line.Bundles.LineBundle Y) (M : Line.Bundles.LineBundle X) (e : (L.pullback f).sheaf ≅ M.sheaf) (d : ℕ) : |
| 25 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj (L.tensorPower d).sheaf ≃ₗ[R] |
| 26 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (f ≫ p)).obj (M.tensorPower d).sheaf := |
| 27 | Global.SectionsSchemeIso.schemeGlobalSectionsCongr f p (L.powerBaseChangeIso f d ≪≫ (TensorPower.Maps.tensorPowerFunctor X d).mapIso e) |
| 28 | |
| 29 | def lineBundlePowerSectionsOverIso {A B : Over (Spec (.of R))} (f : A ≅ B) |
| 30 | (L : Line.Bundles.LineBundle B.left) (M : Line.Bundles.LineBundle A.left) (e : (L.pullback f.hom.left).sheaf ≅ M.sheaf) (d : ℕ) : |
| 31 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor B.hom).obj (L.tensorPower d).sheaf ≃ₗ[R] |
| 32 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.hom).obj (M.tensorPower d).sheaf := by |
| 33 | have : IsIso f.hom.left := (Over.forget _).map_isIso f.hom |
| 34 | exact (lineBundlePowerSectionsIso f.hom.left B.hom L M e d).trans |
| 35 | (schemeGlobalSectionsBaseCongr f.hom.w (M.tensorPower d).sheaf) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.LineBundleSections |