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.MorphismRefinedResolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismDiagonalCech |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCechRefinedReindex |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.IsoMiddleCancellation |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCechReferenceRefinement |
| 6 | |
| 7 | /-! # Morphism Diagonal Refinement -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismDiagonalRefinement |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The canonical paired diagonal-to-Cech comparisons are exactly the |
| 14 | original chosen-cover comparisons followed by their actual refinements. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 22 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 23 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 24 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 25 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 26 | (u : X₁ ⟶ X₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 27 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 29 | |
| 30 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 31 | local notation "Pairs" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts (Over.Hom.left u) |
| 32 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCover.pairs p k n u |
| 33 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X₂ Y₂ f₂ hp₂ |
| 34 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X₁ Y₁ f₁ hp₁ |
| 35 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap.targetSections p k n u f₂ |
| 36 | local notation "S'" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap.sourceSections p k n u f₁ |
| 37 | |
| 38 | local instance sourceCoproducts : HasCoproducts.{0} |
| 39 | (BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 40 | (J := Ideal.span {(p : WittVector p k)}) |
| 41 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 42 | (Witt.Crystalline.wittStructureMap p k Y₁) n) := |
| 43 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts R |
| 44 | (BoundedCrystalline.Site.topology (Witt.Crystalline.wittStructureMap p k Y₁) n) |
| 45 | |
| 46 | local instance targetCoproducts : HasCoproducts.{0} |
| 47 | (BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 48 | (J := Ideal.span {(p : WittVector p k)}) |
| 49 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 50 | (Witt.Crystalline.wittStructureMap p k Y₂) n) := |
| 51 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts R |
| 52 | (BoundedCrystalline.Site.topology (Witt.Crystalline.wittStructureMap p k Y₂) n) |
| 53 | |
| 54 | def sourcePullback : (X₁.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (Pairsᵒᵖ ⥤ ModuleCat.{2} R) := |
| 55 | (Functor.whiskeringLeft _ _ _).obj (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op |
| 56 | def targetPullback : (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (Pairsᵒᵖ ⥤ ModuleCat.{2} R) := |
| 57 | (Functor.whiskeringLeft _ _ _).obj (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left).op |
| 58 | |
| 59 | instance sourcePullback_additive : (sourcePullback p k n u).Additive := by |
| 60 | dsimp only [sourcePullback] |
| 61 | infer_instance |
| 62 | instance targetPullback_additive : (targetPullback p k n u).Additive := by |
| 63 | dsimp only [targetPullback] |
| 64 | infer_instance |
| 65 | |
| 66 | def sourceMap : GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source Pairs S' ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ Q) ⟶ |
| 67 | ((S').mapHomologicalComplex (.up ℕ)).obj (CechSheafResolution.complex p k n X₁ Y₁ f₁ hp₁) := |
| 68 | ((sourcePullback p k n u).mapHomologicalComplex (.up ℕ)).map |
| 69 | (DiagonalCech.Comparison.totalMap p k n X₁ Y₁ f₁ hp₁) |
| 70 | |
| 71 | def targetMap : GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source Pairs S ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left).op ⋙ P) ⟶ |
| 72 | ((S).mapHomologicalComplex (.up ℕ)).obj (CechSheafResolution.complex p k n X₂ Y₂ f₂ hp₂) := |
| 73 | ((targetPullback p k n u).mapHomologicalComplex (.up ℕ)).map |
| 74 | (DiagonalCech.Comparison.totalMap p k n X₂ Y₂ f₂ hp₂) |
| 75 | |
| 76 | omit [IsSeparated Y₂.hom] in |
| 77 | theorem source_component (q : ℕ) (I : Pairsᵒᵖ) : |
| 78 | ((sourceMap p k n u f₁ hp₁).f q).app I ≫ |
| 79 | ((((S').mapHomologicalComplex (.up ℕ)).map |
| 80 | (MorphismRefinedResolution.sourceMap p k n u f₁ hp₁)).f q).app I = |
| 81 | ((MorphismDiagonalCech.sourceComparison p k n u f₁ hp₁ U).f q).app I := |
| 82 | GeometricComparison.Section.DiagonalCechReferenceRefinement.SectionDiagonalCechReferenceRefinement.component.{2, 1} Pairs X₁.left.affineOpens R |
| 83 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left) (SectionBifunctor.sections p k n X₁ Y₁ f₁) Q |
| 84 | (SectionRowRestriction.meet_isIso p k n X₁ Y₁ f₁ hp₁) |
| 85 | (MorphismRowRestriction.source_meet_isIso p k n u f₁ hp₁) |
| 86 | U (CechSliceResolution.opens p k n X₁) (MorphismRefinement.source p k n u) |
| 87 | (DiagonalCech.Comparison.totalIso p k n X₁ Y₁ f₁ hp₁) q I |
| 88 | |
| 89 | omit [IsSeparated Y₂.hom] in |
| 90 | theorem source_comparison : sourceMap p k n u f₁ hp₁ ≫ |
| 91 | ((S').mapHomologicalComplex (.up ℕ)).map (MorphismRefinedResolution.sourceMap p k n u f₁ hp₁) = |
| 92 | MorphismDiagonalCech.sourceComparison p k n u f₁ hp₁ U := by |
| 93 | apply HomologicalComplex.Hom.ext |
| 94 | funext q |
| 95 | apply NatTrans.ext |
| 96 | funext I |
| 97 | exact source_component p k n u f₁ hp₁ q I |
| 98 | |
| 99 | omit [IsSeparated Y₁.hom] in |
| 100 | theorem target_component (q : ℕ) (I : Pairsᵒᵖ) : |
| 101 | ((targetMap p k n u f₂ hp₂).f q).app I ≫ |
| 102 | ((((S).mapHomologicalComplex (.up ℕ)).map |
| 103 | (MorphismRefinedResolution.targetRefinement p k n u f₂ hp₂)).f q).app I = |
| 104 | ((MorphismDiagonalCech.targetComparison p k n u f₂ hp₂ U).f q).app I := |
| 105 | GeometricComparison.Section.DiagonalCechReferenceRefinement.SectionDiagonalCechReferenceRefinement.component.{2, 1} Pairs X₂.left.affineOpens R |
| 106 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left) (SectionBifunctor.sections p k n X₂ Y₂ f₂) P |
| 107 | (SectionRowRestriction.meet_isIso p k n X₂ Y₂ f₂ hp₂) |
| 108 | (MorphismRowRestriction.target_meet_isIso p k n u f₂ hp₂) |
| 109 | U (CechSliceResolution.opens p k n X₂) (MorphismRefinement.target p k n u) |
| 110 | (DiagonalCech.Comparison.totalIso p k n X₂ Y₂ f₂ hp₂) q I |
| 111 | |
| 112 | omit [IsSeparated Y₁.hom] in |
| 113 | theorem target_comparison : targetMap p k n u f₂ hp₂ ≫ |
| 114 | ((S).mapHomologicalComplex (.up ℕ)).map (MorphismRefinedResolution.targetRefinement p k n u f₂ hp₂) = |
| 115 | MorphismDiagonalCech.targetComparison p k n u f₂ hp₂ U := by |
| 116 | apply HomologicalComplex.Hom.ext |
| 117 | funext q |
| 118 | apply NatTrans.ext |
| 119 | funext I |
| 120 | exact target_component p k n u f₂ hp₂ q I |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismDiagonalRefinement |