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.RefinedResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalCech |
| 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 | /-! # Diagonal Refinement -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalRefinement.IntrinsicPadicGeometricDiagonalRefinement |
| 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 | variable (p : ℕ) [Fact p.Prime] |
| 19 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 20 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 21 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 22 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 23 | (u : X₁ ⟶ X₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 24 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 25 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 26 | (n : ℕ) |
| 27 | |
| 28 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 29 | local notation "Pairs" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.Charts (Over.Hom.left u) |
| 30 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 31 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₂ Y₂ f₂ hp₂ n |
| 32 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₁ Y₁ f₁ hp₁ n |
| 33 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap.targetSections p u f₂ n |
| 34 | local notation "S'" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap.sourceSections p u f₁ n |
| 35 | |
| 36 | local instance sourceCoproducts : HasCoproducts.{0} |
| 37 | (IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 38 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 39 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 40 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n) := |
| 41 | Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts R |
| 42 | (IntegralComparison.BoundedCrystalline.Site.topology (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n) |
| 43 | |
| 44 | local instance targetCoproducts : HasCoproducts.{0} |
| 45 | (IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 46 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 47 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 48 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n) := |
| 49 | Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts R |
| 50 | (IntegralComparison.BoundedCrystalline.Site.topology (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n) |
| 51 | |
| 52 | def sourcePullback : (X₁.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (Pairsᵒᵖ ⥤ ModuleCat.{2} R) := |
| 53 | (Functor.whiskeringLeft _ _ _).obj (Affine.MapPairs.AffineMapPairs.source u.left).op |
| 54 | def targetPullback : (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R) ⥤ (Pairsᵒᵖ ⥤ ModuleCat.{2} R) := |
| 55 | (Functor.whiskeringLeft _ _ _).obj (Affine.MapPairs.AffineMapPairs.target u.left).op |
| 56 | |
| 57 | instance sourcePullback_additive : (sourcePullback p u).Additive := by |
| 58 | dsimp only [sourcePullback] |
| 59 | infer_instance |
| 60 | instance targetPullback_additive : (targetPullback p u).Additive := by |
| 61 | dsimp only [targetPullback] |
| 62 | infer_instance |
| 63 | |
| 64 | def sourceMap : Section.DiagonalCone.SectionDiagonalCone.source Pairs S' ((Affine.MapPairs.AffineMapPairs.source u.left).op ⋙ Q) ⟶ |
| 65 | ((S').mapHomologicalComplex (.up ℕ)).obj (CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₁ Y₁ f₁ hp₁ n) := |
| 66 | ((sourcePullback p u).mapHomologicalComplex (.up ℕ)).map |
| 67 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X₁ Y₁ f₁ hp₁ n) |
| 68 | |
| 69 | def targetMap : Section.DiagonalCone.SectionDiagonalCone.source Pairs S ((Affine.MapPairs.AffineMapPairs.target u.left).op ⋙ P) ⟶ |
| 70 | ((S).mapHomologicalComplex (.up ℕ)).obj (CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₂ Y₂ f₂ hp₂ n) := |
| 71 | ((targetPullback p u).mapHomologicalComplex (.up ℕ)).map |
| 72 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X₂ Y₂ f₂ hp₂ n) |
| 73 | |
| 74 | omit [IsSeparated Y₂.hom] in |
| 75 | theorem source_component (q : ℕ) (I : Pairsᵒᵖ) : |
| 76 | ((sourceMap p u f₁ hp₁ n).f q).app I ≫ |
| 77 | ((((S').mapHomologicalComplex (.up ℕ)).map |
| 78 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.sourceMap p u f₁ hp₁ n)).f q).app I = |
| 79 | ((DiagonalCech.IntrinsicPadicGeometricDiagonalCech.sourceComparison p u f₁ hp₁ n U).f q).app I := |
| 80 | Section.DiagonalCechReferenceRefinement.SectionDiagonalCechReferenceRefinement.component Pairs X₁.left.affineOpens R |
| 81 | (Affine.MapPairs.AffineMapPairs.source u.left) (SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X₁ Y₁ f₁ n) Q |
| 82 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X₁ Y₁ f₁ hp₁ n) |
| 83 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.source_meet_isIso p u f₁ hp₁ n) |
| 84 | U (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) (Cover.IntrinsicPadicGeometricCoverRefinements.source p u) |
| 85 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X₁ Y₁ f₁ hp₁ n) q I |
| 86 | |
| 87 | omit [IsSeparated Y₂.hom] in |
| 88 | theorem source_comparison : sourceMap p u f₁ hp₁ n ≫ |
| 89 | ((S').mapHomologicalComplex (.up ℕ)).map (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.sourceMap p u f₁ hp₁ n) = |
| 90 | DiagonalCech.IntrinsicPadicGeometricDiagonalCech.sourceComparison p u f₁ hp₁ n U := by |
| 91 | apply HomologicalComplex.Hom.ext |
| 92 | funext q |
| 93 | apply NatTrans.ext |
| 94 | funext I |
| 95 | exact source_component p u f₁ hp₁ n q I |
| 96 | |
| 97 | omit [IsSeparated Y₁.hom] in |
| 98 | theorem target_component (q : ℕ) (I : Pairsᵒᵖ) : |
| 99 | ((targetMap p u f₂ hp₂ n).f q).app I ≫ |
| 100 | ((((S).mapHomologicalComplex (.up ℕ)).map |
| 101 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.targetRefinement p u f₂ hp₂ n)).f q).app I = |
| 102 | ((DiagonalCech.IntrinsicPadicGeometricDiagonalCech.targetComparison p u f₂ hp₂ n U).f q).app I := |
| 103 | Section.DiagonalCechReferenceRefinement.SectionDiagonalCechReferenceRefinement.component Pairs X₂.left.affineOpens R |
| 104 | (Affine.MapPairs.AffineMapPairs.target u.left) (SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X₂ Y₂ f₂ n) P |
| 105 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X₂ Y₂ f₂ hp₂ n) |
| 106 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.target_meet_isIso p u f₂ hp₂ n) |
| 107 | U (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) (Cover.IntrinsicPadicGeometricCoverRefinements.target p u) |
| 108 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X₂ Y₂ f₂ hp₂ n) q I |
| 109 | |
| 110 | omit [IsSeparated Y₁.hom] in |
| 111 | theorem target_comparison : targetMap p u f₂ hp₂ n ≫ |
| 112 | ((S).mapHomologicalComplex (.up ℕ)).map (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.targetRefinement p u f₂ hp₂ n) = |
| 113 | DiagonalCech.IntrinsicPadicGeometricDiagonalCech.targetComparison p u f₂ hp₂ n U := by |
| 114 | apply HomologicalComplex.Hom.ext |
| 115 | funext q |
| 116 | apply NatTrans.ext |
| 117 | funext I |
| 118 | exact target_component p u f₂ hp₂ n q I |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalRefinement.IntrinsicPadicGeometricDiagonalRefinement |