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.ReferenceFamily.Tensor.PowerPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.NonvanishingPullback |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 4 | |
| 5 | /-! # Ample Affine Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AmpleAffinePullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual ample-section definition is preserved by affine pullback |
| 12 | when the source is quasi-compact. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | theorem ample_pullback_affine (f : X ⟶ Y) [IsAffineHom f] [CompactSpace X] |
| 20 | (L : HilbertConstruction.Line.Bundles.LineBundle Y) (hL : L.IsAmple) : (L.pullback f).IsAmple := by |
| 21 | refine ⟨isCompact_univ, fun x => ?_⟩ |
| 22 | obtain ⟨n, hn, P, hP, s, hx, ha⟩ := hL.2 (f x) |
| 23 | refine ⟨n, hn, P.pullback f, Tensor.PowerPullback.isTensorPower_pullback_positive f hn hP, |
| 24 | HilbertConstruction.Ample.LineBundles.pullbackSection f s, ?_, ?_⟩ |
| 25 | · exact (congrArg (fun U : X.Opens => x ∈ U) |
| 26 | (NonvanishingPullback.lineBundle_sectionNonvanishing_pullback f P s)).mpr hx |
| 27 | · exact (congrArg IsAffineOpen |
| 28 | (NonvanishingPullback.lineBundle_sectionNonvanishing_pullback f P s)).mpr (ha.preimage f) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AmpleAffinePullback |