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.Truncated.SmoothFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCover |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.SmoothNil |
| 4 | |
| 5 | /-! # Frame Algebras -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameAlgebras.SmoothLifting |
| 12 | |
| 13 | /-! Every original bounded crystalline thickening receives a morphism |
| 14 | to the frame of an actual smooth lift over the same finite Witt level. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (A C : Type) [CommRing A] [CommRing C] |
| 22 | [Algebra (Witt.Ring p k n) A] |
| 23 | [Algebra.Smooth (Witt.Ring p k n) A] [Algebra k C] |
| 24 | (ρ : A →+* C) |
| 25 | (hbase : ∀ w : WittVector p k, |
| 26 | ρ ((algebraMap (Witt.Ring p k n) A) (Witt.quotient p k n w)) = |
| 27 | algebraMap k C (WittVector.constantCoeff w)) |
| 28 | (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 29 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 30 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n) |
| 31 | |
| 32 | local notation "W" => WittVector p k |
| 33 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 34 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.WittBase.truncatedBase p k U.obj n U.property |
| 35 | |
| 36 | @[instance_reducible] def ambientAlgebra : Algebra S U.obj.ring := (b).toAlgebra |
| 37 | |
| 38 | def closedMap : letI := ambientAlgebra p k n C U; A →ₐ[S] U.obj.ring ⧸ U.obj.ideal := by |
| 39 | letI := ambientAlgebra p k n C U |
| 40 | refine { (BigCrystallineCover.closedRingMap p k C U.obj).comp ρ with commutes' := ?_ } |
| 41 | intro s |
| 42 | obtain ⟨w, rfl⟩ := Ideal.Quotient.mk_surjective s |
| 43 | change BigCrystallineCover.closedRingMap p k C U.obj |
| 44 | (ρ (algebraMap S A (Witt.quotient p k n w))) = |
| 45 | Ideal.Quotient.mk U.obj.ideal (U.obj.base w) |
| 46 | rw [hbase] |
| 47 | exact RingHom.congr_fun (BigCrystallineCover.closedRingMap_coefficients p k C U.obj) w |
| 48 | |
| 49 | omit [Fintype k] in |
| 50 | include hbase in |
| 51 | theorem exists_lift : ∃ l : A →+* U.obj.ring, |
| 52 | (Ideal.Quotient.mk U.obj.ideal).comp l = |
| 53 | (BigCrystallineCover.closedRingMap p k C U.obj).comp ρ ∧ |
| 54 | l.comp (SmoothFrame.base p A k n) = U.obj.base := by |
| 55 | let := ambientAlgebra p k n C U |
| 56 | obtain ⟨l, hl⟩ := AlgebraicGeometry.Crystalline.Cohomology.SmoothNil.SmoothNilLifting.exists_lift |
| 57 | (closedMap p k n A C ρ hbase U) (Ideal.Quotient.mkₐ S U.obj.ideal) |
| 58 | Ideal.Quotient.mk_surjective |
| 59 | (fun a ha => U.obj.nilIdeal a (Ideal.Quotient.eq_zero_iff_mem.mp ha)) |
| 60 | refine ⟨l.toRingHom, congrArg AlgHom.toRingHom hl, ?_⟩ |
| 61 | apply RingHom.ext |
| 62 | intro w |
| 63 | exact l.commutes (Witt.quotient p k n w) |
| 64 | |
| 65 | variable (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 66 | (l : A →+* U.obj.ring) |
| 67 | (hl : (Ideal.Quotient.mk U.obj.ideal).comp l = |
| 68 | (BigCrystallineCover.closedRingMap p k C U.obj).comp ρ) |
| 69 | (hb : l.comp (SmoothFrame.base p A k n) = U.obj.base) |
| 70 | |
| 71 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.object p A C ρ hρ hker k n hbase |
| 72 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p A C ρ hρ hker |
| 73 | |
| 74 | include hb in |
| 75 | omit [Fintype k] in |
| 76 | theorem map_isDPMorphism : |
| 77 | DividedPowers.IsDPMorphism (SmoothDividedPowers.dividedPowers p k n A) |
| 78 | U.obj.dividedPowers l := by |
| 79 | apply DividedPowers.IsDPMorphism.of_comp |
| 80 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 81 | (SmoothDividedPowers.dividedPowers p k n A) U.obj.dividedPowers |
| 82 | (SmoothFrame.base p A k n) l |
| 83 | (by rw [Ideal.map_span, Set.image_singleton, map_natCast]) |
| 84 | (SmoothDividedPowers.wittBase_isDPMorphism p k n A) |
| 85 | rw [hb] |
| 86 | exact U.obj.baseCompatible |
| 87 | |
| 88 | def ringMap : DividedPowers.DPMorphism (F).dividedPowers U.obj.dividedPowers := |
| 89 | DividedPowers.DPMorphism.mk' (map_isDPMorphism p k n A C U l hb) |
| 90 | |
| 91 | include hl in |
| 92 | omit [Fintype k] in |
| 93 | theorem quotientMap_eq : |
| 94 | BigCrystallineSite.Object.quotientMap U.obj F (SmoothLifting.ringMap p k n A C ρ hbase U hρ hker l hb) = |
| 95 | (BigCrystallineCover.closedRingMap p k C U.obj).comp (e).toRingHom := by |
| 96 | apply RingHom.ext |
| 97 | intro a |
| 98 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 99 | change Ideal.Quotient.mk U.obj.ideal (l a) = |
| 100 | BigCrystallineCover.closedRingMap p k C U.obj |
| 101 | ((e) (Ideal.Quotient.mk (Ideal.span {(p : A)}) a)) |
| 102 | exact (RingHom.congr_fun hl (a : A)).trans |
| 103 | (congrArg (BigCrystallineCover.closedRingMap p k C U.obj) |
| 104 | (SmoothFrame.quotientEquiv_mk p A C ρ hρ hker (a : A))).symm |
| 105 | |
| 106 | def morphism : U.obj ⟶ F where |
| 107 | ringMap := SmoothLifting.ringMap p k n A C ρ hbase U hρ hker l hb |
| 108 | overBase := hb |
| 109 | overX := by |
| 110 | change Spec.map (CommRingCat.ofHom |
| 111 | (BigCrystallineSite.Object.quotientMap U.obj F (SmoothLifting.ringMap p k n A C ρ hbase U hρ hker l hb))) ≫ |
| 112 | Spec.map (CommRingCat.ofHom (e).symm.toRingHom) = U.obj.mapToX |
| 113 | rw [← Spec.map_comp] |
| 114 | have he : (BigCrystallineSite.Object.quotientMap U.obj F (SmoothLifting.ringMap p k n A C ρ hbase U hρ hker l hb)).comp |
| 115 | (e).symm.toRingHom = BigCrystallineCover.closedRingMap p k C U.obj := by |
| 116 | rw [quotientMap_eq p k n A C ρ hbase U hρ hker l hl hb] |
| 117 | ext c |
| 118 | exact congrArg (BigCrystallineCover.closedRingMap p k C U.obj) |
| 119 | ((e).apply_symm_apply c) |
| 120 | change Spec.map (CommRingCat.ofHom |
| 121 | ((BigCrystallineSite.Object.quotientMap U.obj F (SmoothLifting.ringMap p k n A C ρ hbase U hρ hker l hb)).comp |
| 122 | (e).symm.toRingHom)) = _ |
| 123 | rw [he] |
| 124 | exact BigCrystallineCover.closedRingMap_spec p k C U.obj |
| 125 | |
| 126 | omit [Fintype k] in |
| 127 | theorem exists_morphism : Nonempty (U ⟶ SmoothFrame.boundedFrame p A C ρ hρ hker k n hbase) := by |
| 128 | obtain ⟨l, hl, hb⟩ := exists_lift p k n A C ρ hbase U |
| 129 | exact ⟨ObjectProperty.homMk (morphism p k n A C ρ hbase U hρ hker l hl hb)⟩ |
| 130 | |
| 131 | end NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameAlgebras.SmoothLifting |
| 132 | |
| 133 | namespace NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameAlgebras |
| 134 | |
| 135 | /-! Maps to an actual finite-level smooth frame carry the truncated |
| 136 | Witt algebra structure and the prescribed closed-fiber map. -/ |
| 137 | |
| 138 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 139 | |
| 140 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 141 | |
| 142 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 143 | (n : ℕ) (A C : Type) [CommRing A] [CommRing C] |
| 144 | [Algebra (Witt.Ring p k n) A] |
| 145 | [Algebra.Smooth (Witt.Ring p k n) A] [Algebra k C] |
| 146 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 147 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 148 | (hbase : ∀ w : WittVector p k, |
| 149 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 150 | algebraMap k C (WittVector.constantCoeff w)) |
| 151 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 152 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 153 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 154 | (β : U ⟶ SmoothFrame.object p A C ρ hρ hker k n hbase) |
| 155 | |
| 156 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 157 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.object p A C ρ hρ hker k n hbase |
| 158 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.quotientEquiv p A C ρ hρ hker |
| 159 | |
| 160 | include β in |
| 161 | omit [Fintype k] in |
| 162 | theorem frame_property : (p : U.ring) ^ (n + 1) = 0 := by |
| 163 | have hz : (p : (F).ring) ^ (n + 1) = 0 := |
| 164 | SmoothFrame.prime_power_zero p A k n |
| 165 | simpa only [map_pow, map_natCast, map_zero] using |
| 166 | congrArg β.ringMap.toRingHom hz |
| 167 | |
| 168 | @[instance_reducible] def ambientAlgebra : Algebra S U.ring := |
| 169 | (Bounded.WittBase.truncatedBase p k U n |
| 170 | (frame_property p k n A C ρ hρ hker hbase U β)).toAlgebra |
| 171 | |
| 172 | def chartMap : letI := ambientAlgebra p k n A C ρ hρ hker hbase U β; |
| 173 | A →ₐ[S] U.ring := by |
| 174 | letI := ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 175 | refine { β.ringMap.toRingHom with commutes' := ?_ } |
| 176 | intro s |
| 177 | obtain ⟨w, rfl⟩ := Ideal.Quotient.mk_surjective s |
| 178 | exact RingHom.congr_fun β.overBase w |
| 179 | |
| 180 | omit [Fintype k] in |
| 181 | theorem chart_reduction (a : A) : |
| 182 | Ideal.Quotient.mk U.ideal (β.ringMap a) = |
| 183 | BigCrystallineCover.closedRingMap p k C U (ρ a) := by |
| 184 | have hs := β.overX |
| 185 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U F β.ringMap)) ≫ |
| 186 | Spec.map (CommRingCat.ofHom (e).symm.toRingHom) = U.mapToX at hs |
| 187 | rw [← Spec.map_comp, ← BigCrystallineCover.closedRingMap_spec p k C U] at hs |
| 188 | have he := congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 189 | have hi : (e).symm (ρ a) = Ideal.Quotient.mk (Ideal.span {(p : A)}) a := |
| 190 | (e).symm_apply_eq.mpr |
| 191 | (SmoothFrame.quotientEquiv_mk p A C ρ hρ hker a).symm |
| 192 | have hc := RingHom.congr_fun he (ρ a) |
| 193 | change BigCrystallineSite.Object.quotientMap U F β.ringMap ((e).symm (ρ a)) = _ at hc |
| 194 | rw [hi] at hc |
| 195 | exact hc |
| 196 | |
| 197 | variable (V : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 198 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 199 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 200 | (ζ : V ⟶ SmoothFrame.object p A C ρ hρ hker k n hbase) (α : V ⟶ U) |
| 201 | |
| 202 | def map : letI := ambientAlgebra p k n A C ρ hρ hker hbase U β; |
| 203 | letI := ambientAlgebra p k n A C ρ hρ hker hbase V ζ; |
| 204 | U.ring →ₐ[S] V.ring := by |
| 205 | letI := ambientAlgebra p k n A C ρ hρ hker hbase U β |
| 206 | letI := ambientAlgebra p k n A C ρ hρ hker hbase V ζ |
| 207 | refine { α.ringMap.toRingHom with commutes' := ?_ } |
| 208 | intro s |
| 209 | obtain ⟨w, rfl⟩ := Ideal.Quotient.mk_surjective s |
| 210 | exact RingHom.congr_fun α.overBase w |
| 211 | |
| 212 | omit [Fintype k] in |
| 213 | theorem closed_agreement (a : A) : ζ.ringMap a - α.ringMap (β.ringMap a) ∈ V.ideal := by |
| 214 | apply Ideal.Quotient.eq.mp |
| 215 | rw [chart_reduction p k n A C ρ hρ hker hbase V ζ a] |
| 216 | have hs := α.overX |
| 217 | rw [← BigCrystallineCover.closedRingMap_spec p k C U, |
| 218 | ← BigCrystallineCover.closedRingMap_spec p k C V] at hs |
| 219 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap V U α.ringMap)) ≫ |
| 220 | Spec.map (CommRingCat.ofHom (BigCrystallineCover.closedRingMap p k C U)) = |
| 221 | Spec.map (CommRingCat.ofHom (BigCrystallineCover.closedRingMap p k C V)) at hs |
| 222 | rw [← Spec.map_comp] at hs |
| 223 | have he := congrArg CommRingCat.Hom.hom (Spec.map_injective hs) |
| 224 | have hc := RingHom.congr_fun he (ρ a) |
| 225 | change BigCrystallineSite.Object.quotientMap V U α.ringMap |
| 226 | (BigCrystallineCover.closedRingMap p k C U (ρ a)) = |
| 227 | BigCrystallineCover.closedRingMap p k C V (ρ a) at hc |
| 228 | rw [← chart_reduction p k n A C ρ hρ hker hbase U β a] at hc |
| 229 | exact hc.symm |
| 230 | |
| 231 | end NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameAlgebras |
| 232 | |
| 233 | end |
| 234 | |
| 235 | end OAI |