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.LevelZero.FrameOpenFrobeniusCombined |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrobeniusFrameComplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameFrobeniusSheaf |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralInjective |
| 6 | |
| 7 | /-! # Frame Open Frobenius Naturality -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual Frobenius commutes naturally with frame-to-open-section |
| 14 | comparison on the full crystalline frame category. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | |
| 21 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 23 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 24 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.over_witt p Y |
| 25 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 27 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) g hg 0 |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 30 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 33 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 34 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p |
| 35 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 38 | |
| 39 | local instance separated : IsSeparated w := by |
| 40 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 41 | infer_instance |
| 42 | |
| 43 | local instance constPreservesZero : |
| 44 | (Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 45 | map_zero _ _ := rfl |
| 46 | |
| 47 | def sourceMap : A ⟶ A := |
| 48 | Functor.whiskerRight (FrobeniusFrameComplex.LevelZeroFrobeniusFrameComplex.transformation p Y) ((G).mapHomologicalComplex (.up ℕ)) |
| 49 | |
| 50 | def sectionsMap : P ⋙ (S).mapHomologicalComplex (.up ℕ) ⟶ P ⋙ (S).mapHomologicalComplex (.up ℕ) := |
| 51 | Section.ComplexBifunctorChange.SectionComplexBifunctorChange.complexes T S S P P (FrameFrobeniusSheaf.LevelZeroFrameFrobeniusSheaf.transformation p Y) |
| 52 | (FrobeniusOpenMap.LevelZeroFrobeniusOpenMap.largeFunctorMap p Y) |
| 53 | |
| 54 | omit [IsSeparated Y.hom] in |
| 55 | theorem source_component (F : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) |
| 56 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 57 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 58 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) 0) : |
| 59 | (sourceMap p Y).app (op F) = ((ModuleCat.uliftFunctor.{2, 1} R).mapHomologicalComplex (.up ℕ)).map |
| 60 | (IntegralComparison.BoundedFrame.SectionChange.frameMap (CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y F)) := by |
| 61 | change ((G).mapHomologicalComplex (.up ℕ)).map |
| 62 | ((FrobeniusFrameComplex.LevelZeroFrobeniusFrameComplex.pulled p Y).app (op F) ≫ 𝟙 _) = _ |
| 63 | rw [Category.comp_id] |
| 64 | rfl |
| 65 | |
| 66 | theorem natural : Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0 ≫ sectionsMap p Y = |
| 67 | Functor.whiskerRight (sourceMap p Y) |
| 68 | ((Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ)) ≫ |
| 69 | Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0 := by |
| 70 | apply NatTrans.ext |
| 71 | funext F |
| 72 | apply HomologicalComplex.Hom.ext |
| 73 | funext i |
| 74 | apply NatTrans.ext |
| 75 | funext V |
| 76 | have h := FrameOpenFrobeniusCombined.LevelZeroFrameOpenFrobeniusCombined.natural p Y F.unop |
| 77 | have hc := source_component p Y F.unop |
| 78 | exact (congrArg (fun q => (q.f i).app V) h).trans |
| 79 | (congrArg (fun a => a ≫ (((Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0).app F).f i).app V) |
| 80 | (congrArg (fun q => q.f i) hc).symm) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameOpenFrobeniusNaturality.LevelZeroFrameOpenFrobeniusNaturality |