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.Scalar.QuotientComplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.HomologyScalars |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ZeroCycles |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SupportedRegularModuleVanishing |
| 5 | |
| 6 | /-! # Cohomology Regularity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CohomologyRegularity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Vanishing in the preceding degree after scalar reduction forces the scalar to act injectively on cohomology. With finite support in its zero locus, the original cohomology then vanishes. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | |
| 17 | theorem cochain_homology_succ_regular_of_reduction_exact |
| 18 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (r : R) |
| 19 | (hreg : ∀ q, IsSMulRegular (C.X q) r) (n : ℕ) |
| 20 | (hprev : (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (R ⧸ Ideal.span {r}) C).ExactAt n) : |
| 21 | IsSMulRegular (C.homology (n + 1)) r := by |
| 22 | let S := QuotientComplex.cochainScalarQuotientSequence C r |
| 23 | have hS : S.ShortExact := QuotientComplex.cochainScalarQuotientSequence_shortExact C r hreg |
| 24 | have hz : IsZero (S.X₃.homology n) := |
| 25 | (HomologicalComplex.homologyMapIso (QuotientComplex.cochainScalarQuotientTensorIso C r) n).isZero_iff.mpr |
| 26 | hprev.isZero_homology |
| 27 | have hmono : Mono (HomologicalComplex.homologyMap S.f (n + 1)) := |
| 28 | (hS.homology_exact₁ n (n + 1) rfl).mono_g (hz.eq_zero_of_src _) |
| 29 | change Mono (HomologicalComplex.homologyMap (r • 𝟙 C) (n + 1)) at hmono |
| 30 | rw [CoefficientCech.HomologyScalars.cochainHomologyMap_smul, HomologicalComplex.homologyMap_id] at hmono |
| 31 | exact (ModuleCat.mono_iff_injective (r • 𝟙 (C.homology (n + 1)))).mp hmono |
| 32 | |
| 33 | theorem cochain_homology_zero_regular |
| 34 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (r : R) |
| 35 | (hreg : IsSMulRegular (C.X 0) r) : IsSMulRegular (C.homology 0) r := by |
| 36 | have hk : IsSMulRegular (C.d 0 1).hom.ker r := hreg.submodule _ r |
| 37 | let e := ((Cochain.ZeroCycles.CochainZeroCycles.cyclesIso C).symm ≪≫ C.isoHomologyπ₀).toLinearEquiv |
| 38 | exact (e.isSMulRegular_congr r).mp hk |
| 39 | |
| 40 | theorem cochain_homology_succ_zero_of_supported_reduction_exact |
| 41 | [IsNoetherianRing R] (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 42 | (I : Ideal R) (r : R) (hr : r ∈ I) |
| 43 | (hreg : ∀ q, IsSMulRegular (C.X q) r) (n : ℕ) |
| 44 | [Module.Finite R (C.homology (n + 1))] |
| 45 | (hSupport : Module.support R (C.homology (n + 1)) ⊆ PrimeSpectrum.zeroLocus (I : Set R)) |
| 46 | (hprev : (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (R ⧸ Ideal.span {r}) C).ExactAt n) : |
| 47 | IsZero (C.homology (n + 1)) := by |
| 48 | have : Subsingleton (C.homology (n + 1)) := |
| 49 | SupportedRegularModuleVanishing.finiteSupportedModule_subsingleton_of_regularElement I hSupport r hr |
| 50 | (cochain_homology_succ_regular_of_reduction_exact C r hreg n hprev) |
| 51 | exact ModuleCat.isZero_of_subsingleton _ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CohomologyRegularity |