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.SectionHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.TopCone |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 5 | |
| 6 | /-! # Global Cone -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GlobalCone.IntrinsicPadicGeometricGlobalCone |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual geometric map on injective sections preserves the |
| 13 | original global-section cones on compatible integral affine pairs. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 22 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 23 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 24 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 25 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 27 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 28 | |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 30 | local notation "Pairs" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.Charts (Over.Hom.left u) |
| 31 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 32 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ |
| 33 | local notation "K₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.complex w₁ n I₁ |
| 34 | local notation "K₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.complex w₂ n I₂ |
| 35 | |
| 36 | def sourceGlobal : CochainComplex (ModuleCat.{2} R) ℕ := (CechPresheaf.TopCone.CechPresheafTopCone.global Y₁.left.Opens).obj K₁ |
| 37 | def targetGlobal : CochainComplex (ModuleCat.{2} R) ℕ := (CechPresheaf.TopCone.CechPresheafTopCone.global Y₂.left.Opens).obj K₂ |
| 38 | |
| 39 | def sourceCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Pairs)).obj (sourceGlobal p n I₁) ⟶ |
| 40 | ((SectionMap.IntrinsicPadicGeometricSectionMap.sourceSections p u f₁ n).mapHomologicalComplex (.up ℕ)).obj I₁.cocomplex := |
| 41 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) |
| 42 | (OpenPairs.IntrinsicPadicGeometricOpenPairs.source p u f₁)).mapHomologicalComplex (.up ℕ)).map |
| 43 | (CechPresheaf.TopCone.CechPresheafTopCone.cone Y₁.left.Opens K₁) |
| 44 | |
| 45 | def targetCone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Pairs)).obj (targetGlobal p n I₂) ⟶ |
| 46 | ((SectionMap.IntrinsicPadicGeometricSectionMap.targetSections p u f₂ n).mapHomologicalComplex (.up ℕ)).obj I₂.cocomplex := |
| 47 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} R) |
| 48 | (OpenPairs.IntrinsicPadicGeometricOpenPairs.target p u f₂)).mapHomologicalComplex (.up ℕ)).map |
| 49 | (CechPresheaf.TopCone.CechPresheafTopCone.cone Y₂.left.Opens K₂) |
| 50 | |
| 51 | def globalMap : targetGlobal p n I₂ ⟶ sourceGlobal p n I₁ := |
| 52 | Bounded.OpenCohomology.BoundedGeometricOpenCohomology.map v.left (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n I₂ I₁ |
| 53 | |
| 54 | omit [Smooth X₁.hom] [Smooth X₂.hom] [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 55 | theorem component (q : ℕ) (U : Pairsᵒᵖ) : |
| 56 | ((targetCone p u f₂ n I₂).f q).app U ≫ |
| 57 | ((SectionHomotopy.IntrinsicPadicGeometricSectionHomotopy.injectiveMap p u v f₁ f₂ hsquare n I₁ I₂).f q).app U = |
| 58 | (globalMap p v n I₁ I₂).f q ≫ ((sourceCone p u f₁ n I₁).f q).app U := by |
| 59 | apply ModuleCat.hom_ext |
| 60 | apply LinearMap.ext |
| 61 | intro x |
| 62 | rfl |
| 63 | |
| 64 | omit [Smooth X₁.hom] [Smooth X₂.hom] [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 65 | theorem naturality : targetCone p u f₂ n I₂ ≫ |
| 66 | SectionHomotopy.IntrinsicPadicGeometricSectionHomotopy.injectiveMap p u v f₁ f₂ hsquare n I₁ I₂ = |
| 67 | (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := Pairs)).map (globalMap p v n I₁ I₂) ≫ sourceCone p u f₁ n I₁ := by |
| 68 | apply HomologicalComplex.Hom.ext |
| 69 | funext q |
| 70 | apply NatTrans.ext |
| 71 | funext U |
| 72 | exact component p u v f₁ f₂ hsquare n I₁ I₂ q U |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GlobalCone.IntrinsicPadicGeometricGlobalCone |