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.NonvanishingAddition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ScalarSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 4 | |
| 5 | /-! # Linear Combination Nonvanishing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonvanishing finite linear combination detects a nonvanishing summand, including for linear combinations of pulled-back sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.mem_sectionNonvanishing_sum |
| 18 | {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) {ι : Type v} (I : Finset ι) |
| 19 | (s : ι → (Line.Bundles.structureModule X ⟶ L.sheaf)) (x : X) : |
| 20 | x ∈ Ample.LineBundles.sectionNonvanishing (∑ i ∈ I, s i) → ∃ i ∈ I, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 21 | classical |
| 22 | refine Finset.induction_on I ?_ ?_ |
| 23 | · intro hx |
| 24 | rw [Finset.sum_empty, L.sectionNonvanishing_zero] at hx |
| 25 | exact False.elim hx |
| 26 | · intro a J ha ih hx |
| 27 | rw [Finset.sum_insert ha] at hx |
| 28 | rcases L.sectionNonvanishing_add_le _ _ hx with hax | hJx |
| 29 | · exact ⟨a, Finset.mem_insert_self a J, hax⟩ |
| 30 | · obtain ⟨i, hi, hix⟩ := ih hJx |
| 31 | exact ⟨i, Finset.mem_insert_of_mem hi, hix⟩ |
| 32 | |
| 33 | theorem Section.LinearCombinationNonvanishing.coefficient_linearCombination_nonvanishing |
| 34 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 35 | {ι : Type v} (I : Finset ι) (c : ι → K) (s : ι → (Line.Bundles.structureModule X ⟶ L.sheaf)) (x : X) |
| 36 | (hx : x ∈ Ample.LineBundles.sectionNonvanishing (∑ i ∈ I, Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i))) : |
| 37 | ∃ i ∈ I, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 38 | obtain ⟨i, hi, hix⟩ := L.mem_sectionNonvanishing_sum I (fun i => Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i)) x hx |
| 39 | exact ⟨i, hi, Coefficient.ScalarSections.coefficientScalarSection_nonvanishing_le p L (c i) (s i) hix⟩ |
| 40 | |
| 41 | theorem Section.LinearCombinationNonvanishing.pulledBack_linearCombination_nonvanishing |
| 42 | {K : Type u} [Field K] {X Y : Scheme.{u}} (a : Y ⟶ X) (p : Y ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 43 | {ι : Type v} (I : Finset ι) (c : ι → K) (s : ι → (Line.Bundles.structureModule X ⟶ L.sheaf)) (y : Y) |
| 44 | (hy : y ∈ Ample.LineBundles.sectionNonvanishing (∑ i ∈ I, Coefficient.ScalarSections.coefficientScalarSection p (c i) (Ample.LineBundles.pullbackSection a (s i)))) : |
| 45 | ∃ i ∈ I, a y ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 46 | obtain ⟨i, hi, hiy⟩ := Section.LinearCombinationNonvanishing.coefficient_linearCombination_nonvanishing p (L.pullback a) I c |
| 47 | (fun i => Ample.LineBundles.pullbackSection a (s i)) y hy |
| 48 | exact ⟨i, hi, (congrArg (fun U : Y.Opens => y ∈ U) |
| 49 | (LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange a L (s i))).mp hiy⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |