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.Minimal.ModelKoszulDualComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ScalarKoszul.TopCohomology |
| 3 | |
| 4 | /-! # Model Top Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelTopCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The concentrated local model has a single copy of the residue field in top degree. The residue module is obtained by comparing actual projective resolutions and computing the explicit Koszul cokernel. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 12 | universe u |
| 13 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 14 | |
| 15 | def minimalModelTopResidueIso |
| 16 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) (hg : 0 < g) |
| 17 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 18 | (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 19 | (rs : List R) (hlen : rs.length = g) (hreg : Regular.SequenceBasic.RingTheory.Sequence.IsRegular R rs) |
| 20 | (hgen : Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal R) (hfield : Cochain.FieldSupport.CochainFieldSupport C (maximalIdeal R)) |
| 21 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) |
| 22 | (e : R ≃ₗ[R] Q.complex.X₁) (hI : Q.firstDifferentialIdeal = maximalIdeal R) : |
| 23 | C.homology g ≅ ModuleCat.of R (ResidueField R) := |
| 24 | ModelKoszulDualComparison.minimalModelKoszulDualHomologyIso C g hfin hfree hbound rs hlen hreg hgen hfield Q e hI g ≪≫ |
| 25 | ScalarKoszul.TopCohomology.scalarKoszulDualTopHomologyIso rs g hlen hg ≪≫ |
| 26 | (Submodule.quotEquivOfEq _ _ hgen).toModuleIso |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelTopCohomology |