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.Smooth.FormDegreeBound |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.FormCoherence |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.DimensionBound |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopRowEdgeSurjective |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopRowEdgeNaturality |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechComplex |
| 7 | import Mathlib.Algebra.Category.ModuleCat.AB |
| 8 | |
| 9 | /-! # Top Edge -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.TopEdge.Intrinsic |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The actual top-form Čech cohomology maps onto the native de Rham |
| 16 | Čech total in degree twice the relative dimension. No degeneration |
| 17 | of the integral Hodge-to-de Rham sequence is assumed. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechComplex.Intrinsic |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (R : Type u) [CommRing R] |
| 26 | (X : Over (Spec (CommRingCat.of R))) |
| 27 | {ι : Type u} (U : ι → X.left.Opens) |
| 28 | |
| 29 | def rowIso (n : ℕ) : |
| 30 | ModuleCech.DimensionBound.complex R X (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n) U ≅ |
| 31 | (CechComplex.Intrinsic.bicomplex R X U).X n := |
| 32 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).mapIso |
| 33 | ((CechComplex.Intrinsic.presheaves R X).mapIso (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso R X n)) |
| 34 | |
| 35 | variable (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 36 | |
| 37 | include g in |
| 38 | theorem row_isZero (n : ℕ) (hn : g < n) : IsZero ((CechComplex.Intrinsic.bicomplex R X U).X n) := |
| 39 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).map_isZero |
| 40 | ((CechComplex.Intrinsic.presheaves R X).map_isZero (IntegralComparison.Smooth.FormDegreeBound.coefficient_sheaf_isZero R X g n hn)) |
| 41 | |
| 42 | theorem term_isZero (a b : ℕ) (ha : g < a) : IsZero (((CechComplex.Intrinsic.bicomplex R X U).X a).X b) := |
| 43 | (HomologicalComplex.eval (ModuleCat.{u} R) (.up ℕ) b).map_isZero (row_isZero R X U g a ha) |
| 44 | |
| 45 | theorem outgoing (q : ℕ) : ((CechComplex.Intrinsic.bicomplex R X U).d g (g + 1)).f q = 0 := |
| 46 | (term_isZero R X U g (g + 1) q (Nat.lt_succ_self g)).eq_of_tgt _ _ |
| 47 | |
| 48 | abbrev source : ModuleCat.{u} R := |
| 49 | (ModuleCech.DimensionBound.complex R X (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) U).homology g |
| 50 | |
| 51 | def map : source R X U g →ₗ[R] (CechComplex.Intrinsic.total R X U).homology (g + g) := |
| 52 | (TopRowEdge.map (CechComplex.Intrinsic.bicomplex R X U) g (outgoing R X U g) g).comp |
| 53 | (HomologicalComplex.homologyMap (rowIso R X U g).hom g).hom |
| 54 | |
| 55 | theorem surjective [NoetherianSpace X.left] |
| 56 | (hU : ⨆ i, U i = ⊤) (haffine : ∀ i, IsAffineOpen (U i)) |
| 57 | (hdim : topologicalKrullDim X.left ≤ (g : WithBot ℕ∞)) : |
| 58 | Function.Surjective (map R X U g) := by |
| 59 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 60 | let : X.left.IsSeparated := ⟨by |
| 61 | have h : IsSeparated (X.hom ≫ terminal.from _) := inferInstance |
| 62 | simpa only [terminal.comp_from] using h⟩ |
| 63 | have hs : Function.Surjective (TopRowEdge.map (CechComplex.Intrinsic.bicomplex R X U) g (outgoing R X U g) g) := by |
| 64 | apply TopRowEdgeSurjective.surjective (CechComplex.Intrinsic.bicomplex R X U) g (outgoing R X U g) |
| 65 | (fun a b ha => ModuleCat.subsingleton_of_isZero (term_isZero R X U g a b ha)) g |
| 66 | intro q hq |
| 67 | let : (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q).IsQuasicoherent := |
| 68 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X q |
| 69 | let := ModuleCech.DimensionBound.vanishing R X |
| 70 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q) U hU haffine g hdim (g + g - q) (by omega) |
| 71 | exact (HomologicalComplex.homologyMapIso (rowIso R X U q) (g + g - q)).symm.toLinearEquiv.injective.subsingleton |
| 72 | exact hs.comp (ConcreteCategory.bijective_of_isIso |
| 73 | (HomologicalComplex.homologyMap (rowIso R X U g).hom g)).surjective |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.TopEdge.Intrinsic |