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.AlgebraicGeometry.CycleClass.Geometric.NormalProductPair |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy |
| 3 | import Mathlib.Analysis.Normed.Module.Ball.Homeomorph |
| 4 | |
| 5 | /-! # Normal Product Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.NormalProductCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Actual relative cohomology of the normal product pair |
| 13 | |
| 14 | The cochain maps are the actual pullbacks of the normal projection and a |
| 15 | constant tangential section. Their homotopy identities use the displayed |
| 16 | homotopy of pairs, with no assumed Thom or cohomology comparison class. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open scoped _root_.Matrix |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | namespace Cycles |
| 25 | |
| 26 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy.Cohomology |
| 27 | |
| 28 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 29 | |
| 30 | section PointedProduct |
| 31 | |
| 32 | variable (E F : Type) [TopologicalSpace E] [TopologicalSpace F] |
| 33 | |
| 34 | /-- A contraction of the tangential factor gives the actual contravariant |
| 35 | homotopy equivalence of relative singular cochain complexes. -/ |
| 36 | def normalProductCochainEquivOfContraction (e : E) (z : F) |
| 37 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) : |
| 38 | HomotopyEquiv |
| 39 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of F) ({z}ᶜ : Set F)) |
| 40 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of (E × F)) (NormalProductPair.Cycles.normalProductComplement E F z)) where |
| 41 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (NormalProductPair.Cycles.normalProductProjection E F) |
| 42 | (NormalProductPair.Cycles.normalProductProjection_mapsTo E F z) |
| 43 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (NormalProductPair.Cycles.normalProductSection E F e) |
| 44 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F e z) |
| 45 | homotopyHomInvId := by |
| 46 | apply Homotopy.ofEq |
| 47 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp] |
| 48 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (𝟙 (TopCat.of F)) |
| 49 | (A := ({z}ᶜ : Set F)) (B := ({z}ᶜ : Set F)) (fun _ hx => hx) = _ |
| 50 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_id M _ _ |
| 51 | homotopyInvHomId := by |
| 52 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp] |
| 53 | have h := RelativeCochainHomotopy.Cohomology.relativeSingularCochainsHomotopy M |
| 54 | (A := NormalProductPair.Cycles.normalProductComplement E F z) (B := NormalProductPair.Cycles.normalProductComplement E F z) |
| 55 | (fun _ hx => hx) (fun _ hx => hx) |
| 56 | (NormalProductPair.Cycles.normalProductHomotopyOfContraction E F e H) |
| 57 | (NormalProductPair.Cycles.normalProductHomotopyOfContraction_mapsTo E F e z H) |
| 58 | simpa only [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_id] using h |
| 59 | |
| 60 | /-- The genuine relative cohomology equivalence for a contracted tangential factor. -/ |
| 61 | def normalProductCohomologyIsoOfContraction (e : E) (z : F) |
| 62 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) (n : ℕ) : |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({z}ᶜ : Set F) n ≅ |
| 64 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (E × F)) (NormalProductPair.Cycles.normalProductComplement E F z) n := |
| 65 | (normalProductCochainEquivOfContraction M E F e z H).toHomologyIso n |
| 66 | |
| 67 | @[simp] |
| 68 | theorem normalProductCohomologyIsoOfContraction_hom (e : E) (z : F) |
| 69 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) (n : ℕ) : |
| 70 | (normalProductCohomologyIsoOfContraction M E F e z H n).hom = |
| 71 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductProjection E F) |
| 72 | (NormalProductPair.Cycles.normalProductProjection_mapsTo E F z) n := rfl |
| 73 | |
| 74 | @[simp] |
| 75 | theorem normalProductCohomologyIsoOfContraction_inv (e : E) (z : F) |
| 76 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) (n : ℕ) : |
| 77 | (normalProductCohomologyIsoOfContraction M E F e z H n).inv = |
| 78 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductSection E F e) |
| 79 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F e z) n := rfl |
| 80 | |
| 81 | /-- Pullback from the normal model restricts to the same class on every |
| 82 | constant tangential fiber, already at the cochain level. -/ |
| 83 | theorem normalProductCochains_fiber (e : E) (z : F) : |
| 84 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (NormalProductPair.Cycles.normalProductProjection E F) |
| 85 | (NormalProductPair.Cycles.normalProductProjection_mapsTo E F z) ≫ |
| 86 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (NormalProductPair.Cycles.normalProductSection E F e) |
| 87 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F e z) = 𝟙 _ := by |
| 88 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp] |
| 89 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (𝟙 (TopCat.of F)) |
| 90 | (A := ({z}ᶜ : Set F)) (B := ({z}ᶜ : Set F)) (fun _ hx => hx) = _ |
| 91 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_id M _ _ |
| 92 | |
| 93 | /-- Fiberwise normalization is unchanged on genuine relative cohomology. -/ |
| 94 | theorem normalProductCohomology_fiber (e : E) (z : F) (n : ℕ) : |
| 95 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductProjection E F) |
| 96 | (NormalProductPair.Cycles.normalProductProjection_mapsTo E F z) n ≫ |
| 97 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductSection E F e) |
| 98 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F e z) n = 𝟙 _ := by |
| 99 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = _ |
| 100 | rw [← HomologicalComplex.homologyMap_comp, normalProductCochains_fiber, |
| 101 | HomologicalComplex.homologyMap_id] |
| 102 | |
| 103 | end PointedProduct |
| 104 | |
| 105 | section LinearTangent |
| 106 | |
| 107 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 108 | variable (F : Type) [TopologicalSpace F] |
| 109 | |
| 110 | /-- The actual relative cochain homotopy equivalence of the linear normal product. -/ |
| 111 | def normalProductCochainEquiv (z : F) : |
| 112 | HomotopyEquiv |
| 113 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of F) ({z}ᶜ : Set F)) |
| 114 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of (E × F)) (NormalProductPair.Cycles.normalProductComplement E F z)) := |
| 115 | normalProductCochainEquivOfContraction M E F 0 z (NormalProductPair.Cycles.normalLinearContraction E) |
| 116 | |
| 117 | /-- The normal product-pair cohomology is the actual punctured-normal cohomology. -/ |
| 118 | def normalProductCohomologyIso (z : F) (n : ℕ) : |
| 119 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({z}ᶜ : Set F) n ≅ |
| 120 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (E × F)) (NormalProductPair.Cycles.normalProductComplement E F z) n := |
| 121 | (normalProductCochainEquiv M E F z).toHomologyIso n |
| 122 | |
| 123 | @[simp] |
| 124 | theorem normalProductCohomologyIso_hom (z : F) (n : ℕ) : |
| 125 | (normalProductCohomologyIso M E F z n).hom = |
| 126 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductProjection E F) |
| 127 | (NormalProductPair.Cycles.normalProductProjection_mapsTo E F z) n := rfl |
| 128 | |
| 129 | @[simp] |
| 130 | theorem normalProductCohomologyIso_inv (z : F) (n : ℕ) : |
| 131 | (normalProductCohomologyIso M E F z n).inv = |
| 132 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductSection E F 0) |
| 133 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F 0 z) n := rfl |
| 134 | |
| 135 | /-- Every constant tangential section gives the same inverse cohomology map. -/ |
| 136 | theorem normalProductCohomologyIso_inv_eq_section (e : E) (z : F) (n : ℕ) : |
| 137 | (normalProductCohomologyIso M E F z n).inv = |
| 138 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductSection E F e) |
| 139 | (NormalProductPair.Cycles.normalProductSection_mapsTo E F e z) n := by |
| 140 | apply (cancel_epi (normalProductCohomologyIso M E F z n).hom).mp |
| 141 | rw [Iso.hom_inv_id, normalProductCohomologyIso_hom, normalProductCohomology_fiber] |
| 142 | |
| 143 | /-- A convex tangential neighborhood gives the same actual cohomology model. -/ |
| 144 | def normalConvexProductCohomologyIso (U : Set E) (hU : Convex ℝ U) (h0 : (0 : E) ∈ U) |
| 145 | (z : F) (n : ℕ) : |
| 146 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({z}ᶜ : Set F) n ≅ |
| 147 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (U × F)) (NormalProductPair.Cycles.normalProductComplement U F z) n := |
| 148 | normalProductCohomologyIsoOfContraction M U F ⟨0, h0⟩ z (NormalProductPair.Cycles.normalConvexContraction E U hU h0) n |
| 149 | |
| 150 | /-- The actual cohomology equivalence over an open tangential ball. -/ |
| 151 | def normalOpenBallProductCohomologyIso (r : ℝ) (hr : 0 < r) (z : F) (n : ℕ) : |
| 152 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({z}ᶜ : Set F) n ≅ |
| 153 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (Metric.ball (0 : E) r × F)) |
| 154 | (NormalProductPair.Cycles.normalProductComplement (Metric.ball (0 : E) r) F z) n := |
| 155 | normalConvexProductCohomologyIso M E F (Metric.ball 0 r) (convex_ball 0 r) |
| 156 | (Metric.mem_ball_self hr) z n |
| 157 | |
| 158 | end LinearTangent |
| 159 | |
| 160 | section TwoBalls |
| 161 | |
| 162 | /-- An actual homeomorphism of pointed spaces gives an actual isomorphism |
| 163 | of the relative cochain kernels. -/ |
| 164 | def normalPointedHomeomorphCochainIso {X Y : Type} [TopologicalSpace X] [TopologicalSpace Y] |
| 165 | (e : X ≃ₜ Y) (x : X) : |
| 166 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of Y) ({e x}ᶜ : Set Y) ≅ |
| 167 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M (TopCat.of X) ({x}ᶜ : Set X) := by |
| 168 | let f : TopCat.of X ⟶ TopCat.of Y := (TopCat.isoOfHomeo e).hom |
| 169 | let g : TopCat.of Y ⟶ TopCat.of X := (TopCat.isoOfHomeo e).inv |
| 170 | have hf : Set.MapsTo f ({x}ᶜ : Set X) ({e x}ᶜ : Set Y) := by |
| 171 | intro y hy |
| 172 | change e y ≠ e x |
| 173 | exact fun h => hy (e.injective h) |
| 174 | have hg : Set.MapsTo g ({e x}ᶜ : Set Y) ({x}ᶜ : Set X) := by |
| 175 | intro y hy |
| 176 | change e.symm y ≠ x |
| 177 | intro h |
| 178 | apply hy |
| 179 | simpa using congrArg e h |
| 180 | exact { |
| 181 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f hf |
| 182 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M g hg |
| 183 | hom_inv_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id M g f hg hf |
| 184 | (by ext y; exact e.apply_symm_apply y) |
| 185 | inv_hom_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id M f g hf hg |
| 186 | (by ext y; exact e.symm_apply_apply y) } |
| 187 | |
| 188 | variable (F : Type) [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 189 | |
| 190 | /-- The explicit radial unit-ball homeomorphism followed by positive scaling. -/ |
| 191 | def normalOpenBallHomeomorph (s : ℝ) (hs : 0 < s) : F ≃ₜ Metric.ball (0 : F) s := |
| 192 | Homeomorph.unitBall.trans |
| 193 | ((Homeomorph.smulOfNeZero s hs.ne').subtype (by |
| 194 | intro x |
| 195 | change dist x 0 < 1 ↔ dist (s • x) 0 < s |
| 196 | rw [dist_zero_right, dist_zero_right, norm_smul, Real.norm_eq_abs, abs_of_pos hs] |
| 197 | constructor <;> intro h <;> nlinarith)) |
| 198 | |
| 199 | @[simp] |
| 200 | theorem normalOpenBallHomeomorph_zero (s : ℝ) (hs : 0 < s) : |
| 201 | normalOpenBallHomeomorph F s hs 0 = ⟨0, Metric.mem_ball_self hs⟩ := by |
| 202 | apply Subtype.ext |
| 203 | change s • (Homeomorph.unitBall (0 : F) : F) = 0 |
| 204 | rw [Homeomorph.coe_unitBall_apply_zero, smul_zero] |
| 205 | |
| 206 | /-- Actual pointed-ball cohomology identifies with the full normal model |
| 207 | through the displayed radial homeomorphism. -/ |
| 208 | def normalOpenBallCohomologyIso (s : ℝ) (hs : 0 < s) (n : ℕ) : |
| 209 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({0}ᶜ : Set F) n ≅ |
| 210 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (Metric.ball (0 : F) s)) |
| 211 | ({⟨0, Metric.mem_ball_self hs⟩}ᶜ : Set (Metric.ball (0 : F) s)) n := by |
| 212 | have e := (HomologicalComplex.homologyFunctor (ModuleCat.{0} R) (ComplexShape.up ℕ) n).mapIso |
| 213 | (normalPointedHomeomorphCochainIso M (normalOpenBallHomeomorph F s hs) 0).symm |
| 214 | simpa only [AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology, HomologicalComplex.homologyFunctor_obj, |
| 215 | normalOpenBallHomeomorph_zero] using e |
| 216 | |
| 217 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 218 | |
| 219 | /-- The actual relative cohomology equivalence for two open product balls. |
| 220 | Its normal factor uses the explicit pointed radial homeomorphism above. -/ |
| 221 | def normalOpenProductBallsCohomologyIso (r s : ℝ) (hr : 0 < r) (hs : 0 < s) (n : ℕ) : |
| 222 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of F) ({0}ᶜ : Set F) n ≅ |
| 223 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M |
| 224 | (TopCat.of (Metric.ball (0 : E) r × Metric.ball (0 : F) s)) |
| 225 | (NormalProductPair.Cycles.normalProductComplement (Metric.ball (0 : E) r) (Metric.ball (0 : F) s) |
| 226 | ⟨0, Metric.mem_ball_self hs⟩) n := |
| 227 | normalOpenBallCohomologyIso M F s hs n ≪≫ |
| 228 | normalOpenBallProductCohomologyIso M E (Metric.ball (0 : F) s) r hr |
| 229 | ⟨0, Metric.mem_ball_self hs⟩ n |
| 230 | |
| 231 | end TwoBalls |
| 232 | |
| 233 | variable (E : Type) [TopologicalSpace E] |
| 234 | variable {p : ℕ} (A : Matrix (Fin p) (Fin p) ℂ) (hA : IsUnit A) |
| 235 | |
| 236 | /-- Invertible complex changes of the normal coordinates act identically on |
| 237 | the genuine relative cohomology, with arbitrary module coefficients. -/ |
| 238 | theorem normalProductComplexChange_cohomology_eq_id (n : ℕ) : |
| 239 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductComplexChange E A) |
| 240 | (NormalProductPair.Cycles.normalProductComplexChange_mapsTo E A hA) n = 𝟙 _ := by |
| 241 | have h := RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy M |
| 242 | (A := NormalProductPair.Cycles.normalProductComplement E (Fin p → ℂ) 0) |
| 243 | (B := NormalProductPair.Cycles.normalProductComplement E (Fin p → ℂ) 0) |
| 244 | (fun _ hx => hx) (NormalProductPair.Cycles.normalProductComplexChange_mapsTo E A hA) |
| 245 | (NormalProductPair.Cycles.normalProductComplexChangeHomotopy E A hA) |
| 246 | (NormalProductPair.Cycles.normalProductComplexChangeHomotopy_mapsTo E A hA) n |
| 247 | simpa only [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id] using h.symm |
| 248 | |
| 249 | /-- Thus every relative class transported from the normal model is invariant |
| 250 | under invertible complex normal-coordinate changes. -/ |
| 251 | theorem normalProductComplexChange_class_invariant (n : ℕ) |
| 252 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (E × (Fin p → ℂ))) |
| 253 | (NormalProductPair.Cycles.normalProductComplement E (Fin p → ℂ) 0) n) : |
| 254 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (NormalProductPair.Cycles.normalProductComplexChange E A) |
| 255 | (NormalProductPair.Cycles.normalProductComplexChange_mapsTo E A hA) n).hom c = c := by |
| 256 | rw [normalProductComplexChange_cohomology_eq_id M E A hA] |
| 257 | rfl |
| 258 | |
| 259 | end Cycles |
| 260 | |
| 261 | end |
| 262 | |
| 263 | end OAI.AlgebraicGeometry.CycleClass.Geometric.NormalProductCohomology |