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.CechIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.PresheafConeCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameCech |
| 4 | |
| 5 | /-! # Intrinsic Cone Coordinates -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicConeCoordinates.Small |
| 12 | |
| 13 | /-! Small-cone coordinates in the fixed native coefficient category, |
| 14 | before substituting the actual crystalline resolution. -/ |
| 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 | (K : CochainComplex (X.left.Opensᵒᵖ ⥤ |
| 22 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 23 | (N : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 24 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 25 | (eN : N ≅ ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback |
| 26 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 27 | (M : CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 28 | (eM : M ≅ Presheaf.OrderedCechEdge.sections K) |
| 29 | (η : GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant.obj M ⟶ N) |
| 30 | (hη : η ≫ eN.hom = GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant.map eM.hom ≫ |
| 31 | Small.PresheafConeCoordinates.cone (Truncated.Witt.Ring p k n) X K) |
| 32 | |
| 33 | include hη in |
| 34 | omit [Fintype k] [CharP k p] in |
| 35 | theorem edge : |
| 36 | Small.PresheafConeCoordinates.nativeEdge (Truncated.Witt.Ring p k n) X N M η ≫ |
| 37 | (CechIso.Product.iso p k n X K N eN).hom = |
| 38 | eM.hom ≫ Presheaf.OrdinaryOrderedEdge.Ordinary.ordinary |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X) K := |
| 40 | Small.PresheafConeCoordinates.edge (Truncated.Witt.Ring p k n) X K N eN M eM η hη |
| 41 | |
| 42 | include hη in |
| 43 | omit [Fintype k] [CharP k p] in |
| 44 | theorem homology (q : ℕ) : |
| 45 | (homologyMap eM.inv q ≫ |
| 46 | homologyMap (Small.PresheafConeCoordinates.nativeEdge |
| 47 | (Truncated.Witt.Ring p k n) X N M η) q) ≫ |
| 48 | homologyMap (CechIso.Product.iso p k n X K N eN).hom q = |
| 49 | homologyMap (Presheaf.OrdinaryOrderedEdge.Ordinary.ordinary |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X) K) q := |
| 51 | Small.PresheafConeCoordinates.homology (Truncated.Witt.Ring p k n) X K N eN M eM η hη q |
| 52 | |
| 53 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicConeCoordinates.Small |
| 54 | |
| 55 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicConeCoordinates.Intrinsic |
| 56 | |
| 57 | /-! Small-cone coordinates with the original native total fixed before |
| 58 | substituting the crystalline resolution. -/ |
| 59 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 60 | set_option backward.isDefEq.respectTransparency false |
| 61 | set_option backward.isDefEq.respectTransparency.types false |
| 62 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 63 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 64 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 65 | (K : CochainComplex (X.left.Opensᵒᵖ ⥤ |
| 66 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 67 | (N : CochainComplex (X.left.affineOpensᵒᵖ ⥤ |
| 68 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 69 | |
| 70 | def ordinaryTotal : CochainComplex |
| 71 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 72 | (OrderedCech.TotalProjection.ordinary |
| 73 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X)).obj K |
| 74 | |
| 75 | def total : CochainComplex |
| 76 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ := |
| 77 | ((FrameCech.Complexes.cechFunctor p k n X).obj N).total (.up ℕ) |
| 78 | |
| 79 | variable (eN : N ≅ ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback |
| 80 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 81 | |
| 82 | def productIso : Intrinsic.total p k n X N ≅ ordinaryTotal p k n X K := |
| 83 | CechIso.Product.iso p k n X K N eN |
| 84 | |
| 85 | variable |
| 86 | (M : CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 87 | (eM : M ≅ Presheaf.OrderedCechEdge.sections K) |
| 88 | (η : GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant.obj M ⟶ N) |
| 89 | (hη : η ≫ eN.hom = GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant.map eM.hom ≫ |
| 90 | Small.PresheafConeCoordinates.cone (Truncated.Witt.Ring p k n) X K) |
| 91 | |
| 92 | def edge : M ⟶ Intrinsic.total p k n X N := |
| 93 | Small.PresheafConeCoordinates.nativeEdge (Truncated.Witt.Ring p k n) X N M η |
| 94 | |
| 95 | include hη in |
| 96 | omit [Fintype k] [CharP k p] in |
| 97 | theorem comparison : |
| 98 | edge p k n X N M η ≫ (productIso p k n X K N eN).hom = |
| 99 | eM.hom ≫ Presheaf.OrdinaryOrderedEdge.Ordinary.ordinary |
| 100 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X) K := |
| 101 | Small.edge p k n X K N eN M eM η hη |
| 102 | |
| 103 | attribute [local irreducible] HomologicalComplex.homology |
| 104 | |
| 105 | include hη in |
| 106 | omit [Fintype k] [CharP k p] in |
| 107 | theorem homology (q : ℕ) : |
| 108 | (homologyMap eM.inv q ≫ homologyMap (edge p k n X N M η) q) ≫ |
| 109 | homologyMap (productIso p k n X K N eN).hom q = |
| 110 | homologyMap (Presheaf.OrdinaryOrderedEdge.Ordinary.ordinary |
| 111 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens (Truncated.Witt.Ring p k n) X) K) q := |
| 112 | Small.homology p k n X K N eN M eM η hη q |
| 113 | |
| 114 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicConeCoordinates.Intrinsic |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI |