Skip to content

Commit a8d8ebb

Browse files
committed
chore(CategoryTheory/Limits/Shapes/Pullbacks/HasPullback): fix typo (#41024)
Change definition `pullback.desc'` (which is about pushouts) to `pushout.desc'`. Co-authored-by: morel <sophie.morel@ens-lyon.fr>
1 parent 25e35a4 commit a8d8ebb

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Mathlib/CategoryTheory/Limits/Shapes/Pullback/HasPullback.lean

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,19 @@ theorem pushout.inr_desc {W X Y Z : C} {f : X ⟶ Y} {g : X ⟶ Z} [HasPushout f
194194
`l : W ⟶ pullback f g` such that `l ≫ pullback.fst = h` and `l ≫ pullback.snd = k`. -/
195195
def pullback.lift' {W X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} [HasPullback f g] (h : W ⟶ X) (k : W ⟶ Y)
196196
(w : h ≫ f = k ≫ g) :
197-
{ l : W ⟶ pullback f g // l ≫ pullback.fst f g = h ∧ l ≫ pullback.snd f g = k } :=
197+
{ l : W ⟶ pullback f g // l ≫ pullback.fst f g = h ∧ l ≫ pullback.snd f g = k } :=
198198
⟨pullback.lift h k w, pullback.lift_fst _ _ _, pullback.lift_snd _ _ _⟩
199199

200200
/-- A pair of morphisms `h : Y ⟶ W` and `k : Z ⟶ W` satisfying `f ≫ h = g ≫ k` induces a morphism
201201
`l : pushout f g ⟶ W` such that `pushout.inl _ _ ≫ l = h` and `pushout.inr _ _ ≫ l = k`. -/
202-
def pullback.desc' {W X Y Z : C} {f : X ⟶ Y} {g : X ⟶ Z} [HasPushout f g] (h : Y ⟶ W) (k : Z ⟶ W)
202+
def pushout.desc' {W X Y Z : C} {f : X ⟶ Y} {g : X ⟶ Z} [HasPushout f g] (h : Y ⟶ W) (k : Z ⟶ W)
203203
(w : f ≫ h = g ≫ k) :
204-
{ l : pushout f g ⟶ W // pushout.inl _ _ ≫ l = h ∧ pushout.inr _ _ ≫ l = k } :=
204+
{ l : pushout f g ⟶ W // pushout.inl _ _ ≫ l = h ∧ pushout.inr _ _ ≫ l = k } :=
205205
⟨pushout.desc h k w, pushout.inl_desc _ _ _, pushout.inr_desc _ _ _⟩
206206

207+
@[deprecated (since := "2026-06-25")]
208+
alias CategoryTheory.Limits.pullback.desc' := pushout.desc'
209+
207210
@[reassoc]
208211
theorem pullback.condition {X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} [HasPullback f g] :
209212
pullback.fst f g ≫ f = pullback.snd f g ≫ g :=

0 commit comments

Comments
 (0)