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.SubdivisionSigns |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SubdivisionOperator |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.PermutationLast |
| 4 | import OAI.AlgebraicTopology.Cohomology.Singular.ChainDual |
| 5 | import Mathlib.GroupTheory.Perm.Fin |
| 6 | |
| 7 | /-! # Subdivision Boundary -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SubdivisionBoundary |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Boundary compatibility of barycentric subdivision |
| 15 | |
| 16 | The outer-face geometry identifies the remaining boundary terms after the |
| 17 | proved interior cancellation. All maps are the actual standard-simplex maps. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | open scoped BigOperators Classical Simplicial |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | |
| 26 | namespace Cycles |
| 27 | |
| 28 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 29 | |
| 30 | variable {ι κ η : Type*} [Fintype ι] [Fintype κ] [Fintype η] |
| 31 | |
| 32 | private theorem zsmul_finset_sum {A J : Type*} [AddCommGroup A] |
| 33 | (a : ℤ) (s : Finset J) (f : J → A) : |
| 34 | a • ∑ j ∈ s, f j = ∑ j ∈ s, a • f j := |
| 35 | map_sum (zsmulAddGroupHom a) f s |
| 36 | |
| 37 | omit [Fintype ι] in |
| 38 | /-- The ambient vertex interpolation map acts on a coordinate vector as expected. -/ |
| 39 | @[simp] |
| 40 | theorem simplexVertexLinearMap_piSingle [DecidableEq κ] |
| 41 | (v : κ → Convexity.StdSimplex ℝ ι) (k : κ) (a : ℝ) : |
| 42 | BarycentricSimplex.Cycles.simplexVertexLinearMap v (Pi.single k a) = a • (v k : ι → ℝ) := by |
| 43 | funext i |
| 44 | simp [BarycentricSimplex.Cycles.simplexVertexLinearMap_apply, Pi.single_apply] |
| 45 | |
| 46 | omit [Fintype ι] in |
| 47 | /-- Vertex interpolation is natural under a map of source vertices. -/ |
| 48 | theorem simplexVertexLinearMap_precomp (v : κ → Convexity.StdSimplex ℝ ι) (f : η → κ) : |
| 49 | (BarycentricSimplex.Cycles.simplexVertexLinearMap v).comp (FunOnFinite.linearMap ℝ ℝ f) = |
| 50 | BarycentricSimplex.Cycles.simplexVertexLinearMap (fun k => v (f k)) := by |
| 51 | classical |
| 52 | apply LinearMap.pi_ext |
| 53 | intro k a |
| 54 | simp only [LinearMap.comp_apply, FunOnFinite.linearMap_piSingle, |
| 55 | simplexVertexLinearMap_piSingle] |
| 56 | |
| 57 | /-- Vertex interpolation is natural under a map of target vertices. -/ |
| 58 | theorem simplexVertexLinearMap_postcomp (v : κ → Convexity.StdSimplex ℝ ι) (f : ι → η) : |
| 59 | (FunOnFinite.linearMap ℝ ℝ f).comp (BarycentricSimplex.Cycles.simplexVertexLinearMap v) = |
| 60 | BarycentricSimplex.Cycles.simplexVertexLinearMap (fun k => Convexity.StdSimplex.map f (v k)) := by |
| 61 | classical |
| 62 | apply LinearMap.pi_ext |
| 63 | intro k a |
| 64 | simp only [LinearMap.comp_apply, simplexVertexLinearMap_piSingle, map_smul, |
| 65 | Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.map_coordinates] |
| 66 | |
| 67 | /-- The source naturality identity holds for the genuine continuous simplex maps. -/ |
| 68 | theorem simplexVertexMap_precomp_map (v : κ → Convexity.StdSimplex ℝ ι) (f : η → κ) |
| 69 | (x : Convexity.StdSimplex ℝ η) : |
| 70 | BarycentricSimplex.Cycles.simplexVertexMap v (Convexity.StdSimplex.map f x) = |
| 71 | BarycentricSimplex.Cycles.simplexVertexMap (fun k => v (f k)) x := by |
| 72 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ _).injective |
| 73 | simp only [BarycentricSimplex.Cycles.simplexVertexMap_eq_affine, BarycentricSimplex.Cycles.simplexVertexAffineMap, |
| 74 | LinearMap.coe_toAffineMap, Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.map_coordinates] |
| 75 | exact congrArg (fun L : (η → ℝ) →ₗ[ℝ] (ι → ℝ) => L x) |
| 76 | (simplexVertexLinearMap_precomp v f) |
| 77 | |
| 78 | /-- The target naturality identity holds for the genuine continuous simplex maps. -/ |
| 79 | theorem simplexVertexMap_postcomp_map (v : κ → Convexity.StdSimplex ℝ ι) (f : ι → η) |
| 80 | (x : Convexity.StdSimplex ℝ κ) : |
| 81 | Convexity.StdSimplex.map f (BarycentricSimplex.Cycles.simplexVertexMap v x) = |
| 82 | BarycentricSimplex.Cycles.simplexVertexMap (fun k => Convexity.StdSimplex.map f (v k)) x := by |
| 83 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ _).injective |
| 84 | simp only [BarycentricSimplex.Cycles.simplexVertexMap_eq_affine, BarycentricSimplex.Cycles.simplexVertexAffineMap, |
| 85 | LinearMap.coe_toAffineMap, Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.map_coordinates] |
| 86 | exact congrArg (fun L : (κ → ℝ) →ₗ[ℝ] (η → ℝ) => L x) |
| 87 | (simplexVertexLinearMap_postcomp v f) |
| 88 | |
| 89 | /-- An injective vertex map carries the actual face barycenter to the mapped face barycenter. -/ |
| 90 | theorem map_faceBarycenter (f : κ ↪ ι) (s : Finset κ) (hs : s.Nonempty) : |
| 91 | Convexity.StdSimplex.map f (BarycentricSimplex.Cycles.faceBarycenter s hs) = BarycentricSimplex.Cycles.faceBarycenter (s.map f) hs.map := by |
| 92 | classical |
| 93 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ _).injective |
| 94 | change ((Convexity.StdSimplex.map f (BarycentricSimplex.Cycles.faceBarycenter s hs)).weights : ι → ℝ) = |
| 95 | ((BarycentricSimplex.Cycles.faceBarycenter (s.map f) hs.map).weights : ι → ℝ) |
| 96 | rw [Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.map_coordinates] |
| 97 | change FunOnFinite.linearMap ℝ ℝ f (BarycentricSimplex.Cycles.faceBarycenter s hs : κ → ℝ) = |
| 98 | (BarycentricSimplex.Cycles.faceBarycenter (s.map f) hs.map : ι → ℝ) |
| 99 | rw [BarycentricSimplex.Cycles.faceBarycenter_eq_centroid s hs, BarycentricSimplex.Cycles.faceBarycenter_eq_centroid (s.map f) hs.map, |
| 100 | BarycentricMesh.centroid_eq_inv_card_sum s hs, |
| 101 | BarycentricMesh.centroid_eq_inv_card_sum (s.map f) hs.map] |
| 102 | simp only [map_smul, map_sum, Finset.card_map, Finset.sum_map, |
| 103 | FunOnFinite.linearMap_piSingle] |
| 104 | |
| 105 | /-- Initial faces of an inserted permutation are images of the smaller initial faces. -/ |
| 106 | theorem outer_initial_face_eq {n : ℕ} (i : Fin (n + 2)) |
| 107 | (σ : Equiv.Perm (Fin (n + 2))) (τ : Equiv.Perm (Fin (n + 1))) |
| 108 | (hσ : ∀ k, σ k.castSucc = i.succAbove (τ k)) (k : Fin (n + 1)) : |
| 109 | (Finset.Iic k.castSucc).map σ.toEmbedding = |
| 110 | ((Finset.Iic k).map τ.toEmbedding).map i.succAboveEmb := by |
| 111 | rw [← Fin.map_castSuccEmb_Iic k, Finset.map_map, Finset.map_map] |
| 112 | apply congrArg (fun e : Fin (n + 1) ↪ Fin (n + 2) => (Finset.Iic k).map e) |
| 113 | apply Function.Embedding.ext |
| 114 | intro j |
| 115 | exact hσ j |
| 116 | |
| 117 | /-- The last face of an inserted barycentric cell is exactly the corresponding |
| 118 | smaller cell followed by the original face inclusion. -/ |
| 119 | theorem barycentricSubdivisionMap_comp_outer_face {n : ℕ} |
| 120 | (i : Fin (n + 2)) (σ : Equiv.Perm (Fin (n + 2))) |
| 121 | (τ : Equiv.Perm (Fin (n + 1))) |
| 122 | (hσ : ∀ k, σ k.castSucc = i.succAbove (τ k)) : |
| 123 | (BarycentricSimplex.Cycles.barycentricSubdivisionMap σ).comp |
| 124 | (AlgebraicTopology.Cohomology.Singular.ContinuousFormulas.standardSimplexFace (Fin.last (n + 1))) = |
| 125 | (AlgebraicTopology.Cohomology.Singular.ContinuousFormulas.standardSimplexFace i).comp |
| 126 | (BarycentricSimplex.Cycles.barycentricSubdivisionMap τ) := by |
| 127 | apply ContinuousMap.ext |
| 128 | intro x |
| 129 | change BarycentricSimplex.Cycles.simplexVertexMap |
| 130 | (fun k => BarycentricSimplex.Cycles.faceBarycenter ((BarycentricSimplex.Cycles.permutationBarycentricFlag σ).face k) |
| 131 | ((BarycentricSimplex.Cycles.permutationBarycentricFlag σ).nonempty k)) |
| 132 | (Convexity.StdSimplex.map (Fin.last (n + 1)).succAbove x) = |
| 133 | Convexity.StdSimplex.map i.succAbove (BarycentricSimplex.Cycles.simplexVertexMap |
| 134 | (fun k => BarycentricSimplex.Cycles.faceBarycenter ((BarycentricSimplex.Cycles.permutationBarycentricFlag τ).face k) |
| 135 | ((BarycentricSimplex.Cycles.permutationBarycentricFlag τ).nonempty k)) x) |
| 136 | rw [simplexVertexMap_precomp_map, simplexVertexMap_postcomp_map] |
| 137 | apply congrArg (fun v => BarycentricSimplex.Cycles.simplexVertexMap v x) |
| 138 | funext k |
| 139 | simp only [Fin.succAbove_last_apply, BarycentricSimplex.Cycles.permutationBarycentricFlag] |
| 140 | have h := map_faceBarycenter i.succAboveEmb |
| 141 | ((Finset.Iic k).map τ.toEmbedding) ((BarycentricSimplex.Cycles.permutationBarycentricFlag τ).nonempty k) |
| 142 | refine Eq.trans ?_ (by simpa only [Fin.coe_succAboveEmb] using h.symm) |
| 143 | apply (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ _).injective |
| 144 | funext a |
| 145 | simp only [BarycentricSimplex.Cycles.faceBarycenter_apply] |
| 146 | rw [outer_initial_face_eq i σ τ hσ k] |
| 147 | |
| 148 | /-- The unit simplex generator, with the integral singular-chain model fixed explicitly. -/ |
| 149 | def integralSimplexChain (X : TopCat.{0}) {n : ℕ} (s : SubdivisionOperator.Cycles.SingularSimplex X n) : |
| 150 | (LocalHomology.Cycles.integralSingularChains X).X n := |
| 151 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) s 1 |
| 152 | |
| 153 | /-- The subdivision formula on the unit simplex generators used in the chain complex. -/ |
| 154 | theorem subdivisionDegree_simplexChain (X : TopCat.{0}) (n : ℕ) |
| 155 | (s : SubdivisionOperator.Cycles.SingularSimplex X n) : |
| 156 | SubdivisionOperator.Cycles.subdivisionDegree X n (integralSimplexChain X s) = |
| 157 | ∑ σ : Equiv.Perm (Fin (n + 1)), (Equiv.Perm.sign σ : ℤ) • |
| 158 | integralSimplexChain X |
| 159 | (SubdivisionOperator.Cycles.subdivisionSimplex X n s σ) := by |
| 160 | rw [integralSimplexChain, SubdivisionOperator.Cycles.subdivisionDegree_simplex] |
| 161 | apply Finset.sum_congr rfl |
| 162 | intro σ _ |
| 163 | simpa only [integralSimplexChain, zsmul_eq_mul, mul_one] using! |
| 164 | map_zsmul ((TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of ℤ ℤ) |
| 165 | (SubdivisionOperator.Cycles.subdivisionSimplex X n s σ)).hom (Equiv.Perm.sign σ : ℤ) (1 : ℤ) |
| 166 | |
| 167 | /-- The actual singular face of a subdivided simplex has the expected composite map. -/ |
| 168 | theorem subdivisionSimplex_face_continuous (X : TopCat.{0}) (n : ℕ) |
| 169 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) (σ : Equiv.Perm (Fin (n + 2))) |
| 170 | (i : Fin (n + 2)) : |
| 171 | AlgebraicTopology.Cohomology.Singular.Coefficients.singularSimplicesEquivContinuousMap X n |
| 172 | ((TopCat.toSSet.obj X).δ i (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ)) = |
| 173 | (AlgebraicTopology.Cohomology.Singular.Coefficients.singularSimplicesEquivContinuousMap X (n + 1) s).comp |
| 174 | ((BarycentricSimplex.Cycles.barycentricSubdivisionMap σ).comp (AlgebraicTopology.Cohomology.Singular.ContinuousFormulas.standardSimplexFace i)) := by |
| 175 | rw [AlgebraicTopology.Cohomology.Singular.ContinuousFormulas.singularSimplicesEquivContinuousMap_face] |
| 176 | change (X.toSSetObjEquiv (.op ⦋n + 1⦌) (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ)).comp _ = _ |
| 177 | rw [SubdivisionOperator.Cycles.subdivisionSimplex_toContinuousMap] |
| 178 | rfl |
| 179 | |
| 180 | /-- The paired interior faces are equal as actual singular simplices. -/ |
| 181 | theorem subdivisionSimplex_inner_face_swap (X : TopCat.{0}) (n : ℕ) |
| 182 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) (σ : Equiv.Perm (Fin (n + 2))) |
| 183 | (j : Fin (n + 1)) : |
| 184 | (TopCat.toSSet.obj X).δ j.castSucc |
| 185 | (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s (σ * Equiv.swap j.castSucc j.succ)) = |
| 186 | (TopCat.toSSet.obj X).δ j.castSucc (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ) := by |
| 187 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.singularSimplicesEquivContinuousMap X n).injective |
| 188 | rw [subdivisionSimplex_face_continuous, subdivisionSimplex_face_continuous, |
| 189 | SubdivisionSigns.Cycles.barycentricSubdivisionMap_comp_inner_face_swap] |
| 190 | |
| 191 | /-- Outer-face compatibility holds at the actual singular-simplex level. -/ |
| 192 | theorem subdivisionSimplex_outer_face (X : TopCat.{0}) (n : ℕ) |
| 193 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) (i : Fin (n + 2)) |
| 194 | (σ : Equiv.Perm (Fin (n + 2))) (τ : Equiv.Perm (Fin (n + 1))) |
| 195 | (hσ : ∀ k, σ k.castSucc = i.succAbove (τ k)) : |
| 196 | (TopCat.toSSet.obj X).δ (Fin.last (n + 1)) (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ) = |
| 197 | SubdivisionOperator.Cycles.subdivisionSimplex X n ((TopCat.toSSet.obj X).δ i s) τ := by |
| 198 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.singularSimplicesEquivContinuousMap X n).injective |
| 199 | rw [subdivisionSimplex_face_continuous] |
| 200 | change _ = X.toSSetObjEquiv (.op ⦋n⦌) (SubdivisionOperator.Cycles.subdivisionSimplex X n _ τ) |
| 201 | rw [SubdivisionOperator.Cycles.subdivisionSimplex_toContinuousMap] |
| 202 | change _ = (AlgebraicTopology.Cohomology.Singular.Coefficients.singularSimplicesEquivContinuousMap X n |
| 203 | ((TopCat.toSSet.obj X).δ i s)).comp _ |
| 204 | rw [AlgebraicTopology.Cohomology.Singular.ContinuousFormulas.singularSimplicesEquivContinuousMap_face, |
| 205 | barycentricSubdivisionMap_comp_outer_face i σ τ hσ] |
| 206 | rfl |
| 207 | |
| 208 | /-- Each interior contribution vanishes in the unit-generator chain notation. -/ |
| 209 | theorem subdivision_inner_chain_sum_zero (X : TopCat.{0}) (n : ℕ) |
| 210 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) (j : Fin (n + 1)) : |
| 211 | (∑ σ : Equiv.Perm (Fin (n + 2)), |
| 212 | ((Equiv.Perm.sign σ : ℤ) * (-1 : ℤ) ^ j.val) • |
| 213 | integralSimplexChain X |
| 214 | ((TopCat.toSSet.obj X).δ j.castSucc (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ))) = 0 := by |
| 215 | simp only [mul_smul] |
| 216 | apply SubdivisionSigns.Cycles.sum_perm_sign_eq_zero_of_swap_invariant j.castSucc j.succ |
| 217 | (ne_of_lt j.castSucc_lt_succ) |
| 218 | intro σ |
| 219 | rw [subdivisionSimplex_inner_face_swap] |
| 220 | |
| 221 | /-- The outer faces reindex exactly by an original face and its subdivision cell, |
| 222 | with the correct integral orientation coefficient. -/ |
| 223 | theorem subdivision_outer_chain_sum (X : TopCat.{0}) (n : ℕ) |
| 224 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) : |
| 225 | (∑ σ : Equiv.Perm (Fin (n + 2)), |
| 226 | ((Equiv.Perm.sign σ : ℤ) * (-1 : ℤ) ^ (n + 1)) • |
| 227 | integralSimplexChain X |
| 228 | ((TopCat.toSSet.obj X).δ (Fin.last (n + 1)) |
| 229 | (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ))) = |
| 230 | ∑ i : Fin (n + 2), ∑ τ : Equiv.Perm (Fin (n + 1)), |
| 231 | ((-1 : ℤ) ^ i.val * (Equiv.Perm.sign τ : ℤ)) • |
| 232 | integralSimplexChain X |
| 233 | (SubdivisionOperator.Cycles.subdivisionSimplex X n ((TopCat.toSSet.obj X).δ i s) τ) := by |
| 234 | rw [← (PermutationLast.Cycles.insertLastPermutationEquiv n).sum_comp, Fintype.sum_prod_type] |
| 235 | apply Finset.sum_congr rfl |
| 236 | intro i _ |
| 237 | apply Finset.sum_congr rfl |
| 238 | intro τ _ |
| 239 | simp only [PermutationLast.Cycles.insertLastPermutationEquiv_apply, PermutationLast.Cycles.sign_insertLastPermutation] |
| 240 | rw [subdivisionSimplex_outer_face X n s i (PermutationLast.Cycles.insertLastPermutation i τ) τ |
| 241 | (PermutationLast.Cycles.insertLastPermutation_apply_castSucc i τ)] |
| 242 | |
| 243 | /-- The unit-generator boundary formula in the integral singular-chain model. -/ |
| 244 | theorem integralSimplexChain_boundary (X : TopCat.{0}) (n : ℕ) |
| 245 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) : |
| 246 | (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n |
| 247 | (integralSimplexChain X s) = |
| 248 | ∑ i : Fin (n + 2), ((-1 : ℤ) ^ i.val) • |
| 249 | integralSimplexChain X |
| 250 | ((TopCat.toSSet.obj X).δ i s) := by |
| 251 | simpa only [integralSimplexChain, AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain] using! |
| 252 | (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain_boundary (R := ℤ) (TopCat.toSSet.obj X) s) |
| 253 | |
| 254 | /-- Expanding the actual boundary of a subdivided simplex gives the finite sum |
| 255 | over all its geometric faces and all permutation cells. -/ |
| 256 | theorem boundary_subdivision_simplexChain_expansion (X : TopCat.{0}) (n : ℕ) |
| 257 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) : |
| 258 | (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n |
| 259 | (SubdivisionOperator.Cycles.subdivisionDegree X (n + 1) |
| 260 | (integralSimplexChain X s)) = |
| 261 | ∑ i : Fin (n + 2), ∑ σ : Equiv.Perm (Fin (n + 2)), |
| 262 | ((Equiv.Perm.sign σ : ℤ) * (-1 : ℤ) ^ i.val) • |
| 263 | integralSimplexChain X |
| 264 | ((TopCat.toSSet.obj X).δ i (SubdivisionOperator.Cycles.subdivisionSimplex X (n + 1) s σ)) := by |
| 265 | rw [subdivisionDegree_simplexChain, map_sum] |
| 266 | simp only [map_zsmul, integralSimplexChain_boundary, |
| 267 | zsmul_finset_sum, ← mul_zsmul] |
| 268 | exact Finset.sum_comm |
| 269 | |
| 270 | /-- Barycentric subdivision commutes with the actual singular boundary on each |
| 271 | unit simplex generator. Interior faces cancel and the outer faces are precisely |
| 272 | the subdivisions of the original boundary. -/ |
| 273 | theorem boundary_subdivision_simplexChain (X : TopCat.{0}) (n : ℕ) |
| 274 | (s : SubdivisionOperator.Cycles.SingularSimplex X (n + 1)) : |
| 275 | (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n |
| 276 | (SubdivisionOperator.Cycles.subdivisionDegree X (n + 1) |
| 277 | (integralSimplexChain X s)) = |
| 278 | SubdivisionOperator.Cycles.subdivisionDegree X n ((LocalHomology.Cycles.integralSingularChains X).d (n + 1) n |
| 279 | (integralSimplexChain X s)) := by |
| 280 | rw [boundary_subdivision_simplexChain_expansion, Fin.sum_univ_castSucc] |
| 281 | simp only [Fin.val_castSucc, subdivision_inner_chain_sum_zero, |
| 282 | Finset.sum_const_zero, zero_add, Fin.val_last] |
| 283 | rw [subdivision_outer_chain_sum, integralSimplexChain_boundary, map_sum] |
| 284 | simp only [map_zsmul, subdivisionDegree_simplexChain, zsmul_finset_sum, ← mul_zsmul] |
| 285 | |
| 286 | /-- The actual degreewise linear maps commute with the actual singular differential. -/ |
| 287 | theorem subdivisionDegree_comm (X : TopCat.{0}) (n : ℕ) : |
| 288 | ((LocalHomology.Cycles.integralSingularChains X).d (n + 1) n).hom.comp (SubdivisionOperator.Cycles.subdivisionDegree X (n + 1)) = |
| 289 | (SubdivisionOperator.Cycles.subdivisionDegree X n).comp ((LocalHomology.Cycles.integralSingularChains X).d (n + 1) n).hom := by |
| 290 | apply AlgebraicTopology.Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj X) |
| 291 | ((LocalHomology.Cycles.integralSingularChains X).X n) |
| 292 | intro s |
| 293 | simpa only [integralSimplexChain, AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain, |
| 294 | LinearMap.comp_apply] using! boundary_subdivision_simplexChain X n s |
| 295 | |
| 296 | /-- Pointwise boundary compatibility for arbitrary actual integral singular chains. -/ |
| 297 | theorem subdivisionDegree_boundary (X : TopCat.{0}) (n : ℕ) |
| 298 | (c : (LocalHomology.Cycles.integralSingularChains X).X (n + 1)) : |
| 299 | (LocalHomology.Cycles.integralSingularChains X).d (n + 1) n (SubdivisionOperator.Cycles.subdivisionDegree X (n + 1) c) = |
| 300 | SubdivisionOperator.Cycles.subdivisionDegree X n ((LocalHomology.Cycles.integralSingularChains X).d (n + 1) n c) := |
| 301 | LinearMap.congr_fun (subdivisionDegree_comm X n) c |
| 302 | |
| 303 | /-- The genuine integral barycentric subdivision chain map. Its components are |
| 304 | the explicitly constructed signed sums of geometric subdivision cells. -/ |
| 305 | def subdivisionChainMap (X : TopCat.{0}) : |
| 306 | LocalHomology.Cycles.integralSingularChains X ⟶ LocalHomology.Cycles.integralSingularChains X := |
| 307 | ChainComplex.ofHom (fun n => ModuleCat.ofHom (SubdivisionOperator.Cycles.subdivisionDegree X n)) (fun n => by |
| 308 | apply ModuleCat.hom_ext |
| 309 | exact subdivisionDegree_comm X n) |
| 310 | |
| 311 | /-- The chain-map packaging preserves the previously defined degreewise operator. -/ |
| 312 | @[simp] |
| 313 | theorem subdivisionChainMap_f (X : TopCat.{0}) (n : ℕ) : |
| 314 | ((subdivisionChainMap X).f n).hom = SubdivisionOperator.Cycles.subdivisionDegree X n := rfl |
| 315 | |
| 316 | end Cycles |
| 317 | |
| 318 | end |
| 319 | |
| 320 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SubdivisionBoundary |