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.ZeroSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 3 | import Mathlib.AlgebraicGeometry.Properties |
| 4 | |
| 5 | /-! # Reduced Section Nonvanishing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a reduced scheme, a line-bundle section vanishes if and only if its nonvanishing open is empty. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} [IsReduced X] (L : Line.Bundles.LineBundle X) |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.sectionNonvanishing_eq_bot_iff (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 18 | Ample.LineBundles.sectionNonvanishing s = ⊥ ↔ s = 0 := by |
| 19 | constructor |
| 20 | · intro hs |
| 21 | choose U hU e using L.locallyTrivial |
| 22 | apply Module.MapCoverEquality.moduleMap_eq_of_pullback_cover U (fun x => ⟨x, hU x⟩) s 0 |
| 23 | intro x |
| 24 | let E := (e x).some |
| 25 | let t := Ample.LineBundles.pullbackSection (U x).ι s |
| 26 | have ht : Ample.LineBundles.sectionNonvanishing t = ⊥ := by |
| 27 | rw [Section.Nonvanishing.sectionNonvanishing_pullback, hs] |
| 28 | rfl |
| 29 | have hc : Frame.Coordinates.frameCoordinate E.inv t = 0 := |
| 30 | eq_zero_of_basicOpen_eq_bot _ |
| 31 | ((Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate E.inv t).symm.trans ht) |
| 32 | have he : Frame.Coordinates.frameCoordinateEnd E.inv t = 0 := |
| 33 | (Global.Sections.structureModuleEndValue_injective _) |
| 34 | (hc.trans (map_zero (Frame.Coordinates.structureModuleEndValue _)).symm) |
| 35 | have hz : t = 0 := by |
| 36 | rw [← Frame.Coordinates.frameCoordinateEnd_frame E.inv t, he, zero_comp] |
| 37 | apply (cancel_epi (Line.Bundles.structureModulePullbackIso (U x).ι).inv).mp |
| 38 | change Ample.LineBundles.pullbackSection (U x).ι s = Ample.LineBundles.pullbackSection (U x).ι 0 |
| 39 | rw [ZeroSections.pullbackSection_zero] |
| 40 | exact hz |
| 41 | · rintro rfl |
| 42 | exact L.sectionNonvanishing_zero |
| 43 | |
| 44 | theorem Line.Bundles.LineBundle.exists_nonvanishing_of_ne_zero (s : Line.Bundles.structureModule X ⟶ L.sheaf) (hs : s ≠ 0) : |
| 45 | ∃ x : X, x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 46 | classical |
| 47 | by_contra h |
| 48 | apply hs |
| 49 | apply (L.sectionNonvanishing_eq_bot_iff s).mp |
| 50 | apply le_bot_iff.mp |
| 51 | intro x hx |
| 52 | exact False.elim (h ⟨x, hx⟩) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |