File tree Expand file tree Collapse file tree
Mathlib/CategoryTheory/ConcreteCategory Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,8 +195,7 @@ instance InducedCategory.concreteCategory {C : Type u} {D : Type u'} [Category.{
195195 comp_apply _ _ _ := ConcreteCategory.comp_apply _ _ _
196196 id_apply _ := ConcreteCategory.id_apply _
197197
198- open ObjectProperty in
199- instance FullSubcategory.concreteCategory {C : Type u} [Category.{v} C]
198+ instance ObjectProperty.FullSubcategory.concreteCategory {C : Type u} [Category.{v} C]
200199 {FC : C → C → Type *} {CC : C → Type w} [∀ X Y, FunLike (FC X Y) (CC X) (CC Y)]
201200 [ConcreteCategory.{w} C FC]
202201 (P : ObjectProperty C) : ConcreteCategory P.FullSubcategory (fun X Y => FC X.1 Y.1 ) where
@@ -207,6 +206,9 @@ instance FullSubcategory.concreteCategory {C : Type u} [Category.{v} C]
207206 comp_apply _ _ _ := ConcreteCategory.comp_apply _ _ _
208207 id_apply _ := ConcreteCategory.id_apply _
209208
209+ @ [deprecated (since := "2026-04-18" )] alias FullSubcategory.concreteCategory :=
210+ ObjectProperty.FullSubcategory.concreteCategory
211+
210212end ConcreteCategory
211213
212214variable {C : Type u} [Category.{v} C]
Original file line number Diff line number Diff line change @@ -111,10 +111,14 @@ instance InducedCategory.hasForget₂ (f : C → D) : HasForget₂ (InducedCateg
111111 forget₂ := inducedFunctor f
112112 forget_comp := rfl
113113
114- instance FullSubcategory.hasForget₂ (P : ObjectProperty C) : HasForget₂ P.FullSubcategory C where
114+ instance ObjectProperty.FullSubcategory.hasForget₂ (P : ObjectProperty C) :
115+ HasForget₂ P.FullSubcategory C where
115116 forget₂ := P.ι
116117 forget_comp := rfl
117118
119+ @ [deprecated (since := "2026-04-18" )] alias FullSubcategory.hasForget₂ :=
120+ ObjectProperty.FullSubcategory.hasForget₂
121+
118122/-- In order to construct a “partially forgetting” functor, we do not need to verify functor laws;
119123it suffices to ensure that compositions agree with `forget₂ C D ⋙ forget D = forget C`.
120124-/
You can’t perform that action at this time.
0 commit comments