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.Generated.LineBundleSectionDimension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.ProjectiveEmbeddings |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.Euler |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.LineBundleSections |
| 5 | |
| 6 | /-! # Embedding Euler Positive -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The Euler coefficient of an actual positive graph-bundle power embedding is strictly positive, using its actual generating sections at the zero point. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | universe u |
| 16 | |
| 17 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.degreePower_sections_pos |
| 18 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 19 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (x : X) |
| 20 | [Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj (L.tensorPower E.degree).sheaf)] : |
| 21 | 0 < Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj (L.tensorPower E.degree).sheaf) := by |
| 22 | let e := (E.isPower.unique (L.tensorPower_isTensorPower E.degree)).some |
| 23 | let h := Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p e |
| 24 | have : Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj E.power.sheaf) := |
| 25 | Module.Finite.equiv h.symm |
| 26 | obtain ⟨i, hi⟩ := E.covers x |
| 27 | have hp := Generated.LineBundleSectionDimension.lineBundle_sections_finrank_pos_of_nonvanishing p E.power (E.sections i) x hi |
| 28 | exact h.finrank_eq ▸ hp |
| 29 | |
| 30 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_embeddedPower_euler_pos |
| 31 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 32 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 33 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 34 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) : |
| 35 | 0 < CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom |
| 36 | (A.graphBundle.tensorPower E.degree).sheaf := by |
| 37 | have hunit : IsUnit (N : Γ(Spec (.of K), ⊤)) := by |
| 38 | simpa only [map_natCast] using |
| 39 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of K)))) |
| 40 | have := A.graphBundle_positivePower_sections_finite_overField E.degree |
| 41 | let x : A.abelian.scheme.left := η[A.abelian.scheme].left (Classical.ofNonempty : Spec (.of K)) |
| 42 | rw [A.graphBundle_positivePower_euler_eq_sections hN hunit E.degree E.degree_pos] |
| 43 | exact Int.natCast_pos.mpr (E.degreePower_sections_pos A.abelian.scheme.hom x) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |