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.Crystalline.Cohomology.Base.ProperOrdinaryFormFiniteness |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperCoherentCech |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.TotalFiniteness |
| 5 | import Mathlib.Algebra.Category.ModuleCat.AB |
| 6 | |
| 7 | /-! # Proper De Rham Cech Finiteness -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # Finite cohomology of the original de Rham Cech total over a noetherian commutative base -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (k : Type u) [CommRing k] (X : Over (Spec (CommRingCat.of k))) |
| 20 | |
| 21 | def presheaves : Sheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} k) ⥤ |
| 22 | X.left.Opensᵒᵖ ⥤ ModuleCat.{u} k := |
| 23 | sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} k) |
| 24 | |
| 25 | instance presheaves_additive : (presheaves k X).Additive where |
| 26 | map_add := rfl |
| 27 | |
| 28 | def presheafComplex : CochainComplex (X.left.Opensᵒᵖ ⥤ ModuleCat.{u} k) ℕ := |
| 29 | ((presheaves k X).mapHomologicalComplex (.up ℕ)).obj (DeRhamGlobalId.DeRhamGlobal.sheafComplex k X) |
| 30 | |
| 31 | variable [IsProper X.hom] [Smooth X.hom] |
| 32 | |
| 33 | def bicomplex : HomologicalComplex₂ (ModuleCat.{u} k) (.up ℕ) (.up ℕ) := |
| 34 | NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total.bicomplex |
| 35 | (FormalCoproduct.mk (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index k X) |
| 36 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens k X)).cech (presheafComplex k X) |
| 37 | |
| 38 | def total : CochainComplex (ModuleCat.{u} k) ℕ := (bicomplex k X).total (.up ℕ) |
| 39 | |
| 40 | def rowIso (n : ℕ) : |
| 41 | ProperCoherentCech.ProperCoherentCechFiniteness.complex k X (ProperOrdinaryFormFiniteness.BaseSmoothProperOrdinaryFormFiniteness.term k X n) |
| 42 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens k X) ≅ (bicomplex k X).X n := |
| 43 | (FormalCoproduct.cochainComplexFunctor |
| 44 | (FormalCoproduct.mk (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index k X) |
| 45 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens k X)).cech).mapIso |
| 46 | ((presheaves k X).mapIso (OrdinaryFormSheaf.OrdinaryFormSheafComparison.iso k X n)) |
| 47 | |
| 48 | variable [IsNoetherianRing k] |
| 49 | |
| 50 | theorem row_finite (n q : ℕ) : Module.Finite k (((bicomplex k X).X n).homology q) := by |
| 51 | let M := ProperOrdinaryFormFiniteness.BaseSmoothProperOrdinaryFormFiniteness.term k X n |
| 52 | let : M.IsQuasicoherent := ProperOrdinaryFormFiniteness.BaseSmoothProperOrdinaryFormFiniteness.quasicoherent k X n |
| 53 | let : M.IsFiniteType := ProperOrdinaryFormFiniteness.BaseSmoothProperOrdinaryFormFiniteness.finiteType k X n |
| 54 | let : Module.Finite k ((ProperCoherentCech.ProperCoherentCechFiniteness.complex k X M |
| 55 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens k X)).homology q) := |
| 56 | ProperCoherentCech.ProperCoherentCechFiniteness.finite k X M (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens k X) |
| 57 | (IsOpenCover.mk (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.cover k X)) |
| 58 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.affine k X) q |
| 59 | exact Module.Finite.equiv (HomologicalComplex.homologyMapIso (rowIso k X n) q).toLinearEquiv |
| 60 | |
| 61 | theorem finite (n : ℕ) : Module.Finite k ((BaseSmoothProperDeRhamCechFiniteness.total k X).homology n) := |
| 62 | NumberTheory.PadicHodge.IntegralComparison.Module.TotalFiniteness.finite (bicomplex k X) n (fun q p _ => row_finite k X q p) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness |