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.Cohomology.Singular.ManifoldSmoothSimplexComposition |
| 2 | import Mathlib.AlgebraicTopology.SingularHomology.Basic |
| 3 | |
| 4 | /-! # Smooth Simplex Models -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Geometric.SmoothSimplexModels.Cycles |
| 11 | |
| 12 | /-! |
| 13 | # Singular subcomplexes closed under smooth simplex substitution |
| 14 | |
| 15 | An object is a topological space with a specified singular subcomplex, closed |
| 16 | under precomposition by genuine ambient-smooth maps between closed standard |
| 17 | simplices. Morphisms are continuous maps preserving that subcomplex. This |
| 18 | concrete category accommodates both smooth manifolds and the closed simplex |
| 19 | models used to construct their subdivision homotopy. |
| 20 | |
| 21 | The closure condition is an explicit property of actual maps. Instances for |
| 22 | the smooth singular sets are established separately from their definitions. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.AlgebraicTopology Opposite |
| 26 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex Simplicial |
| 27 | |
| 28 | /-- A specified singular subcomplex closed under actual smooth substitutions. -/ |
| 29 | structure SmoothSimplexSpace where |
| 30 | space : TopCat.{0} |
| 31 | smooth : (TopCat.toSSet.obj space).Subcomplex |
| 32 | precomp_mem {n m : ℕ} |
| 33 | (σ : C(Convexity.StdSimplex ℝ (Fin (n + 1)), space)) |
| 34 | (hσ : (space.toSSetObjEquiv (.op ⦋n⦌)).symm σ ∈ smooth.obj (.op ⦋n⦌)) |
| 35 | (τ : C(Convexity.StdSimplex ℝ (Fin (m + 1)), Convexity.StdSimplex ℝ (Fin (n + 1)))) |
| 36 | (hτ : OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition.IsSmoothSimplexMap τ) : |
| 37 | (space.toSSetObjEquiv (.op ⦋m⦌)).symm (σ.comp τ) ∈ smooth.obj (.op ⦋m⦌) |
| 38 | |
| 39 | namespace SmoothSimplexSpace |
| 40 | |
| 41 | /-- A continuous map preserving the specified singular subcomplexes. -/ |
| 42 | structure Hom (X Y : SmoothSimplexSpace) where |
| 43 | map : X.space ⟶ Y.space |
| 44 | map_mem (n : SimplexCategoryᵒᵖ) (s : X.smooth.toSSet.obj n) : |
| 45 | (TopCat.toSSet.map map).app n s.val ∈ Y.smooth.obj n |
| 46 | |
| 47 | @[ext] |
| 48 | theorem Hom.ext {X Y : SmoothSimplexSpace} {f g : SmoothSimplexSpace.Hom X Y} |
| 49 | (h : f.map = g.map) : f = g := by |
| 50 | cases f |
| 51 | cases g |
| 52 | cases h |
| 53 | rfl |
| 54 | |
| 55 | instance : Category SmoothSimplexSpace where |
| 56 | Hom := SmoothSimplexSpace.Hom |
| 57 | id X := |
| 58 | { map := 𝟙 X.space |
| 59 | map_mem := by |
| 60 | intro n s |
| 61 | simp } |
| 62 | comp f g := |
| 63 | { map := f.map ≫ g.map |
| 64 | map_mem := by |
| 65 | intro n s |
| 66 | simpa only [Functor.map_comp, NatTrans.comp_app, types_comp_apply] using |
| 67 | g.map_mem n ⟨(TopCat.toSSet.map f.map).app n s.val, f.map_mem n s⟩ } |
| 68 | id_comp f := SmoothSimplexSpace.Hom.ext (Category.id_comp f.map) |
| 69 | comp_id f := SmoothSimplexSpace.Hom.ext (Category.comp_id f.map) |
| 70 | assoc f g h := SmoothSimplexSpace.Hom.ext (Category.assoc f.map g.map h.map) |
| 71 | |
| 72 | @[simp] |
| 73 | theorem id_map (X : SmoothSimplexSpace) : (𝟙 X : X ⟶ X).map = 𝟙 X.space := rfl |
| 74 | |
| 75 | @[simp] |
| 76 | theorem comp_map {X Y Z : SmoothSimplexSpace} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 77 | (f ≫ g).map = f.map ≫ g.map := rfl |
| 78 | |
| 79 | /-- The underlying topological space is unchanged. -/ |
| 80 | def toTop : SmoothSimplexSpace ⥤ TopCat.{0} where |
| 81 | obj X := X.space |
| 82 | map f := f.map |
| 83 | |
| 84 | /-- The actual restricted map on the specified singular simplicial sets. -/ |
| 85 | def mapSmooth {X Y : SmoothSimplexSpace} (f : X ⟶ Y) : |
| 86 | X.smooth.toSSet ⟶ Y.smooth.toSSet where |
| 87 | app n := ↾fun s => ⟨(TopCat.toSSet.map f.map).app n s.val, f.map_mem n s⟩ |
| 88 | naturality n m θ := by |
| 89 | apply ConcreteCategory.ext_apply |
| 90 | intro s |
| 91 | apply Subtype.ext |
| 92 | exact ConcreteCategory.congr_hom ((TopCat.toSSet.map f.map).naturality θ) s.val |
| 93 | |
| 94 | @[simp] |
| 95 | theorem mapSmooth_app_val {X Y : SmoothSimplexSpace} (f : X ⟶ Y) |
| 96 | (n : SimplexCategoryᵒᵖ) (s : X.smooth.toSSet.obj n) : |
| 97 | ((mapSmooth f).app n s).val = (TopCat.toSSet.map f.map).app n s.val := rfl |
| 98 | |
| 99 | /-- The functor of the specified smooth singular simplicial sets. -/ |
| 100 | def toSSet : SmoothSimplexSpace ⥤ SSet.{0} where |
| 101 | obj X := X.smooth.toSSet |
| 102 | map f := mapSmooth f |
| 103 | map_id X := by |
| 104 | apply SSet.hom_ext |
| 105 | intro n |
| 106 | apply ConcreteCategory.ext_apply |
| 107 | intro s |
| 108 | apply Subtype.ext |
| 109 | simp only [mapSmooth_app_val, id_map] |
| 110 | rfl |
| 111 | map_comp f g := by |
| 112 | apply SSet.hom_ext |
| 113 | intro n |
| 114 | apply ConcreteCategory.ext_apply |
| 115 | intro s |
| 116 | apply Subtype.ext |
| 117 | simp only [mapSmooth_app_val, comp_map, Functor.map_comp, NatTrans.comp_app] |
| 118 | rfl |
| 119 | |
| 120 | /-- Inclusion into ordinary singular simplices commutes with every morphism. -/ |
| 121 | @[reassoc] |
| 122 | theorem mapSmooth_inclusion {X Y : SmoothSimplexSpace} (f : X ⟶ Y) : |
| 123 | mapSmooth f ≫ Y.smooth.ι = X.smooth.ι ≫ TopCat.toSSet.map f.map := rfl |
| 124 | |
| 125 | /-- The actual integral smooth singular chains, functorially in these spaces. -/ |
| 126 | def chainFunctor : SmoothSimplexSpace ⥤ ChainComplex (ModuleCat.{0} ℤ) ℕ := |
| 127 | SmoothSimplexSpace.toSSet ⋙ (SSet.chainComplexFunctor (ModuleCat.{0} ℤ)).obj (ModuleCat.of ℤ ℤ) |
| 128 | |
| 129 | abbrev chains (X : SmoothSimplexSpace) : ChainComplex (ModuleCat.{0} ℤ) ℕ := |
| 130 | chainFunctor.obj X |
| 131 | |
| 132 | abbrev chainMap {X Y : SmoothSimplexSpace} (f : X ⟶ Y) : chains X ⟶ chains Y := |
| 133 | chainFunctor.map f |
| 134 | |
| 135 | /-- The degreewise integral chain functor. -/ |
| 136 | abbrev degreeFunctor (n : ℕ) : SmoothSimplexSpace ⥤ ModuleCat.{0} ℤ := |
| 137 | chainFunctor ⋙ HomologicalComplex.eval (ModuleCat.{0} ℤ) (ComplexShape.down ℕ) n |
| 138 | |
| 139 | /-- The boundary is a natural transformation on the concrete category. -/ |
| 140 | def boundaryNatural (i j : ℕ) : degreeFunctor i ⟶ degreeFunctor j where |
| 141 | app X := (chains X).d i j |
| 142 | naturality _ _ f := (chainMap f).comm i j |
| 143 | |
| 144 | /-- The genuine chain functor regarded as a complex of functors. -/ |
| 145 | abbrev naturalChains : ChainComplex (SmoothSimplexSpace ⥤ ModuleCat.{0} ℤ) ℕ where |
| 146 | X := degreeFunctor |
| 147 | d := boundaryNatural |
| 148 | shape i j h := by |
| 149 | apply NatTrans.ext |
| 150 | funext X |
| 151 | exact (chains X).shape i j h |
| 152 | d_comp_d' i j k _ _ := by |
| 153 | apply NatTrans.ext |
| 154 | funext X |
| 155 | exact (chains X).d_comp_d i j k |
| 156 | |
| 157 | end SmoothSimplexSpace |
| 158 | |
| 159 | end AlgebraicGeometry.CycleClass.Geometric.SmoothSimplexModels.Cycles |
| 160 | |
| 161 | namespace AlgebraicGeometry.CycleClass.Geometric.SmoothSimplexModels.Cycles.SmoothSimplexSpace |
| 162 | |
| 163 | /-! |
| 164 | # Actual closed simplex models for smooth singular chains |
| 165 | |
| 166 | The smooth singular subcomplexes of normed subsets and manifolds satisfy the |
| 167 | explicit substitution condition. Every chosen smooth simplex then gives a |
| 168 | continuous, smooth-simplex-preserving map from its closed standard simplex |
| 169 | model. Evaluation on the identity simplex and postcomposition are literal. |
| 170 | -/ |
| 171 | |
| 172 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 173 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex Simplicial |
| 174 | |
| 175 | open OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition |
| 176 | |
| 177 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 178 | |
| 179 | /-- The actual ambient-smooth singular structure of an arbitrary normed subset. -/ |
| 180 | def ofSubset (U : Set E) : SmoothSimplexSpace where |
| 181 | space := TopCat.of U |
| 182 | smooth := OAI.AlgebraicTopology.Cohomology.Singular.SmoothOpen.subsetSmoothSingularSubcomplex U |
| 183 | precomp_mem σ hσ τ hτ := by |
| 184 | change OAI.AlgebraicTopology.Cohomology.Singular.SmoothOpen.IsSmoothSimplexIn U σ at hσ |
| 185 | change OAI.AlgebraicTopology.Cohomology.Singular.SmoothOpen.IsSmoothSimplexIn U (σ.comp τ) |
| 186 | exact hσ.comp hτ |
| 187 | |
| 188 | /-- The actual neighborhood-smooth singular structure of a charted manifold. -/ |
| 189 | def ofManifold (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 190 | (M : Type) [TopologicalSpace M] [ChartedSpace E M] : SmoothSimplexSpace where |
| 191 | space := TopCat.of M |
| 192 | smooth := OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M |
| 193 | precomp_mem σ hσ τ hτ := by |
| 194 | change OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.IsManifoldSmoothSimplex E σ at hσ |
| 195 | change OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.IsManifoldSmoothSimplex E (σ.comp τ) |
| 196 | exact hσ.comp hτ |
| 197 | |
| 198 | /-- The model is the closed geometric simplex with its actual ambient smooth structure. -/ |
| 199 | def model (n : ℕ) : SmoothSimplexSpace where |
| 200 | space := TopCat.of (Convexity.StdSimplex ℝ (Fin (n + 1))) |
| 201 | smooth := OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition.simplexSmoothSingularSubcomplex n |
| 202 | precomp_mem σ hσ τ hτ := by |
| 203 | change OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition.IsSmoothSimplexMap σ at hσ |
| 204 | change OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition.IsSmoothSimplexMap (σ.comp τ) |
| 205 | exact hσ.comp hτ |
| 206 | |
| 207 | /-- The universal simplex is the identity of the actual geometric simplex. -/ |
| 208 | def modelSimplex (n : ℕ) : (model n).smooth.toSSet.obj (.op ⦋n⦌) := |
| 209 | ⟨((model n).space.toSSetObjEquiv (.op ⦋n⦌)).symm |
| 210 | (ContinuousMap.id (Convexity.StdSimplex ℝ (Fin (n + 1)))), |
| 211 | OAI.AlgebraicTopology.Cohomology.Singular.ManifoldSmoothSimplexComposition.isSmoothSimplexIn_stdSimplex_id n⟩ |
| 212 | |
| 213 | /-- Each actual smooth simplex defines a map from its smooth closed-simplex model. -/ |
| 214 | def fromSimplex (X : SmoothSimplexSpace) (n : ℕ) |
| 215 | (σ : X.smooth.toSSet.obj (.op ⦋n⦌)) : model n ⟶ X where |
| 216 | map := TopCat.ofHom (X.space.toSSetObjEquiv (.op ⦋n⦌) σ.val) |
| 217 | map_mem m τ := by |
| 218 | have hσ : (X.space.toSSetObjEquiv (.op ⦋n⦌)).symm |
| 219 | (X.space.toSSetObjEquiv (.op ⦋n⦌) σ.val) ∈ X.smooth.obj (.op ⦋n⦌) := by |
| 220 | simpa only [Equiv.symm_apply_apply] using σ.property |
| 221 | exact X.precomp_mem (X.space.toSSetObjEquiv (.op ⦋n⦌) σ.val) hσ |
| 222 | ((model n).space.toSSetObjEquiv m τ.val) τ.property |
| 223 | |
| 224 | /-- Evaluation at the identity model simplex recovers the given simplex. -/ |
| 225 | @[simp] |
| 226 | theorem fromSimplex_modelSimplex (X : SmoothSimplexSpace) (n : ℕ) |
| 227 | (σ : X.smooth.toSSet.obj (.op ⦋n⦌)) : |
| 228 | (mapSmooth (fromSimplex X n σ)).app (.op ⦋n⦌) (modelSimplex n) = σ := by |
| 229 | apply Subtype.ext |
| 230 | apply (X.space.toSSetObjEquiv (.op ⦋n⦌)).injective |
| 231 | ext x |
| 232 | rfl |
| 233 | |
| 234 | /-- The model map associated to the identity simplex is the identity morphism. -/ |
| 235 | @[simp] |
| 236 | theorem fromSimplex_modelSimplex_id (n : ℕ) : |
| 237 | fromSimplex (model n) n (modelSimplex n) = 𝟙 (model n) := by |
| 238 | apply SmoothSimplexSpace.Hom.ext |
| 239 | rfl |
| 240 | |
| 241 | /-- Postcomposition of model maps agrees with the actual simplicial action. -/ |
| 242 | @[reassoc] |
| 243 | theorem fromSimplex_naturality {X Y : SmoothSimplexSpace} (f : X ⟶ Y) (n : ℕ) |
| 244 | (σ : X.smooth.toSSet.obj (.op ⦋n⦌)) : |
| 245 | fromSimplex X n σ ≫ f = |
| 246 | fromSimplex Y n ((mapSmooth f).app (.op ⦋n⦌) σ) := by |
| 247 | apply SmoothSimplexSpace.Hom.ext |
| 248 | rfl |
| 249 | |
| 250 | /-- The chain generator carried by the model map is exactly the chosen generator. -/ |
| 251 | @[reassoc (attr := simp)] |
| 252 | theorem modelGenerator_chainMap (X : SmoothSimplexSpace) (n : ℕ) |
| 253 | (σ : X.smooth.toSSet.obj (.op ⦋n⦌)) : |
| 254 | (model n).smooth.toSSet.ιChainComplex (R := ModuleCat.of ℤ ℤ) (modelSimplex n) ≫ |
| 255 | (chainMap (fromSimplex X n σ)).f n = |
| 256 | X.smooth.toSSet.ιChainComplex (R := ModuleCat.of ℤ ℤ) σ := by |
| 257 | change _ ≫ (SSet.chainComplexMap (mapSmooth (fromSimplex X n σ)) |
| 258 | (ModuleCat.of ℤ ℤ)).f n = _ |
| 259 | rw [SSet.ι_chainComplexMap_f, fromSimplex_modelSimplex] |
| 260 | |
| 261 | end AlgebraicGeometry.CycleClass.Geometric.SmoothSimplexModels.Cycles.SmoothSimplexSpace |
| 262 | |
| 263 | end |
| 264 | |
| 265 | end OAI |