Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 5f68029

Browse files
committed
feat(algebraic_topology/dold_kan): the counit isomorphism of the Dold-Kan equivalence (#17633)
This PR constructs the counit isomorphism `N₂Γ₂ : Γ₂ ⋙ N₂ ≅ 𝟭 (karoubi (chain_complex C ℕ))` of the Dold-Kan equivalence.
1 parent 75bf566 commit 5f68029

2 files changed

Lines changed: 46 additions & 6 deletions

File tree

src/algebraic_topology/dold_kan/gamma_comp_n.lean

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ Authors: Joël Riou
55
-/
66

77
import algebraic_topology.dold_kan.functor_gamma
8-
import algebraic_topology.dold_kan.split_simplicial_object
8+
import category_theory.idempotents.homological_complex
99

10-
/-! The counit isomorphism of the Dold-Kan equivlence
10+
/-! The counit isomorphism of the Dold-Kan equivalence
1111
1212
The purpose of this file is to construct natural isomorphisms
1313
`N₁Γ₀ : Γ₀ ⋙ N₁ ≅ to_karoubi (chain_complex C ℕ)`
14-
and `N₂Γ₂ : Γ₂ ⋙ N₂ ≅ 𝟭 (karoubi (chain_complex C ℕ))` (TODO).
14+
and `N₂Γ₂ : Γ₂ ⋙ N₂ ≅ 𝟭 (karoubi (chain_complex C ℕ))`.
1515
16-
-/
16+
-/
1717

1818
noncomputable theory
1919

2020
open category_theory category_theory.category category_theory.limits category_theory.idempotents
21-
simplex_category opposite simplicial_object
22-
open_locale simplicial dold_kan
21+
opposite simplicial_object
22+
open_locale simplicial
2323

2424
namespace algebraic_topology
2525

@@ -113,6 +113,34 @@ are functors `chain_complex C ℕ ⥤ karoubi (chain_complex C ℕ)`. -/
113113
def N₂Γ₂_to_karoubi_iso : to_karoubi (chain_complex C ℕ) ⋙ Γ₂ ⋙ N₂ ≅ Γ₀ ⋙ N₁ :=
114114
eq_to_iso (N₂Γ₂_to_karoubi)
115115

116+
/-- The counit isomorphism of the Dold-Kan equivalence for additive categories. -/
117+
def N₂Γ₂ : Γ₂ ⋙ N₂ ≅ 𝟭 (karoubi (chain_complex C ℕ)) :=
118+
((whiskering_left _ _ _).obj (to_karoubi (chain_complex C ℕ))).preimage_iso
119+
(N₂Γ₂_to_karoubi_iso ≪≫ N₁Γ₀)
120+
121+
lemma N₂Γ₂_compatible_with_N₁Γ₀ (K : chain_complex C ℕ) :
122+
N₂Γ₂.hom.app ((to_karoubi _).obj K) = N₂Γ₂_to_karoubi_iso.hom.app K ≫ N₁Γ₀.hom.app K :=
123+
congr_app (((whiskering_left _ _ (karoubi (chain_complex C ℕ ))).obj
124+
(to_karoubi (chain_complex C ℕ))).image_preimage
125+
(N₂Γ₂_to_karoubi_iso.hom ≫ N₁Γ₀.hom : _ ⟶ to_karoubi _ ⋙ 𝟭 _)) K
126+
127+
@[simp]
128+
lemma N₂Γ₂_inv_app_f_f (X : karoubi (chain_complex C ℕ)) (n : ℕ) :
129+
(N₂Γ₂.inv.app X).f.f n =
130+
X.p.f n ≫ (Γ₀.splitting X.X).ι_summand (splitting.index_set.id (op [n])) :=
131+
begin
132+
dsimp only [N₂Γ₂, functor.preimage_iso, iso.trans],
133+
simp only [whiskering_left_obj_preimage_app, N₂Γ₂_to_karoubi_iso_inv, functor.id_map,
134+
nat_trans.comp_app, eq_to_hom_app, functor.comp_map, assoc, karoubi.comp_f,
135+
karoubi.eq_to_hom_f, eq_to_hom_refl, comp_id, karoubi.comp_p_assoc, N₂_map_f_f,
136+
homological_complex.comp_f, N₁Γ₀_inv_app_f_f, P_infty_on_Γ₀_splitting_summand_eq_self_assoc,
137+
splitting.to_karoubi_nondeg_complex_iso_N₁_hom_f_f, Γ₂_map_f_app, karoubi.decomp_id_p_f],
138+
dsimp [to_karoubi],
139+
rw [splitting.ι_desc],
140+
dsimp [splitting.index_set.id],
141+
rw karoubi.homological_complex.p_idem_assoc,
142+
end
143+
116144
end dold_kan
117145

118146
end algebraic_topology

src/category_theory/idempotents/functor_extension.lean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,18 @@ is_equivalence.cancel_comp_right _ ((whiskering_right C _ _).obj (to_karoubi D)
257257
((to_karoubi D).as_equivalence.trans (to_karoubi D).as_equivalence.symm)))
258258
(by { change is_equivalence (karoubi_universal C D).inverse, apply_instance, })
259259

260+
variables {C D}
261+
262+
lemma whiskering_left_obj_preimage_app {F G : karoubi C ⥤ D}
263+
(τ : to_karoubi _ ⋙ F ⟶ to_karoubi _ ⋙ G) (P : karoubi C) :
264+
(((whiskering_left _ _ _).obj (to_karoubi _)).preimage τ).app P =
265+
F.map P.decomp_id_i ≫ τ.app P.X ≫ G.map P.decomp_id_p :=
266+
begin
267+
rw nat_trans_eq,
268+
congr' 2,
269+
exact congr_app (((whiskering_left _ _ _).obj (to_karoubi _)).image_preimage τ) P.X,
270+
end
271+
260272
end is_idempotent_complete
261273

262274
end idempotents

0 commit comments

Comments
 (0)