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.ModelSheafComparison |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.TopSingle |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechConcentration |
| 4 | |
| 5 | /-! # Additive Top -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTop.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native sheaf comparison on top forms, after forgetting |
| 12 | scalars. Its source is the original single coefficient sheaf with the |
| 13 | same two universe lifts as the crystalline coefficient functor. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | abbrev lift : AddCommGrpCat.{0} ⥤ AddCommGrpCat.{2} := |
| 19 | AddCommGrpCat.uliftFunctor.{1,0} ⋙ AddCommGrpCat.uliftFunctor.{2,1} |
| 20 | |
| 21 | instance lift_additive : lift.Additive := by infer_instance |
| 22 | instance lift_preservesLimits : PreservesLimitsOfSize.{0,0} lift := by infer_instance |
| 23 | instance lift_preservesHomology : lift.PreservesHomology := by infer_instance |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 26 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 27 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 28 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 29 | (hp : IsPullback f Y.hom X.hom |
| 30 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 31 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 33 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 34 | |
| 35 | abbrev forget : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ⥤ |
| 36 | AddCommGrpCat.{2} := forget₂ _ _ |
| 37 | |
| 38 | def coefficientIso : |
| 39 | forget₂ (ModuleCat (Truncated.Witt.Ring p k n)) AddCommGrpCat ⋙ lift ≅ |
| 40 | OrdinarySectionMap.Ordinary.coefficients p k n ⋙ forget p k := Iso.refl _ |
| 41 | |
| 42 | abbrev underlying : |
| 43 | Sheaf (Opens.grothendieckTopology X.left) |
| 44 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ⥤ |
| 45 | X.left.Opensᵒᵖ ⥤ AddCommGrpCat.{2} := |
| 46 | sheafToPresheaf (Opens.grothendieckTopology X.left) _ ⋙ |
| 47 | (Functor.whiskeringRight X.left.Opensᵒᵖ _ _).obj (forget p k) |
| 48 | |
| 49 | abbrev target := ((underlying p k n X).mapHomologicalComplex (.up ℕ)).obj |
| 50 | (ModelSheafComparison.target p k n X Y f I) |
| 51 | |
| 52 | abbrev source := ((underlying p k n X).mapHomologicalComplex (.up ℕ)).obj |
| 53 | (ModelSheafComparison.source p k n X) |
| 54 | |
| 55 | def deRhamMap : source p k n X ⟶ target p k n X Y f I := |
| 56 | ((underlying p k n X).mapHomologicalComplex (.up ℕ)).map |
| 57 | (ModelSheafComparison.map p k n X Y f hp I) |
| 58 | |
| 59 | variable (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 60 | |
| 61 | abbrev originalTop := Relative.AdditiveCechConcentration.coefficients |
| 62 | ((single X.left.Modules (.up ℕ) g).obj |
| 63 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g)) |
| 64 | |
| 65 | def sheafTopMap : |
| 66 | ((AlgebraSheafScalars.functor (Truncated.Witt.Ring p k n) X).mapHomologicalComplex |
| 67 | (.up ℕ)).obj ((single X.left.Modules (.up ℕ) g).obj |
| 68 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g)) ⟶ |
| 69 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex (Truncated.Witt.Ring p k n) X := |
| 70 | (singleMapHomologicalComplex |
| 71 | (AlgebraSheafScalars.functor (Truncated.Witt.Ring p k n) X) (.up ℕ) g).hom.app |
| 72 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g) ≫ |
| 73 | IntrinsicDeRham.TopSingle.Intrinsic.sheafMap (Truncated.Witt.Ring p k n) X g |
| 74 | |
| 75 | def topUnit : AugmentedCech.CoefficientTotal.mapped lift (originalTop p k n X g) ⟶ |
| 76 | source p k n X := |
| 77 | ((underlying p k n X).mapHomologicalComplex (.up ℕ)).map |
| 78 | (((ModelSheafComparison.sourceFunctor p k n X).mapHomologicalComplex |
| 79 | (.up ℕ)).map (sheafTopMap p k n X g)) |
| 80 | |
| 81 | def map : AugmentedCech.CoefficientTotal.mapped lift (originalTop p k n X g) ⟶ |
| 82 | target p k n X Y f I := |
| 83 | topUnit p k n X g ≫ deRhamMap p k n X Y f hp I |
| 84 | |
| 85 | theorem factorization : Comparison.map p k n X Y f hp I g = |
| 86 | topUnit p k n X g ≫ deRhamMap p k n X Y f hp I := rfl |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTop.Comparison |