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.BoundedCrystalline.CrystallineCohomology |
| 2 | |
| 3 | /-! # Level Maps -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: exact restriction between the actual bounded crystalline levels |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 21 | |
| 22 | def inclusion : Site.Objects (p := p) (J := J) (δ := δ) f n ⥤ Site.Objects (p := p) (J := J) (δ := δ) f m := |
| 23 | ObjectProperty.ιOfLE (fun _ => Site.property_mono f n m hnm) |
| 24 | |
| 25 | def incomingLifts : SiteLifts.IncomingLifts (inclusion (p := p) (J := J) (δ := δ) f n m hnm) where |
| 26 | object {U V} α := ⟨V.obj, Site.property_of_hom f n α.hom U.property⟩ |
| 27 | iso _ := Iso.refl _ |
| 28 | hom α := ObjectProperty.homMk α.hom |
| 29 | map_hom α := (Category.id_comp α).symm |
| 30 | fullTriangle _ _ c h := ⟨ObjectProperty.homMk c.hom, rfl, by |
| 31 | apply (Site.property f n).ι.map_injective |
| 32 | exact congrArg (fun t => t.hom) h⟩ |
| 33 | |
| 34 | theorem pushforward_comp {U : Site.Objects (p := p) (J := J) (δ := δ) f n} (S : Sieve U) : |
| 35 | (S.functorPushforward (inclusion f n m hnm)).functorPushforward (Site.inclusion f m) = |
| 36 | S.functorPushforward (Site.inclusion f n) := |
| 37 | (Sieve.functorPushforward_comp (inclusion f n m hnm) (Site.inclusion f m) S).symm |
| 38 | |
| 39 | theorem coverPreserving : CoverPreserving (Site.topology f n) (Site.topology f m) |
| 40 | (inclusion (p := p) (J := J) (δ := δ) f n m hnm) where |
| 41 | cover_preserve {U S} hS := by |
| 42 | apply Functor.mem_restrictedTopology_of_functorPushforward_mem |
| 43 | rw [pushforward_comp] |
| 44 | exact (CoverPreserving.of_isContinuous (Site.inclusion f n) |
| 45 | (Site.topology f n) BigCrystallineSite.Object.topology).cover_preserve hS |
| 46 | |
| 47 | instance continuous : (inclusion (p := p) (J := J) (δ := δ) f n m hnm).IsContinuous |
| 48 | (Site.topology f n) (Site.topology f m) := |
| 49 | Functor.isContinuous_of_coverPreserving |
| 50 | ((incomingLifts f n m hnm).compatiblePreserving (Site.topology f m)) (coverPreserving f n m hnm) |
| 51 | |
| 52 | theorem pushforward_pullback {U : Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 53 | (S : Sieve ((inclusion f n m hnm).obj U)) : |
| 54 | (S.functorPullback (inclusion f n m hnm)).functorPushforward (inclusion f n m hnm) = S := by |
| 55 | refine le_antisymm (Sieve.functorPullback_pushforward_le _ _) ?_ |
| 56 | intro V α hα |
| 57 | exact ⟨⟨V.obj, Site.property_of_hom f n α.hom U.property⟩, ObjectProperty.homMk α.hom, |
| 58 | 𝟙 V, hα, (Category.id_comp α).symm⟩ |
| 59 | |
| 60 | instance cocontinuous : (inclusion (p := p) (J := J) (δ := δ) f n m hnm).IsCocontinuous |
| 61 | (Site.topology f n) (Site.topology f m) where |
| 62 | cover_lift {U S} hS := by |
| 63 | apply Functor.mem_restrictedTopology_of_functorPushforward_mem |
| 64 | rw [← pushforward_comp f n m hnm, pushforward_pullback] |
| 65 | exact (CoverPreserving.of_isContinuous (Site.inclusion f m) |
| 66 | (Site.topology f m) BigCrystallineSite.Object.topology).cover_preserve hS |
| 67 | |
| 68 | abbrev restriction : Site.ModuleSheaf (p := p) (J := J) (δ := δ) f m ⥤ |
| 69 | Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n := |
| 70 | (inclusion f n m hnm).sheafPushforwardContinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 71 | (Site.topology f n) (Site.topology f m) |
| 72 | |
| 73 | instance restriction_additive : (restriction (p := p) (J := J) (δ := δ) f n m hnm).Additive where |
| 74 | map_add := by intros; rfl |
| 75 | |
| 76 | instance restriction_linear : (restriction (p := p) (J := J) (δ := δ) f n m hnm).Linear (Crystalline.ExactRestriction.Coeff (B := B)) where |
| 77 | map_smul := by intros; rfl |
| 78 | |
| 79 | instance restriction_leftAdjoint : (restriction (p := p) (J := J) (δ := δ) f n m hnm).IsLeftAdjoint := |
| 80 | ((inclusion f n m hnm).sheafAdjunctionCocontinuous (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 81 | (Site.topology f n) (Site.topology f m)).isLeftAdjoint |
| 82 | |
| 83 | instance restriction_preservesFiniteLimits : |
| 84 | PreservesFiniteLimits (restriction (p := p) (J := J) (δ := δ) f n m hnm) := by infer_instance |
| 85 | |
| 86 | instance restriction_preservesFiniteColimits : |
| 87 | PreservesFiniteColimits (restriction (p := p) (J := J) (δ := δ) f n m hnm) := by infer_instance |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps |