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 Mathlib.Algebra.Homology.HomologySequence |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | import Mathlib.RingTheory.Noetherian.Basic |
| 4 | import Mathlib.RingTheory.Finiteness.Finsupp |
| 5 | |
| 6 | /-! # Exact Homology Finiteness -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExactHomologyFiniteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite cohomology is preserved by the actual short exact sequence of module complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 19 | |
| 20 | theorem middle (S : ShortComplex (ModuleCat.{v} R)) (hS : S.Exact) |
| 21 | [Module.Finite R S.X₁] [Module.Finite R S.X₃] : Module.Finite R S.X₂ := by |
| 22 | let : Module.Finite R (LinearMap.ker S.g.hom) := by |
| 23 | rw [← hS.moduleCat_range_eq_ker] |
| 24 | infer_instance |
| 25 | let : Module.Finite R (S.X₂ ⧸ LinearMap.ker S.g.hom) := |
| 26 | Module.Finite.equiv S.g.hom.quotKerEquivRange.symm |
| 27 | exact Module.Finite.of_submodule_quotient (LinearMap.ker S.g.hom) |
| 28 | |
| 29 | theorem homology (S : ShortComplex (CochainComplex (ModuleCat.{v} R) ℕ)) (hS : S.ShortExact) (i : ℕ) |
| 30 | [Module.Finite R (S.X₁.homology i)] [Module.Finite R (S.X₃.homology i)] : |
| 31 | Module.Finite R (S.X₂.homology i) := by |
| 32 | let : Module.Finite R (S.map (HomologicalComplex.homologyFunctor _ _ i)).X₁ := |
| 33 | inferInstanceAs (Module.Finite R (S.X₁.homology i)) |
| 34 | let : Module.Finite R (S.map (HomologicalComplex.homologyFunctor _ _ i)).X₃ := |
| 35 | inferInstanceAs (Module.Finite R (S.X₃.homology i)) |
| 36 | exact middle R (S.map (HomologicalComplex.homologyFunctor _ _ i)) (hS.homology_exact₂ i) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExactHomologyFiniteness |