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.GlobalEdge |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCommonGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementBase |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.SectionRefinement |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementCoordinates |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismPresheafEdge |
| 7 | |
| 8 | /-! # Morphism Global Refinement Steps -/ |
| 9 | |
| 10 | namespace OAI |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementSteps |
| 15 | |
| 16 | /-! The original model global edges refine to the actual common-cover edges as cochain maps. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 24 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 25 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 26 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 27 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 28 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 29 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 30 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 31 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 32 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 33 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 35 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 36 | |
| 37 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 38 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCover.pairs p k n u |
| 39 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₁ |
| 40 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₂ |
| 41 | local notation "F₁" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u) |
| 42 | local notation "F₂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u) |
| 43 | local notation "S₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.specialOpens p k n X₁ Y₁ f₁ |
| 44 | local notation "S₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.specialOpens p k n X₂ Y₂ f₂ |
| 45 | |
| 46 | omit [Fintype k] [IsSeparated Y₁.hom] in |
| 47 | theorem source_old (q : ℕ) : |
| 48 | (GlobalEdge.edge p k n X₁ Y₁ f₁ I₁).f q = |
| 49 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldRawEdge w₁ n I₁ S₁ |
| 50 | (CechSliceResolution.opens p k n X₁)).f q := |
| 51 | (MorphismGlobalRefinementCoordinates.source_old_component p k n f₁ I₁ q).trans |
| 52 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.old_edge_component w₁ n I₁ S₁ |
| 53 | (CechSliceResolution.opens p k n X₁) q) |
| 54 | |
| 55 | omit [IsSeparated Y₁.hom] in |
| 56 | omit [Fintype k] in |
| 57 | theorem source_middle (q : ℕ) : |
| 58 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldRawEdge w₁ n I₁ S₁ |
| 59 | (CechSliceResolution.opens p k n X₁)).f q ≫ |
| 60 | (MorphismGlobalRefinementBase.Maps.sourceMap p k n u f₁ I₁).f q = |
| 61 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₁).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁)) |
| 62 | (MorphismGlobalCone.sourceGlobal p k n I₁) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₁ (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 63 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₁ n I₁ S₁))).f q := |
| 64 | MorphismPresheafEdge.source_native_component p k n u |
| 65 | (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 66 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₁ n I₁ S₁) q |
| 67 | |
| 68 | omit [Fintype k] [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] [X₁.left.IsSeparated] [X₂.left.IsSeparated] [IsSeparated Y₁.hom] in |
| 69 | theorem source_new_cone (q : ℕ) (Z : (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ) : |
| 70 | ((GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₁ (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 71 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₁ n I₁ S₁)).f q).app Z = |
| 72 | ((MorphismGlobalCone.sourceCone p k n u f₁ I₁).f q).app Z := by |
| 73 | apply ModuleCat.hom_ext |
| 74 | apply LinearMap.ext |
| 75 | intro x |
| 76 | rfl |
| 77 | |
| 78 | omit [Fintype k] [IsSeparated Y₁.hom] in |
| 79 | theorem source_new (q : ℕ) : |
| 80 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₁).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁)) |
| 81 | (MorphismGlobalCone.sourceGlobal p k n I₁) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₁ (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 82 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₁ n I₁ S₁))).f q = |
| 83 | (MorphismCommonGlobal.sourceEdge p k n u f₁ I₁).f q := |
| 84 | GeometricComparison.CechPresheaf.ConeComponentCongr.CechPresheafConeComponentCongr.component U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₁).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁)) |
| 85 | (MorphismGlobalCone.sourceGlobal p k n I₁) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₁ (MorphismGlobalRefinementBase.Maps.sourceSections p k n f₁ I₁) (MorphismGlobalCone.sourceGlobal p k n I₁) |
| 86 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₁ n I₁ S₁)) |
| 87 | (MorphismGlobalCone.sourceCone p k n u f₁ I₁) q |
| 88 | (source_new_cone p k n u f₁ I₁ q) |
| 89 | |
| 90 | omit [Fintype k] [IsSeparated Y₂.hom] in |
| 91 | theorem target_old (q : ℕ) : |
| 92 | (GlobalEdge.edge p k n X₂ Y₂ f₂ I₂).f q = |
| 93 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldRawEdge w₂ n I₂ S₂ |
| 94 | (CechSliceResolution.opens p k n X₂)).f q := |
| 95 | (MorphismGlobalRefinementCoordinates.target_old_component p k n f₂ I₂ q).trans |
| 96 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.old_edge_component w₂ n I₂ S₂ |
| 97 | (CechSliceResolution.opens p k n X₂) q) |
| 98 | |
| 99 | omit [IsSeparated Y₂.hom] in |
| 100 | omit [Fintype k] in |
| 101 | theorem target_middle (q : ℕ) : |
| 102 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldRawEdge w₂ n I₂ S₂ |
| 103 | (CechSliceResolution.opens p k n X₂)).f q ≫ |
| 104 | (MorphismGlobalRefinementBase.Maps.targetMap p k n u f₂ I₂).f q = |
| 105 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₂).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂)) |
| 106 | (MorphismGlobalCone.targetGlobal p k n I₂) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₂ (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂) (MorphismGlobalCone.targetGlobal p k n I₂) |
| 107 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₂ n I₂ S₂))).f q := |
| 108 | MorphismPresheafEdge.target_native_component p k n u |
| 109 | (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂) (MorphismGlobalCone.targetGlobal p k n I₂) |
| 110 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₂ n I₂ S₂) q |
| 111 | |
| 112 | omit [Fintype k] [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] [X₁.left.IsSeparated] [X₂.left.IsSeparated] [IsSeparated Y₂.hom] in |
| 113 | theorem target_new_cone (q : ℕ) (Z : (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ) : |
| 114 | ((GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₂ (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂) (MorphismGlobalCone.targetGlobal p k n I₂) |
| 115 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₂ n I₂ S₂)).f q).app Z = |
| 116 | ((MorphismGlobalCone.targetCone p k n u f₂ I₂).f q).app Z := by |
| 117 | apply ModuleCat.hom_ext |
| 118 | apply LinearMap.ext |
| 119 | intro x |
| 120 | rfl |
| 121 | |
| 122 | omit [Fintype k] [IsSeparated Y₂.hom] in |
| 123 | theorem target_new (q : ℕ) : |
| 124 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₂).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂)) |
| 125 | (MorphismGlobalCone.targetGlobal p k n I₂) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₂ (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂) (MorphismGlobalCone.targetGlobal p k n I₂) |
| 126 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₂ n I₂ S₂))).f q = |
| 127 | (MorphismCommonGlobal.targetEdge p k n u f₂ I₂).f q := |
| 128 | GeometricComparison.CechPresheaf.ConeComponentCongr.CechPresheafConeComponentCongr.component U (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) F₂).mapHomologicalComplex (.up ℕ)).obj (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂)) |
| 129 | (MorphismGlobalCone.targetGlobal p k n I₂) (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F₂ (MorphismGlobalRefinementBase.Maps.targetSections p k n f₂ I₂) (MorphismGlobalCone.targetGlobal p k n I₂) |
| 130 | (GeometricComparison.Bounded.SectionConeRefinement.BoundedSectionConeRefinement.oldCone w₂ n I₂ S₂)) |
| 131 | (MorphismGlobalCone.targetCone p k n u f₂ I₂) q |
| 132 | (target_new_cone p k n u f₂ I₂ q) |
| 133 | |
| 134 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementSteps |
| 135 | |
| 136 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementSteps.Whole |
| 137 | |
| 138 | /-! Original global-edge refinement assembled before taking any total-complex component. -/ |
| 139 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 140 | set_option backward.isDefEq.respectTransparency false |
| 141 | set_option backward.isDefEq.respectTransparency.types false |
| 142 | |
| 143 | private theorem eq_of_components {C : Type*} [Category C] [HasZeroMorphisms C] |
| 144 | {K L : CochainComplex C ℕ} {a b : K ⟶ L} |
| 145 | (h : ∀ q, a.f q = b.f q) : a = b := by |
| 146 | apply HomologicalComplex.Hom.ext |
| 147 | funext q |
| 148 | exact h q |
| 149 | |
| 150 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 151 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 152 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 153 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 154 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 155 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 156 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 157 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 158 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 159 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 160 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 161 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 162 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 163 | |
| 164 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 165 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCover.pairs p k n u |
| 166 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₁ |
| 167 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₂ |
| 168 | local notation "F₁" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u) |
| 169 | local notation "F₂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u) |
| 170 | local notation "S₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.specialOpens p k n X₁ Y₁ f₁ |
| 171 | local notation "S₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.specialOpens p k n X₂ Y₂ f₂ |
| 172 | |
| 173 | abbrev source_old := eq_of_components |
| 174 | (MorphismGlobalRefinementSteps.source_old p k n f₁ I₁) |
| 175 | |
| 176 | abbrev source_new := eq_of_components |
| 177 | (MorphismGlobalRefinementSteps.source_new p k n u f₁ I₁) |
| 178 | |
| 179 | abbrev target_old := eq_of_components |
| 180 | (MorphismGlobalRefinementSteps.target_old p k n f₂ I₂) |
| 181 | |
| 182 | abbrev target_new := eq_of_components |
| 183 | (MorphismGlobalRefinementSteps.target_new p k n u f₂ I₂) |
| 184 | |
| 185 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGlobalRefinementSteps.Whole |
| 186 | |
| 187 | end |
| 188 | |
| 189 | end OAI |