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.IntegralComparison.FirstThreeCechReduction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.OrdinaryReduction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.SmallReductionSquare |
| 4 | |
| 5 | /-! # Padic One -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PadicOne.IntrinsicH |
| 12 | |
| 13 | /-! The genuine H¹ projection from the full ordinary Čech complex to |
| 14 | the accepted first-three-form comparison commutes with reduction. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 20 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | |
| 22 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X |
| 23 | local notation "P" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex ℤ_[p] X |
| 24 | local notation "E" => FormalCoproduct.cech (FormalCoproduct.mk |
| 25 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) U) |
| 26 | local notation "K" => HomologicalComplex₂.total |
| 27 | (OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X) (ComplexShape.up ℕ) |
| 28 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion.complex ℤ_[p] X U |
| 29 | |
| 30 | local instance cech_additive : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor ℤ_[p] X U).Additive := by |
| 31 | change (FormalCoproduct.cochainComplexFunctor E).Additive |
| 32 | infer_instance |
| 33 | |
| 34 | def projection : K ⟶ C := |
| 35 | GeometricComparison.FirstThree.MappedTotalOne.FirstThreeMappedTotalHOne.map ℤ_[p] (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor ℤ_[p] X U) P |
| 36 | |
| 37 | omit [X.left.IsSeparated] in |
| 38 | theorem quasiIsoAt : QuasiIsoAt (projection p X) 1 := |
| 39 | GeometricComparison.FirstThree.MappedTotalOne.FirstThreeMappedTotalHOne.quasiIsoAt ℤ_[p] (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor ℤ_[p] X U) P |
| 40 | |
| 41 | def cohomologyIso : (K).homology 1 ≅ (C).homology 1 := by |
| 42 | let := quasiIsoAt p X |
| 43 | exact isoOfQuasiIsoAt (projection p X) 1 |
| 44 | |
| 45 | def globalEquiv : (K).homology 1 ≃ₗ[ℤ_[p]] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℤ_[p] X 1 := |
| 46 | (cohomologyIso p X).toLinearEquiv.trans (GeometricComparison.IntrinsicPadic.IntegralCechCoordinates.IntrinsicPadicIntegralCechCoordinates.equiv p X).symm |
| 47 | |
| 48 | omit [X.left.IsSeparated] in |
| 49 | theorem global_coordinates (x : (K).homology 1) : |
| 50 | GeometricComparison.IntrinsicPadic.IntegralCechCoordinates.IntrinsicPadicIntegralCechCoordinates.equiv p X (globalEquiv p X x) = |
| 51 | (cohomologyIso p X).hom x := |
| 52 | (GeometricComparison.IntrinsicPadic.IntegralCechCoordinates.IntrinsicPadicIntegralCechCoordinates.equiv p X).apply_symm_apply _ |
| 53 | |
| 54 | omit [X.left.IsSeparated] in |
| 55 | theorem projection_reduction (n : ℕ) : |
| 56 | projection p X ≫ GeometricComparison.CechPresheaf.QuotientProjection.CechPresheafQuotientProjection.map ℤ_[p] |
| 57 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) E (GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex P) = |
| 58 | OrdinaryReduction.IntrinsicOrdinary.map p X n ≫ |
| 59 | GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.projection ℤ_[p] X U |
| 60 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) := |
| 61 | FirstThreeCechReduction.natural ℤ_[p] ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) E P |
| 62 | |
| 63 | omit [X.left.IsSeparated] in |
| 64 | theorem truncated_reduction (n : ℕ) : |
| 65 | GeometricComparison.PrincipalCochainExact.PrincipalCochainQuotient.projection ℤ_[p] C (p : ℤ_[p]) (n+1) ≫ |
| 66 | (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))).hom = |
| 67 | GeometricComparison.CechPresheaf.QuotientProjection.CechPresheafQuotientProjection.map ℤ_[p] ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) |
| 68 | E (GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex P) := |
| 69 | GeometricComparison.CechPresheaf.QuotientProjection.CechPresheafQuotientProjection.total ℤ_[p] ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) |
| 70 | E (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.finiteIndices ℤ_[p] X U) (GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex P) |
| 71 | |
| 72 | end NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PadicOne.IntrinsicH |
| 73 | |
| 74 | namespace NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PadicOne.IntrinsicHReduction |
| 75 | |
| 76 | /-! Full ordinary reduction and the accepted first-three quotient have |
| 77 | the same H¹ coordinates, through their literal projection maps. -/ |
| 78 | |
| 79 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 80 | |
| 81 | private theorem cancel_iso {A : Type*} [Category A] {V W T D : A} |
| 82 | (p : V ⟶ W) (b : W ⟶ T) (t : T ≅ D) (a : V ⟶ D) |
| 83 | (h : p ≫ b ≫ t.hom = a) : p ≫ b = a ≫ t.inv := by |
| 84 | rw [← h] |
| 85 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 86 | |
| 87 | private theorem mapped_cancel_iso {A B : Type*} [Category A] [Category B] |
| 88 | (F : A ⥤ B) {V W T D Q : A} (p : V ⟶ W) (b : W ⟶ T) |
| 89 | (t : T ≅ D) (a : V ⟶ Q) (q : Q ⟶ D) |
| 90 | (h : p ≫ b ≫ t.hom = a ≫ q) : |
| 91 | F.map p ≫ F.map b = F.map a ≫ F.map q ≫ (F.mapIso t).inv := by |
| 92 | have hh : F.map p ≫ F.map b ≫ (F.mapIso t).hom = F.map a ≫ F.map q := by |
| 93 | simpa only [Functor.map_comp, Functor.mapIso_hom] using congrArg F.map h |
| 94 | exact (cancel_iso (F.map p) (F.map b) (F.mapIso t) (F.map a ≫ F.map q) hh).trans |
| 95 | (Category.assoc _ _ _) |
| 96 | |
| 97 | variable (p : ℕ) [Fact p.Prime] |
| 98 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 99 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 100 | |
| 101 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X |
| 102 | local notation "K" => HomologicalComplex₂.total |
| 103 | (OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X) (ComplexShape.up ℕ) |
| 104 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion.complex ℤ_[p] X U |
| 105 | local notation "H" => HomologicalComplex.homologyFunctor (ModuleCat ℤ_[p]) (ComplexShape.up ℕ) 1 |
| 106 | |
| 107 | omit [X.left.IsSeparated] in |
| 108 | theorem homology_square (n : ℕ) : |
| 109 | HomologicalComplex.homologyMap (IntrinsicH.projection p X) 1 ≫ |
| 110 | HomologicalComplex.homologyMap |
| 111 | (GeometricComparison.PrincipalCochainExact.PrincipalCochainQuotient.projection ℤ_[p] C (p : ℤ_[p]) (n+1)) 1 = |
| 112 | HomologicalComplex.homologyMap (OrdinaryReduction.IntrinsicOrdinary.map p X n) 1 ≫ |
| 113 | HomologicalComplex.homologyMap |
| 114 | (GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.projection ℤ_[p] X U |
| 115 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))) 1 ≫ |
| 116 | (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U |
| 117 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) 1).inv := by |
| 118 | have h := IntrinsicH.projection_reduction p X n |
| 119 | rw [← IntrinsicH.truncated_reduction] at h |
| 120 | exact mapped_cancel_iso |
| 121 | (HomologicalComplex.homologyFunctor (ModuleCat.{0} ℤ_[p]) (.up ℕ) 1) |
| 122 | (IntrinsicH.projection p X) |
| 123 | (GeometricComparison.PrincipalCochainExact.PrincipalCochainQuotient.projection ℤ_[p] C (p : ℤ_[p]) (n+1)) |
| 124 | (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.iso ℤ_[p] X U ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))) |
| 125 | (OrdinaryReduction.IntrinsicOrdinary.map p X n) |
| 126 | (GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.projection ℤ_[p] X U |
| 127 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))) h |
| 128 | |
| 129 | theorem coordinates (n : ℕ) (x : (K).homology 1) : |
| 130 | (GeometricComparison.IntrinsicPadic.FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline.sourceHomologyIso p X n).hom |
| 131 | (HomologicalComplex.homologyMap (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n).inv 1 |
| 132 | (OrdinaryReduction.IntrinsicOrdinary.reduction p X n 1 x)) = |
| 133 | GeometricComparison.CochainQuotientCohomology.PrincipalCochainQuotient.reduction ℤ_[p] C (p : ℤ_[p]) (n+1) 1 |
| 134 | ((IntrinsicH.cohomologyIso p X).hom x) := by |
| 135 | have h := ConcreteCategory.congr_hom (homology_square p X n) x |
| 136 | let e := HomologicalComplex.homologyMapIso (GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.fullOpenIso p X n) 1 |
| 137 | change (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U |
| 138 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) 1).inv |
| 139 | (HomologicalComplex.homologyMap |
| 140 | (GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.projection ℤ_[p] X U |
| 141 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))) 1 |
| 142 | (e.hom (e.inv (OrdinaryReduction.IntrinsicOrdinary.reduction p X n 1 x)))) = _ |
| 143 | exact (congrArg |
| 144 | (fun z => (GeometricComparison.IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U |
| 145 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1)) 1).inv |
| 146 | (HomologicalComplex.homologyMap |
| 147 | (GeometricComparison.IntegralCech.CechQuotientTotal.IntegralCechQuotientTotal.projection ℤ_[p] X U |
| 148 | ((Ideal.span {(p : ℤ_[p])}) ^ (n+1))) 1 z)) |
| 149 | (ConcreteCategory.congr_hom e.inv_hom_id |
| 150 | (OrdinaryReduction.IntrinsicOrdinary.reduction p X n 1 x))).trans h.symm |
| 151 | |
| 152 | end NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PadicOne.IntrinsicHReduction |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI |