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.BigCrystallineCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.SheafificationCoherence |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ExtTransport |
| 4 | |
| 5 | /-! # Crystalline Restriction Coherence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineRestrictionCoherence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Coherent restriction on the actual big crystalline sites |
| 13 | |
| 14 | Postcomposition preserves the ambient rings. The canonical identity and |
| 15 | composition isomorphisms therefore act as identity maps on these rings. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology |
| 23 | |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | variable {X Y Z : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 26 | {fY : Y ⟶ Spec (CommRingCat.of B)} {fZ : Z ⟶ Spec (CommRingCat.of B)} |
| 27 | |
| 28 | def postcomposeIdComponent (U : IntegralComparison.BigCrystallineSite.Object p B J δ f) : |
| 29 | (IntegralComparison.BigCrystallineSite.postcompose (𝟙 X) (Category.id_comp f)).obj U ≅ U where |
| 30 | hom := |
| 31 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 32 | overBase := rfl |
| 33 | overX := by |
| 34 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap U U |
| 35 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ U.mapToX = U.mapToX ≫ 𝟙 X |
| 36 | rw [IntegralComparison.BigCrystallineSite.Object.quotientMap_id] |
| 37 | change Spec.map (𝟙 (CommRingCat.of (U.ring ⧸ U.ideal))) ≫ U.mapToX = U.mapToX ≫ 𝟙 X |
| 38 | rw [Spec.map_id, Category.id_comp, Category.comp_id] } |
| 39 | inv := |
| 40 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 41 | overBase := rfl |
| 42 | overX := by |
| 43 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap U U |
| 44 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ (U.mapToX ≫ 𝟙 X) = U.mapToX |
| 45 | rw [IntegralComparison.BigCrystallineSite.Object.quotientMap_id] |
| 46 | change Spec.map (𝟙 (CommRingCat.of (U.ring ⧸ U.ideal))) ≫ (U.mapToX ≫ 𝟙 X) = U.mapToX |
| 47 | rw [Spec.map_id, Category.id_comp, Category.comp_id] } |
| 48 | hom_inv_id := by apply IntegralComparison.BigCrystallineSite.Object.Hom.ext; rfl |
| 49 | inv_hom_id := by apply IntegralComparison.BigCrystallineSite.Object.Hom.ext; rfl |
| 50 | |
| 51 | def postcomposeId : IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) (𝟙 X) (Category.id_comp f) ≅ 𝟭 _ := |
| 52 | NatIso.ofComponents postcomposeIdComponent (by |
| 53 | intro U V α |
| 54 | apply IntegralComparison.BigCrystallineSite.Object.Hom.ext |
| 55 | rfl) |
| 56 | |
| 57 | variable (g : X ⟶ Y) (hg : g ≫ fY = f) (h : Y ⟶ Z) (hh : h ≫ fZ = fY) |
| 58 | |
| 59 | include hg hh in |
| 60 | theorem composite_over : (g ≫ h) ≫ fZ = f := by rw [Category.assoc, hh, hg] |
| 61 | |
| 62 | def postcomposeCompComponent (U : IntegralComparison.BigCrystallineSite.Object p B J δ f) : |
| 63 | (IntegralComparison.BigCrystallineSite.postcompose h hh).obj ((IntegralComparison.BigCrystallineSite.postcompose g hg).obj U) ≅ |
| 64 | (IntegralComparison.BigCrystallineSite.postcompose (g ≫ h) (composite_over g hg h hh)).obj U where |
| 65 | hom := |
| 66 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 67 | overBase := rfl |
| 68 | overX := by |
| 69 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap U U |
| 70 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ (U.mapToX ≫ (g ≫ h)) = (U.mapToX ≫ g) ≫ h |
| 71 | rw [IntegralComparison.BigCrystallineSite.Object.quotientMap_id] |
| 72 | change Spec.map (𝟙 (CommRingCat.of (U.ring ⧸ U.ideal))) ≫ _ = _ |
| 73 | rw [Spec.map_id, Category.id_comp, Category.assoc] } |
| 74 | inv := |
| 75 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 76 | overBase := rfl |
| 77 | overX := by |
| 78 | change Spec.map (CommRingCat.ofHom (IntegralComparison.BigCrystallineSite.Object.quotientMap U U |
| 79 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ ((U.mapToX ≫ g) ≫ h) = U.mapToX ≫ (g ≫ h) |
| 80 | rw [IntegralComparison.BigCrystallineSite.Object.quotientMap_id] |
| 81 | change Spec.map (𝟙 (CommRingCat.of (U.ring ⧸ U.ideal))) ≫ _ = _ |
| 82 | rw [Spec.map_id, Category.id_comp, Category.assoc] } |
| 83 | hom_inv_id := by apply IntegralComparison.BigCrystallineSite.Object.Hom.ext; rfl |
| 84 | inv_hom_id := by apply IntegralComparison.BigCrystallineSite.Object.Hom.ext; rfl |
| 85 | |
| 86 | def postcomposeComp : |
| 87 | IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg ⋙ IntegralComparison.BigCrystallineSite.postcompose h hh ≅ |
| 88 | IntegralComparison.BigCrystallineSite.postcompose (g ≫ h) (composite_over g hg h hh) := |
| 89 | NatIso.ofComponents (postcomposeCompComponent g hg h hh) (by |
| 90 | intro U V α |
| 91 | apply IntegralComparison.BigCrystallineSite.Object.Hom.ext |
| 92 | rfl) |
| 93 | |
| 94 | omit g hg h hh in |
| 95 | def restrictionId : IntegralComparison.Crystalline.ExactRestriction.restriction (p := p) (J := J) (δ := δ) (𝟙 X) (Category.id_comp f) ≅ |
| 96 | 𝟭 (IntegralComparison.Crystalline.ExactRestriction.ModuleSheaf (p := p) (J := J) (δ := δ) f) := |
| 97 | Functor.sheafPushforwardContinuousId' postcomposeId (ModuleCat.{u + 1} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B))) |
| 98 | IntegralComparison.BigCrystallineSite.Object.topology |
| 99 | |
| 100 | def restrictionComp : IntegralComparison.Crystalline.ExactRestriction.restriction (p := p) (J := J) (δ := δ) h hh ⋙ IntegralComparison.Crystalline.ExactRestriction.restriction g hg ≅ |
| 101 | IntegralComparison.Crystalline.ExactRestriction.restriction (g ≫ h) (composite_over g hg h hh) := by |
| 102 | letI := Functor.isContinuous_comp (IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg) |
| 103 | (IntegralComparison.BigCrystallineSite.postcompose h hh) |
| 104 | IntegralComparison.BigCrystallineSite.Object.topology IntegralComparison.BigCrystallineSite.Object.topology IntegralComparison.BigCrystallineSite.Object.topology |
| 105 | exact Functor.sheafPushforwardContinuousIso (postcomposeComp (p := p) (J := J) (δ := δ) g hg h hh) |
| 106 | (ModuleCat.{u + 1} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B))) IntegralComparison.BigCrystallineSite.Object.topology IntegralComparison.BigCrystallineSite.Object.topology |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineRestrictionCoherence |