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.Regular.ParameterKoszulResolution |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.ResolutionHomologyComparison |
| 3 | |
| 4 | /-! # Model Koszul Dual Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelKoszulDualComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite free cochain model with the established local support and minimal coefficient properties has the same cohomology as the dual of the explicit regular-parameter Koszul resolution. -/ |
| 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 minimalModelKoszulDualHomologyIso |
| 16 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (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) (n : ℕ) : |
| 23 | C.homology n ≅ (HilbertConstruction.Finite.FreeDoubleDualComplex.dualModuleComplexSymm (c := .up ℕ) (Regular.ParameterKoszulResolution.scalarKoszulChainComplex rs)).homology n := |
| 24 | HomologicalComplex.homologyMapIso (HilbertConstruction.Finite.FreeDoubleDualComplex.finiteFreeDoubleDualComplexIso C hfin hfree) n ≪≫ |
| 25 | Dual.ResolutionHomologyComparison.dualProjectiveResolutionHomologyIso |
| 26 | (AugmentedDualProjectiveResolution.minimalDualProjectiveResolution C g hfin hfree hbound rs hlen hreg hgen hfield Q e hI) |
| 27 | (Regular.ParameterKoszulResolution.regularParameterKoszulResolution rs hreg hgen) n |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelKoszulDualComparison |