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.Cochain.HeadCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ZeroKernel |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.FiniteExact |
| 4 | |
| 5 | /-! # Finite Cycles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.FiniteCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Removing the augmentation of a complex preserves finite cohomology when the augmentation term and positive cohomology are finite. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | |
| 19 | theorem shortComplex_cycles_finite (S : ShortComplex (ModuleCat.{u} R)) |
| 20 | [Module.Finite R S.X₁] [Module.Finite R S.homology] : Module.Finite R S.cycles := by |
| 21 | let T := ShortComplex.mk S.toCycles S.homologyπ S.toCycles_comp_homologyπ |
| 22 | have hT : T.Exact := ShortComplex.exact_of_g_is_cokernel T S.homologyIsCokernel |
| 23 | exact Noetherian.FiniteExact.noetherian_finite_of_exact S.toCycles.hom S.homologyπ.hom |
| 24 | ((ShortComplex.ShortExact.moduleCat_exact_iff_function_exact T).mp hT) |
| 25 | |
| 26 | theorem cochain_tail_zero_homology_finite (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 27 | [Module.Finite R (C.X 0)] [Module.Finite R (C.homology 1)] : |
| 28 | Module.Finite R ((Head.CochainHead.tail C).homology 0) := by |
| 29 | have : Module.Finite R (C.sc' 0 1 2).X₁ := inferInstanceAs (Module.Finite R (C.X 0)) |
| 30 | have : Module.Finite R (C.sc' 0 1 2).homology := |
| 31 | Module.Finite.equiv (C.homologyIsoSc' 0 1 2 (by simp) (by simp)).toLinearEquiv |
| 32 | have : Module.Finite R (C.sc' 0 1 2).cycles := shortComplex_cycles_finite (C.sc' 0 1 2) |
| 33 | have : Module.Finite R (C.d 1 2).hom.ker := |
| 34 | Module.Finite.equiv (C.sc' 0 1 2).moduleCatCyclesIso.toLinearEquiv |
| 35 | have hd : (Head.CochainHead.tail C).d 0 1 = C.d 1 2 := Head.CochainHead.tail_d C 0 1 |
| 36 | have : Module.Finite R ((Head.CochainHead.tail C).d 0 1).hom.ker := hd.symm ▸ inferInstance |
| 37 | exact Module.Finite.equiv (ZeroKernel.cochainZeroHomologyKernelEquiv (Head.CochainHead.tail C)).symm |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.FiniteCycles |