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.ConeObjectCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonHomologyMaps |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.HomologyHeterogeneous |
| 4 | |
| 5 | /-! # Reference Cone One -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceConeOne.IntrinsicPadicGeometricTypedCommonHomologyCoordinates |
| 12 | |
| 13 | /-! Transport the native common edge by proved object equalities |
| 14 | directly on degree-one cohomology. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GeometricCone.IntrinsicPadicGeometricConeTotalMaps |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 21 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 22 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 23 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 24 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 25 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 26 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 27 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (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 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 33 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 34 | |
| 35 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 36 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 37 | |
| 38 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 39 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 40 | |
| 41 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 42 | theorem source_homology_heq : HEq (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_edge p u f₁ n I₁) |
| 43 | (CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.source_common p u f₁ n I₁) := |
| 44 | CechCone.HomologyHeterogeneous.CechConeHomologyHeterogeneous.homology U |
| 45 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceNewSections p u f₁ n I₁) |
| 46 | (CommonGlobal.IntrinsicPadicGeometricCommonGlobal.sourceSections p u f₁ n I₁) |
| 47 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceGlobal p n I₁) |
| 48 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceGlobal p n I₁) |
| 49 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceNewCone p u f₁ n I₁) |
| 50 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceCone p u f₁ n I₁) |
| 51 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.source_sections p u f₁ n I₁) |
| 52 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.source_global p n I₁) |
| 53 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.source_cone p u f₁ n I₁) 1 |
| 54 | |
| 55 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 56 | theorem source_homology : CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_edge p u f₁ n I₁ = |
| 57 | CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.source_common p u f₁ n I₁ := |
| 58 | eq_of_heq (source_homology_heq p u f₁ n I₁) |
| 59 | |
| 60 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 61 | theorem target_homology_heq : HEq (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_edge p u f₂ n I₂) |
| 62 | (CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.target_common p u f₂ n I₂) := |
| 63 | CechCone.HomologyHeterogeneous.CechConeHomologyHeterogeneous.homology U |
| 64 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetNewSections p u f₂ n I₂) |
| 65 | (CommonGlobal.IntrinsicPadicGeometricCommonGlobal.targetSections p u f₂ n I₂) |
| 66 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetGlobal p n I₂) |
| 67 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.targetGlobal p n I₂) |
| 68 | (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetNewCone p u f₂ n I₂) |
| 69 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.targetCone p u f₂ n I₂) |
| 70 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.target_sections p u f₂ n I₂) |
| 71 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.target_global p n I₂) |
| 72 | (ConeObjectCoordinates.IntrinsicPadicGeometricConeObjectCoordinates.target_cone p u f₂ n I₂) 1 |
| 73 | |
| 74 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 75 | theorem target_homology : CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_edge p u f₂ n I₂ = |
| 76 | CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.target_common p u f₂ n I₂ := |
| 77 | eq_of_heq (target_homology_heq p u f₂ n I₂) |
| 78 | |
| 79 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceConeOne.IntrinsicPadicGeometricTypedCommonHomologyCoordinates |
| 80 | |
| 81 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceConeOne.IntrinsicPadicGeometricReferenceConeHOne |
| 82 | |
| 83 | /-! The original inverse-comparison edge is preserved by the exact |
| 84 | refinement used in the checked native integral comparison square. -/ |
| 85 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 86 | |
| 87 | variable (p : ℕ) [Fact p.Prime] |
| 88 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 89 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 90 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 91 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 92 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 93 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 94 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 95 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 96 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 97 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 98 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 99 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 100 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 101 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 102 | |
| 103 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 104 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 105 | |
| 106 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 107 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 108 | |
| 109 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 110 | theorem source_cone : CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_original p f₁ n I₁ ≫ |
| 111 | CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_refinement p u f₁ n I₁ = |
| 112 | CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.source_common p u f₁ n I₁ := |
| 113 | (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_square p u f₁ n I₁).trans |
| 114 | (IntrinsicPadicGeometricTypedCommonHomologyCoordinates.source_homology p u f₁ n I₁) |
| 115 | |
| 116 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 117 | theorem target_cone : CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_original p f₂ n I₂ ≫ |
| 118 | CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_refinement p u f₂ n I₂ = |
| 119 | CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps.target_common p u f₂ n I₂ := |
| 120 | (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_square p u f₂ n I₂).trans |
| 121 | (IntrinsicPadicGeometricTypedCommonHomologyCoordinates.target_homology p u f₂ n I₂) |
| 122 | |
| 123 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceConeOne.IntrinsicPadicGeometricReferenceConeHOne |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI |