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.ModelTensorKoszulComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ScalarKoszul.ResidueCohomology |
| 3 | |
| 4 | /-! # Model Residue Dimensions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelResidueDimensions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every residue-field specialization of the constructed minimal local model has binomial cohomology dimensions in all degrees. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 12 | universe u |
| 13 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 14 | |
| 15 | theorem minimalModel_closedField_cohomology_finrank |
| 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) |
| 23 | (B : Type u) [Field B] [Algebra R B] |
| 24 | (hkill : maximalIdeal R ≤ RingHom.ker (algebraMap R B)) (q : ℕ) : |
| 25 | Module.finrank B |
| 26 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).homology q) = |
| 27 | g.choose q := by |
| 28 | have hrs : ∀ r ∈ rs, algebraMap R B r = 0 := by |
| 29 | intro r hr |
| 30 | apply hkill |
| 31 | rw [← hgen] |
| 32 | exact Ideal.subset_span hr |
| 33 | let E := ModelTensorKoszulComparison.minimalModelMappedKoszulDualHomologyIso (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B) |
| 34 | C g hfin hfree hbound rs hlen hreg hgen hfield Q e hI q |
| 35 | exact E.toLinearEquiv.finrank_eq.trans |
| 36 | (by simpa only [hlen] using ScalarKoszul.ResidueCohomology.scalarKoszulChainDual_baseChange_homology_finrank B rs hrs q) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelResidueDimensions |