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.CrystallineFrobenius |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionFunctorMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 4 | |
| 5 | /-! # Frobenius Open Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrobeniusOpenMap.LevelZeroFrobeniusOpenMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual level-zero crystalline Frobenius preserves every open |
| 12 | subsite and acts naturally on its original Zariski section functor. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (Y : Over (Spec (CommRingCat.of (ZMod p)))) |
| 17 | |
| 18 | local notation "W" => WittVector p (ZMod p) |
| 19 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 20 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 21 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 22 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.over_witt p Y |
| 23 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.postcompose p Y |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 25 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) g hg 0 |
| 26 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf.property (p := p) |
| 27 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 28 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf.functor (p := p) |
| 29 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 |
| 30 | |
| 31 | theorem preserves (U : Y.left.Opens) (A : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 33 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 34 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) 0) : P U A → P U ((G).obj A) := |
| 35 | IntegralComparison.BoundedOpen.SectionPresheaf.incoming w 0 U (CrystallineFrobenius.LevelZeroCrystallineFrobenius.map p Y A) |
| 36 | |
| 37 | def sectionMap (I : IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 38 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 39 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 40 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) 0) : (S).obj I ⟶ (S).obj ((R).obj I) := |
| 41 | IntegralComparison.Incoming.SectionFunctorMap.presheafMap G Rcoeff (ModuleCat.of Rcoeff Rcoeff) P P |
| 42 | (IntegralComparison.BoundedOpen.SectionPresheaf.monotone w 0) (IntegralComparison.BoundedOpen.SectionPresheaf.monotone w 0) |
| 43 | (preserves p Y) I.obj |
| 44 | |
| 45 | def functorMap : S ⟶ R ⋙ S where |
| 46 | app I := sectionMap p Y I |
| 47 | naturality _ _ a := |
| 48 | (IntegralComparison.Incoming.SectionFunctorMap.functorMap G Rcoeff (ModuleCat.of Rcoeff Rcoeff) P P |
| 49 | (IntegralComparison.BoundedOpen.SectionPresheaf.monotone w 0) (IntegralComparison.BoundedOpen.SectionPresheaf.monotone w 0) |
| 50 | (preserves p Y)).naturality a.hom |
| 51 | |
| 52 | def largeFunctorMap : IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 53 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 ⟶ |
| 54 | R ⋙ IntegralComparison.BoundedOpen.SectionComplex.functor w 0 := |
| 55 | Functor.whiskerRight (functorMap p Y) |
| 56 | ((Functor.whiskeringRight Y.left.Opensᵒᵖ (ModuleCat.{1} Rcoeff) (ModuleCat.{2} Rcoeff)).obj |
| 57 | (ModuleCat.uliftFunctor.{2, 1} Rcoeff)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrobeniusOpenMap.LevelZeroFrobeniusOpenMap |