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.GeometricComparison.Bounded.OpenMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalSectionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionRestriction |
| 4 | |
| 5 | /-! # Large Open Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric open-section pullback in the original large coefficient |
| 12 | universe commutes with the original global-to-open restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | universe u |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X Y : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 20 | (g : X ⟶ Y) (hg : g ≫ fY = fX) (n : ℕ) |
| 21 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 24 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 25 | |
| 26 | def precompose : (X.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R) ⥤ (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R) := |
| 27 | (Functor.whiskeringLeft _ _ _).obj (TopologicalSpace.Opens.map g.base).op |
| 28 | |
| 29 | instance precompose_additive : (precompose (B := B) g).Additive := by |
| 30 | dsimp only [precompose] |
| 31 | infer_instance |
| 32 | |
| 33 | def functorMap : IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) fY n ⟶ |
| 34 | T ⋙ IntegralComparison.BoundedOpen.SectionComplex.functor fX n ⋙ precompose (B := B) g := |
| 35 | Functor.whiskerRight (OpenMap.BoundedGeometricOpenMap.functorMap g hg n) |
| 36 | ((Functor.whiskeringRight Y.Opensᵒᵖ (ModuleCat.{u + 1} R) (ModuleCat.{u + 2} R)).obj |
| 37 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R)) |
| 38 | |
| 39 | local instance continuous : (G).IsContinuous (IntegralComparison.BoundedCrystalline.Site.topology fX n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) := |
| 40 | IntegralComparison.Bounded.PostcomposeTopology.continuous g hg n |
| 41 | |
| 42 | def globalRestriction : GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) (J := J) (δ := δ) fY n ⟶ |
| 43 | T ⋙ GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections fX n := |
| 44 | IntegralComparison.Sheaf.PresheafSectionRestriction.map G R (IntegralComparison.BoundedCrystalline.Site.topology fX n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 45 | |
| 46 | theorem natural : GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation (p := p) (J := J) (δ := δ) fY n ≫ |
| 47 | functorMap g hg n = |
| 48 | Functor.whiskerRight (globalRestriction g hg n) (Functor.const Y.Opensᵒᵖ) ≫ |
| 49 | Functor.whiskerLeft T (Functor.whiskerRight (GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation fX n) |
| 50 | (precompose (B := B) g)) := by |
| 51 | apply NatTrans.ext |
| 52 | funext M |
| 53 | apply NatTrans.ext |
| 54 | funext U |
| 55 | apply ModuleCat.hom_ext |
| 56 | apply LinearMap.ext |
| 57 | intro x |
| 58 | rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap |