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.FrobeniusOpenMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalSectionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionRestriction |
| 4 | |
| 5 | /-! # Frobenius Global Open Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrobeniusGlobalOpenMap.LevelZeroFrobeniusGlobalOpenMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Original global-to-open section restriction commutes with the |
| 12 | actual level-zero crystalline Frobenius restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | variable (p : ℕ) [Fact p.Prime] (Y : Over (Spec (CommRingCat.of (ZMod p)))) |
| 18 | |
| 19 | local notation "W" => WittVector p (ZMod p) |
| 20 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 21 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 22 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 23 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.over_witt p Y |
| 24 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.postcompose p Y |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 26 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) g hg 0 |
| 27 | |
| 28 | local instance continuous : (G).IsContinuous (IntegralComparison.BoundedCrystalline.Site.topology w 0) (IntegralComparison.BoundedCrystalline.Site.topology w 0) := |
| 29 | IntegralComparison.Bounded.PostcomposeTopology.continuous g hg 0 |
| 30 | |
| 31 | def restriction : Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) |
| 32 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 ⟶ |
| 33 | R ⋙ Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections w 0 := |
| 34 | IntegralComparison.Sheaf.PresheafSectionRestriction.map G Rcoeff (IntegralComparison.BoundedCrystalline.Site.topology w 0) (IntegralComparison.BoundedCrystalline.Site.topology w 0) |
| 35 | |
| 36 | theorem natural : Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation (p := p) |
| 37 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w 0 ≫ |
| 38 | FrobeniusOpenMap.LevelZeroFrobeniusOpenMap.largeFunctorMap p Y = |
| 39 | Functor.whiskerRight (restriction p Y) (Functor.const Y.left.Opensᵒᵖ) ≫ |
| 40 | Functor.whiskerLeft R (Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation w 0) := by |
| 41 | apply NatTrans.ext |
| 42 | funext M |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro x |
| 48 | rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.FrobeniusGlobalOpenMap.LevelZeroFrobeniusGlobalOpenMap |