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.GeometricComparison.IntrinsicPadic.RefinementConeCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.TypedReferenceEdgeCoordinates |
| 3 | |
| 4 | /-! # Cone Section Data -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ConeSectionData.IntrinsicPadicGeometricTypedReferenceEdgeComponents |
| 11 | |
| 12 | /-! The original inverse global edge agrees in degree one with |
| 13 | the literal native cone edge used for refinement. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 18 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 19 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 20 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 21 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 25 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 27 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 28 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 30 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 31 | |
| 32 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 33 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 34 | |
| 35 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 36 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 37 | |
| 38 | /- Each intermediate component has the original native Hom type. The |
| 39 | coordinate changes are checked separately before composing their proofs. -/ |
| 40 | def sourceCanonicalComponent : |
| 41 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.global p Y₁ n I₁).X 1 ⟶ |
| 42 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.source p X₁ Y₁ f₁ n I₁).X 1 := |
| 43 | (GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.edge p X₁ Y₁ f₁ n I₁).f 1 |
| 44 | |
| 45 | def sourceRefinementComponent : |
| 46 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.global p Y₁ n I₁).X 1 ⟶ |
| 47 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.source p X₁ Y₁ f₁ n I₁).X 1 := |
| 48 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.sourceOldEdge p f₁ n I₁).f 1 |
| 49 | |
| 50 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 51 | theorem source_original_coordinates : (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.edge p X₁ Y₁ f₁ n I₁).f 1 = |
| 52 | sourceCanonicalComponent p f₁ n I₁ := |
| 53 | TypedReferenceEdgeCoordinates.IntrinsicPadicTypedReferenceEdgeCoordinates.edge_component p X₁ Y₁ f₁ n I₁ 1 |
| 54 | |
| 55 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 56 | theorem source_refinement_coordinates : sourceCanonicalComponent p f₁ n I₁ = |
| 57 | sourceRefinementComponent p f₁ n I₁ := |
| 58 | RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.source_old_component p f₁ n I₁ 1 |
| 59 | |
| 60 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 61 | theorem source_edge_component : (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.edge p X₁ Y₁ f₁ n I₁).f 1 = |
| 62 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.sourceOldEdge p f₁ n I₁).f 1 := |
| 63 | (source_original_coordinates p f₁ n I₁).trans (source_refinement_coordinates p f₁ n I₁) |
| 64 | |
| 65 | def targetCanonicalComponent : |
| 66 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.global p Y₂ n I₂).X 1 ⟶ |
| 67 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.source p X₂ Y₂ f₂ n I₂).X 1 := |
| 68 | (GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.edge p X₂ Y₂ f₂ n I₂).f 1 |
| 69 | |
| 70 | def targetRefinementComponent : |
| 71 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.global p Y₂ n I₂).X 1 ⟶ |
| 72 | (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.source p X₂ Y₂ f₂ n I₂).X 1 := |
| 73 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.targetOldEdge p f₂ n I₂).f 1 |
| 74 | |
| 75 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 76 | theorem target_original_coordinates : (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.edge p X₂ Y₂ f₂ n I₂).f 1 = |
| 77 | targetCanonicalComponent p f₂ n I₂ := |
| 78 | TypedReferenceEdgeCoordinates.IntrinsicPadicTypedReferenceEdgeCoordinates.edge_component p X₂ Y₂ f₂ n I₂ 1 |
| 79 | |
| 80 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 81 | theorem target_refinement_coordinates : targetCanonicalComponent p f₂ n I₂ = |
| 82 | targetRefinementComponent p f₂ n I₂ := |
| 83 | RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.target_old_component p f₂ n I₂ 1 |
| 84 | |
| 85 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 86 | theorem target_edge_component : (TypedReferenceEdgeData.IntrinsicPadicTypedReferenceEdgeData.edge p X₂ Y₂ f₂ n I₂).f 1 = |
| 87 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.targetOldEdge p f₂ n I₂).f 1 := |
| 88 | (target_original_coordinates p f₂ n I₂).trans (target_refinement_coordinates p f₂ n I₂) |
| 89 | |
| 90 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ConeSectionData.IntrinsicPadicGeometricTypedReferenceEdgeComponents |
| 91 | |
| 92 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ConeSectionData.IntrinsicPadicGeometricConeSectionData |
| 93 | |
| 94 | /-! Fix the original global complex and old and new section-cone |
| 95 | map types before forming any Cech total or homology object. -/ |
| 96 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 97 | |
| 98 | variable (p : ℕ) [Fact p.Prime] |
| 99 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 100 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 101 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 102 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 103 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 104 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 105 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 106 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 107 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 108 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 109 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 110 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 111 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 112 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 113 | |
| 114 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 115 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 116 | |
| 117 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 118 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 119 | |
| 120 | def sourceOldSections : CochainComplex (X₁.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 121 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.sections p X₁ Y₁ f₁ n I₁ |
| 122 | |
| 123 | def sourceNewSections : CochainComplex ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 124 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (Affine.MapPairs.AffineMapPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj |
| 125 | (sourceOldSections p f₁ n I₁) |
| 126 | |
| 127 | def sourceGlobal : CochainComplex (ModuleCat.{2} R) ℕ := |
| 128 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.global p Y₁ n I₁ |
| 129 | |
| 130 | def sourceOldCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := X₁.left.affineOpens)).obj |
| 131 | (sourceGlobal p n I₁) ⟶ sourceOldSections p f₁ n I₁ := |
| 132 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.cone p X₁ Y₁ f₁ n I₁ |
| 133 | |
| 134 | def sourceNewCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Affine.MapPairs.AffineMapPairs.Charts u.left)).obj |
| 135 | (sourceGlobal p n I₁) ⟶ sourceNewSections p u f₁ n I₁ := |
| 136 | GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceCone p u f₁ n I₁ |
| 137 | |
| 138 | def sourcePulledCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Affine.MapPairs.AffineMapPairs.Charts u.left)).obj |
| 139 | (sourceGlobal p n I₁) ⟶ sourceNewSections p u f₁ n I₁ := |
| 140 | CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (Affine.MapPairs.AffineMapPairs.source u.left) |
| 141 | (sourceOldSections p f₁ n I₁) (sourceGlobal p n I₁) (sourceOldCone p f₁ n I₁) |
| 142 | |
| 143 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 144 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 145 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] in |
| 146 | theorem source_component (W : (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ) : |
| 147 | ((sourcePulledCone p u f₁ n I₁).f 1).app W = ((sourceNewCone p u f₁ n I₁).f 1).app W := by |
| 148 | apply ModuleCat.hom_ext |
| 149 | apply LinearMap.ext |
| 150 | intro x |
| 151 | exact ConcreteCategory.congr_hom |
| 152 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.source_cone_component p u f₁ n I₁ 1 W) x |
| 153 | |
| 154 | def targetOldSections : CochainComplex (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 155 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.sections p X₂ Y₂ f₂ n I₂ |
| 156 | |
| 157 | def targetNewSections : CochainComplex ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 158 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (Affine.MapPairs.AffineMapPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj |
| 159 | (targetOldSections p f₂ n I₂) |
| 160 | |
| 161 | def targetGlobal : CochainComplex (ModuleCat.{2} R) ℕ := |
| 162 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.global p Y₂ n I₂ |
| 163 | |
| 164 | def targetOldCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := X₂.left.affineOpens)).obj |
| 165 | (targetGlobal p n I₂) ⟶ targetOldSections p f₂ n I₂ := |
| 166 | GlobalConeCoordinates.IntrinsicPadicGlobalConeCoordinates.cone p X₂ Y₂ f₂ n I₂ |
| 167 | |
| 168 | def targetNewCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Affine.MapPairs.AffineMapPairs.Charts u.left)).obj |
| 169 | (targetGlobal p n I₂) ⟶ targetNewSections p u f₂ n I₂ := |
| 170 | GlobalCone.IntrinsicPadicGeometricGlobalCone.targetCone p u f₂ n I₂ |
| 171 | |
| 172 | def targetPulledCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Affine.MapPairs.AffineMapPairs.Charts u.left)).obj |
| 173 | (targetGlobal p n I₂) ⟶ targetNewSections p u f₂ n I₂ := |
| 174 | CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (Affine.MapPairs.AffineMapPairs.target u.left) |
| 175 | (targetOldSections p f₂ n I₂) (targetGlobal p n I₂) (targetOldCone p f₂ n I₂) |
| 176 | |
| 177 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 178 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 179 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] in |
| 180 | theorem target_component (W : (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ) : |
| 181 | ((targetPulledCone p u f₂ n I₂).f 1).app W = ((targetNewCone p u f₂ n I₂).f 1).app W := by |
| 182 | apply ModuleCat.hom_ext |
| 183 | apply LinearMap.ext |
| 184 | intro x |
| 185 | exact ConcreteCategory.congr_hom |
| 186 | (RefinementConeCoordinates.IntrinsicPadicGeometricRefinementConeCoordinates.target_cone_component p u f₂ n I₂ 1 W) x |
| 187 | |
| 188 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ConeSectionData.IntrinsicPadicGeometricConeSectionData |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI |