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.Tensor.CochainBicomplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatClosedPointCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ResidueScalarIso |
| 4 | |
| 5 | /-! # Point Local Algebra Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointLocalAlgebraCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The closed-point cohomology criterion works with any actual local algebra realizing the localization. All changes of local ring retain the coefficient action on the residue module. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] |
| 15 | |
| 16 | def maximalQuotientLocalResidueIso |
| 17 | (m : Ideal R) [m.IsMaximal] (B : Type u) [CommRing B] [IsLocalRing B] |
| 18 | [Algebra R B] [IsLocalization m.primeCompl B] : |
| 19 | ModuleCat.of R (R ⧸ m) ≅ |
| 20 | (ModuleCat.restrictScalars (algebraMap R B)).obj (ModuleCat.of B (ResidueField B)) := by |
| 21 | let A := Localization.AtPrime m |
| 22 | let e : A ≃ₐ[R] B := IsLocalization.algEquiv m.primeCompl A B |
| 23 | let F := ModuleCat.restrictScalars (algebraMap R A) |
| 24 | have h : algebraMap R B = e.toRingHom.comp (algebraMap R A) := by |
| 25 | ext r |
| 26 | exact (e.commutes r).symm |
| 27 | exact (Closed.PointCochainLocalization.maximalQuotientResidueEquiv m).toLinearEquiv.toModuleIso ≪≫ |
| 28 | Closed.PointCochainLocalization.scalarTowerRestrictModuleIso (R := R) A m.ResidueField ≪≫ |
| 29 | F.mapIso (Local.ResidueScalarIso.localResidueRestrictionIso e.toRingEquiv) ≪≫ |
| 30 | (ModuleCat.restrictScalarsComp'App (algebraMap R A) e.toRingHom (algebraMap R B) h |
| 31 | (ModuleCat.of B (ResidueField B))).symm |
| 32 | |
| 33 | def singlePointSupportedCochainLocalAlgebraIso |
| 34 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (m : Ideal R) [m.IsMaximal] |
| 35 | (B : Type u) [CommRing B] [Algebra R B] [IsLocalization m.primeCompl B] (q : ℕ) |
| 36 | [Module.Finite R (C.homology q)] |
| 37 | (hs : Module.support R (C.homology q) ⊆ PrimeSpectrum.zeroLocus (m : Set R)) : |
| 38 | C.homology q ≅ (ModuleCat.restrictScalars (algebraMap R B)).obj |
| 39 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).homology q) := by |
| 40 | let A := Localization.AtPrime m |
| 41 | let e : A ≃ₐ[R] B := IsLocalization.algEquiv m.primeCompl A B |
| 42 | let E := (Tensor.CochainBicomplex.tensorCochainFunctor C).mapIso e.toLinearEquiv.toModuleIso |
| 43 | exact Closed.PointCochainLocalization.singlePointSupportedCochainLocalizationIso C m q hs ≪≫ |
| 44 | HomologicalComplex.homologyMapIso E q ≪≫ (Base.ChangeTensorHomology.baseChangeTensorHomologyIso (B := B) C q).symm |
| 45 | |
| 46 | theorem finiteFlatCochain_cohomology_of_localAlgebra [IsNoetherianRing R] |
| 47 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 48 | (hfin : ∀ q, Module.Finite R (C.X q)) (hflat : ∀ q, Module.Flat R (C.X q)) |
| 49 | (m : Ideal R) [m.IsMaximal] (hfield : Cochain.FieldSupport.CochainFieldSupport C m) |
| 50 | (B : Type u) [CommRing B] [IsLocalRing B] [Algebra R B] [IsLocalization m.primeCompl B] |
| 51 | (g : ℕ) |
| 52 | (hvan : ∀ q, q ≠ g → IsZero |
| 53 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).homology q)) |
| 54 | (etop : (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).homology g ≅ |
| 55 | ModuleCat.of B (ResidueField B)) : |
| 56 | (∀ q, q ≠ g → IsZero (C.homology q)) ∧ Nonempty (C.homology g ≅ ModuleCat.of R (R ⧸ m)) := by |
| 57 | let F := ModuleCat.restrictScalars (algebraMap R B) |
| 58 | have hf (q : ℕ) : Module.Finite R (C.homology q) := by |
| 59 | have : Module.Finite R (C.X q) := hfin q |
| 60 | exact Closed.PointCochainLocalization.finite_cochain_homology_of_finite_term C q |
| 61 | have hs (q : ℕ) : Module.support R (C.homology q) ⊆ PrimeSpectrum.zeroLocus (m : Set R) := |
| 62 | HilbertConstruction.Finite.FlatCochainSupport.finiteFlatCochain_fieldSupport_homology_support C hfin hflat m hfield q |
| 63 | constructor |
| 64 | · intro q hq |
| 65 | have : Module.Finite R (C.homology q) := hf q |
| 66 | exact (F.map_isZero (hvan q hq)).of_iso (singlePointSupportedCochainLocalAlgebraIso C m B q (hs q)) |
| 67 | · have : Module.Finite R (C.homology g) := hf g |
| 68 | exact ⟨singlePointSupportedCochainLocalAlgebraIso C m B g (hs g) ≪≫ |
| 69 | F.mapIso etop ≪≫ (maximalQuotientLocalResidueIso m B).symm⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointLocalAlgebraCohomology |