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.TruncatedModel.PrincipalSupportedGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.AdditiveTopFractionData |
| 4 | |
| 5 | /-! # Principal Top Factor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopFactor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual principal top map has the original coefficient factorization |
| 14 | before any choice of a supported-to-bounded target map. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (U : X.left.affineOpens) |
| 26 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 28 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 29 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] (a : Fin g → Γ(X.left,U.val)) |
| 30 | |
| 31 | abbrev opens := SupportedGlobalData.opens p k n X U |
| 32 | abbrev family := SupportedGlobalData.family p k n X U g a |
| 33 | abbrev forget := AdditiveTop.Comparison.forget p k |
| 34 | abbrev localComplex := PrincipalSupportedGlobal.localComplex p k n X Y f U I |
| 35 | |
| 36 | theorem totalMap : |
| 37 | Principal.PresheafCover.Comparison.totalMap (opens p k n X U) (family p k n X U g a) |
| 38 | (TopCover.sourceMap p k n X Y f hp I g) = |
| 39 | AugmentedCech.CoefficientNaturality.Total.totalMap (family p k n X U g a) |
| 40 | (AdditiveTopFractionData.restrictedMap p k n X Y f hp U I g) := rfl |
| 41 | |
| 42 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 43 | theorem coefficientIso (q : ℕ) : |
| 44 | PrincipalSupportedGlobal.localIso p k n X Y f U I g a q = |
| 45 | AugmentedCech.CoefficientTotal.homologyIso (family p k n X U g a) (forget p k) |
| 46 | (AdditiveTopFractionData.target p k n X Y f U I) q := rfl |
| 47 | |
| 48 | abbrev homology_map (q : ℕ) := |
| 49 | congrArg (fun z => homologyMap z q) (totalMap p k n X Y f hp U I g a).symm |
| 50 | |
| 51 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 52 | theorem coefficient_inverse (q : ℕ) : |
| 53 | (AugmentedCech.CoefficientTotal.homologyIso (family p k n X U g a) (forget p k) |
| 54 | (AdditiveTopFractionData.target p k n X Y f U I) q).inv = |
| 55 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a q).inv := rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Typed intermediate groups for the original principal top-map factorization. -/ |
| 60 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 61 | set_option backward.isDefEq.respectTransparency false |
| 62 | set_option backward.isDefEq.respectTransparency.types false |
| 63 | |
| 64 | private theorem combine {C : Type*} [Category C] {A B D : C} |
| 65 | (a a' : A ⟶ B) (b b' : B ⟶ D) (ha : a = a') (hb : b = b') : |
| 66 | a ≫ b = a' ≫ b' := by rw [ha, hb] |
| 67 | |
| 68 | private theorem postcompose {C : Type*} [Category C] {A B D E : C} |
| 69 | (a a' : A ⟶ B) (b b' : B ⟶ D) (v : D ⟶ E) (h : a ≫ b = a' ≫ b') : |
| 70 | a ≫ b ≫ v = a' ≫ b' ≫ v := by |
| 71 | simpa only [Category.assoc] using congrArg (fun x => x ≫ v) h |
| 72 | |
| 73 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 74 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 75 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 76 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 77 | (hp : IsPullback f Y.hom X.hom |
| 78 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 79 | (U : X.left.affineOpens) |
| 80 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 81 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 82 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 83 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] (a : Fin g → Γ(X.left,U.val)) |
| 84 | |
| 85 | attribute [local irreducible] HomologicalComplex.homology |
| 86 | |
| 87 | abbrev sourceGroup (q : ℕ) : AddCommGrpCat.{2} := |
| 88 | ((AugmentedOrdered.CechFunctor.bicomplex (family p k n X U g a) |
| 89 | (PrincipalTopCoordinates.original p k n X U g)).total (.up ℕ)).homology q |
| 90 | |
| 91 | abbrev targetGroup (q : ℕ) : AddCommGrpCat.{2} := |
| 92 | ((AugmentedOrdered.CechFunctor.bicomplex (family p k n X U g a) |
| 93 | (AugmentedCech.CoefficientTotal.mapped (forget p k) |
| 94 | (AdditiveTopFractionData.target p k n X Y f U I))).total (.up ℕ)).homology q |
| 95 | |
| 96 | abbrev outputGroup (q : ℕ) : AddCommGrpCat.{2} := |
| 97 | (forget p k).obj (((AugmentedOrdered.CechFunctor.bicomplex (family p k n X U g a) |
| 98 | (AdditiveTopFractionData.target p k n X Y f U I)).total (.up ℕ)).homology q) |
| 99 | |
| 100 | def first (q : ℕ) : sourceGroup p k n X U g a q ⟶ targetGroup p k n X Y f U I g a q := |
| 101 | homologyMap (AugmentedCech.CoefficientNaturality.Total.totalMap (family p k n X U g a) |
| 102 | (AdditiveTopFractionData.restrictedMap p k n X Y f hp U I g)) q |
| 103 | |
| 104 | def firstOriginal (q : ℕ) : sourceGroup p k n X U g a q ⟶ targetGroup p k n X Y f U I g a q := |
| 105 | homologyMap (Principal.PresheafCover.Comparison.totalMap (opens p k n X U) |
| 106 | (family p k n X U g a) (TopCover.sourceMap p k n X Y f hp I g)) q |
| 107 | |
| 108 | def second (q : ℕ) : targetGroup p k n X Y f U I g a q ⟶ outputGroup p k n X Y f U I g a q := |
| 109 | (AugmentedCech.CoefficientTotal.homologyIso (family p k n X U g a) (forget p k) |
| 110 | (AdditiveTopFractionData.target p k n X Y f U I) q).inv |
| 111 | |
| 112 | def secondOriginal (q : ℕ) : targetGroup p k n X Y f U I g a q ⟶ outputGroup p k n X Y f U I g a q := |
| 113 | (PrincipalSupportedGlobal.localIso p k n X Y f U I g a q).inv |
| 114 | |
| 115 | theorem first_eq (q : ℕ) : first p k n X Y f hp U I g a q = firstOriginal p k n X Y f hp U I g a q := |
| 116 | homology_map p k n X Y f hp U I g a q |
| 117 | |
| 118 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 119 | theorem second_eq (q : ℕ) : second p k n X Y f U I g a q = secondOriginal p k n X Y f U I g a q := |
| 120 | coefficient_inverse p k n X Y f U I g a q |
| 121 | |
| 122 | abbrev factors (q : ℕ) := combine |
| 123 | (first p k n X Y f hp U I g a q) (firstOriginal p k n X Y f hp U I g a q) |
| 124 | (second p k n X Y f U I g a q) (secondOriginal p k n X Y f U I g a q) |
| 125 | (first_eq p k n X Y f hp U I g a q) (second_eq p k n X Y f U I g a q) |
| 126 | |
| 127 | variable (q : ℕ) {T : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))} |
| 128 | (b : ((AugmentedOrdered.CechFunctor.bicomplex (family p k n X U g a) |
| 129 | (AdditiveTopFractionData.target p k n X Y f U I)).total (.up ℕ)).homology q ⟶ T) |
| 130 | |
| 131 | abbrev map := postcompose |
| 132 | (first p k n X Y f hp U I g a q) (firstOriginal p k n X Y f hp U I g a q) |
| 133 | (second p k n X Y f U I g a q) (secondOriginal p k n X Y f U I g a q) |
| 134 | ((forget p k).map b) (factors p k n X Y f hp U I g a q) |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopFactor |