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 Mathlib.AlgebraicGeometry.AffineScheme |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 3 | |
| 4 | /-! # Line Bundles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Ampleness of actual line bundles. A section is nonvanishing where its map |
| 12 | from the structure sheaf is locally an isomorphism. Ampleness means that |
| 13 | positive tensor powers have sections with affine nonvanishing neighborhoods |
| 14 | covering the quasi-compact scheme (Stacks Project, Definition 01PR). |
| 15 | Tensor powers are specified by their universal multilinear property. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} |
| 23 | |
| 24 | /-- Pullback of a section, viewed as a morphism from the structure module. -/ |
| 25 | def Ample.LineBundles.pullbackSection {M : Y.Modules} (f : X ⟶ Y) (s : Line.Bundles.structureModule Y ⟶ M) : |
| 26 | Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj M := |
| 27 | (Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map s |
| 28 | |
| 29 | /-- The largest open on which the section is a local frame. -/ |
| 30 | def Ample.LineBundles.sectionNonvanishing {M : X.Modules} (s : Line.Bundles.structureModule X ⟶ M) : X.Opens := |
| 31 | sSup {U : X.Opens | IsIso (Ample.LineBundles.pullbackSection U.ι s)} |
| 32 | |
| 33 | /-- A globally invertible section is nonvanishing everywhere. -/ |
| 34 | theorem Ample.LineBundles.sectionNonvanishing_of_isIso {M : X.Modules} (s : Line.Bundles.structureModule X ⟶ M) |
| 35 | [IsIso s] : Ample.LineBundles.sectionNonvanishing s = ⊤ := by |
| 36 | apply top_unique |
| 37 | apply le_sSup |
| 38 | change IsIso (Ample.LineBundles.pullbackSection (⊤ : X.Opens).ι s) |
| 39 | dsimp [Ample.LineBundles.pullbackSection] |
| 40 | infer_instance |
| 41 | |
| 42 | /-- Ampleness via affine nonvanishing loci of sections of positive powers. -/ |
| 43 | def Line.Bundles.LineBundle.IsAmple (L : Line.Bundles.LineBundle X) : Prop := |
| 44 | IsCompact (Set.univ : Set X) ∧ |
| 45 | ∀ x : X, ∃ (n : ℕ) (_ : 0 < n) (P : Line.Bundles.LineBundle X) |
| 46 | (_ : Tensor.Powers.IsTensorPower L.sheaf n P.sheaf) (s : Line.Bundles.structureModule X ⟶ P.sheaf), |
| 47 | x ∈ Ample.LineBundles.sectionNonvanishing s ∧ IsAffineOpen (Ample.LineBundles.sectionNonvanishing s) |
| 48 | |
| 49 | /-- The trivial line bundle on an affine scheme is ample. -/ |
| 50 | theorem Line.Bundles.LineBundle.trivial_isAmple (X : Scheme.{u}) [IsAffine X] : (Line.Bundles.LineBundle.trivial X).IsAmple := by |
| 51 | refine ⟨isCompact_univ, fun x => ?_⟩ |
| 52 | refine ⟨1, Nat.zero_lt_one, Line.Bundles.LineBundle.trivial X, Tensor.Powers.isTensorPower_one _, 𝟙 _, ?_, ?_⟩ |
| 53 | · change x ∈ @Ample.LineBundles.sectionNonvanishing X (Line.Bundles.structureModule X) (𝟙 _) |
| 54 | rw [Ample.LineBundles.sectionNonvanishing_of_isIso] |
| 55 | trivial |
| 56 | · change IsAffineOpen (@Ample.LineBundles.sectionNonvanishing X (Line.Bundles.structureModule X) (𝟙 _)) |
| 57 | rw [Ample.LineBundles.sectionNonvanishing_of_isIso] |
| 58 | exact isAffineOpen_top X |
| 59 | |
| 60 | /-- Relative ampleness is ampleness over each affine open of the base. -/ |
| 61 | def Line.Bundles.LineBundle.IsRelativelyAmple (L : Line.Bundles.LineBundle X) (f : X ⟶ Y) : Prop := |
| 62 | ∀ U : Y.Opens, IsAffineOpen U → |
| 63 | (Line.Bundles.LineBundle.pullback (f ⁻¹ᵁ U).ι L).IsAmple |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |