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.GeometricCone |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.HomologicalComponent |
| 3 | |
| 4 | /-! # Common Homology Maps -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps |
| 11 | |
| 12 | /-! Cohomology maps with the original typed complexes fixed before |
| 13 | composing the native refinement square. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GeometricCone.IntrinsicPadicGeometricConeTotalMaps |
| 39 | |
| 40 | def source_original : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceGlobal p n I₁).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOld p f₁ n I₁).homology 1 := |
| 41 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOriginalEdge p f₁ n I₁) 1 |
| 42 | |
| 43 | def source_refinement : (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOld p f₁ n I₁).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceNew p u f₁ n I₁).homology 1 := |
| 44 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceRefinement p u f₁ n I₁) 1 |
| 45 | |
| 46 | def source_edge : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceGlobal p n I₁).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceNew p u f₁ n I₁).homology 1 := |
| 47 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceNewEdge p u f₁ n I₁) 1 |
| 48 | |
| 49 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 50 | theorem source_square : source_original p f₁ n I₁ ≫ source_refinement p u f₁ n I₁ = |
| 51 | source_edge p u f₁ n I₁ := |
| 52 | HomologicalComponent.HomologicalComponentHeterogeneous.composite |
| 53 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOriginalEdge p f₁ n I₁) (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceRefinement p u f₁ n I₁) |
| 54 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceNewEdge p u f₁ n I₁) 1 |
| 55 | (GeometricCone.IntrinsicPadicGeometricConeTypedSquare.source_square p u f₁ n I₁) |
| 56 | |
| 57 | def target_original : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetGlobal p n I₂).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOld p f₂ n I₂).homology 1 := |
| 58 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOriginalEdge p f₂ n I₂) 1 |
| 59 | |
| 60 | def target_refinement : (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOld p f₂ n I₂).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetNew p u f₂ n I₂).homology 1 := |
| 61 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetRefinement p u f₂ n I₂) 1 |
| 62 | |
| 63 | def target_edge : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetGlobal p n I₂).homology 1 ⟶ (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetNew p u f₂ n I₂).homology 1 := |
| 64 | HomologicalComplex.homologyMap (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetNewEdge p u f₂ n I₂) 1 |
| 65 | |
| 66 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 67 | theorem target_square : target_original p f₂ n I₂ ≫ target_refinement p u f₂ n I₂ = |
| 68 | target_edge p u f₂ n I₂ := |
| 69 | HomologicalComponent.HomologicalComponentHeterogeneous.composite |
| 70 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOriginalEdge p f₂ n I₂) (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetRefinement p u f₂ n I₂) |
| 71 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetNewEdge p u f₂ n I₂) 1 |
| 72 | (GeometricCone.IntrinsicPadicGeometricConeTypedSquare.target_square p u f₂ n I₂) |
| 73 | |
| 74 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps |
| 75 | |
| 76 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps |
| 77 | |
| 78 | /-! Cohomology maps with the original typed complexes fixed before |
| 79 | composing the native refinement square. -/ |
| 80 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 81 | |
| 82 | variable (p : ℕ) [Fact p.Prime] |
| 83 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 84 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 85 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 86 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 87 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 88 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 89 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 90 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 91 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 92 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 93 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 94 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 95 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 96 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 97 | |
| 98 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 99 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 100 | |
| 101 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 102 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 103 | |
| 104 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GeometricCone.IntrinsicPadicGeometricConeTotalMaps |
| 105 | |
| 106 | def source_common : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.sourceGlobal p n I₁).homology 1 ⟶ |
| 107 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceNew p u f₁ n I₁).homology 1 := |
| 108 | HomologicalComplex.homologyMap (CommonGlobal.IntrinsicPadicGeometricCommonGlobal.sourceEdge p u f₁ n I₁) 1 |
| 109 | |
| 110 | def target_common : (ConeSectionData.IntrinsicPadicGeometricConeSectionData.targetGlobal p n I₂).homology 1 ⟶ |
| 111 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetNew p u f₂ n I₂).homology 1 := |
| 112 | HomologicalComplex.homologyMap (CommonGlobal.IntrinsicPadicGeometricCommonGlobal.targetEdge p u f₂ n I₂) 1 |
| 113 | |
| 114 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonHomologyMaps.IntrinsicPadicGeometricCommonHomologyMaps |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI |