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.Cochain.ResidueLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ModuleTensorHomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModuleSupportAnnihilation |
| 4 | |
| 5 | /-! # Homology Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.HomologySupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The homology of a finite free cochain model is supported where its residue-field cohomology can be nonzero. Localization and tensor comparison use the actual coefficient maps. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | theorem cochain_homology_support_of_localization_exactAt |
| 17 | {R : Type u} [CommRing R] (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 18 | (I : Ideal R) (q : ℕ) |
| 19 | (hlocal : ∀ p : PrimeSpectrum R, ¬ I ≤ p.asIdeal → |
| 20 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (Localization.AtPrime p.asIdeal) C).ExactAt q) : |
| 21 | Module.support R (C.homology q) ⊆ PrimeSpectrum.zeroLocus (I : Set R) := by |
| 22 | intro p hp |
| 23 | change I ≤ p.asIdeal |
| 24 | by_contra hnot |
| 25 | let A := Localization.AtPrime p.asIdeal |
| 26 | have : Module.Flat R A := IsLocalization.flat A p.asIdeal.primeCompl |
| 27 | have hz := (hlocal p hnot).isZero_homology |
| 28 | have hTensor : Subsingleton (A ⊗[R] (C.homology q)) := |
| 29 | ModuleCat.subsingleton_of_isZero ((HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor.flatHomologyIso A C q).isZero_iff.mpr hz) |
| 30 | let e : A ⊗[R] (C.homology q) ≃ₗ[A] LocalizedModule p.asIdeal.primeCompl (C.homology q) := |
| 31 | (LocalizedModule.isBaseChange p.asIdeal.primeCompl (C.homology q)).equiv |
| 32 | have hloc : Subsingleton (LocalizedModule p.asIdeal.primeCompl (C.homology q)) := |
| 33 | ⟨fun x y => e.symm.injective (hTensor.elim _ _)⟩ |
| 34 | exact (Module.notMem_support_iff.mpr hloc) hp |
| 35 | |
| 36 | theorem finiteFreeCochain_homology_support_of_residue_exactAt |
| 37 | {R : Type u} [CommRing R] (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 38 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 39 | (I : Ideal R) (q : ℕ) |
| 40 | (hres : ∀ p : PrimeSpectrum R, ¬ I ≤ p.asIdeal → |
| 41 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex p.asIdeal.ResidueField C).ExactAt q) : |
| 42 | Module.support R (C.homology q) ⊆ PrimeSpectrum.zeroLocus (I : Set R) := |
| 43 | cochain_homology_support_of_localization_exactAt C I q |
| 44 | (fun p hp => ResidueLocalization.finiteFreeCochain_localization_exactAt_of_residue_exactAt C hfin hfree p q (hres p hp)) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.HomologySupport |