Quelle Degeneracies.lean
Sprache: Lean
|
|
/-
Copyright (c) 2022 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
module
public import Mathlib.AlgebraicTopology.DoldKan.Decomposition
public import Mathlib.Tactic.Linarith
/-!
# Behaviour of `P_infty` with respect to degeneracies
For any `X : SimplicialObject C` where `C` is an abelian category,
the projector `PInfty : K[X] ⟶ K[X]` is supposed to be the projection
on the normalized subcomplex, parallel to the degenerate subcomplex, i.e.
the subcomplex generated by the images of all `X.σ i`.
In this file, we obtain `degeneracy_comp_P_infty` which states that
if `X : SimplicialObject C` with `C` a preadditive category,
`θ : ⦋n⦌ ⟶ Δ'` is a non-injective map in `SimplexCategory`, then
`X.map θ.op ≫ P_infty.f n = 0`. It follows from the more precise
statement vanishing statement `σ_comp_P_eq_zero` for the `P q`.
(See `Equivalence.lean` for the general strategy of proof of the Dold-Kan equivalence.)
-/
public section
open CategoryTheory CategoryTheory.Category CategoryTheory.Limits
CategoryTheory.Preadditive
open scoped Simplicial
namespace AlgebraicTopology
namespace DoldKan
variable {C : Type*} [Category* C] [Preadditive C]
theorem HigherFacesVanish.comp_σ {Y : C} {X : SimplicialObject C} {n b q : ℕ} {φ : Y ⟶ X _⦋n + 1⦌}
(v : HigherFacesVanish q φ) (hnbq : n + 1 = b + q) :
HigherFacesVanish q
(φ ≫
X.σ ⟨b, by
simp only [hnbq, Nat.lt_add_one_iff, le_add_iff_nonneg_right, zero_le]⟩) :=
fun j hj => by
rw [assoc, SimplicialObject.δ_comp_σ_of_gt', Fin.pred_succ, v.comp_δ_eq_zero_assoc _ _ hj,
zero_comp]
· intro hj'
simp only [hnbq, add_comm b, add_assoc, hj', Fin.val_zero, zero_add, add_le_iff_nonpos_right,
nonpos_iff_eq_zero, add_eq_zero, false_and, reduceCtorEq] at hj
· dsimp
rw [Fin.lt_def, Fin.val_succ]
linarith
theorem σ_comp_P_eq_zero (X : SimplicialObject C) {n q : ℕ} (i : Fin (n + 1)) (hi : n + 1 ≤ i + q) :
dsimp% X.σ i ≫ (P q).f (n + 1) = 0 := by
induction q generalizing i with
| zero => lia
| succ q hq =>
by_cases h : n + 1 ≤ (i : ℕ) + q
· rw [P_succ, HomologicalComplex.comp_f, ← assoc, hq i h, zero_comp]
· replace hi : n = i + q := by lia
rcases n with _ | n
· fin_cases i
dsimp at h hi
rw [show q = 0 by lia]
change X.σ 0 ≫ (P 1).f 1 = 0
simp only [P_succ, HomologicalComplex.add_f_apply, comp_add,
AlternatingFaceMapComplex.obj_d_eq, Hσ,
HomologicalComplex.comp_f, Homotopy.nullHomotopicMap'_f (c_mk 2 1 rfl) (c_mk 1 0 rfl),
comp_id]
rw [hσ'_eq' (zero_add 0).symm, hσ'_eq' (add_zero 1).symm]
dsimp [P_zero]
rw [comp_id, Fin.sum_univ_two,
Fin.sum_univ_succ, Fin.sum_univ_two]
simp only [Fin.val_zero, pow_zero, pow_one, pow_add, one_smul, neg_smul, Fin.val_succ,
Fin.val_one, mul_neg, one_mul, neg_mul, neg_neg, id_comp, add_comp, comp_add, neg_comp,
comp_neg, Fin.succ_zero_eq_one]
rw [← Fin.castSucc_one, SimplicialObject.δ_comp_σ_self, ← Fin.castSucc_zero (n := 1),
SimplicialObject.δ_comp_σ_self_assoc,
SimplicialObject.δ_comp_σ_succ, comp_id, ← Fin.castSucc_zero (n := 2),
← Fin.succ_zero_eq_one,
SimplicialObject.δ_comp_σ_of_le X
(show (0 : Fin 2) ≤ Fin.castSucc 0 by rw [Fin.castSucc_zero]),
← Fin.castSucc_zero (n := 1), SimplicialObject.δ_comp_σ_self_assoc,
SimplicialObject.δ_comp_σ_succ_assoc]
simp only [add_neg_cancel, add_zero, zero_add]
· rw [← id_comp (X.σ i), ← (P_add_Q_f q n.succ : _ = (X.obj _)), add_comp, add_comp,
P_succ]
have v : HigherFacesVanish q ((P q).f n.succ ≫ X.σ i) :=
(HigherFacesVanish.of_P q n).comp_σ hi
dsimp only [AlternatingFaceMapComplex.obj_X, Nat.succ_eq_add_one, HomologicalComplex.comp_f,
HomologicalComplex.add_f_apply, HomologicalComplex.id_f]
rw [← assoc, v.comp_P_eq_self, Preadditive.comp_add,
comp_id, v.comp_Hσ_eq hi, assoc, ← Fin.succ_mk _ _ i.2,
SimplicialObject.δ_comp_σ_succ_assoc,
Fin.eta, decomposition_Q n q, sum_comp, sum_comp, Finset.sum_eq_zero, add_zero,
add_neg_eq_zero]
intro j hj
simp only [Finset.mem_univ, Finset.mem_filter] at hj
obtain ⟨k, hk⟩ := Nat.le.dest (Nat.lt_succ_iff.mp (Fin.is_lt j))
rw [add_comm] at hk
have hi' : i = Fin.castSucc ⟨i, by lia⟩ := by
ext
simp only [Fin.castSucc_mk, Fin.eta]
have eq := hq j.rev.succ (by
simp only [← hk, Fin.rev_eq j hk.symm, Fin.succ_mk, Fin.val_mk]
lia)
rw [assoc, assoc, assoc, hi',
SimplicialObject.σ_comp_σ_assoc, reassoc_of% eq, zero_comp, comp_zero, comp_zero,
comp_zero]
simp only [Fin.rev_eq j hk.symm, Fin.le_iff_val_le_val]
lia
@[reassoc (attr := simp)]
theorem σ_comp_PInfty (X : SimplicialObject C) {n : ℕ} (i : Fin (n + 1)) :
dsimp% X.σ i ≫ PInfty.f (n + 1) = 0 := by
rw [PInfty_f, σ_comp_P_eq_zero X i]
simp only [le_add_iff_nonneg_left, zero_le]
@[reassoc]
theorem degeneracy_comp_PInfty (X : SimplicialObject C) (n : ℕ) {Δ' : SimplexCategory}
(θ : ⦋n⦌ ⟶ Δ') (hθ : ¬Mono θ) : dsimp% X.map θ.op ≫ PInfty.f n = 0 := by
rw [SimplexCategory.mono_iff_injective] at hθ
cases n
· exfalso
apply hθ
intro x y h
fin_cases x
fin_cases y
rfl
· obtain ⟨i, α, h⟩ := SimplexCategory.eq_σ_comp_of_not_injective θ hθ
rw [h, op_comp, X.map_comp, assoc, ← SimplicialObject.σ_def,
σ_comp_PInfty, comp_zero]
section
variable {X : SimplicialObject C} {n : ℕ} {T : C}
/-- If `X` is a simplicial object in a preadditive category and `f : X _⦋n⦌ ⟶ T`
is a morphism, we say that is vanishes on degeneracies if `n = 0` or if
maps `X.σ i ≫ f` all vanish. -/
def DegeneraciesVanish (f : X _⦋n⦌ ⟶ T) : Prop :=
match n with
| 0 => True
| n + 1 => ∀ (i : Fin (n + 1)), X.σ i ≫ f = 0
@[simp]
lemma degeneraciesVanish_zero_iff_true (f : X _⦋0⦌ ⟶ T) :
DegeneraciesVanish f ↔ True := Iff.rfl
lemma degeneraciesVanish_succ_iff (f : X _⦋n + 1⦌ ⟶ T) :
DegeneraciesVanish f ↔ ∀ (i : Fin (n + 1)), X.σ i ≫ f = 0 := Iff.rfl
@[reassoc]
lemma DegeneraciesVanish.σ_comp {f : X _⦋n + 1⦌ ⟶ T} (hf : DegeneraciesVanish f)
(i : Fin (n + 1)) :
X.σ i ≫ f = 0 := hf i
variable {f} in
lemma DegeneraciesVanish.comp
{f : X _⦋n⦌ ⟶ T} (hf : DegeneraciesVanish f) {U : C} (g : T ⟶ U) :
DegeneraciesVanish (f ≫ g) := by
obtain _ | n := n
· simp
· simp [degeneraciesVanish_succ_iff, hf.σ_comp_assoc]
variable (X) in
lemma degeneraciesVanishPInfty_f (n : ℕ) :
DegeneraciesVanish ((PInfty (X := X)).f n) := by
obtain _ | n := n
· simp
· simp [degeneraciesVanish_succ_iff]
lemma degeneraciesVanish_iff_QInfty_f_comp (f : X _⦋n⦌ ⟶ T) :
DegeneraciesVanish f ↔ QInfty.f n ≫ f = 0 := by
obtain _ | n := n
· simp
· refine ⟨fun hf ↦ ?_, fun hf ↦ ?_⟩
· simp [QInfty_f, decomposition_Q, Preadditive.sum_comp, hf.σ_comp]
· have := PInfty_f_add_QInfty_f (n + 1) =≫ f
rw [Category.id_comp] at this
rw [degeneraciesVanish_succ_iff, ← this]
simp [hf]
end
end DoldKan
end AlgebraicTopology
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|