Skip to content

Commit e22c93c

Browse files
committed
fixes
1 parent 21f1484 commit e22c93c

5 files changed

Lines changed: 6 additions & 2 deletions

File tree

Mathlib/Algebra/Homology/HomotopyFiber.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ instance [HasBinaryBiproducts C] : HasHomotopyFiber φ where
4444

4545
variable [HasHomotopyFiber φ] [DecidableRel c.Rel]
4646

47+
set_option backward.defeqAttrib.useBackward true in
4748
instance : HasHomotopyCofiber ((opFunctor C c).map φ.op) where
4849
hasBinaryBiproduct i j hij := by
4950
have := HasHomotopyFiber.hasBinaryBiproduct φ j i hij
@@ -58,6 +59,7 @@ end
5859

5960
variable (K) [∀ i, HasBinaryBiproduct (K.X i) (K.X i)]
6061

62+
set_option backward.defeqAttrib.useBackward true in
6163
instance (i : α) : HasBinaryBiproduct (K.op.X i) (K.op.X i) := by
6264
dsimp; infer_instance
6365

@@ -84,6 +86,7 @@ noncomputable def pathObject := (unopFunctor C c.symm).obj (op K.op.cylinder)
8486

8587
namespace pathObject
8688

89+
set_option backward.defeqAttrib.useBackward true in
8790
lemma isZero_X (i : α) (h₁ : IsZero (K.X i)) (h₂ : ∀ (j : α), c.Rel j i → IsZero (K.X j)) :
8891
IsZero (K.pathObject.X i) := by
8992
apply IsZero.unop

Mathlib/AlgebraicTopology/ModelCategory/LeftHomotopy.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def postcomp {f g : X ⟶ Y} (h : P.LeftHomotopy f g) {Z : C} (p : Y ⟶ Z) :
8383
P.LeftHomotopy (f ≫ p) (g ≫ p) where
8484
h := h.h ≫ p
8585

86+
set_option backward.defeqAttrib.useBackward true in
8687
/-- Left homotopies in a full subcategory identify to left homotopies in the
8788
ambient category. -/
8889
noncomputable def fullSubcategoryEquiv {P : ObjectProperty C} {X Y : P.FullSubcategory}

Mathlib/AlgebraicTopology/ModelCategory/RightHomotopy.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def precomp {f g : X ⟶ Y} (h : P.RightHomotopy f g) {Z : C} (i : Z ⟶ X) :
8686
P.RightHomotopy (i ≫ f) (i ≫ g) where
8787
h := i ≫ h.h
8888

89+
set_option backward.defeqAttrib.useBackward true in
8990
/-- Right homotopies in a full subcategory identify to right homotopies in the
9091
ambient category. -/
9192
noncomputable def fullSubcategoryEquiv {P : ObjectProperty C} {X Y : P.FullSubcategory}

Mathlib/AlgebraicTopology/SimplicialSet/KanComplex.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ lemma exists_lift_of_kanComplex [KanComplex X]
6262
/-- If `X` is a Kan complex and `f : ∀ (j : Fin (n + 2)) (_ : j ≠ i), Δ[n] ⟶ X`
6363
is a compatible family of morphisms (which defines a morphism `Λ[n + 1, i] ⟶ X`),
6464
then this is a lifting `Δ[n + 1] ⟶ X`. -/
65-
@[no_expose]
6665
noncomputable def liftOfKanComplex [KanComplex X] (hf : horn.IsCompatible f) :
6766
Δ[n + 1] ⟶ X :=
6867
hf.exists_lift_of_kanComplex.choose

Mathlib/SetTheory/Cardinal/Cofinality/Ordinal.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ theorem cof_univ : cof univ.{u, v} = Cardinal.univ.{u, v} := by
560560

561561
@[simp]
562562
theorem _root_.Order.cof_ordinal : Order.cof Ordinal.{u} = Cardinal.univ.{u, u + 1} := by
563-
have := (OrderIso.ofRelIsoLT liftPrincipalSeg.subrelIso.{u, u + 1}).lift_cof_congr
563+
have := (OrderIso.ofRelIsoLT liftPrincipalSeg.{u, u + 1}.subrelIso).lift_cof_congr
564564
rw [Cardinal.lift_id'.{_, u + 2}] at this
565565
change Order.cof (Iio univ) = _ at this
566566
rwa [cof_Iio, ← lift_cof, Cardinal.lift_inj, cof_univ, eq_comm] at this

0 commit comments

Comments
 (0)