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.FrameOpenFrobenius |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackCoordinates |
| 3 | |
| 4 | /-! # Frame Open Frobenius Combined -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameOpenFrobeniusCombined.LevelZeroFrameOpenFrobeniusCombined |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original open-section Frobenius square also holds for the |
| 11 | natural combined frame-map construction used by the full Cech resolution. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 17 | (F : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 18 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 19 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) 0) |
| 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 "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (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 "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex w 0 F |
| 32 | |
| 33 | local instance separated : IsSeparated w := by |
| 34 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 35 | infer_instance |
| 36 | |
| 37 | local instance constPreservesZero : |
| 38 | (Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 39 | map_zero _ _ := rfl |
| 40 | |
| 41 | def map : ((S).mapHomologicalComplex (.up ℕ)).obj K ⟶ ((S).mapHomologicalComplex (.up ℕ)).obj K := |
| 42 | Section.CochainPullback.SectionCochainPullback.map T S S (FrobeniusOpenMap.LevelZeroFrobeniusOpenMap.largeFunctorMap p Y) |
| 43 | (BoundedFrame.PullbackSheaf.BoundedFramePullbackSheaf.map g hg 0 F F (CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y F)) |
| 44 | |
| 45 | theorem map_eq : LevelZeroFrameOpenFrobeniusCombined.map p Y F = FrameOpenFrobenius.LevelZeroFrameOpenFrobenius.sectionsMap p Y F := |
| 46 | congrArg (Section.CochainPullback.SectionCochainPullback.map T S S (FrobeniusOpenMap.LevelZeroFrobeniusOpenMap.largeFunctorMap p Y)) |
| 47 | (BoundedFrame.PullbackCoordinates.BoundedFramePullbackCoordinates.map_eq g hg 0 F (CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y F)) |
| 48 | |
| 49 | theorem natural : (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0).app (op F) ≫ LevelZeroFrameOpenFrobeniusCombined.map p Y F = |
| 50 | ((Functor.const Y.left.Opensᵒᵖ : ModuleCat.{2} R ⥤ Y.left.Opensᵒᵖ ⥤ ModuleCat.{2} R).mapHomologicalComplex (.up ℕ)).map |
| 51 | (((ModuleCat.uliftFunctor.{2, 1} R).mapHomologicalComplex (.up ℕ)).map |
| 52 | (IntegralComparison.BoundedFrame.SectionChange.frameMap (CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y F))) ≫ |
| 53 | (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0).app (op F) := |
| 54 | (congrArg (fun a => (Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation w 0).app (op F) ≫ a) (map_eq p Y F)).trans |
| 55 | (FrameOpenFrobenius.LevelZeroFrameOpenFrobenius.natural p Y F) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrameOpenFrobeniusCombined.LevelZeroFrameOpenFrobeniusCombined |