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.Picard.PoincareBundle.Affine.Classification |
| 2 | |
| 3 | /-! # Affine Line Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AffineLineSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual section module of a line on a nonempty finite affine scheme is finite and nonzero over the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (k R : Type u) [CommRing k] [CommRing R] [Algebra k R] |
| 16 | (L : Line.Bundles.LineBundle (Spec (.of R))) |
| 17 | |
| 18 | /-- Actual global line sections, with their base-ring scalar action retained by restriction of scalars. -/ |
| 19 | def sections : ModuleCat k := |
| 20 | (ModuleCat.restrictScalars (algebraMap k R)).obj ((moduleSpecΓFunctor (R := .of R)).obj L.sheaf) |
| 21 | |
| 22 | /-- The geometric line's section module is finite over the base whenever the affine coordinate algebra is finite. -/ |
| 23 | theorem finite [Module.Finite k R] : Module.Finite k (sections k R L) := by |
| 24 | let M := (moduleSpecΓFunctor (R := CommRingCat.of R)).obj L.sheaf |
| 25 | have : Module.Invertible R M := Affine.Classification.globalSections_invertible L |
| 26 | let : Module k M := Module.compHom M (algebraMap k R) |
| 27 | have : IsScalarTower k R M := IsScalarTower.of_algebraMap_smul fun _ _ => rfl |
| 28 | have hfinite : Module.Finite k M := Module.Finite.trans R M |
| 29 | exact hfinite |
| 30 | |
| 31 | /-- An invertible sheaf on a nonempty affine scheme has a nonzero actual section module. -/ |
| 32 | theorem nontrivial [Nontrivial R] : Nontrivial (sections k R L) := by |
| 33 | let M := (moduleSpecΓFunctor (R := CommRingCat.of R)).obj L.sheaf |
| 34 | have : Module.Invertible R M := Affine.Classification.globalSections_invertible L |
| 35 | change Nontrivial M |
| 36 | by_contra h |
| 37 | have : Subsingleton M := not_nontrivial_iff_subsingleton.mp h |
| 38 | have he : (0 : R) = 1 := eq_of_smul_eq_smul fun x : M => Subsingleton.elim (0 • x) (1 • x) |
| 39 | exact zero_ne_one he |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AffineLineSections |