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.SmoothWitt.FrameLifting |
| 2 | |
| 3 | /-! # Frame Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible smooth lifts give actual morphisms to the original bounded crystalline frames. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k A C : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 19 | [CommRing C] [Algebra k C] |
| 20 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 21 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 22 | algebraMap k C (WittVector.constantCoeff w)) (n : ℕ) |
| 23 | (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C))) |
| 25 | (hn : (p : U.ring) ^ (n + 1) = 0) (l : A →+* U.ring) |
| 26 | (hl : (Ideal.Quotient.mk U.ideal).comp l = (BigCrystallineCover.closedRingMap p k C U).comp ρ) |
| 27 | (hb : l.comp (algebraMap (WittVector p k) A) = U.base) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.WittFrame.object p k A C ρ hρ hker hbase n |
| 31 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing.quotientEquiv p A C ρ hρ hker n |
| 32 | |
| 33 | def map : FrameRing.Ring p A n →+* U.ring := |
| 34 | Ideal.Quotient.lift _ l (by |
| 35 | change (Ideal.span {(p : A)}) ^ (n + 1) ≤ RingHom.ker l |
| 36 | rw [Ideal.span_singleton_pow, Ideal.span_le] |
| 37 | rintro x (rfl : x = _) |
| 38 | change l ((p : A) ^ (n + 1)) = 0 |
| 39 | rw [map_pow, map_natCast, hn]) |
| 40 | |
| 41 | omit [Fintype k] [Module.Flat (WittVector p k) A] in |
| 42 | include hb in |
| 43 | theorem overBase : (FrameMap.map p k A C n U hn l).comp (FrameRing.base p k A n) = U.base := by |
| 44 | apply RingHom.ext |
| 45 | intro w |
| 46 | exact RingHom.congr_fun hb w |
| 47 | |
| 48 | omit [Fintype k] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] in |
| 49 | include hl in |
| 50 | theorem reduction : (Ideal.Quotient.mk U.ideal).comp (FrameMap.map p k A C n U hn l) = |
| 51 | (BigCrystallineCover.closedRingMap p k C U).comp (FrameRing.reduction p A C ρ hker n) := by |
| 52 | apply RingHom.ext |
| 53 | intro a |
| 54 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 55 | exact RingHom.congr_fun hl b |
| 56 | |
| 57 | omit [Fintype k] in |
| 58 | include hb in |
| 59 | theorem map_isDPMorphism : DividedPowers.IsDPMorphism (FrameRing.dividedPowers p k A n) U.dividedPowers |
| 60 | (FrameMap.map p k A C n U hn l) := by |
| 61 | apply DividedPowers.IsDPMorphism.of_comp |
| 62 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (FrameRing.dividedPowers p k A n) U.dividedPowers |
| 63 | (FrameRing.base p k A n) (FrameMap.map p k A C n U hn l) |
| 64 | (by simp only [FrameRing.ideal, AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.ideal, Ideal.map_span, Set.image_singleton, map_natCast]) |
| 65 | (FrameRing.base_isDPMorphism p k A n) |
| 66 | rw [FrameMap.overBase p k A C n U hn l hb] |
| 67 | exact U.baseCompatible |
| 68 | |
| 69 | def ringMap : DividedPowers.DPMorphism (FrameRing.dividedPowers p k A n) U.dividedPowers where |
| 70 | toRingHom := FrameMap.map p k A C n U hn l |
| 71 | ideal_comp := (map_isDPMorphism p k A C n U hn l hb).ideal_comp |
| 72 | dpow_comp := (map_isDPMorphism p k A C n U hn l hb).dpow_comp |
| 73 | |
| 74 | omit [Fintype k] in |
| 75 | include hl in |
| 76 | theorem quotientMap_eq : BigCrystallineSite.Object.quotientMap U F (FrameMap.ringMap p k A C n U hn l hb) = |
| 77 | (BigCrystallineCover.closedRingMap p k C U).comp (e).toRingHom := by |
| 78 | apply RingHom.ext |
| 79 | intro a |
| 80 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 81 | change Ideal.Quotient.mk U.ideal (FrameMap.map p k A C n U hn l b) = |
| 82 | BigCrystallineCover.closedRingMap p k C U ((e) (Ideal.Quotient.mk (FrameRing.ideal p A n) b)) |
| 83 | exact (RingHom.congr_fun (reduction p k A C ρ hker n U hn l hl) b).trans |
| 84 | (congrArg (BigCrystallineCover.closedRingMap p k C U) |
| 85 | (FrameRing.quotientEquiv_mk p A C ρ hρ hker n b).symm) |
| 86 | |
| 87 | def morphism : U ⟶ F where |
| 88 | ringMap := FrameMap.ringMap p k A C n U hn l hb |
| 89 | overBase := FrameMap.overBase p k A C n U hn l hb |
| 90 | overX := by |
| 91 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U F (FrameMap.ringMap p k A C n U hn l hb))) ≫ |
| 92 | Spec.map (CommRingCat.ofHom (e).symm.toRingHom) = U.mapToX |
| 93 | rw [← Spec.map_comp] |
| 94 | have he : (BigCrystallineSite.Object.quotientMap U F (FrameMap.ringMap p k A C n U hn l hb)).comp (e).symm.toRingHom = |
| 95 | BigCrystallineCover.closedRingMap p k C U := by |
| 96 | rw [quotientMap_eq p k A C ρ hρ hker hbase n U hn l hl hb] |
| 97 | apply RingHom.ext |
| 98 | intro c |
| 99 | change BigCrystallineCover.closedRingMap p k C U ((e) ((e).symm c)) = _ |
| 100 | rw [RingEquiv.apply_symm_apply] |
| 101 | change Spec.map (CommRingCat.ofHom |
| 102 | ((BigCrystallineSite.Object.quotientMap U F (FrameMap.ringMap p k A C n U hn l hb)).comp (e).symm.toRingHom)) = _ |
| 103 | rw [he] |
| 104 | exact BigCrystallineCover.closedRingMap_spec p k C U |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameMap |