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.LineBundle.AffineSectionsFlat |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModulePresheaf |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | |
| 5 | /-! # Base Line Bundle Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseLineBundleSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Line-bundle sections on an affine open are flat for the actual scalar action of a flat morphism to an affine base. -/ |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | universe u |
| 14 | variable {X S : Scheme.{u}} (f : X ⟶ S) |
| 15 | |
| 16 | def baseSectionScalarMap (U : X.Opens) : Γ(S, ⊤) →+* Γ(X, U) := |
| 17 | (f.appTop ≫ X.presheaf.map U.leTop.op).hom |
| 18 | |
| 19 | theorem baseSectionScalarMap_eq (U : X.Opens) : |
| 20 | baseSectionScalarMap f U = (f.appLE ⊤ U (by simp)).hom := by |
| 21 | rfl |
| 22 | |
| 23 | theorem flat_base_lineBundle_sections [IsAffine S] [Flat f] (L : Line.Bundles.LineBundle X) |
| 24 | (U : X.affineOpens) : Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op U.1)) := by |
| 25 | let : Algebra Γ(S, ⊤) Γ(X, U.1) := (baseSectionScalarMap f U.1).toAlgebra |
| 26 | have hf : (baseSectionScalarMap f U.1).Flat := by |
| 27 | rw [baseSectionScalarMap_eq] |
| 28 | exact f.flat_appLE (isAffineOpen_top S) U.2 _ |
| 29 | have : Module.Flat Γ(S, ⊤) Γ(X, U.1) := hf |
| 30 | let : Module Γ(X, U.1) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op U.1)) := |
| 31 | inferInstanceAs (Module Γ(X, U.1) Γ(L.sheaf, U.1)) |
| 32 | have : IsScalarTower Γ(S, ⊤) Γ(X, U.1) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op U.1)) := |
| 33 | IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 34 | have : Module.Flat Γ(X, U.1) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op U.1)) := |
| 35 | LineBundle.AffineSectionsFlat.lineBundle_affineOpen_sections_flat L U |
| 36 | exact Module.Flat.trans Γ(S, ⊤) Γ(X, U.1) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op U.1)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseLineBundleSections |