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.IntegralGlobalOne |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GlobalHomologyFactors |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.MappedFactor |
| 4 | |
| 5 | /-! # Integral Finite Map Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Explicit cochain and homology types for the original two factors |
| 12 | of the finite integral crystalline comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 17 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 18 | (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 20 | (n : ℕ) |
| 21 | |
| 22 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 23 | |
| 24 | local instance coefficientRing : Ring Rcoeff := |
| 25 | (inferInstance : CommRing Rcoeff).toRing |
| 26 | |
| 27 | local notation "coverNerve" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X) |
| 28 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 29 | |
| 30 | variable (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 31 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 32 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 33 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 34 | |
| 35 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} Rcoeff) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 36 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} Rcoeff) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} Rcoeff |
| 37 | |
| 38 | def source : CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 39 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff coverNerve).obj |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X n))).total (.up ℕ) |
| 41 | |
| 42 | def middle : CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 43 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff coverNerve).obj |
| 44 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n).mapHomologicalComplex (.up ℕ)).obj J.cocomplex)).total (.up ℕ) |
| 45 | |
| 46 | def target : CochainComplex (ModuleCat.{2} Rcoeff) ℕ := |
| 47 | (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex.{1, 0, 2} Rcoeff Y.left.carrier |
| 48 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f) |
| 49 | (IntegralComparison.BoundedOpen.FlasqueComplex.complex wittMap n J)).total (.up ℕ) |
| 50 | |
| 51 | def global : ModuleCat.{2} Rcoeff := ModuleCat.of Rcoeff |
| 52 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 53 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 54 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) wittMap n 1) |
| 55 | |
| 56 | def first : source p X n ⟶ middle p X Y f n J := IntegralCechOne.IntrinsicPadicIntegralCechHOne.map p X Y f hp n J |
| 57 | |
| 58 | def second := |
| 59 | HomologicalComplex₂.total.map (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.bicomplexIso p X Y f n J).hom (.up ℕ) |
| 60 | |
| 61 | def original : (source p X n).homology 1 ⟶ global p Y n := |
| 62 | (IntegralGlobalOne.IntrinsicPadicIntegralGlobalHOne.homologyIso p X Y f hp n J).hom |
| 63 | |
| 64 | def middleGlobal : (middle p X Y f n J).homology 1 ⟶ global p Y n := |
| 65 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.homologyIso p X Y f n J 1).hom |
| 66 | |
| 67 | def finalMap : (target p X Y f n J).homology 1 ⟶ global p Y n := |
| 68 | (Bounded.FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.homologyIso wittMap n J |
| 69 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.specialCover p X Y f) |
| 70 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.cover p X Y f) 1).hom |
| 71 | |
| 72 | def composite : source p X n ⟶ target p X Y f n J := first p X Y f hp n J ≫ second p X Y f n J |
| 73 | |
| 74 | theorem original_factor : original p X Y f hp n J = |
| 75 | HomologicalComplex.homologyMap (first p X Y f hp n J) 1 ≫ middleGlobal p X Y f n J := rfl |
| 76 | |
| 77 | omit [IsSeparated Y.hom] in |
| 78 | theorem middle_factor : middleGlobal p X Y f n J = |
| 79 | HomologicalComplex.homologyMap (second p X Y f n J) 1 ≫ finalMap p X Y f n J := |
| 80 | GlobalHomologyFactors.IntrinsicPadicGlobalHomologyFactors.homologyIso_hom p X Y f n J 1 |
| 81 | |
| 82 | theorem homology_factor : original p X Y f hp n J = |
| 83 | HomologicalComplex.homologyMap (composite p X Y f hp n J) 1 ≫ finalMap p X Y f n J := |
| 84 | MappedFactor.MappedComparisonFactor.equality (𝟭 (CochainComplex (ModuleCat.{2} Rcoeff) ℕ)) |
| 85 | (HomologicalComplex.homologyFunctor (ModuleCat.{2} Rcoeff) (.up ℕ) 1) |
| 86 | (first p X Y f hp n J) (second p X Y f n J) (finalMap p X Y f n J) |
| 87 | (HomologicalComplex.homologyMap (first p X Y f hp n J) 1) |
| 88 | (middleGlobal p X Y f n J) (original p X Y f hp n J) rfl |
| 89 | (middle_factor p X Y f n J) (original_factor p X Y f hp n J) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData |