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.Ample.AffinePullback |
| 2 | |
| 3 | /-! # Affine Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over an affine base, an ample bundle remains relatively ample after arbitrary base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X X' S T : Scheme.{u}} [IsAffine S] |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.IsAmple.relativelyAmple_after_baseChange {L : Line.Bundles.LineBundle X} |
| 18 | (hL : L.IsAmple) {a : X' ⟶ X} {p : X ⟶ S} {q : X' ⟶ T} {b : T ⟶ S} |
| 19 | (H : IsPullback a q p b) : (L.pullback a).IsRelativelyAmple q := by |
| 20 | intro U hU |
| 21 | have : IsAffine U.toScheme := hU |
| 22 | have H' : IsPullback ((q ⁻¹ᵁ U).ι ≫ a) (q ∣_ U) p (U.ι ≫ b) := |
| 23 | (isPullback_morphismRestrict q U).flip.paste_horiz H |
| 24 | have : IsAffineHom ((q ⁻¹ᵁ U).ι ≫ a) := |
| 25 | MorphismProperty.of_isPullback H'.flip (inferInstance : IsAffineHom (U.ι ≫ b)) |
| 26 | exact (hL.pullback_of_isAffineHom ((q ⁻¹ᵁ U).ι ≫ a)).of_iso |
| 27 | ((Scheme.Modules.pullbackComp (q ⁻¹ᵁ U).ι a).symm.app L.sheaf) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |