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.PrincipalSupportedGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopFraction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopFactor |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedBoundedCoordinates |
| 7 | |
| 8 | /-! # Principal Top Bounded Data -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopBoundedData |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! The genuine global value of a principal top-form class is its |
| 17 | original supported bounded crystalline value. -/ |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 24 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 25 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 26 | (hp : IsPullback f Y.hom X.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (U : X.left.affineOpens) |
| 29 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 31 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 32 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] (a : Fin g → Γ(X.left,U.val)) |
| 33 | |
| 34 | abbrev opens := SupportedGlobalData.opens p k n X U |
| 35 | abbrev family := SupportedGlobalData.family p k n X U g a |
| 36 | abbrev linear := CechIso.ResolutionGlobal.presheaf p k n X Y f I |
| 37 | abbrev source := PrincipalTopGlobal.source p k n X g |
| 38 | |
| 39 | local instance tuple_preserves (d : ℕ) (z : Fin (d+1) → ULift (Fin g)) : |
| 40 | PreservesLimit (Discrete.functor (family p k n X U g a ∘ z)) (opens p k n X U) := |
| 41 | AffinePrincipal.Products.preserves X.left U.val U.property (family p k n X U g a ∘ z) |
| 42 | |
| 43 | variable {κ ν μ ρ : Type} |
| 44 | [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 45 | (B : κ → X.left.Opens) (J : ν → X.left.Opens) |
| 46 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk (ULift (Fin g)) |
| 47 | ((opens p k n X U).obj ∘ family p k n X U g a)) |
| 48 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 49 | (V : μ → X.left.Opens) (hV : iSup V = ⊤) (T : ρ → X.left.Opens) |
| 50 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 51 | (RelativeCech.Intersections.cover |
| 52 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B)) |
| 53 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 54 | (O : X.left.Opens) |
| 55 | (hO : ∀ j, (opens p k n X U).obj (family p k n X U g a j) ≤ O) |
| 56 | (hB : ∀ j, B j ≤ O) |
| 57 | (hcover : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 58 | ⨆ j, (opens p k n X U).obj (family p k n X U g a j)) |
| 59 | (hglobal : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤) |
| 60 | [IsIso (RelativeCech.Refinement.homology |
| 61 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 62 | (source p k n X g) (g+g))] |
| 63 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g)) (g+g))] |
| 64 | [IsIso (RelativeCech.Refinement.homology |
| 65 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 66 | (linear p k n X Y f I) (g+g))] |
| 67 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (linear p k n X Y f I)) (g+g))] |
| 68 | |
| 69 | abbrev localValue := AdditiveTopFractionData.map p k n X Y f hp U I g a (f ⁻¹ᵁ O) |
| 70 | (Supported.OrderedCechPushforward.pulled_below f.base (opens p k n X U) (family p k n X U g a) O hO) |
| 71 | (Supported.OrderedCechPushforward.pulled_cover f.base (opens p k n X U) (family p k n X U g a) O hcover) |
| 72 | (SupportedRows.exactAt_succ p k n X Y f U I g a) |
| 73 | (Supported.OrderedCechPushforward.pulled_global f.base (opens p k n X U) O hglobal) (g+g) |
| 74 | |
| 75 | abbrev boundedMap := SupportedBoundedCoordinates.map p k n X Y f U I g a |
| 76 | O hO hcover hglobal (g+g) |
| 77 | |
| 78 | abbrev local_factor := PrincipalTopFactor.map p k n X Y f hp U I g a (g+g) |
| 79 | (boundedMap p k n X Y f U I g a O hO hcover hglobal) |
| 80 | |
| 81 | theorem global_coordinates : |
| 82 | PrincipalTopGlobal.globalMap p k n X Y f hp I g |
| 83 | (opens p k n X U) (family p k n X U g a) B J r s V hV T l t ≫ |
| 84 | (AdditiveGlobal.globalHomologyIso p k n X Y f I (g+g)).hom = |
| 85 | homologyMap (Principal.PresheafCover.Comparison.totalMap (opens p k n X U) |
| 86 | (family p k n X U g a) (TopCover.sourceMap p k n X Y f hp I g)) (g+g) ≫ |
| 87 | PrincipalSupportedGlobal.globalValue p k n X Y f U I g a B J r s V hV T l t (g+g) := by |
| 88 | let G := AdditiveTop.Comparison.forget p k |
| 89 | let : IsIso (RelativeCech.Refinement.homology |
| 90 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 91 | (PrincipalTopGlobal.target p k n X Y f I) (g+g)) := |
| 92 | Presheaf.CoverCoefficients.relative_isIso G (linear p k n X Y f I) |
| 93 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s (g+g) |
| 94 | let : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 95 | (PrincipalTopGlobal.target p k n X Y f I)) (g+g)) := |
| 96 | Presheaf.CoverCoefficients.ordered_isIso G (linear p k n X Y f I) V T t (g+g) |
| 97 | let := AdditiveGlobal.ResolutionFlasque.additive_edge_isIso p k n X Y f I V hV (g+g) |
| 98 | have ht := congrArg (fun b => b ≫ |
| 99 | (AdditiveGlobal.globalHomologyIso p k n X Y f I (g+g)).hom) |
| 100 | (PrincipalTopGlobal.comparison p k n X Y f hp I g |
| 101 | (opens p k n X U) (family p k n X U g a) B J r s V hV T l t) |
| 102 | simpa only [PrincipalSupportedGlobal.globalValue, Category.assoc] using ht |
| 103 | |
| 104 | include hB in |
| 105 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] [IsIso (RelativeCech.Refinement.homology ((opens p k n X U).obj (⊤_ PrincipalFrame.Index X.left U)) B J s (source p k n X g) (g + g))] [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g)) (g + g))] in |
| 106 | theorem supported_coordinates : |
| 107 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a (g+g)).hom ≫ |
| 108 | PrincipalSupportedGlobal.globalValue p k n X Y f U I g a B J r s V hV T l t (g+g) = |
| 109 | (AdditiveTop.Comparison.forget p k).map |
| 110 | (boundedMap p k n X Y f U I g a O hO hcover hglobal) := by |
| 111 | have ho := PrincipalSupportedGlobal.coordinates p k n X Y f U I g a |
| 112 | B J r s V hV T l t O hO hB hcover hglobal (g+g) |
| 113 | have hc := SupportedBoundedCoordinates.comparison p k n X Y f U I g a |
| 114 | O hO hcover hglobal (g+g) |
| 115 | exact ho.trans (congrArg (fun b => (AdditiveTop.Comparison.forget p k).map b) hc) |
| 116 | |
| 117 | abbrev expandedLocalValue := |
| 118 | homologyMap (Principal.PresheafCover.Comparison.totalMap (opens p k n X U) |
| 119 | (family p k n X U g a) (TopCover.sourceMap p k n X Y f hp I g)) (g+g) ≫ |
| 120 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a (g+g)).inv ≫ |
| 121 | (AdditiveTop.Comparison.forget p k).map |
| 122 | (boundedMap p k n X Y f U I g a O hO hcover hglobal) |
| 123 | |
| 124 | theorem local_factor_coordinates : |
| 125 | expandedLocalValue p k n X Y f hp U I g a O hO hcover hglobal = |
| 126 | localValue p k n X Y f hp U I g a O hO hcover hglobal := |
| 127 | (local_factor p k n X Y f hp U I g a O hO hcover hglobal).symm |
| 128 | |
| 129 | end |
| 130 | |
| 131 | /-! The supported-to-global comparison, factored through its target |
| 132 | coordinate before composing the original source map. -/ |
| 133 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 134 | set_option backward.isDefEq.respectTransparency false |
| 135 | set_option backward.isDefEq.respectTransparency.types false |
| 136 | |
| 137 | private theorem inverse_coordinates {C : Type*} [Category C] {A B D : C} |
| 138 | (e : A ≅ B) (b : B ⟶ D) (c : A ⟶ D) |
| 139 | (h : e.hom ≫ b = c) : b = e.inv ≫ c := by |
| 140 | rw [← h] |
| 141 | simp only [Iso.inv_hom_id_assoc] |
| 142 | |
| 143 | attribute [local instance] tuple_preserves |
| 144 | |
| 145 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 146 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 147 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 148 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 149 | (hp : IsPullback f Y.hom X.hom |
| 150 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 151 | (U : X.left.affineOpens) |
| 152 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 153 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 154 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 155 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] (a : Fin g → Γ(X.left,U.val)) |
| 156 | |
| 157 | variable {κ ν μ ρ : Type} |
| 158 | [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 159 | (B : κ → X.left.Opens) (J : ν → X.left.Opens) |
| 160 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk (ULift (Fin g)) |
| 161 | ((opens p k n X U).obj ∘ family p k n X U g a)) |
| 162 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 163 | (V : μ → X.left.Opens) (hV : iSup V = ⊤) (T : ρ → X.left.Opens) |
| 164 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 165 | (RelativeCech.Intersections.cover |
| 166 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B)) |
| 167 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 168 | (O : X.left.Opens) |
| 169 | (hO : ∀ j, (opens p k n X U).obj (family p k n X U g a j) ≤ O) |
| 170 | (hB : ∀ j, B j ≤ O) |
| 171 | (hcover : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 172 | ⨆ j, (opens p k n X U).obj (family p k n X U g a j)) |
| 173 | (hglobal : (opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤) |
| 174 | [IsIso (RelativeCech.Refinement.homology |
| 175 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 176 | (source p k n X g) (g+g))] |
| 177 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g)) (g+g))] |
| 178 | [IsIso (RelativeCech.Refinement.homology |
| 179 | ((opens p k n X U).obj (⊤_ (PrincipalFrame.Index X.left U))) B J s |
| 180 | (linear p k n X Y f I) (g+g))] |
| 181 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (linear p k n X Y f I)) (g+g))] |
| 182 | |
| 183 | include hB in |
| 184 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] [IsIso (RelativeCech.Refinement.homology ((opens p k n X U).obj (⊤_ PrincipalFrame.Index X.left U)) B J s (source p k n X g) (g + g))] [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g)) (g + g))] in |
| 185 | theorem target_coordinates : |
| 186 | PrincipalSupportedGlobal.globalValue p k n X Y f U I g a B J r s V hV T l t (g+g) = |
| 187 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a (g+g)).inv ≫ |
| 188 | (AdditiveTop.Comparison.forget p k).map |
| 189 | (boundedMap p k n X Y f U I g a O hO hcover hglobal) := |
| 190 | inverse_coordinates |
| 191 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a (g+g)) |
| 192 | (PrincipalSupportedGlobal.globalValue p k n X Y f U I g a B J r s V hV T l t (g+g)) |
| 193 | ((AdditiveTop.Comparison.forget p k).map |
| 194 | (boundedMap p k n X Y f U I g a O hO hcover hglobal)) |
| 195 | (supported_coordinates p k n X Y f U I g a B J r s V hV T l t O hO hB hcover hglobal) |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopBoundedData |