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.IntrinsicPadic.SectionLevelMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechResolutionLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCechChange |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.SquareIsoTransport |
| 5 | |
| 6 | /-! # Diagonal Cech Level -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original native diagonal-section to sheafified-Cech comparison |
| 13 | commutes with the actual bounded-level maps. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (n m : ℕ) (hnm : n ≤ m) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 27 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) |
| 28 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap n m hnm |
| 29 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f |
| 30 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp |
| 31 | local notation "K" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X Y f hp |
| 32 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ResolutionLevelDiagram.IntrinsicPadicResolutionLevelDiagram.transformation p X Y f hp n m hnm |
| 33 | local notation "b" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionLevelMap.IntrinsicPadicSectionLevelMap.transformation p X Y f n m hnm |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 35 | |
| 36 | local instance sheafCoproducts (q : ℕ) : HasCoproducts.{0} |
| 37 | (IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) |
| 38 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap q) := |
| 39 | Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts R (IntegralComparison.BoundedCrystalline.Site.topology wittMap q) |
| 40 | |
| 41 | def diagonalMap : PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.source p X Y f hp m ⟶ |
| 42 | PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.source p X Y f hp n := |
| 43 | Section.DiagonalConeChange.SectionDiagonalConeChange.diagonalMap X.left.affineOpens T (S m) (S n) (P m) (P n) a b |
| 44 | |
| 45 | def sectionsMap : ((S m).mapHomologicalComplex (.up ℕ)).obj (K m) ⟶ |
| 46 | ((S n).mapHomologicalComplex (.up ℕ)).obj (K n) := |
| 47 | ((b).mapHomologicalComplex (.up ℕ)).app (K m) ≫ |
| 48 | ((S n).mapHomologicalComplex (.up ℕ)).map (CechResolutionLevel.IntrinsicPadicCechResolutionLevel.map p X Y f hp n m hnm) |
| 49 | |
| 50 | def totalSectionsMap : ((S m).mapHomologicalComplex (.up ℕ)).obj (CechCone.Total.CechConeTotal.total U (P m)) ⟶ |
| 51 | ((S n).mapHomologicalComplex (.up ℕ)).obj (CechCone.Total.CechConeTotal.total U (P n)) := |
| 52 | ((b).mapHomologicalComplex (.up ℕ)).app (CechCone.Total.CechConeTotal.total U (P m)) ≫ |
| 53 | ((S n).mapHomologicalComplex (.up ℕ)).map |
| 54 | (CechResolutionLevel.IntrinsicPadicCechResolutionLevel.diagramMap p X Y f hp n m hnm) |
| 55 | |
| 56 | theorem canonical_natural : Section.DiagonalCech.SectionDiagonalCechComparison.map.{0, 2, 1, 1, 2} X.left.affineOpens R (S m) (P m) |
| 57 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp m) U ≫ totalSectionsMap p X Y f hp n m hnm = |
| 58 | diagonalMap p X Y f hp n m hnm ≫ Section.DiagonalCech.SectionDiagonalCechComparison.map.{0, 2, 1, 1, 2} X.left.affineOpens R (S n) (P n) |
| 59 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp n) U := |
| 60 | Section.DiagonalCechChange.SectionDiagonalCechChange.natural.{0, 2, 1, 2, 1, 1, 2} X.left.affineOpens R T (S m) (S n) (P m) (P n) a b |
| 61 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp m) |
| 62 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp n) U |
| 63 | |
| 64 | theorem isomorphism_square : ((S m).mapHomologicalComplex (.up ℕ)).map |
| 65 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp m).inv ≫ sectionsMap p X Y f hp n m hnm = |
| 66 | totalSectionsMap p X Y f hp n m hnm ≫ ((S n).mapHomologicalComplex (.up ℕ)).map |
| 67 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp n).inv := |
| 68 | Functor.SquareIsoTransport.FunctorSquareIsoTransport.square ((T).mapHomologicalComplex (.up ℕ)) |
| 69 | ((S m).mapHomologicalComplex (.up ℕ)) ((S n).mapHomologicalComplex (.up ℕ)) |
| 70 | ((b).mapHomologicalComplex (.up ℕ)) (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp m) |
| 71 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp n) |
| 72 | (CechResolutionLevel.IntrinsicPadicCechResolutionLevel.diagramMap p X Y f hp n m hnm) |
| 73 | |
| 74 | theorem natural : PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X Y f hp m ≫ sectionsMap p X Y f hp n m hnm = |
| 75 | diagonalMap p X Y f hp n m hnm ≫ PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalMap p X Y f hp n := |
| 76 | (Category.assoc _ _ _).trans |
| 77 | ((congrArg (fun q => Section.DiagonalCech.SectionDiagonalCechComparison.map.{0, 2, 1, 1, 2} X.left.affineOpens R (S m) (P m) |
| 78 | (SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp m) U ≫ q) |
| 79 | (isomorphism_square p X Y f hp n m hnm)).trans |
| 80 | ((Category.assoc _ _ _).symm.trans |
| 81 | ((congrArg (fun q => q ≫ ((S n).mapHomologicalComplex (.up ℕ)).map |
| 82 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X Y f hp n).inv) |
| 83 | (canonical_natural p X Y f hp n m hnm)).trans (Category.assoc _ _ _)))) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalCechLevel.IntrinsicPadicDiagonalCechLevel |