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.IntegralLevelCompositeFactor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralFiniteCompositeCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FactorEquality |
| 4 | |
| 5 | /-! # Integral Level Global Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralLevelGlobalCoordinates.IntrinsicPadicIntegralLevelGlobalCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Identify the original level and finite integral comparisons through |
| 12 | their checked complete integral-to-flasque factors. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe uC vC |
| 16 | private theorem factor_from_components {R : Type uC} [CommRing R] |
| 17 | {K L M : HomologicalComplex₂ (ModuleCat.{vC} R) (.up ℕ) (.up ℕ)} |
| 18 | (N : ModuleCat.{vC} R) (b : L ⟶ M) (a : K ⟶ L) (c : K ⟶ M) (i : ℕ) |
| 19 | (firstMap : K.total (.up ℕ) ⟶ L.total (.up ℕ)) |
| 20 | (secondMap : L.total (.up ℕ) ⟶ M.total (.up ℕ)) |
| 21 | (hfirst : firstMap = HomologicalComplex₂.total.map a (.up ℕ)) |
| 22 | (hsecond : secondMap = HomologicalComplex₂.total.map b (.up ℕ)) |
| 23 | (original : (K.total (.up ℕ)).homology i ⟶ N) |
| 24 | (middle : (L.total (.up ℕ)).homology i ⟶ N) |
| 25 | (last last' : (M.total (.up ℕ)).homology i ⟶ N) |
| 26 | (hf : original = HomologicalComplex.homologyMap firstMap i ≫ middle) |
| 27 | (hm : middle = HomologicalComplex.homologyMap secondMap i ≫ last) |
| 28 | (hc : ∀ q r, q + r = i → (a.f q).f r ≫ (b.f q).f r = (c.f q).f r) |
| 29 | (hl : last = last') : |
| 30 | original = HomologicalComplex.homologyMap (HomologicalComplex₂.total.map c (.up ℕ)) i ≫ last' := by |
| 31 | subst firstMap |
| 32 | subst secondMap |
| 33 | have hcomp := BicomplexComposite.BicomplexCompositeHomology.homology a b c i hc |
| 34 | rw [hf, hm, ← Category.assoc, ← HomologicalComplex.homologyMap_comp, hcomp, hl] |
| 35 | |
| 36 | variable (p : ℕ) [Fact p.Prime] |
| 37 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 38 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 39 | (f : Y.left ⟶ X.left) |
| 40 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 41 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 43 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 44 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y))) (n : ℕ) |
| 45 | |
| 46 | local notation "Iq" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution |
| 47 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n I |
| 48 | |
| 49 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 50 | |
| 51 | local instance coefficientRing : Ring Rcoeff := |
| 52 | (inferInstance : CommRing Rcoeff).toRing |
| 53 | |
| 54 | local notation "nerve" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X) |
| 55 | |
| 56 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 57 | private theorem finalMap_coordinates : IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.finalMap p X Y f n Iq = |
| 58 | IntegralLevelCompositeFactor.IntrinsicPadicIntegralLevelCompositeFactor.finalMap p X Y f I n := rfl |
| 59 | |
| 60 | private theorem firstMap_coordinates : |
| 61 | Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} Rcoeff nerve |
| 62 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X Y f hp n Iq) = |
| 63 | HomologicalComplex₂.total.map |
| 64 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff nerve).map |
| 65 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X Y f hp n Iq)) (.up ℕ) := rfl |
| 66 | |
| 67 | omit [IsSeparated Y.hom] in |
| 68 | private theorem secondMap_coordinates : IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.second p X Y f n Iq = |
| 69 | HomologicalComplex₂.total.map (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.bicomplexIso p X Y f n Iq).hom |
| 70 | (.up ℕ) := rfl |
| 71 | |
| 72 | private abbrev bicomplexFactors := factor_from_components |
| 73 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.global p Y n) |
| 74 | (InjectiveCechGlobal.IntrinsicPadicInjectiveCechGlobal.bicomplexIso p X Y f n Iq).hom |
| 75 | ((Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.bicomplex.{1, 2} Rcoeff nerve).map |
| 76 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X Y f hp n Iq)) |
| 77 | (IntegralGlobalComposite.IntrinsicPadicIntegralGlobalComposite.finiteBicomplex p X Y f hp I n) 1 |
| 78 | |
| 79 | private abbrev cochainMaps := bicomplexFactors p X Y f hp I n |
| 80 | (Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} Rcoeff nerve |
| 81 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X Y f hp n Iq)) |
| 82 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.second p X Y f n Iq) |
| 83 | |
| 84 | private abbrev cochainFactors := cochainMaps p X Y f hp I n |
| 85 | (firstMap_coordinates p X Y f hp I n) |
| 86 | (secondMap_coordinates p X Y f I n) |
| 87 | |
| 88 | private abbrev originalFactors := cochainFactors p X Y f hp I n |
| 89 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.original p X Y f hp n Iq) |
| 90 | private abbrev middleFactors := originalFactors p X Y f hp I n |
| 91 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.middleGlobal p X Y f n Iq) |
| 92 | private abbrev finalFactors := middleFactors p X Y f hp I n |
| 93 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.finalMap p X Y f n Iq) |
| 94 | private abbrev preparedFactors := finalFactors p X Y f hp I n |
| 95 | (IntegralLevelCompositeFactor.IntrinsicPadicIntegralLevelCompositeFactor.finalMap p X Y f I n) |
| 96 | |
| 97 | private abbrev finiteFactorProof := preparedFactors p X Y f hp I n |
| 98 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.original_factor p X Y f hp n Iq) |
| 99 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.middle_factor p X Y f n Iq) |
| 100 | (fun q r _ => IntegralFiniteCompositeCoordinates.IntrinsicPadicIntegralFiniteCompositeCoordinates.component p X Y f hp I n q r) |
| 101 | (finalMap_coordinates p X Y f I n) |
| 102 | |
| 103 | theorem finite_factor : type_of% (finiteFactorProof p X Y f hp I n) := |
| 104 | finiteFactorProof p X Y f hp I n |
| 105 | |
| 106 | theorem level_original : (IntegralGlobalLevel.IntrinsicPadicIntegralGlobalLevel.homologyIso p X Y f hp I n).hom = |
| 107 | IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.original p X Y f hp n Iq := |
| 108 | FactorEquality.ComparisonFactorEquality.equality |
| 109 | (IntegralGlobalLevel.IntrinsicPadicIntegralGlobalLevel.homologyIso p X Y f hp I n).hom |
| 110 | (IntegralFiniteMapData.IntrinsicPadicIntegralFiniteMapData.original p X Y f hp n Iq) |
| 111 | (HomologicalComplex.homologyMap (IntegralGlobalComposite.IntrinsicPadicIntegralGlobalComposite.levelMap p X Y f hp I n) 1) |
| 112 | (HomologicalComplex.homologyMap (IntegralGlobalComposite.IntrinsicPadicIntegralGlobalComposite.finiteMap p X Y f hp I n) 1) |
| 113 | (IntegralLevelCompositeFactor.IntrinsicPadicIntegralLevelCompositeFactor.finalMap p X Y f I n) |
| 114 | (IntegralLevelCompositeFactor.IntrinsicPadicIntegralLevelCompositeFactor.finalMap p X Y f I n) |
| 115 | (IntegralLevelCompositeFactor.IntrinsicPadicIntegralLevelCompositeFactor.level p X Y f hp I n) |
| 116 | (finite_factor p X Y f hp I n) |
| 117 | (IntegralGlobalComposite.IntrinsicPadicIntegralGlobalComposite.homology p X Y f hp I n) rfl |
| 118 | |
| 119 | theorem homology : (IntegralGlobalLevel.IntrinsicPadicIntegralGlobalLevel.homologyIso p X Y f hp I n).hom = |
| 120 | (IntegralGlobalOne.IntrinsicPadicIntegralGlobalHOne.homologyIso p X Y f hp n Iq).hom := |
| 121 | level_original p X Y f hp I n |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralLevelGlobalCoordinates.IntrinsicPadicIntegralLevelGlobalCoordinates |