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.Kunneth.ProductModelsAs |
| 2 | import OAI.AlgebraicTopology.Kunneth.TensorHomologyD |
| 3 | |
| 4 | /-! # Comparison Low -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.ComparisonLow |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The initial maps in the Eilenberg–Zilber comparison for Kunneth. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 17 | open _root_.AlgebraicTopology _root_.HomologicalComplex |
| 18 | open scoped Simplicial TensorProduct |
| 19 | |
| 20 | namespace Construction.LowComparison |
| 21 | |
| 22 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels |
| 23 | |
| 24 | variable (k : Type) [Field k] |
| 25 | |
| 26 | def tensorZeroNatIso : ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k 0 0 ≅ (ProductModelsAs.Construction.ProductModels.tensorChains k).X 0 := |
| 27 | NatIso.ofComponents |
| 28 | (fun X => TensorHomologyD.Construction.TensorLowDegrees.degreeZeroIso |
| 29 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)) |
| 30 | (fun {_X _Y} f => (ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k 0 0 0 rfl).naturality f) |
| 31 | |
| 32 | /-- The canonical pairing of vertices identifies the degree-zero modules. -/ |
| 33 | def zeroComparison : (ProductModelsAs.Construction.ProductModels.tensorChains k).X 0 ≅ (ProductModelsAs.Construction.ProductModels.productChains k).X 0 := |
| 34 | (tensorZeroNatIso k).symm ≪≫ (ProductModelsAs.Construction.ProductModels.tensorBidegreeFreeNatIso k 0 0).symm ≪≫ |
| 35 | ProductModelsAs.Construction.ProductModels.productDegreeFreeNatIso k 0 |
| 36 | |
| 37 | variable {k} |
| 38 | |
| 39 | def pairSimplex (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 40 | (s : (TopCat.toSSet.obj X.1) _⦋n⦌) (t : (TopCat.toSSet.obj X.2) _⦋n⦌) : |
| 41 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) _⦋n⦌ := |
| 42 | (ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X).symm (s.down, t.down) |
| 43 | |
| 44 | @[simp] |
| 45 | theorem pairSimplex_face (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 46 | (s : (TopCat.toSSet.obj X.1) _⦋n + 1⦌) |
| 47 | (t : (TopCat.toSSet.obj X.2) _⦋n + 1⦌) (i : Fin (n + 2)) : |
| 48 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)).δ i (pairSimplex (n + 1) X s t) = |
| 49 | pairSimplex n X ((TopCat.toSSet.obj X.1).δ i s) |
| 50 | ((TopCat.toSSet.obj X.2).δ i t) := rfl |
| 51 | |
| 52 | @[simp] |
| 53 | theorem pairSimplex_map (n : ℕ) {X Y : ProductModelsAs.Construction.ProductModels.SpacePair} (f : X ⟶ Y) |
| 54 | (s : (TopCat.toSSet.obj X.1) _⦋n⦌) (t : (TopCat.toSSet.obj X.2) _⦋n⦌) : |
| 55 | (TopCat.toSSet.map (ProductModelsAs.Construction.ProductModels.productSpace.map f)).app _ (pairSimplex n X s t) = |
| 56 | pairSimplex n Y ((TopCat.toSSet.map f.1).app _ s) |
| 57 | ((TopCat.toSSet.map f.2).app _ t) := rfl |
| 58 | |
| 59 | theorem tensorBidegree_hom_ext (p q : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) (M : ModuleCat.{0} k) |
| 60 | (f g : ProductModelsAs.Construction.ProductModels.tensorBidegree k p q X ⟶ M) |
| 61 | (h : ∀ s t, f (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 62 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t) = |
| 63 | g (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 64 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) : f = g := by |
| 65 | apply ModuleCat.hom_ext |
| 66 | apply TensorProduct.ext |
| 67 | apply Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj X.1) |
| 68 | (ModuleCat.of k (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2).X q →ₗ[k] M)) |
| 69 | intro s |
| 70 | apply Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj X.2) M |
| 71 | intro t |
| 72 | exact h s t |
| 73 | |
| 74 | @[simp] |
| 75 | theorem zeroComparison_simplex (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 76 | (s : (TopCat.toSSet.obj X.1) _⦋0⦌) (t : (TopCat.toSSet.obj X.2) _⦋0⦌) : |
| 77 | (zeroComparison k).hom.app X |
| 78 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 0 0 0 rfl |
| 79 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 80 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = |
| 81 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 82 | (pairSimplex 0 X s t) := by |
| 83 | change (ProductModelsAs.Construction.ProductModels.productDegreeFreeIso k 0 X).hom |
| 84 | (ProductModelsAs.Construction.ProductModels.tensorFreeInv k 0 0 X |
| 85 | (TensorHomologyD.Construction.TensorLowDegrees.zeroProjection _ _ |
| 86 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) |
| 87 | 0 0 0 rfl _))) = _ |
| 88 | have hz := ConcreteCategory.congr_hom |
| 89 | (TensorHomologyD.Construction.TensorLowDegrees.zeroInclusion_projection |
| 90 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)) |
| 91 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 92 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t) |
| 93 | change TensorHomologyD.Construction.TensorLowDegrees.zeroProjection _ _ |
| 94 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) |
| 95 | 0 0 0 rfl _) = _ at hz |
| 96 | rw [hz] |
| 97 | change (ProductModelsAs.Construction.ProductModels.productDegreeFreeIso k 0 X).hom |
| 98 | (ProductModelsAs.Construction.ProductModels.pairLinear k X.1 X.2 0 0 _ _ |
| 99 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 100 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = _ |
| 101 | rw [ProductModelsAs.Construction.ProductModels.pairLinear_simplex] |
| 102 | exact ConcreteCategory.congr_hom (Sigma.ι_comp_desc |
| 103 | (fun f : ProductModelsAs.Construction.ProductModels.simplexModel 0 0 ⟶ X => |
| 104 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)).ιChainComplex |
| 105 | (R := ModuleCat.of k k) ((ProductModelsAs.Construction.ProductModels.productSimplexEquiv 0 X).symm f)) |
| 106 | (s.down, t.down)) (1 : k) |
| 107 | |
| 108 | theorem simplexChain_boundary_one (K : SSet.{0}) (s : K _⦋1⦌) : |
| 109 | (K.chainComplex (ModuleCat.of k k)).d 1 0 (Cohomology.Singular.ChainDual.simplexChain (R := k) K s) = |
| 110 | Cohomology.Singular.ChainDual.simplexChain (R := k) K (K.δ 0 s) - Cohomology.Singular.ChainDual.simplexChain (R := k) K (K.δ 1 s) := by |
| 111 | rw [Cohomology.Singular.ChainDual.simplexChain_boundary] |
| 112 | simp [Fin.sum_univ_two, sub_eq_add_neg] |
| 113 | |
| 114 | /-- A natural value on pairs of simplex generators extends linearly. -/ |
| 115 | def pairNatural (p q : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) |
| 116 | (v : ∀ X : ProductModelsAs.Construction.ProductModels.SpacePair, (TopCat.toSSet.obj X.1) _⦋p⦌ → |
| 117 | (TopCat.toSSet.obj X.2) _⦋q⦌ → Q.obj X) |
| 118 | (hv : ∀ (X Y : ProductModelsAs.Construction.ProductModels.SpacePair) (f : X ⟶ Y) s t, |
| 119 | Q.map f (v X s t) = v Y ((TopCat.toSSet.map f.1).app _ s) |
| 120 | ((TopCat.toSSet.map f.2).app _ t)) : ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k p q ⟶ Q where |
| 121 | app X := ModuleCat.ofHom (ProductModelsAs.Construction.ProductModels.pairLinear k X.1 X.2 p q (Q.obj X) (v X)) |
| 122 | naturality X Y f := by |
| 123 | apply tensorBidegree_hom_ext |
| 124 | intro s t |
| 125 | change ProductModelsAs.Construction.ProductModels.pairLinear k Y.1 Y.2 p q (Q.obj Y) (v Y) |
| 126 | (TensorProduct.map (((ProductModelsAs.Construction.ProductModels.scalarChains k).map f.1).f p).hom |
| 127 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).map f.2).f q).hom |
| 128 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 129 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = |
| 130 | Q.map f (ProductModelsAs.Construction.ProductModels.pairLinear k X.1 X.2 p q (Q.obj X) (v X) _) |
| 131 | rw [TensorProduct.map_tmul, ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex, ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex, |
| 132 | ProductModelsAs.Construction.ProductModels.pairLinear_simplex, ProductModelsAs.Construction.ProductModels.pairLinear_simplex, hv] |
| 133 | |
| 134 | @[simp] |
| 135 | theorem pairNatural_simplex (p q : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) (v hv) |
| 136 | (X : ProductModelsAs.Construction.ProductModels.SpacePair) (s : (TopCat.toSSet.obj X.1) _⦋p⦌) |
| 137 | (t : (TopCat.toSSet.obj X.2) _⦋q⦌) : |
| 138 | (pairNatural p q Q v hv).app X |
| 139 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 140 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t) = v X s t := |
| 141 | ProductModelsAs.Construction.ProductModels.pairLinear_simplex k X.1 X.2 p q (Q.obj X) (v X) s t |
| 142 | |
| 143 | def cross10 : ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k 1 0 ⟶ (ProductModelsAs.Construction.ProductModels.productChains k).X 1 := |
| 144 | pairNatural 1 0 ((ProductModelsAs.Construction.ProductModels.productChains k).X 1) |
| 145 | (fun X s t => Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 146 | (pairSimplex 1 X s ((TopCat.toSSet.obj X.2).σ 0 t))) (by |
| 147 | intro X Y f s t |
| 148 | change ((ProductModelsAs.Construction.ProductModels.scalarChains k).map (ProductModelsAs.Construction.ProductModels.productSpace.map f)).f 1 _ = _ |
| 149 | rw [ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex, pairSimplex_map, SSet.σ_naturality_apply]) |
| 150 | |
| 151 | def cross01 : ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k 0 1 ⟶ (ProductModelsAs.Construction.ProductModels.productChains k).X 1 := |
| 152 | pairNatural 0 1 ((ProductModelsAs.Construction.ProductModels.productChains k).X 1) |
| 153 | (fun X s t => Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 154 | (pairSimplex 1 X ((TopCat.toSSet.obj X.1).σ 0 s) t)) (by |
| 155 | intro X Y f s t |
| 156 | change ((ProductModelsAs.Construction.ProductModels.scalarChains k).map (ProductModelsAs.Construction.ProductModels.productSpace.map f)).f 1 _ = _ |
| 157 | rw [ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex, pairSimplex_map, SSet.σ_naturality_apply]) |
| 158 | |
| 159 | theorem cross10_boundary : |
| 160 | cross10 (k := k) ≫ (ProductModelsAs.Construction.ProductModels.productChains k).d 1 0 = |
| 161 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k 1 1 0 rfl ≫ (ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0 ≫ |
| 162 | (zeroComparison k).hom := by |
| 163 | apply NatTrans.ext |
| 164 | funext X |
| 165 | change (cross10 (k := k)).app X ≫ ((ProductModelsAs.Construction.ProductModels.productChainFunctor k).obj X).d 1 0 = |
| 166 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 1 0 1 rfl ≫ |
| 167 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ⊗ ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)).d 1 0 ≫ _ |
| 168 | erw [TensorHomologyD.Construction.TensorLowDegrees.inclusion10_d_assoc] |
| 169 | apply tensorBidegree_hom_ext |
| 170 | intro s t |
| 171 | change ((ProductModelsAs.Construction.ProductModels.productChainFunctor k).obj X).d 1 0 |
| 172 | (ProductModelsAs.Construction.ProductModels.pairLinear k X.1 X.2 1 0 _ _ |
| 173 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 174 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = |
| 175 | (zeroComparison k).hom.app X |
| 176 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 0 0 0 rfl |
| 177 | (TensorProduct.map (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1).d 1 0).hom LinearMap.id |
| 178 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 179 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t))) |
| 180 | erw [ProductModelsAs.Construction.ProductModels.pairLinear_simplex] |
| 181 | erw [simplexChain_boundary_one (k := k) |
| 182 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X))] |
| 183 | erw [pairSimplex_face 0 X s ((TopCat.toSSet.obj X.2).σ 0 t) 0, |
| 184 | pairSimplex_face 0 X s ((TopCat.toSSet.obj X.2).σ 0 t) 1] |
| 185 | erw [SSet.δ_comp_σ_self_apply (S := TopCat.toSSet.obj X.2) (0 : Fin 1) t, |
| 186 | SSet.δ_comp_σ_succ_apply (S := TopCat.toSSet.obj X.2) (0 : Fin 1) t] |
| 187 | erw [TensorProduct.map_tmul] |
| 188 | simp only [LinearMap.id_coe, id_eq] |
| 189 | erw [simplexChain_boundary_one (k := k) (TopCat.toSSet.obj X.1)] |
| 190 | erw [TensorProduct.sub_tmul, map_sub, map_sub, zeroComparison_simplex, |
| 191 | zeroComparison_simplex] |
| 192 | |
| 193 | theorem cross01_boundary : |
| 194 | cross01 (k := k) ≫ (ProductModelsAs.Construction.ProductModels.productChains k).d 1 0 = |
| 195 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k 1 0 1 rfl ≫ (ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0 ≫ |
| 196 | (zeroComparison k).hom := by |
| 197 | apply NatTrans.ext |
| 198 | funext X |
| 199 | change (cross01 (k := k)).app X ≫ ((ProductModelsAs.Construction.ProductModels.productChainFunctor k).obj X).d 1 0 = |
| 200 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 0 1 1 rfl ≫ |
| 201 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ⊗ ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)).d 1 0 ≫ _ |
| 202 | erw [TensorHomologyD.Construction.TensorLowDegrees.inclusion01_d_assoc] |
| 203 | apply tensorBidegree_hom_ext |
| 204 | intro s t |
| 205 | change ((ProductModelsAs.Construction.ProductModels.productChainFunctor k).obj X).d 1 0 |
| 206 | (ProductModelsAs.Construction.ProductModels.pairLinear k X.1 X.2 0 1 _ _ |
| 207 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 208 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = |
| 209 | (zeroComparison k).hom.app X |
| 210 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 0 0 0 rfl |
| 211 | (TensorProduct.map LinearMap.id (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2).d 1 0).hom |
| 212 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 213 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t))) |
| 214 | erw [ProductModelsAs.Construction.ProductModels.pairLinear_simplex] |
| 215 | erw [simplexChain_boundary_one (k := k) |
| 216 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X))] |
| 217 | erw [pairSimplex_face 0 X ((TopCat.toSSet.obj X.1).σ 0 s) t 0, |
| 218 | pairSimplex_face 0 X ((TopCat.toSSet.obj X.1).σ 0 s) t 1] |
| 219 | erw [SSet.δ_comp_σ_self_apply (S := TopCat.toSSet.obj X.1) (0 : Fin 1) s, |
| 220 | SSet.δ_comp_σ_succ_apply (S := TopCat.toSSet.obj X.1) (0 : Fin 1) s] |
| 221 | erw [TensorProduct.map_tmul] |
| 222 | simp only [LinearMap.id_coe, id_eq] |
| 223 | erw [simplexChain_boundary_one (k := k) (TopCat.toSSet.obj X.2)] |
| 224 | erw [TensorProduct.tmul_sub, map_sub, map_sub, zeroComparison_simplex, |
| 225 | zeroComparison_simplex] |
| 226 | |
| 227 | /-- Maps from the tensor total complex are determined by its bidegrees. -/ |
| 228 | theorem tensorNatural_hom_ext (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) |
| 229 | (f g : (ProductModelsAs.Construction.ProductModels.tensorChains k).X n ⟶ Q) |
| 230 | (h : ∀ p q hpq, ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k n p q hpq ≫ f = |
| 231 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k n p q hpq ≫ g) : f = g := by |
| 232 | apply NatTrans.ext |
| 233 | funext X |
| 234 | apply mapBifunctor.hom_ext |
| 235 | intro p q hpq |
| 236 | exact NatTrans.congr_app (h p q hpq) X |
| 237 | |
| 238 | def tensorDesc (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) |
| 239 | (v : ∀ p q, p + q = n → (ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k p q ⟶ Q)) : |
| 240 | (ProductModelsAs.Construction.ProductModels.tensorChains k).X n ⟶ Q where |
| 241 | app X := mapBifunctorDesc (fun p q hpq => (v p q hpq).app X) |
| 242 | naturality X Y f := by |
| 243 | apply mapBifunctor.hom_ext |
| 244 | intro p q hpq |
| 245 | have h := (ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k n p q hpq).naturality f |
| 246 | change (ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k p q).map f ≫ |
| 247 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.2) p q n hpq = |
| 248 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) p q n hpq ≫ |
| 249 | ((ProductModelsAs.Construction.ProductModels.tensorChains k).X n).map f at h |
| 250 | erw [← Category.assoc, ← h, Category.assoc] |
| 251 | erw [ι_mapBifunctorDesc, ← Category.assoc, ι_mapBifunctorDesc] |
| 252 | exact (v p q hpq).naturality f |
| 253 | |
| 254 | @[reassoc (attr := simp)] |
| 255 | theorem inclusion_tensorDesc (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) (v) |
| 256 | (p q : ℕ) (hpq : p + q = n) : |
| 257 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k n p q hpq ≫ tensorDesc n Q v = v p q hpq := by |
| 258 | apply NatTrans.ext |
| 259 | funext X |
| 260 | exact ι_mapBifunctorDesc (K₁ := (ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) |
| 261 | (K₂ := (ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) (F := curriedTensor (ModuleCat.{0} k)) |
| 262 | (c := ComplexShape.down ℕ) (fun p q hpq => (v p q hpq).app X) p q hpq |
| 263 | |
| 264 | def crossOneBidegree (p q : ℕ) (hpq : p + q = 1) : |
| 265 | ProductModelsAs.Construction.ProductModels.tensorBidegreeFunctor k p q ⟶ (ProductModelsAs.Construction.ProductModels.productChains k).X 1 := |
| 266 | if hp : p = 0 then |
| 267 | eqToHom (by |
| 268 | have hq : q = 1 := by omega |
| 269 | subst p q |
| 270 | rfl) ≫ cross01 |
| 271 | else |
| 272 | eqToHom (by |
| 273 | have hp' : p = 1 := by omega |
| 274 | have hq : q = 0 := by omega |
| 275 | subst p q |
| 276 | rfl) ≫ cross10 |
| 277 | |
| 278 | def crossOne : (ProductModelsAs.Construction.ProductModels.tensorChains k).X 1 ⟶ (ProductModelsAs.Construction.ProductModels.productChains k).X 1 := |
| 279 | tensorDesc 1 ((ProductModelsAs.Construction.ProductModels.productChains k).X 1) crossOneBidegree |
| 280 | |
| 281 | @[reassoc (attr := simp)] |
| 282 | theorem inclusion01_crossOne : |
| 283 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k 1 0 1 rfl ≫ crossOne = cross01 (k := k) := by |
| 284 | simp [crossOne, crossOneBidegree] |
| 285 | |
| 286 | @[reassoc (attr := simp)] |
| 287 | theorem inclusion10_crossOne : |
| 288 | ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k 1 1 0 rfl ≫ crossOne = cross10 (k := k) := by |
| 289 | simp [crossOne, crossOneBidegree] |
| 290 | |
| 291 | theorem crossOne_boundary : |
| 292 | crossOne (k := k) ≫ (ProductModelsAs.Construction.ProductModels.productChains k).d 1 0 = |
| 293 | (ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0 ≫ (zeroComparison k).hom := by |
| 294 | apply tensorNatural_hom_ext |
| 295 | intro p q hpq |
| 296 | have h : (p = 0 ∧ q = 1) ∨ (p = 1 ∧ q = 0) := by omega |
| 297 | rcases h with ⟨rfl, rfl⟩ | ⟨rfl, rfl⟩ |
| 298 | · rw [inclusion01_crossOne_assoc, cross01_boundary] |
| 299 | · rw [inclusion10_crossOne_assoc, cross10_boundary] |
| 300 | |
| 301 | end Construction.LowComparison |
| 302 | |
| 303 | end |
| 304 | |
| 305 | section |
| 306 | |
| 307 | /-! The degree-one Alexander–Whitney map for Kunneth's chain comparison. -/ |
| 308 | |
| 309 | set_option backward.isDefEq.respectTransparency false |
| 310 | |
| 311 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 312 | open _root_.AlgebraicTopology _root_.HomologicalComplex |
| 313 | open scoped Simplicial TensorProduct |
| 314 | |
| 315 | namespace Construction.ReverseComparison |
| 316 | |
| 317 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels OAI.AlgebraicTopology.Kunneth.ComparisonLow.Construction.LowComparison |
| 318 | |
| 319 | variable {k : Type} [Field k] |
| 320 | |
| 321 | def firstSimplex (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 322 | (s : (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) _⦋n⦌) : |
| 323 | (TopCat.toSSet.obj X.1) _⦋n⦌ := ULift.up (ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X s).1 |
| 324 | |
| 325 | def secondSimplex (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 326 | (s : (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) _⦋n⦌) : |
| 327 | (TopCat.toSSet.obj X.2) _⦋n⦌ := ULift.up (ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X s).2 |
| 328 | |
| 329 | @[simp] |
| 330 | theorem first_pair (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) (s t) : |
| 331 | firstSimplex n X (LowComparison.pairSimplex n X s t) = s := |
| 332 | congrArg (fun f : ProductModelsAs.Construction.ProductModels.simplexModel n n ⟶ X => ULift.up f.1) |
| 333 | ((ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X).apply_symm_apply (s.down, t.down)) |
| 334 | |
| 335 | @[simp] |
| 336 | theorem second_pair (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) (s t) : |
| 337 | secondSimplex n X (LowComparison.pairSimplex n X s t) = t := |
| 338 | congrArg (fun f : ProductModelsAs.Construction.ProductModels.simplexModel n n ⟶ X => ULift.up f.2) |
| 339 | ((ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X).apply_symm_apply (s.down, t.down)) |
| 340 | |
| 341 | @[simp] |
| 342 | theorem pair_first_second (n : ℕ) (X : ProductModelsAs.Construction.ProductModels.SpacePair) (s) : |
| 343 | LowComparison.pairSimplex n X (firstSimplex n X s) (secondSimplex n X s) = s := |
| 344 | (ProductModelsAs.Construction.ProductModels.productSimplexEquiv n X).symm_apply_apply s |
| 345 | |
| 346 | /-- Extend a natural value on paired simplices to chains on the product. -/ |
| 347 | def productNatural (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) |
| 348 | (v : ∀ X : ProductModelsAs.Construction.ProductModels.SpacePair, (TopCat.toSSet.obj X.1) _⦋n⦌ → |
| 349 | (TopCat.toSSet.obj X.2) _⦋n⦌ → Q.obj X) |
| 350 | (hv : ∀ (X Y : ProductModelsAs.Construction.ProductModels.SpacePair) (f : X ⟶ Y) s t, |
| 351 | Q.map f (v X s t) = v Y ((TopCat.toSSet.map f.1).app _ s) |
| 352 | ((TopCat.toSSet.map f.2).app _ t)) : (ProductModelsAs.Construction.ProductModels.productChains k).X n ⟶ Q where |
| 353 | app X := ModuleCat.ofHom (Cohomology.Singular.ChainDual.chainFunctionalOfFunction |
| 354 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) (Q.obj X) n |
| 355 | (fun s => v X (firstSimplex n X s) (secondSimplex n X s))) |
| 356 | naturality X Y f := by |
| 357 | apply ModuleCat.hom_ext |
| 358 | apply Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) (Q.obj Y) |
| 359 | intro s |
| 360 | change Cohomology.Singular.ChainDual.chainFunctionalOfFunction _ _ n _ |
| 361 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).map (ProductModelsAs.Construction.ProductModels.productSpace.map f)).f n |
| 362 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) s)) = |
| 363 | Q.map f (Cohomology.Singular.ChainDual.chainFunctionalOfFunction _ _ n _ |
| 364 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) s)) |
| 365 | rw [ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex] |
| 366 | erw [Cohomology.Singular.ChainDual.chainFunctionalOfFunction_simplex, Cohomology.Singular.ChainDual.chainFunctionalOfFunction_simplex] |
| 367 | exact (hv X Y f (firstSimplex n X s) (secondSimplex n X s)).symm |
| 368 | |
| 369 | @[simp] |
| 370 | theorem productNatural_simplex (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) (v hv) |
| 371 | (X : ProductModelsAs.Construction.ProductModels.SpacePair) (s : (TopCat.toSSet.obj X.1) _⦋n⦌) |
| 372 | (t : (TopCat.toSSet.obj X.2) _⦋n⦌) : |
| 373 | (productNatural n Q v hv).app X |
| 374 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 375 | (LowComparison.pairSimplex n X s t)) = v X s t := by |
| 376 | change Cohomology.Singular.ChainDual.chainFunctionalOfFunction _ _ n _ (Cohomology.Singular.ChainDual.simplexChain (R := k) _ _) = _ |
| 377 | rw [Cohomology.Singular.ChainDual.chainFunctionalOfFunction_simplex, first_pair, second_pair] |
| 378 | |
| 379 | theorem productNatural_hom_ext (n : ℕ) (Q : ProductModelsAs.Construction.ProductModels.SpacePair ⥤ ModuleCat.{0} k) |
| 380 | (f g : (ProductModelsAs.Construction.ProductModels.productChains k).X n ⟶ Q) |
| 381 | (h : ∀ X s t, f.app X (Cohomology.Singular.ChainDual.simplexChain (R := k) |
| 382 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) (LowComparison.pairSimplex n X s t)) = |
| 383 | g.app X (Cohomology.Singular.ChainDual.simplexChain (R := k) |
| 384 | (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) (LowComparison.pairSimplex n X s t))) : f = g := by |
| 385 | apply NatTrans.ext |
| 386 | funext X |
| 387 | apply ModuleCat.hom_ext |
| 388 | apply Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) (Q.obj X) |
| 389 | intro s |
| 390 | have hs := h X (firstSimplex n X s) (secondSimplex n X s) |
| 391 | rw [pair_first_second] at hs |
| 392 | exact hs |
| 393 | |
| 394 | @[simp] |
| 395 | theorem tensorSummand_map_simplex (n p q : ℕ) (hpq : p + q = n) |
| 396 | {X Y : ProductModelsAs.Construction.ProductModels.SpacePair} (f : X ⟶ Y) |
| 397 | (s : (TopCat.toSSet.obj X.1) _⦋p⦌) (t : (TopCat.toSSet.obj X.2) _⦋q⦌) : |
| 398 | ((ProductModelsAs.Construction.ProductModels.tensorChains k).X n).map f |
| 399 | (ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) p q n hpq |
| 400 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 401 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t)) = |
| 402 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.2) p q n hpq |
| 403 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj Y.1) ((TopCat.toSSet.map f.1).app _ s) ⊗ₜ[k] |
| 404 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj Y.2) ((TopCat.toSSet.map f.2).app _ t)) := by |
| 405 | have h := ConcreteCategory.congr_hom |
| 406 | ((ProductModelsAs.Construction.ProductModels.tensorSummandInclusion k n p q hpq).naturality f) |
| 407 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 408 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t) |
| 409 | change ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y.2) p q n hpq |
| 410 | (TensorProduct.map (((ProductModelsAs.Construction.ProductModels.scalarChains k).map f.1).f p).hom |
| 411 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).map f.2).f q).hom _) = _ at h |
| 412 | rw [TensorProduct.map_tmul, ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex, ProductModelsAs.Construction.ProductModels.scalarChains_map_simplex] at h |
| 413 | exact h.symm |
| 414 | |
| 415 | def awOneValue (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 416 | (s : (TopCat.toSSet.obj X.1) _⦋1⦌) (t : (TopCat.toSSet.obj X.2) _⦋1⦌) : |
| 417 | ((ProductModelsAs.Construction.ProductModels.tensorChains k).X 1).obj X := |
| 418 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 0 1 1 rfl |
| 419 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) ((TopCat.toSSet.obj X.1).δ 1 s) ⊗ₜ[k] |
| 420 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) t) + |
| 421 | ιTensorObj ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2) 1 0 1 rfl |
| 422 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.1) s ⊗ₜ[k] |
| 423 | Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj X.2) ((TopCat.toSSet.obj X.2).δ 0 t)) |
| 424 | |
| 425 | def awOne : (ProductModelsAs.Construction.ProductModels.productChains k).X 1 ⟶ (ProductModelsAs.Construction.ProductModels.tensorChains k).X 1 := |
| 426 | productNatural 1 ((ProductModelsAs.Construction.ProductModels.tensorChains k).X 1) awOneValue (by |
| 427 | intro X Y f s t |
| 428 | dsimp only [awOneValue] |
| 429 | rw [map_add, tensorSummand_map_simplex, tensorSummand_map_simplex, |
| 430 | SSet.δ_naturality_apply, SSet.δ_naturality_apply]) |
| 431 | |
| 432 | /-- The two edge terms have cancelling middle vertices. -/ |
| 433 | theorem awOneValue_boundary (X : ProductModelsAs.Construction.ProductModels.SpacePair) |
| 434 | (s : (TopCat.toSSet.obj X.1) _⦋1⦌) (t : (TopCat.toSSet.obj X.2) _⦋1⦌) : |
| 435 | (LowComparison.zeroComparison k).hom.app X |
| 436 | (((ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0).app X (awOneValue (k := k) X s t)) = |
| 437 | ((ProductModelsAs.Construction.ProductModels.productChains k).d 1 0).app X |
| 438 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 439 | (LowComparison.pairSimplex 1 X s t)) := by |
| 440 | change (LowComparison.zeroComparison k).hom.app X |
| 441 | ((((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ⊗ ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)).d 1 0 |
| 442 | (awOneValue (k := k) X s t)) = |
| 443 | ((TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)).chainComplex (ModuleCat.of k k)).d 1 0 |
| 444 | (Cohomology.Singular.ChainDual.simplexChain (R := k) _ (LowComparison.pairSimplex 1 X s t)) |
| 445 | dsimp only [awOneValue] |
| 446 | erw [map_add |
| 447 | ((((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) ⊗ ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)).d 1 0).hom] |
| 448 | erw [TensorHomologyD.Construction.TensorLowDegrees.inclusion01_d_apply ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) |
| 449 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2), |
| 450 | TensorHomologyD.Construction.TensorLowDegrees.inclusion10_d_apply ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.1) |
| 451 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X.2)] |
| 452 | erw [LowComparison.simplexChain_boundary_one (k := k) (TopCat.toSSet.obj X.1) s, |
| 453 | LowComparison.simplexChain_boundary_one (k := k) (TopCat.toSSet.obj X.2) t, |
| 454 | LowComparison.simplexChain_boundary_one (k := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 455 | (LowComparison.pairSimplex 1 X s t)] |
| 456 | simp only [TensorProduct.tmul_sub, TensorProduct.sub_tmul, map_sub, map_add, |
| 457 | LowComparison.zeroComparison_simplex, LowComparison.pairSimplex_face] |
| 458 | abel |
| 459 | |
| 460 | theorem awOne_boundary : |
| 461 | awOne (k := k) ≫ (ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0 = |
| 462 | (ProductModelsAs.Construction.ProductModels.productChains k).d 1 0 ≫ (LowComparison.zeroComparison k).inv := by |
| 463 | apply (cancel_mono (LowComparison.zeroComparison k).hom).mp |
| 464 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 465 | apply productNatural_hom_ext |
| 466 | intro X s t |
| 467 | change (LowComparison.zeroComparison k).hom.app X |
| 468 | (((ProductModelsAs.Construction.ProductModels.tensorChains k).d 1 0).app X |
| 469 | ((productNatural 1 ((ProductModelsAs.Construction.ProductModels.tensorChains k).X 1) awOneValue _).app X |
| 470 | (Cohomology.Singular.ChainDual.simplexChain (R := k) (TopCat.toSSet.obj (ProductModelsAs.Construction.ProductModels.productSpace.obj X)) |
| 471 | (LowComparison.pairSimplex 1 X s t)))) = _ |
| 472 | rw [productNatural_simplex] |
| 473 | exact awOneValue_boundary X s t |
| 474 | |
| 475 | end Construction.ReverseComparison |
| 476 | |
| 477 | end |
| 478 | |
| 479 | /-! A natural Eilenberg–Zilber equivalence, proved by acyclic models. -/ |
| 480 | |
| 481 | set_option backward.isDefEq.respectTransparency false |
| 482 | |
| 483 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 484 | open _root_.AlgebraicTopology _root_.HomologicalComplex |
| 485 | open scoped TensorProduct DirectSum |
| 486 | |
| 487 | namespace Construction.EilenbergZilber |
| 488 | |
| 489 | open OAI.AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels OAI.AlgebraicTopology.Kunneth.ComparisonLow.Construction.LowComparison OAI.AlgebraicTopology.Kunneth.ComparisonLow.Construction.ReverseComparison |
| 490 | |
| 491 | variable (k : Type) [Field k] |
| 492 | |
| 493 | /-- The cross-product comparison, normalized on vertices and edges. -/ |
| 494 | def cross : ProductModelsAs.Construction.ProductModels.tensorChains k ⟶ ProductModelsAs.Construction.ProductModels.productChains k := |
| 495 | AcyclicModelsF.Construction.AcyclicModels.extendChainMap (ProductModelsAs.Construction.ProductModels.tensorChains k) (ProductModelsAs.Construction.ProductModels.productChains k) |
| 496 | (ProductModelsAs.Construction.ProductModels.tensorPresentation k) |
| 497 | (fun _ i q => ProductModelsAs.Construction.ProductModels.product_model_positive_exact k i.val.1 i.val.2 q) |
| 498 | (LowComparison.zeroComparison k).hom LowComparison.crossOne LowComparison.crossOne_boundary |
| 499 | |
| 500 | /-- The reverse comparison, with the Alexander–Whitney edge formula. -/ |
| 501 | def aw : ProductModelsAs.Construction.ProductModels.productChains k ⟶ ProductModelsAs.Construction.ProductModels.tensorChains k := |
| 502 | AcyclicModelsF.Construction.AcyclicModels.extendChainMap (ProductModelsAs.Construction.ProductModels.productChains k) (ProductModelsAs.Construction.ProductModels.tensorChains k) |
| 503 | (ProductModelsAs.Construction.ProductModels.productPresentation k) |
| 504 | (fun n _ q => ProductModelsAs.Construction.ProductModels.tensor_model_positive_exact k n n q) |
| 505 | (LowComparison.zeroComparison k).inv ReverseComparison.awOne ReverseComparison.awOne_boundary |
| 506 | |
| 507 | @[simp] |
| 508 | theorem cross_f_zero : (cross k).f 0 = (LowComparison.zeroComparison k).hom := rfl |
| 509 | |
| 510 | @[simp] |
| 511 | theorem cross_f_one : (cross k).f 1 = LowComparison.crossOne := rfl |
| 512 | |
| 513 | @[simp] |
| 514 | theorem aw_f_zero : (aw k).f 0 = (LowComparison.zeroComparison k).inv := rfl |
| 515 | |
| 516 | @[simp] |
| 517 | theorem aw_f_one : (aw k).f 1 = ReverseComparison.awOne := rfl |
| 518 | |
| 519 | def cross_aw_homotopy : Homotopy (cross k ≫ aw k) (𝟙 (ProductModelsAs.Construction.ProductModels.tensorChains k)) := |
| 520 | ProductModelsAs.Construction.ProductModels.tensorNaturalHomotopy k _ _ (by |
| 521 | change (cross k).f 0 ≫ (aw k).f 0 = 𝟙 _ |
| 522 | rw [cross_f_zero, aw_f_zero, Iso.hom_inv_id]) |
| 523 | |
| 524 | def aw_cross_homotopy : Homotopy (aw k ≫ cross k) (𝟙 (ProductModelsAs.Construction.ProductModels.productChains k)) := |
| 525 | ProductModelsAs.Construction.ProductModels.productNaturalHomotopy k _ _ (by |
| 526 | change (aw k).f 0 ≫ (cross k).f 0 = 𝟙 _ |
| 527 | rw [aw_f_zero, cross_f_zero, Iso.inv_hom_id]) |
| 528 | |
| 529 | /-- Singular chains on a product are naturally homotopy equivalent to |
| 530 | the total tensor complex of the two singular chain complexes. -/ |
| 531 | def naturalHomotopyEquiv : HomotopyEquiv (ProductModelsAs.Construction.ProductModels.tensorChains k) (ProductModelsAs.Construction.ProductModels.productChains k) where |
| 532 | hom := cross k |
| 533 | inv := aw k |
| 534 | homotopyHomInvId := cross_aw_homotopy k |
| 535 | homotopyInvHomId := aw_cross_homotopy k |
| 536 | |
| 537 | /-- Evaluation gives the chain equivalence for arbitrary topological spaces. -/ |
| 538 | def homotopyEquiv (X Y : TopCat.{0}) : |
| 539 | HomotopyEquiv (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X) ⊗ ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y)) |
| 540 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj (TopCat.of (X × Y))) := |
| 541 | ((evaluation ProductModelsAs.Construction.ProductModels.SpacePair (ModuleCat.{0} k)).obj (X, Y)).mapHomotopyEquiv |
| 542 | (naturalHomotopyEquiv k) |
| 543 | |
| 544 | /-- The homological Künneth decomposition over a field, for arbitrary spaces. -/ |
| 545 | def singularHomologyKunneth (X Y : TopCat.{0}) (n : ℕ) : |
| 546 | (⨁ ij : TensorHomologyD.Construction.TensorHomology.DegreePairs n, |
| 547 | (((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X).homology ij.val.1 ⊗[k] |
| 548 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y).homology ij.val.2)) ≃ₗ[k] |
| 549 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj (TopCat.of (X × Y))).homology n := |
| 550 | (TensorHomologyD.Construction.TensorHomology.algebraicKunneth ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj X) |
| 551 | ((ProductModelsAs.Construction.ProductModels.scalarChains k).obj Y) n).trans |
| 552 | (((homotopyEquiv k X Y).toHomologyIso n).toLinearEquiv) |
| 553 | |
| 554 | end Construction.EilenbergZilber |
| 555 | |
| 556 | end |
| 557 | |
| 558 | end OAI.AlgebraicTopology.Kunneth.ComparisonLow |