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.TruncatedModel.TopCoefficient |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTop |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientHomologyNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.MappedSingleCoordinates |
| 5 | |
| 6 | /-! # Additive Top Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original single top-form complex maps to the native top-form |
| 13 | input through its canonical single-complex isomorphism. The genuine |
| 14 | sheaf top map factors through this same isomorphism. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 19 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 20 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 22 | |
| 23 | abbrev originalLinear := ((Affine.HomologyPresheaf.functor |
| 24 | (Truncated.Witt.Ring p k n) X).mapHomologicalComplex (.up ℕ)).obj |
| 25 | ((single X.left.Modules (.up ℕ) g).obj |
| 26 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g)) |
| 27 | |
| 28 | def linearSingleIso : originalLinear p k n X g ≅ |
| 29 | IntrinsicOrdered.TopSingle.Intrinsic.source (Truncated.Witt.Ring p k n) X g := |
| 30 | ((IntrinsicDeRham.CechComplex.Intrinsic.presheaves (Truncated.Witt.Ring p k n) X).mapHomologicalComplex |
| 31 | (.up ℕ)).mapIso |
| 32 | ((singleMapHomologicalComplex |
| 33 | (AlgebraSheafScalars.functor (Truncated.Witt.Ring p k n) X) (.up ℕ) g).app |
| 34 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g)) ≪≫ |
| 35 | (singleMapHomologicalComplex |
| 36 | (IntrinsicDeRham.CechComplex.Intrinsic.presheaves (Truncated.Witt.Ring p k n) X) (.up ℕ) g).app |
| 37 | (IntrinsicDeRham.TopSingle.Intrinsic.coefficient (Truncated.Witt.Ring p k n) X g) |
| 38 | |
| 39 | omit [Fintype k] [CharP k p] [Smooth X.hom] [X.left.IsSeparated] in |
| 40 | theorem linear_factor : |
| 41 | (linearSingleIso p k n X g).hom ≫ |
| 42 | IntrinsicDeRham.TopSingle.Intrinsic.presheafMap (Truncated.Witt.Ring p k n) X g = |
| 43 | ((IntrinsicDeRham.CechComplex.Intrinsic.presheaves (Truncated.Witt.Ring p k n) X).mapHomologicalComplex |
| 44 | (.up ℕ)).map (AdditiveTop.Comparison.sheafTopMap p k n X g) := by |
| 45 | simp only [linearSingleIso, Iso.trans_hom, Functor.mapIso_hom, |
| 46 | IntrinsicDeRham.TopSingle.Intrinsic.presheafMap, Iso.app_hom, Category.assoc, Iso.hom_inv_id_app_assoc, |
| 47 | AdditiveTop.Comparison.sheafTopMap, Functor.map_comp] |
| 48 | |
| 49 | abbrev changeFunctor := (Functor.whiskeringRight X.left.Opensᵒᵖ |
| 50 | (ModuleCat (Truncated.Witt.Ring p k n)) |
| 51 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)))).obj |
| 52 | (OrdinarySectionMap.Ordinary.coefficients p k n) |
| 53 | |
| 54 | abbrev forgetFunctor := (Functor.whiskeringRight X.left.Opensᵒᵖ |
| 55 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 56 | AddCommGrpCat.{2}).obj (AdditiveTop.Comparison.forget p k) |
| 57 | |
| 58 | def singleIso : |
| 59 | AugmentedCech.CoefficientTotal.mapped AdditiveTop.Comparison.lift |
| 60 | (AdditiveTop.Comparison.originalTop p k n X g) ≅ |
| 61 | OrderedCech.CoefficientTotal.mapped (AdditiveTop.Comparison.forget p k) |
| 62 | (OrderedCech.CoefficientTotal.mapped (OrdinarySectionMap.Ordinary.coefficients p k n) |
| 63 | (IntrinsicOrdered.TopSingle.Intrinsic.source (Truncated.Witt.Ring p k n) X g)) := |
| 64 | ((forgetFunctor p k n X).mapHomologicalComplex (.up ℕ)).mapIso |
| 65 | (((changeFunctor p k n X).mapHomologicalComplex (.up ℕ)).mapIso |
| 66 | (linearSingleIso p k n X g)) |
| 67 | |
| 68 | omit [Fintype k] [CharP k p] [Smooth X.hom] [X.left.IsSeparated] in |
| 69 | theorem topUnit_factor : AdditiveTop.Comparison.topUnit p k n X g = |
| 70 | (singleIso p k n X g).hom ≫ |
| 71 | OrderedCech.CoefficientNaturality.Total.mappedComplexMap |
| 72 | (AdditiveTop.Comparison.forget p k) |
| 73 | (OrderedCech.CoefficientNaturality.Total.mappedComplexMap |
| 74 | (OrdinarySectionMap.Ordinary.coefficients p k n) |
| 75 | (IntrinsicDeRham.TopSingle.Intrinsic.presheafMap (Truncated.Witt.Ring p k n) X g)) := by |
| 76 | have h := congrArg (fun a => |
| 77 | ((forgetFunctor p k n X).mapHomologicalComplex (.up ℕ)).map |
| 78 | (((changeFunctor p k n X).mapHomologicalComplex (.up ℕ)).map a)) |
| 79 | (linear_factor p k n X g) |
| 80 | simp only [Functor.map_comp] at h |
| 81 | exact h.symm |
| 82 | |
| 83 | abbrev cover := AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X |
| 84 | |
| 85 | def totalIso := HomologicalComplex₂.total.mapIso |
| 86 | (((OrderedCech.Functor.Projection.functor (cover p k n X)).mapHomologicalComplex (.up ℕ)).mapIso |
| 87 | (singleIso p k n X g)) (.up ℕ) |
| 88 | |
| 89 | omit [Fintype k] [CharP k p] [X.left.IsSeparated] in |
| 90 | theorem total_factor : |
| 91 | OrderedCech.CoefficientNaturality.Total.totalMap (cover p k n X) |
| 92 | (AdditiveTop.Comparison.topUnit p k n X g) = |
| 93 | (totalIso p k n X g).hom ≫ |
| 94 | OrderedCech.CoefficientNaturality.Total.totalMap (cover p k n X) |
| 95 | (OrderedCech.CoefficientNaturality.Total.mappedComplexMap |
| 96 | (AdditiveTop.Comparison.forget p k) |
| 97 | (OrderedCech.CoefficientNaturality.Total.mappedComplexMap |
| 98 | (OrdinarySectionMap.Ordinary.coefficients p k n) |
| 99 | (IntrinsicDeRham.TopSingle.Intrinsic.presheafMap (Truncated.Witt.Ring p k n) X g))) := by |
| 100 | rw [topUnit_factor] |
| 101 | simp only [OrderedCech.CoefficientNaturality.Total.totalMap, OrderedCech.CoefficientNaturality.Total.bicomplexMap, |
| 102 | Functor.map_comp, HomologicalComplex₂.total.map_comp] |
| 103 | rfl |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopCoordinates |