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.Bounded.OpenSectionLevel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ResolutionLevelDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange |
| 5 | |
| 6 | /-! # Section Level Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap.IntrinsicPadicSectionLevelMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Original native open-section restriction and native frame-level maps |
| 13 | give the actual level transformation of the section bifunctors. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (n m : ℕ) (hnm : n ≤ m) |
| 22 | |
| 23 | local notation "W" => WittVector p (ZMod p) |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 25 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) |
| 27 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap n m hnm |
| 28 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 29 | |
| 30 | def transformation : S m ⟶ T ⋙ S n := |
| 31 | Functor.whiskerRight (Bounded.OpenSectionLevel.BoundedOpenSectionLevel.transformation wittMap n m hnm) |
| 32 | ((Functor.whiskeringLeft X.left.affineOpensᵒᵖ Y.left.Opensᵒᵖ (ModuleCat.{2} R)).obj |
| 33 | (SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X Y f).op) |
| 34 | |
| 35 | variable (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 36 | |
| 37 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp |
| 38 | |
| 39 | def complexes : P m ⋙ (S m).mapHomologicalComplex (.up ℕ) ⟶ P n ⋙ (S n).mapHomologicalComplex (.up ℕ) := |
| 40 | Section.ComplexBifunctorChange.SectionComplexBifunctorChange.complexes T (S m) (S n) (P m) (P n) |
| 41 | (ResolutionLevelDiagram.IntrinsicPadicResolutionLevelDiagram.transformation p X Y f hp n m hnm) |
| 42 | (transformation p X Y f n m hnm) |
| 43 | |
| 44 | def rows : SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp m ⟶ SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp n := |
| 45 | Section.ComplexBifunctorChange.SectionComplexBifunctorChange.rows T (S m) (S n) (P m) (P n) |
| 46 | (ResolutionLevelDiagram.IntrinsicPadicResolutionLevelDiagram.transformation p X Y f hp n m hnm) |
| 47 | (transformation p X Y f n m hnm) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap.IntrinsicPadicSectionLevelMap |