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.Frame.OpenNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackCoordinates |
| 3 | |
| 4 | /-! # Open Combined -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenCombined.FrameGeometricOpenCombined |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The combined natural frame-resolution pullback respects the original |
| 11 | comparison to sections over inverse-image opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 16 | universe u |
| 17 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {X Y : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 19 | [IsSeparated fX] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = fX) (n : ℕ) |
| 20 | {FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fX n} |
| 21 | {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 22 | (a : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 26 | local notation "Kn" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fX n FX |
| 27 | local notation "Km" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY |
| 28 | local notation "SX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) fX n |
| 29 | local notation "SY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) fY n |
| 30 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap.precompose (B := B) g |
| 31 | |
| 32 | local instance constXZero : |
| 33 | (Functor.const X.Opensᵒᵖ : ModuleCat.{u + 2} R ⥤ X.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R).PreservesZeroMorphisms where |
| 34 | map_zero _ _ := rfl |
| 35 | local instance constYZero : |
| 36 | (Functor.const Y.Opensᵒᵖ : ModuleCat.{u + 2} R ⥤ Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R).PreservesZeroMorphisms where |
| 37 | map_zero _ _ := rfl |
| 38 | |
| 39 | def map : ((SY).mapHomologicalComplex (.up ℕ)).obj Km ⟶ |
| 40 | ((SX ⋙ H).mapHomologicalComplex (.up ℕ)).obj Kn := |
| 41 | Section.CochainPullback.SectionCochainPullback.map T SY (SX ⋙ H) (Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap.functorMap g hg n) |
| 42 | (BoundedFrame.PullbackSheaf.BoundedFramePullbackSheaf.map g hg n FX FY a) |
| 43 | |
| 44 | theorem map_eq : FrameGeometricOpenCombined.map g hg n a = OpenNaturality.FrameGeometricOpenNaturality.sectionsMap g hg n a := |
| 45 | congrArg (Section.CochainPullback.SectionCochainPullback.map T SY (SX ⋙ H) (Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap.functorMap g hg n)) |
| 46 | (BoundedFrame.PullbackCoordinates.BoundedFramePullbackCoordinates.map_eq g hg n FX a) |
| 47 | |
| 48 | theorem natural : (OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation fY n).app (op FY) ≫ FrameGeometricOpenCombined.map g hg n a = |
| 49 | ((Functor.const Y.Opensᵒᵖ : ModuleCat.{u + 2} R ⥤ Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R).mapHomologicalComplex (.up ℕ)).map |
| 50 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 51 | (IntegralComparison.BoundedFrame.SectionChange.frameMap a)) ≫ |
| 52 | ((H).mapHomologicalComplex (.up ℕ)).map |
| 53 | ((OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation fX n).app (op FX)) := |
| 54 | (congrArg (fun b => (OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation fY n).app (op FY) ≫ b) |
| 55 | (map_eq g hg n a)).trans (OpenNaturality.FrameGeometricOpenNaturality.natural g hg n a) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenCombined.FrameGeometricOpenCombined |