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.Finite.FreeSheafSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentEpimorphisms |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.LocallyFree |
| 4 | |
| 5 | /-! # Generating Section Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeneratingSectionFiniteness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | theorem affine_globalSections_finite_of_generatingSections |
| 18 | [IsAffine X] (M : X.Modules) [M.IsQuasicoherent] |
| 19 | (G : M.GeneratingSections) [G.IsFiniteType] : |
| 20 | Module.Finite Γ(X, ⊤) Γ(M, ⊤) := by |
| 21 | have : Finite G.I := |
| 22 | SheafOfModules.GeneratingSections.IsFiniteType.finite |
| 23 | let L : X.Modules := SheafOfModules.free G.I |
| 24 | let f : L ⟶ M := G.π |
| 25 | let : Epi f := G.epi |
| 26 | let : L.IsQuasicoherent := inferInstance |
| 27 | have hL : Module.Finite Γ(X, ⊤) Γ(L, ⊤) := by |
| 28 | change Module.Finite (X.ringCatSheaf.obj.obj (op ⊤)) |
| 29 | ((SheafOfModules.evaluation X.ringCatSheaf (op ⊤)).obj |
| 30 | (SheafOfModules.free G.I (R := X.ringCatSheaf))) |
| 31 | exact HilbertConstruction.Finite.FreeSheafSections.finite_freeSheaf_globalSections X G.I |
| 32 | let : Module.Finite Γ(X, ⊤) Γ(L, ⊤) := hL |
| 33 | have hf : Epi f := inferInstance |
| 34 | have hsurj : Function.Surjective (f.val.app (op ⊤)).hom := by |
| 35 | exact @QuasicoherentEpimorphisms.quasicoherent_affine_surjective_of_epi X inferInstance |
| 36 | L M f inferInstance inferInstance hf |
| 37 | exact @Module.Finite.of_surjective |
| 38 | _ _ _ _ _ _ _ _ _ _ _ hL (f.val.app (op ⊤)).hom hsurj |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GeneratingSectionFiniteness |