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.ProperCoherentCoefficient |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ModuleCoefficientPresheaf |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.ScalarRestriction |
| 6 | |
| 7 | /-! # Proper Coherent Cech -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperCoherentCech.ProperCoherentCechFiniteness |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # Coefficient-linear Cech finiteness for proper coherent scheme modules -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 20 | (M : X.left.Modules) {ι : Type u} (U : ι → X.left.Opens) |
| 21 | |
| 22 | def complex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 23 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).obj |
| 24 | ((NumberTheory.PadicHodge.IntegralComparison.AlgebraSheafScalars.presheaves R X).obj M.val) |
| 25 | |
| 26 | def complexIso : |
| 27 | ((Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.coefficients R).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U) ≅ complex R X M U := |
| 29 | Cech.CoefficientChange.CechCoefficientChange.complexIso (Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.coefficients R) |
| 30 | (FormalCoproduct.mk ι U).cech (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf X.hom M) ≪≫ |
| 31 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).mapIso |
| 32 | (Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.iso R X M) |
| 33 | |
| 34 | def homologyIso (n : ℕ) : |
| 35 | (complex R X M U).homology n ≅ |
| 36 | (Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.coefficients R).obj |
| 37 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).homology n) := |
| 38 | (HomologicalComplex.homologyMapIso (complexIso R X M U) n).symm ≪≫ |
| 39 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).sc n).mapHomologyIso |
| 40 | (Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.coefficients R) |
| 41 | |
| 42 | variable [IsNoetherianRing R] [IsProper X.hom] [M.IsQuasicoherent] [M.IsFiniteType] |
| 43 | (hU : IsOpenCover U) (hUaff : ∀ i, IsAffineOpen (U i)) |
| 44 | |
| 45 | include hU hUaff in |
| 46 | theorem base_finite (n : ℕ) : |
| 47 | Module.Finite Γ(Spec (CommRingCat.of R), ⊤) |
| 48 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).homology n) := by |
| 49 | let : X.left.IsSeparated := by |
| 50 | constructor |
| 51 | rw [← terminal.comp_from X.hom] |
| 52 | infer_instance |
| 53 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule X.hom M n |
| 54 | let : Module.Finite Γ(Spec (CommRingCat.of R), ⊤) (SheafCohomology.AffineH.Projective.H M n) := |
| 55 | ProperCoherentCoefficient.ProperCoherentFiniteness.base R X.hom M n |
| 56 | exact Module.Finite.equiv |
| 57 | (SheafCohomology.Projective.BaseCechAllDegrees.baseCechHomologyAffineHLinearEquiv X.hom M U hU hUaff n).symm |
| 58 | |
| 59 | include hU hUaff in |
| 60 | theorem finite (n : ℕ) : Module.Finite R ((complex R X M U).homology n) := by |
| 61 | let : Module.Finite Γ(Spec (CommRingCat.of R), ⊤) |
| 62 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).homology n) := base_finite R X M U hU hUaff n |
| 63 | have hf : (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom.Finite := |
| 64 | RingHom.Finite.of_surjective _ |
| 65 | (Scheme.ΓSpecIso (CommRingCat.of R)).symm.commRingCatIsoToRingEquiv.surjective |
| 66 | let : Module.Finite R ((Base.ModuleCoefficientPresheaf.BaseModuleCoefficientPresheaf.coefficients R).obj |
| 67 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).homology n)) := |
| 68 | NumberTheory.PadicHodge.IntegralComparison.Finite.ScalarRestriction.finite _ hf ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex X.hom M U).homology n) |
| 69 | exact Module.Finite.equiv (homologyIso R X M U n).symm.toLinearEquiv |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperCoherentCech.ProperCoherentCechFiniteness |