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.Noetherian.FiniteExact |
| 2 | |
| 3 | /-! # Cohomology Cokernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CohomologyCokernel.FiniteCohomologyCokernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite cohomology and a finite following term give a finite cokernel. |
| 10 | This supplies the next finite set of generators in a descending complex reduction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 17 | variable (S : ShortComplex (ModuleCat.{v} R)) |
| 18 | |
| 19 | theorem finite_opcycles [Module.Finite R S.homology] [Module.Finite R S.X₃] : |
| 20 | Module.Finite R S.opcycles := by |
| 21 | let T := ShortComplex.mk S.homologyι S.fromOpcycles S.homologyι_comp_fromOpcycles |
| 22 | have hT : T.Exact := ShortComplex.exact_of_f_is_kernel _ S.homologyIsKernel |
| 23 | exact Noetherian.FiniteExact.noetherian_finite_of_exact S.homologyι.hom S.fromOpcycles.hom |
| 24 | ((ShortComplex.ShortExact.moduleCat_exact_iff_function_exact T).mp hT) |
| 25 | |
| 26 | theorem finite_cokernel [Module.Finite R S.homology] [Module.Finite R S.X₃] : |
| 27 | Module.Finite R (S.X₂ ⧸ S.f.hom.range) := by |
| 28 | have : Module.Finite R S.opcycles := finite_opcycles S |
| 29 | exact Module.Finite.equiv S.moduleCatOpcyclesIso.toLinearEquiv |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CohomologyCokernel.FiniteCohomologyCokernel |