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.Finite.FlatCochainSupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.PointCochainLocalization |
| 3 | |
| 4 | /-! # Flat Closed Point Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatClosedPointCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a finite flat complex supported at a single closed point, local concentration and a single top residue module determine the complete cohomology on the affine base. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | universe u |
| 13 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 14 | |
| 15 | theorem finiteFlatCochain_cohomology_of_closedPoint |
| 16 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 17 | (hfin : ∀ q, Module.Finite R (C.X q)) (hflat : ∀ q, Module.Flat R (C.X q)) |
| 18 | (m : Ideal R) [m.IsMaximal] (hfield : Cochain.FieldSupport.CochainFieldSupport C m) (g : ℕ) |
| 19 | (hvan : ∀ q, q ≠ g → IsZero |
| 20 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (Localization.AtPrime m)).mapHomologicalComplex |
| 21 | (.up ℕ)).obj C).homology q)) |
| 22 | (etop : (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (Localization.AtPrime m)).mapHomologicalComplex |
| 23 | (.up ℕ)).obj C).homology g ≅ ModuleCat.of (Localization.AtPrime m) m.ResidueField) : |
| 24 | (∀ q, q ≠ g → IsZero (C.homology q)) ∧ |
| 25 | Nonempty (C.homology g ≅ ModuleCat.of R (R ⧸ m)) := by |
| 26 | let A := Localization.AtPrime m |
| 27 | let F := ModuleCat.restrictScalars (algebraMap R A) |
| 28 | have hf (q : ℕ) : Module.Finite R (C.homology q) := by |
| 29 | have : Module.Finite R (C.X q) := hfin q |
| 30 | exact Closed.PointCochainLocalization.finite_cochain_homology_of_finite_term C q |
| 31 | have hs (q : ℕ) : Module.support R (C.homology q) ⊆ PrimeSpectrum.zeroLocus (m : Set R) := |
| 32 | FlatCochainSupport.finiteFlatCochain_fieldSupport_homology_support C hfin hflat m hfield q |
| 33 | constructor |
| 34 | · intro q hq |
| 35 | have : Module.Finite R (C.homology q) := hf q |
| 36 | have hz : IsZero ((HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex A C).homology q) := |
| 37 | (F.map_isZero (hvan q hq)).of_iso (Base.ChangeTensorHomology.baseChangeTensorHomologyIso (B := A) C q).symm |
| 38 | exact Closed.PointCochainLocalization.singlePointSupportedCochain_isZero_of_localization C m q (hs q) hz |
| 39 | · have : Module.Finite R (C.homology g) := hf g |
| 40 | exact ⟨Closed.PointCochainLocalization.singlePointSupportedCochainResidueIso C m g (hs g) etop⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatClosedPointCohomology |