diff --git a/Mathlib/CategoryTheory/MorphismProperty/Limits.lean b/Mathlib/CategoryTheory/MorphismProperty/Limits.lean index ced60a1ea0e563..9f5b8452764f34 100644 --- a/Mathlib/CategoryTheory/MorphismProperty/Limits.lean +++ b/Mathlib/CategoryTheory/MorphismProperty/Limits.lean @@ -1012,10 +1012,10 @@ instance (P : MorphismProperty C) [P.HasPullbacks] (P' : MorphismProperty C) : lemma hasPullbacksAgainst_top_iff (P : MorphismProperty C) : - P.IsStableUnderBaseChangeAgainst ⊤ ↔ P.IsStableUnderBaseChange where + P.HasPullbacksAgainst ⊤ ↔ P.HasPullbacks where mp h := - ⟨fun {_ _ _ _} _ _ _ _ h' h'' ↦ - (h.isStableUnderBaseChangeAlong _ (by tauto)).of_isPullback h' h''⟩ + ⟨fun _ h' ↦ + (h.hasPullbacksAlong _ (by tauto)).hasPullback _ h'⟩ mpr _ := inferInstance lemma _root_.CategoryTheory.Limits.hasPullback_ofHasPullbacksAgainst @@ -1027,7 +1027,7 @@ lemma _root_.CategoryTheory.Limits.hasPullback_ofHasPullbacksAgainst MorphismProperty.HasPullbacksAlong.hasPullback f hf /-- `P.IsStableUnderCobaseChangeAgainst P'` states that for any morphism `f` satisfying `P` and -any morphism `g` with the same codomain as `f` satisfying `P'`, any pullback of `f` along `g` +any morphism `g` with the same domain as `f` satisfying `P'`, any pushout of `f` along `g` also satisfies `P`. -/ class IsStableUnderCobaseChangeAgainst (P P' : MorphismProperty C) : Prop where @@ -1047,7 +1047,7 @@ lemma isStableUnderCobaseChangeAgainst_top_iff (h.isStableUnderCobaseChangeAlong _ (by tauto)).of_isPushout h' h''⟩ mpr _ := inferInstance -/-- `P.HasPullbacksAgainst P'` states that for any morphism `f` satisfying `P'`, +/-- `P.HasPushoutsAgainst P'` states that for any morphism `f` satisfying `P'`, `P` has pushouts along `f`. -/ class HasPushoutsAgainst (P P' : MorphismProperty C) : Prop where @@ -1060,10 +1060,10 @@ instance (P : MorphismProperty C) [P.HasPushouts] (P' : MorphismProperty C) : lemma hasPushoutsAgainst_top_iff (P : MorphismProperty C) : - P.IsStableUnderCobaseChangeAgainst ⊤ ↔ P.IsStableUnderCobaseChange where + P.HasPushoutsAgainst ⊤ ↔ P.HasPushouts where mp h := - ⟨fun {_ _ _ _} _ _ _ _ h' h'' ↦ - (h.isStableUnderCobaseChangeAlong _ (by tauto)).of_isPushout h' h''⟩ + ⟨fun _ h' ↦ + (h.hasPushoutsAlong _ (by tauto)).hasPushout _ h'⟩ mpr _ := inferInstance lemma _root_.CategoryTheory.Limits.hasPushout_ofHasPushoutsAgainst