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.FrobeniusInjectiveGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralCechLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BicomplexComponent |
| 4 | |
| 5 | /-! # Frobenius Target Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusTargetCoordinates.IntrinsicPadicFrobeniusTargetCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Frobenius coordinates on the named target complexes shared by the |
| 12 | original native integral comparison and injective Cech comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 21 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 22 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 23 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 24 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 27 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 28 | local notation "I0" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution wittMap 0 I |
| 29 | local notation "g" => Over.Hom.left (OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod p) Y) |
| 30 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.LevelZero.CrystallineFrobenius.LevelZeroCrystallineFrobenius.over_witt p Y |
| 31 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f |
| 32 | |
| 33 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X) |
| 34 | |
| 35 | /-- The original section map with the common native bicomplex endpoints. -/ |
| 36 | private def nativeCoordinateMap : InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I 0 ⟶ InjectiveCechLevel.IntrinsicPadicInjectiveCechLevelData.native p X Y f I 0 := |
| 37 | (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} R E).map |
| 38 | (FrobeniusInjectiveSectionMap.IntrinsicPadicFrobeniusInjectiveSectionMap.map p X Y f I0) |
| 39 | |
| 40 | def cochainMap : IntegralCechLevel.IntrinsicPadicIntegralCechLevel.target p X Y f I 0 ⟶ |
| 41 | IntegralCechLevel.IntrinsicPadicIntegralCechLevel.target p X Y f I 0 := |
| 42 | HomologicalComplex₂.total.map (nativeCoordinateMap p X Y f I) (.up ℕ) |
| 43 | |
| 44 | def homologyMap : IntegralCechLevel.IntrinsicPadicIntegralCechLevel.targetHOne p X Y f I 0 ⟶ |
| 45 | IntegralCechLevel.IntrinsicPadicIntegralCechLevel.targetHOne p X Y f I 0 := |
| 46 | HomologicalComplex.homologyMap (cochainMap p X Y f I) 1 |
| 47 | |
| 48 | abbrev cochain_coordinates := |
| 49 | FrobeniusInjectiveGlobal.IntrinsicPadicFrobeniusInjectiveGlobal.totalMap_coordinates p X Y f I |
| 50 | |
| 51 | private theorem component_coordinates (q r : ℕ) : |
| 52 | ((nativeCoordinateMap p X Y f I).f q).f r = |
| 53 | ((FrobeniusInjectiveCech.IntrinsicPadicFrobeniusInjectiveCech.nativeMap p X Y f I).f q).f r := rfl |
| 54 | |
| 55 | theorem homology_coordinates : IntrinsicPadicFrobeniusTargetCoordinates.homologyMap p X Y f I = |
| 56 | HomologicalComplex.homologyMap (FrobeniusInjectiveGlobal.IntrinsicPadicFrobeniusInjectiveGlobal.totalMap p X Y f I) 1 := |
| 57 | BicomplexComponent.BicomplexComponentHomology.homology |
| 58 | (nativeCoordinateMap p X Y f I) |
| 59 | (FrobeniusInjectiveCech.IntrinsicPadicFrobeniusInjectiveCech.nativeMap p X Y f I) 1 |
| 60 | (fun q r _ => component_coordinates p X Y f I q r) |
| 61 | |
| 62 | theorem natural : IntrinsicPadicFrobeniusTargetCoordinates.homologyMap p X Y f I ≫ |
| 63 | (InjectiveGlobalLevel.IntrinsicPadicInjectiveGlobalLevel.homologyIso p X Y f I 0 1).hom = |
| 64 | (InjectiveGlobalLevel.IntrinsicPadicInjectiveGlobalLevel.homologyIso p X Y f I 0 1).hom ≫ |
| 65 | ModuleCat.ofHom (IntegralComparison.BoundedCrystalline.CrystallinePullback.pullback g hg 0 1) := |
| 66 | (congrArg (fun q => q ≫ (InjectiveGlobalLevel.IntrinsicPadicInjectiveGlobalLevel.homologyIso p X Y f I 0 1).hom) |
| 67 | (homology_coordinates p X Y f I)).trans (FrobeniusInjectiveGlobal.IntrinsicPadicFrobeniusInjectiveGlobal.homology p X Y f I 1) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrobeniusTargetCoordinates.IntrinsicPadicFrobeniusTargetCoordinates |