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.Cech.CoverReindex |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperCechRegularity |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.FlatBase.BaseCechHypercohomology |
| 5 | |
| 6 | /-! # Small De Rham Cech -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The small coordinate cover computes the original proper de Rham cohomology, preserving finiteness and termwise regularity. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | (X : Over (Spec (CommRingCat.of R))) [IsProper X.hom] [Smooth X.hom] |
| 19 | |
| 20 | def opens (i : SmallEtaleCover.BaseSmallEtaleCover.Index R X) : X.left.Opens := |
| 21 | (SmallEtaleCover.BaseSmallEtaleCover.opens R X i).val |
| 22 | |
| 23 | local instance small_additive : |
| 24 | (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (A := ModuleCat.{u} R) (opens R X)).Additive := by |
| 25 | change (FormalCoproduct.cochainComplexFunctor (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (opens R X))).Additive |
| 26 | infer_instance |
| 27 | |
| 28 | local instance original_additive : |
| 29 | (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (A := ModuleCat.{u} R) |
| 30 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X)).Additive := by |
| 31 | change (FormalCoproduct.cochainComplexFunctor |
| 32 | (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X))).Additive |
| 33 | infer_instance |
| 34 | |
| 35 | local instance reindexed_additive : |
| 36 | (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (A := ModuleCat.{u} R) |
| 37 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X ∘ |
| 38 | (Fintype.equivFin (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X)).symm)).Additive := by |
| 39 | change (FormalCoproduct.cochainComplexFunctor |
| 40 | (NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X ∘ |
| 41 | (Fintype.equivFin (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X)).symm))).Additive |
| 42 | infer_instance |
| 43 | |
| 44 | def bicomplex : HomologicalComplex₂ (ModuleCat.{u} R) (.up ℕ) (.up ℕ) := |
| 45 | ((NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (opens R X)).mapHomologicalComplex (.up ℕ)).obj |
| 46 | (ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.presheafComplex R X) |
| 47 | |
| 48 | def total : CochainComplex (ModuleCat.{u} R) ℕ := (bicomplex R X).total (.up ℕ) |
| 49 | |
| 50 | def originalBicomplexIso : ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.bicomplex R X ≅ bicomplex R X := |
| 51 | (NatIso.mapHomologicalComplex (Cech.CoverReindex.CechCoverReindex.functorIso (A := ModuleCat.{u} R) |
| 52 | (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X) |
| 53 | (Fintype.equivFin (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X)).symm) (.up ℕ)).app |
| 54 | (ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.presheafComplex R X) |
| 55 | |
| 56 | def originalIso : ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.total R X ≅ BaseSmallDeRhamCech.total R X := |
| 57 | HomologicalComplex₂.total.mapIso (originalBicomplexIso R X) (.up ℕ) |
| 58 | |
| 59 | theorem finite [IsNoetherianRing R] (n : ℕ) : Module.Finite R ((BaseSmallDeRhamCech.total R X).homology n) := by |
| 60 | let := ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.finite R X n |
| 61 | exact Module.Finite.equiv (HomologicalComplex.homologyMapIso (originalIso R X) n).toLinearEquiv |
| 62 | |
| 63 | def originalEquiv [Module.Flat ℤ R] (n : ℕ) : |
| 64 | (BaseSmallDeRhamCech.total R X).homology n ≃ₗ[R] DeRhamGlobalId.DeRhamGlobal.cohomology R X n := |
| 65 | (HomologicalComplex.homologyMapIso (originalIso R X).symm n).toLinearEquiv.trans |
| 66 | (FlatBase.BaseCechHypercohomology.FlatBaseCechHypercohomology.properEquiv R X n) |
| 67 | |
| 68 | theorem regular (n : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 69 | IsSMulRegular ((BaseSmallDeRhamCech.total R X).X n) r := by |
| 70 | let e := ((HomologicalComplex.eval _ _ n).mapIso (originalIso R X).symm).toLinearEquiv |
| 71 | intro x y hxy |
| 72 | apply e.injective |
| 73 | apply SmoothProperCechRegularity.BaseSmoothProperCechRegularity.total R X n r hr |
| 74 | exact (e.map_smul r x).symm.trans ((congrArg e hxy).trans (e.map_smul r y)) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech |