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.Section.LinearCombinationNonvanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointwiseGeneratingPower |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.UnderlyingMap |
| 5 | |
| 6 | /-! # Section Span Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! If sections of pulled-back positive powers are spanned by pulled-back sections, ampleness upstairs gives pointwise nonvanishing power sections downstairs. The section-spanning property is an explicit hypothesis to be supplied by a base-change theorem. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem Line.Bundles.LineBundle.pointwise_power_sections_of_surjective_spanning_pullback |
| 19 | {K : Type u} [Field K] {X Y : Scheme.{u}} (a : Y ⟶ X) [Surjective a] |
| 20 | (p : Y ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) (hL : (L.pullback a).IsAmple) |
| 21 | (hspan : ∀ (n : ℕ) (t : Line.Bundles.structureModule Y ⟶ ((L.tensorPower n).pullback a).sheaf), |
| 22 | ∃ (k : ℕ) (c : Fin k → K) (s : Fin k → (Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf)), |
| 23 | t = ∑ i, Coefficient.ScalarSections.coefficientScalarSection p (c i) (Ample.LineBundles.pullbackSection a (s i))) : |
| 24 | ∀ x : X, ∃ (n : ℕ) (_ : 0 < n) (s : Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf), |
| 25 | x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 26 | intro x |
| 27 | obtain ⟨y, hy⟩ := a.surjective x |
| 28 | obtain ⟨n, hn, t, hyt, _⟩ := ((L.pullback a).isAmple_iff_tensorPower.mp hL).2 y |
| 29 | let q := t ≫ (L.powerBaseChangeIso a n).inv |
| 30 | have hyq : y ∈ Ample.LineBundles.sectionNonvanishing q := |
| 31 | (congrArg (fun U : Y.Opens => y ∈ U) |
| 32 | (Ample.Powers.sectionNonvanishing_comp_iso t (L.powerBaseChangeIso a n).symm)).mpr hyt |
| 33 | obtain ⟨k, c, s, hq⟩ := hspan n q |
| 34 | have hys : y ∈ Ample.LineBundles.sectionNonvanishing (∑ i, Coefficient.ScalarSections.coefficientScalarSection p (c i) (Ample.LineBundles.pullbackSection a (s i))) := |
| 35 | (congrArg (fun z => y ∈ Ample.LineBundles.sectionNonvanishing z) hq).mp hyq |
| 36 | obtain ⟨i, _, hi⟩ := Section.LinearCombinationNonvanishing.pulledBack_linearCombination_nonvanishing a p (L.tensorPower n) Finset.univ c s y hys |
| 37 | exact ⟨n, hn, s i, hy ▸ hi⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |