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.Module.ExtDimensionShift |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Linear |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 4 | import Mathlib.RingTheory.Noetherian.Basic |
| 5 | |
| 6 | /-! # Module Ext -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModuleExt |
| 9 | |
| 10 | /-! |
| 11 | |
| 12 | # `Ext`-modules between finitely generated modules over Noetherian rings are finitely generated |
| 13 | |
| 14 | -/ |
| 15 | |
| 16 | /- HilbertConstruction-local adaptation, using default elaboration settings. -/ |
| 17 | |
| 18 | universe v u |
| 19 | |
| 20 | variable (R : Type u) [CommRing R] |
| 21 | |
| 22 | open _root_.CategoryTheory Abelian |
| 23 | |
| 24 | instance ModuleCat.finite_ext [Small.{v} R] [IsNoetherianRing R] (N M : ModuleCat.{v} R) |
| 25 | [Module.Finite R N] [Module.Finite R M] (i : ℕ) : Module.Finite R (Ext N M i) := by |
| 26 | induction i generalizing N with |
| 27 | | zero => exact Module.Finite.equiv (Ext.linearEquiv₀.trans ModuleCat.homLinearEquiv).symm |
| 28 | | succ n ih => |
| 29 | obtain ⟨N, _, _, _, _, f, surjf⟩ := Module.exists_finite_presentation R N |
| 30 | let exac := LinearMap.shortExact_shortComplexKer surjf |
| 31 | exact Module.Finite.of_surjective (exac.extClass.precompOfLinear R M (add_comm 1 n)) |
| 32 | (HilbertConstruction.Module.ExtDimensionShift.precomp_extClass_surjective_of_projective_X₂ M exac n) |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModuleExt |