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.NumberTheory.PadicHodge.IntegralComparison.Affine.HomologyPresheaf |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.CechComparison |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.VanishingGrothendieckVanishing |
| 5 | |
| 6 | /-! # Dimension Bound -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.DimensionBound |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original coefficient Čech complex of a quasicoherent module |
| 13 | obeys the topological dimension bound on an affine open cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | (X : Over (Spec (CommRingCat.of R))) (M : X.left.Modules) |
| 21 | {ι : Type u} (U : ι → X.left.Opens) |
| 22 | |
| 23 | def complex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 24 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).obj |
| 25 | ((Affine.HomologyPresheaf.functor R X).obj M) |
| 26 | |
| 27 | def forgetIso : |
| 28 | ((forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u}).mapHomologicalComplex (.up ℕ)).obj |
| 29 | (complex R X M U) ≅ |
| 30 | (cechComplexFunctor U).obj M.presheaf := |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso (forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u}) |
| 32 | (FormalCoproduct.mk ι U).cech ((Affine.HomologyPresheaf.functor R X).obj M) |
| 33 | |
| 34 | variable [X.left.IsSeparated] [M.IsQuasicoherent] |
| 35 | (hU : ⨆ i, U i = ⊤) (haffine : ∀ i, IsAffineOpen (U i)) |
| 36 | |
| 37 | def cohomologyIso (n : ℕ) : |
| 38 | (forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u}).obj ((complex R X M U).homology (n + 1)) ≅ |
| 39 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X.left (n + 1)).obj M := |
| 40 | (((complex R X M U).sc (n + 1)).mapHomologyIso |
| 41 | (forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u})).symm ≪≫ |
| 42 | HomologicalComplex.homologyMapIso (forgetIso R X M U) (n + 1) ≪≫ |
| 43 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.CechComparison.IntrinsicCech.quasicoherent_affineCover_cechCohomologyIso M U hU haffine n |
| 44 | |
| 45 | include hU haffine in |
| 46 | theorem vanishing [NoetherianSpace X.left] (g : ℕ) |
| 47 | (hdim : topologicalKrullDim X.left ≤ (g : WithBot ℕ∞)) (n : ℕ) (hn : g < n) : |
| 48 | Subsingleton ((complex R X M U).homology n) := by |
| 49 | cases n with |
| 50 | | zero => omega |
| 51 | | succ n => |
| 52 | let : NoetherianSpace X.left.toTopCat := inferInstanceAs (NoetherianSpace X.left) |
| 53 | let F := (SheafOfModules.toSheaf X.left.ringCatSheaf).obj M |
| 54 | have hlt : topologicalKrullDim X.left < (n + 1 : WithBot ℕ∞) := |
| 55 | lt_of_le_of_lt hdim (by exact_mod_cast hn) |
| 56 | let : Subsingleton ((AlgebraicGeometry.AbelianModuli.HilbertConstruction.Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X.left (n + 1)).obj M) := |
| 57 | AlgebraicGeometry.SheafCohomology.VanishingGrothendieckVanishing.Projective.GrothendieckVanishing X.left.toTopCat (n + 1) hlt F |
| 58 | exact (cohomologyIso R X M U hU haffine n).addCommGroupIsoToAddEquiv.injective.subsingleton |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.DimensionBound |