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.Ample.Powers |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 4 | |
| 5 | /-! # Trivial Ample Affine -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TrivialAmpleAffine |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonempty scheme with a field of global functions and an ample trivial bundle is affine. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} |
| 18 | |
| 19 | theorem trivialAmple_isAffine_of_globalFunctions_isField [Nonempty X] |
| 20 | (hΓ : IsField Γ(X, ⊤)) (hL : (Line.Bundles.LineBundle.trivial X).IsAmple) : IsAffine X := by |
| 21 | let : Field Γ(X, ⊤) := hΓ.toField |
| 22 | let x : X := Classical.choice inferInstance |
| 23 | obtain ⟨n, _, P, hP, s, hx, hs⟩ := hL.2 x |
| 24 | obtain ⟨e⟩ := hP.unique (LineBundle.Powers.structureModule_isTensorPower X n) |
| 25 | let t : End (Line.Bundles.structureModule X) := s ≫ e.hom |
| 26 | have hD : Ample.LineBundles.sectionNonvanishing t = Ample.LineBundles.sectionNonvanishing s := Ample.Powers.sectionNonvanishing_comp_iso s e |
| 27 | have ht : t ≠ 0 := by |
| 28 | intro h |
| 29 | have hz : Ample.LineBundles.sectionNonvanishing t = ⊥ := h ▸ ZeroSections.sectionNonvanishing_zero_of_frame (Iso.refl _) |
| 30 | exact (show x ∈ (⊥ : X.Opens) from (hD.symm.trans hz) ▸ hx).elim |
| 31 | have hv : Frame.Coordinates.structureModuleEndValue X t ≠ 0 := by |
| 32 | intro h |
| 33 | exact ht (Global.Sections.structureModuleEndValue_injective X (h.trans (map_zero (Frame.Coordinates.structureModuleEndValue X)).symm)) |
| 34 | let : IsIso t := (Global.Sections.structureModuleEnd_isIso_iff t).mpr (isUnit_iff_ne_zero.mpr hv) |
| 35 | have htop : Ample.LineBundles.sectionNonvanishing s = ⊤ := hD.symm.trans (Ample.LineBundles.sectionNonvanishing_of_isIso t) |
| 36 | have hA : IsAffineOpen (⊤ : X.Opens) := htop ▸ hs |
| 37 | let : IsAffine (⊤ : X.Opens).toScheme := hA |
| 38 | exact IsAffine.of_isIso X.topIso.inv |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TrivialAmpleAffine |