@@ -53,9 +53,10 @@ lemma P_succ (q : ℕ) : (P (q+1) : K[X] ⟶ K[X]) = P q ≫ (𝟙 _ + Hσ q) :=
5353/-- All the `P q` coincide with `𝟙 _` in degree 0. -/
5454@[simp]
5555theorem P_f_0_eq (q : ℕ) : ((P q).f 0 : X _⦋0 ⦌ ⟶ X _⦋0 ⦌) = 𝟙 _ := by
56- induction' q with q hq
57- · rfl
58- · simp only [P_succ, HomologicalComplex.add_f_apply, HomologicalComplex.comp_f,
56+ induction q with
57+ | zero => rfl
58+ | succ q hq =>
59+ simp only [P_succ, HomologicalComplex.add_f_apply, HomologicalComplex.comp_f,
5960 HomologicalComplex.id_f, id_comp, hq, Hσ_eq_zero, add_zero]
6061
6162/-- `Q q` is the complement projection associated to `P q` -/
@@ -95,10 +96,12 @@ theorem of_P : ∀ q n : ℕ, HigherFacesVanish q ((P q).f (n + 1) : X _⦋n + 1
9596@[reassoc]
9697theorem comp_P_eq_self {Y : C} {n q : ℕ} {φ : Y ⟶ X _⦋n + 1 ⦌} (v : HigherFacesVanish q φ) :
9798 φ ≫ (P q).f (n + 1 ) = φ := by
98- induction' q with q hq
99- · simp only [P_zero]
99+ induction q with
100+ | zero =>
101+ simp only [P_zero]
100102 apply comp_id
101- · simp only [P_succ, comp_add, HomologicalComplex.comp_f, HomologicalComplex.add_f_apply,
103+ | succ q hq =>
104+ simp only [P_succ, comp_add, HomologicalComplex.comp_f, HomologicalComplex.add_f_apply,
102105 comp_id, ← assoc, hq v.of_succ, add_eq_left]
103106 by_cases hqn : n < q
104107 · exact v.of_succ.comp_Hσ_eq_zero hqn
@@ -147,10 +150,12 @@ theorem Q_idem (q : ℕ) : (Q q : K[X] ⟶ K[X]) ≫ Q q = Q q := by
147150def natTransP (q : ℕ) : alternatingFaceMapComplex C ⟶ alternatingFaceMapComplex C where
148151 app _ := P q
149152 naturality _ _ f := by
150- induction' q with q hq
151- · dsimp [alternatingFaceMapComplex]
153+ induction q with
154+ | zero =>
155+ dsimp [alternatingFaceMapComplex]
152156 simp only [P_zero, id_comp, comp_id]
153- · simp only [P_succ, add_comp, comp_add, assoc, comp_id, hq, reassoc_of% hq]
157+ | succ q hq =>
158+ simp only [P_succ, add_comp, comp_add, assoc, comp_id, hq, reassoc_of% hq]
154159 -- `erw` is needed to see through `natTransHσ q).app = Hσ q`
155160 erw [(natTransHσ q).naturality f]
156161 rfl
@@ -176,10 +181,12 @@ def natTransQ (q : ℕ) : alternatingFaceMapComplex C ⟶ alternatingFaceMapComp
176181theorem map_P {D : Type *} [Category D] [Preadditive D] (G : C ⥤ D) [G.Additive]
177182 (X : SimplicialObject C) (q n : ℕ) :
178183 G.map ((P q : K[X] ⟶ _).f n) = (P q : K[((whiskering C D).obj G).obj X] ⟶ _).f n := by
179- induction' q with q hq
180- · simp only [P_zero]
184+ induction q with
185+ | zero =>
186+ simp only [P_zero]
181187 apply G.map_id
182- · simp only [P_succ, comp_add, HomologicalComplex.comp_f, HomologicalComplex.add_f_apply,
188+ | succ q hq =>
189+ simp only [P_succ, comp_add, HomologicalComplex.comp_f, HomologicalComplex.add_f_apply,
183190 comp_id, Functor.map_add, Functor.map_comp, hq, map_Hσ]
184191
185192theorem map_Q {D : Type *} [Category D] [Preadditive D] (G : C ⥤ D) [G.Additive]
0 commit comments