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.AlgebraicTopology.Products.OrdinaryRelativeCapAdjunction |
| 2 | import OAI.AlgebraicTopology.Products.RelativeCupGradedCommutativity |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCupCapAdjunction |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeChainD |
| 5 | import OAI.AlgebraicTopology.Duality.Poincare.MixedCapHomology |
| 6 | import OAI.AlgebraicTopology.Products.CupGradedCommutativity |
| 7 | |
| 8 | /-! # Cap Transpose -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicTopology.Products.CapTranspose |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Transposition of the actual cap pairings |
| 16 | |
| 17 | Evaluation of a relative class on the ordinary-relative cap is the signed |
| 18 | evaluation of the ordinary class on the support-relative cap. The sign |
| 19 | comes from the proved graded commutativity of the actual relative cup. |
| 20 | All degree identifications below use equality transport on the existing |
| 21 | cohomology and homology objects. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.CategoryTheory |
| 25 | open OAI.AlgebraicTopology.Duality.Poincare.MixedCapHomology |
| 26 | |
| 27 | set_option backward.defeqAttrib.useBackward true |
| 28 | set_option backward.isDefEq.respectTransparency false |
| 29 | set_option backward.isDefEq.respectTransparency.types false |
| 30 | |
| 31 | /-- Relative evaluation moves a cohomology degree transport to the inverse |
| 32 | degree transport on the actual integral homology argument. -/ |
| 33 | theorem relativeRationalHomologyEvaluation_cohomologyCast |
| 34 | (X : TopCat.{0}) (B : Set X) {m n : ℕ} (h : m = n) |
| 35 | (c : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B m) |
| 36 | (z : AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) : |
| 37 | Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation X B n |
| 38 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCohomologyCast (ModuleCat.of ℚ ℚ) X B h c) z = |
| 39 | Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation X B m c |
| 40 | ((eqToHom (congrArg (fun i => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B i) h.symm)) z) := by |
| 41 | subst n |
| 42 | rfl |
| 43 | |
| 44 | /-- The analogous equality transport for ordinary rational evaluation. -/ |
| 45 | theorem singularEvaluation_cohomologyCast |
| 46 | (X : TopCat.{0}) {m n : ℕ} (h : m = n) |
| 47 | (c : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X m) |
| 48 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology n) : |
| 49 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X n |
| 50 | (CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj X) (ModuleCat.of ℚ ℚ) h c) z = |
| 51 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X m c |
| 52 | ((eqToHom (congrArg |
| 53 | (fun i => (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology i) h.symm)) z) := by |
| 54 | subst n |
| 55 | rfl |
| 56 | |
| 57 | /-- The actual coefficient map commutes with equality transport in degree. -/ |
| 58 | theorem integralToRationalHomology_degreeCast |
| 59 | (X : TopCat.{0}) {m n : ℕ} (h : m = n) |
| 60 | (z : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology m) : |
| 61 | Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℚ) X n |
| 62 | ((eqToHom (congrArg (fun i => (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology i) h)) z) = |
| 63 | (eqToHom (congrArg (fun i => (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology i) h)) |
| 64 | (Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℚ) X m z) := by |
| 65 | subst n |
| 66 | rfl |
| 67 | |
| 68 | /-- Ordinary cap transposition on the genuine rational (co)homology groups. -/ |
| 69 | theorem ordinaryCapTranspose (X : TopCat.{0}) (p q : ℕ) |
| 70 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 71 | (b : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X q) |
| 72 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology (p + q)) : |
| 73 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X q b |
| 74 | (CapBoundary.singularCapHomology X p q a z) = |
| 75 | (-1 : ℚ) ^ (p * q) * |
| 76 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 77 | (CapBoundary.singularCapHomology X q p b |
| 78 | ((eqToHom (congrArg |
| 79 | (fun n => (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology n) |
| 80 | (Nat.add_comm p q))) z)) := by |
| 81 | calc |
| 82 | _ = Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X (p + q) |
| 83 | (CupCohomology.singularCohomologyCup X p q a b) z := |
| 84 | (CapCompatibility.singularCohomologyCup_evaluation_cap X p q a b z).symm |
| 85 | _ = (-1 : ℚ) ^ (p * q) * |
| 86 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X (q + p) |
| 87 | (CupCohomology.singularCohomologyCup X q p b a) |
| 88 | ((eqToHom (congrArg |
| 89 | (fun n => (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology n) |
| 90 | (Nat.add_comm p q))) z) := by |
| 91 | rw [CupGradedCommutativity.singularCohomologyCup_graded_comm, map_smul, LinearMap.smul_apply] |
| 92 | change (-1 : ℚ) ^ (p * q) * |
| 93 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X (p + q) |
| 94 | (CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj X) (ModuleCat.of ℚ ℚ) |
| 95 | (Nat.add_comm q p) (CupCohomology.singularCohomologyCup X q p b a)) z = _ |
| 96 | rw [singularEvaluation_cohomologyCast] |
| 97 | _ = _ := by rw [CapCompatibility.singularCohomologyCup_evaluation_cap] |
| 98 | |
| 99 | /-- The same ordinary cap transposition for an actual integral homology |
| 100 | input and the established integral-to-rational coefficient map. -/ |
| 101 | theorem mixedCapTranspose (X : TopCat.{0}) (p q : ℕ) |
| 102 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 103 | (b : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X q) |
| 104 | (z : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology (p + q)) : |
| 105 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X q b |
| 106 | (Duality.Poincare.MixedCapHomology.mixedSingularCapHomology X p q a z) = |
| 107 | (-1 : ℚ) ^ (p * q) * |
| 108 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 109 | (Duality.Poincare.MixedCapHomology.mixedSingularCapHomology X q p b |
| 110 | ((eqToHom (congrArg |
| 111 | (fun n => (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology n) (Nat.add_comm p q))) z)) := by |
| 112 | rw [Duality.Poincare.MixedCapHomology.mixedSingularCapHomology_apply, Duality.Poincare.MixedCapHomology.mixedSingularCapHomology_apply] |
| 113 | calc |
| 114 | _ = (-1 : ℚ) ^ (p * q) * |
| 115 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 116 | (CapBoundary.singularCapHomology X q p b |
| 117 | ((eqToHom (congrArg |
| 118 | (fun n => (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology n) |
| 119 | (Nat.add_comm p q))) |
| 120 | (Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℚ) X (p + q) z))) := |
| 121 | ordinaryCapTranspose X p q a b |
| 122 | (Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℚ) X (p + q) z) |
| 123 | _ = _ := congrArg |
| 124 | (fun w : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology (q + p) => |
| 125 | (-1 : ℚ) ^ (p * q) * Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 126 | (CapBoundary.singularCapHomology X q p b w)) |
| 127 | (integralToRationalHomology_degreeCast X (Nat.add_comm p q) z).symm |
| 128 | |
| 129 | /-- Relative cap transposition with the canonical universal-coefficient |
| 130 | evaluation on the rational relative output. The source is the actual |
| 131 | integral relative homology, with the total-degree transport shown. -/ |
| 132 | theorem relativeCapTranspose (X : TopCat.{0}) (B : Set X) (hB : IsOpen B) (p q : ℕ) |
| 133 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 134 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 135 | (z : AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B (p + q)) : |
| 136 | AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X B q b |
| 137 | (Duality.Poincare.CapRelativeTrace.ordinaryRelativeCapHomology X B hB p q a z) = |
| 138 | (-1 : ℚ) ^ (p * q) * |
| 139 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 140 | (Duality.Poincare.SupportRelativeCap.relativeCapHomology X B q p b |
| 141 | ((eqToHom (congrArg |
| 142 | (fun n => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) (Nat.add_comm p q))) z)) := by |
| 143 | rw [AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv_apply, OrdinaryRelativeCapAdjunction.ordinaryRelativeCapHomology_evaluation] |
| 144 | calc |
| 145 | _ = (-1 : ℚ) ^ (p * q) * |
| 146 | Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation X B (q + p) |
| 147 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup X B q p b a) |
| 148 | ((eqToHom (congrArg |
| 149 | (fun n => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) (Nat.add_comm p q))) z) := by |
| 150 | rw [RelativeCupGradedCommutativity.absoluteRelativeCohomologyCup_graded_comm, map_smul, LinearMap.smul_apply] |
| 151 | change (-1 : ℚ) ^ (p * q) * |
| 152 | Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation X B (p + q) |
| 153 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeCohomologyCast (ModuleCat.of ℚ ℚ) X B (Nat.add_comm q p) |
| 154 | (AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup X B q p b a)) z = _ |
| 155 | rw [relativeRationalHomologyEvaluation_cohomologyCast] |
| 156 | _ = _ := by rw [AlgebraicGeometry.CycleClass.Geometric.RelativeCupCapAdjunction.Cycles.relativeAbsoluteCohomologyCup_evaluation_cap] |
| 157 | |
| 158 | /-- If the product of the two degrees is even, relative cap transposition |
| 159 | has no sign. -/ |
| 160 | theorem relativeCapTranspose_of_even |
| 161 | (X : TopCat.{0}) (B : Set X) (hB : IsOpen B) (p q : ℕ) (hpq : Even (p * q)) |
| 162 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 163 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 164 | (z : AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B (p + q)) : |
| 165 | AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X B q b |
| 166 | (Duality.Poincare.CapRelativeTrace.ordinaryRelativeCapHomology X B hB p q a z) = |
| 167 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 168 | (Duality.Poincare.SupportRelativeCap.relativeCapHomology X B q p b |
| 169 | ((eqToHom (congrArg |
| 170 | (fun n => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) (Nat.add_comm p q))) z)) := by |
| 171 | rw [relativeCapTranspose, hpq.neg_one_pow, one_mul] |
| 172 | |
| 173 | /-- In particular, an even ordinary degree gives the unsigned identity. -/ |
| 174 | theorem relativeCapTranspose_of_even_left |
| 175 | (X : TopCat.{0}) (B : Set X) (hB : IsOpen B) (p q : ℕ) (hp : Even p) |
| 176 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 177 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 178 | (z : AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B (p + q)) : |
| 179 | AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X B q b |
| 180 | (Duality.Poincare.CapRelativeTrace.ordinaryRelativeCapHomology X B hB p q a z) = |
| 181 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 182 | (Duality.Poincare.SupportRelativeCap.relativeCapHomology X B q p b |
| 183 | ((eqToHom (congrArg |
| 184 | (fun n => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) (Nat.add_comm p q))) z)) := |
| 185 | relativeCapTranspose_of_even X B hB p q (hp.mul_right q) a b z |
| 186 | |
| 187 | /-- An even relative degree also gives the unsigned identity. -/ |
| 188 | theorem relativeCapTranspose_of_even_right |
| 189 | (X : TopCat.{0}) (B : Set X) (hB : IsOpen B) (p q : ℕ) (hq : Even q) |
| 190 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 191 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 192 | (z : AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B (p + q)) : |
| 193 | AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X B q b |
| 194 | (Duality.Poincare.CapRelativeTrace.ordinaryRelativeCapHomology X B hB p q a z) = |
| 195 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 196 | (Duality.Poincare.SupportRelativeCap.relativeCapHomology X B q p b |
| 197 | ((eqToHom (congrArg |
| 198 | (fun n => AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomology X B n) (Nat.add_comm p q))) z)) := |
| 199 | relativeCapTranspose_of_even X B hB p q (hq.mul_left p) a b z |
| 200 | |
| 201 | /-- The ordinary mixed cap identity is also unsigned in even total parity. -/ |
| 202 | theorem mixedCapTranspose_of_even (X : TopCat.{0}) (p q : ℕ) (hpq : Even (p * q)) |
| 203 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X p) |
| 204 | (b : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X q) |
| 205 | (z : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology (p + q)) : |
| 206 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X q b |
| 207 | (Duality.Poincare.MixedCapHomology.mixedSingularCapHomology X p q a z) = |
| 208 | Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) X p a |
| 209 | (Duality.Poincare.MixedCapHomology.mixedSingularCapHomology X q p b |
| 210 | ((eqToHom (congrArg |
| 211 | (fun n => (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology n) (Nat.add_comm p q))) z)) := by |
| 212 | rw [mixedCapTranspose, hpq.neg_one_pow, one_mul] |
| 213 | |
| 214 | end |
| 215 | |
| 216 | end OAI.AlgebraicTopology.Products.CapTranspose |