The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.ObjectProperty.FullSubcategory
52 declarations. Mathlib docs · Source
def CategoryTheory.ObjectProperty.FullSubcategory.ctorIdx E1 #
{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → {P : CategoryTheory.ObjectProperty C} → P.FullSubcategory → ℕ
theorem CategoryTheory.ObjectProperty.FullSubcategory.mk.injEq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} (obj : C)
(property : P obj) (obj_1 : C) (property_1 : P obj_1),
({ obj := obj, property := property } = { obj := obj_1, property := property_1 }) = (obj = obj_1)
theorem CategoryTheory.ObjectProperty.FullSubcategory.mk.inj E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.ObjectProperty C} {obj : C}
{property : P obj} {obj_1 : C} {property_1 : P obj_1},
{ obj := obj, property := property } = { obj := obj_1, property := property_1 } → obj = obj_1
structure CategoryTheory.ObjectProperty.FullSubcategory E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.ObjectProperty C → Type u
A subtype-like structure for full subcategories. Morphisms just ignore the property. We don't use
actual subtypes since the simp-normal form ↑X of X.val does not work well for full
subcategories.
theorem CategoryTheory.ObjectProperty.FullSubcategory.ext_iff E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.ObjectProperty C}
{x y : P.FullSubcategory}, x = y ↔ x.obj = y.obj
theorem CategoryTheory.ObjectProperty.FullSubcategory.ext E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.ObjectProperty C}
{x y : P.FullSubcategory}, x.obj = y.obj → x = y
ctor CategoryTheory.ObjectProperty.FullSubcategory.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{P : CategoryTheory.ObjectProperty C} → (obj : C) → P obj → P.FullSubcategory
abbrev CategoryTheory.ObjectProperty.FullSubcategory.obj E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {P : CategoryTheory.ObjectProperty C} → P.FullSubcategory → C
The category of which this is a full subcategory
theorem CategoryTheory.ObjectProperty.FullSubcategory.property E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C}
(self : P.FullSubcategory), P self.obj
The predicate satisfied by all objects in this subcategory
instance CategoryTheory.ObjectProperty.FullSubcategory.category E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(P : CategoryTheory.ObjectProperty C) → CategoryTheory.Category.{v, u} P.FullSubcategory
instance CategoryTheory.ObjectProperty.instNonemptyFullSubcategoryOfNonempty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) [P.Nonempty],
Nonempty P.FullSubcategory
theorem CategoryTheory.ObjectProperty.hom_ext E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) {X Y : P.FullSubcategory}
{f g : X ⟶ Y}, f.hom = g.hom → f = g
theorem CategoryTheory.ObjectProperty.hom_ext_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
{f g : X ⟶ Y}, f = g ↔ f.hom = g.hom
def CategoryTheory.ObjectProperty.ι E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(P : CategoryTheory.ObjectProperty C) → CategoryTheory.Functor P.FullSubcategory C
The forgetful functor from a full subcategory into the original category ("forgetting" the condition).
theorem CategoryTheory.ObjectProperty.ι_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) {X : P.FullSubcategory},
P.ι.obj X = X.obj
theorem CategoryTheory.ObjectProperty.ι_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) {X Y : P.FullSubcategory}
{f : X ⟶ Y}, P.ι.map f = f.hom
theorem CategoryTheory.ObjectProperty.prop_ι_obj E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) (X : P.FullSubcategory),
P (P.ι.obj X)
theorem CategoryTheory.ObjectProperty.FullSubcategory.id_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) (X : P.FullSubcategory),
(CategoryTheory.CategoryStruct.id X).hom = CategoryTheory.CategoryStruct.id X.obj
theorem CategoryTheory.ObjectProperty.FullSubcategory.comp_hom_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C)
{X Y Z : P.FullSubcategory} (f : X ⟶ Y) (g : Y ⟶ Z) {Z_1 : C} (h : Z.obj ⟶ Z_1),
CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g).hom h =
CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.CategoryStruct.comp g.hom h)
theorem CategoryTheory.ObjectProperty.FullSubcategory.comp_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C)
{X Y Z : P.FullSubcategory} (f : X ⟶ Y) (g : Y ⟶ Z),
(CategoryTheory.CategoryStruct.comp f g).hom = CategoryTheory.CategoryStruct.comp f.hom g.hom
def CategoryTheory.ObjectProperty.homMk E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{P : CategoryTheory.ObjectProperty C} → {X Y : P.FullSubcategory} → (X.obj ⟶ Y.obj) → (X ⟶ Y)
Constructor for morphisms in a full subcategory.
theorem CategoryTheory.ObjectProperty.homMk_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(f : X.obj ⟶ Y.obj), (CategoryTheory.ObjectProperty.homMk f).hom = f
theorem CategoryTheory.ObjectProperty.homMk_surjective E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C}
{X Y : P.FullSubcategory}, Function.Surjective CategoryTheory.ObjectProperty.homMk
abbrev CategoryTheory.ObjectProperty.fullyFaithfulι E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (P : CategoryTheory.ObjectProperty C) → P.ι.FullyFaithful
The inclusion of a full subcategory is fully faithful.
instance CategoryTheory.ObjectProperty.full_ι E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C), P.ι.Full
instance CategoryTheory.ObjectProperty.faithful_ι E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C), P.ι.Faithful
def CategoryTheory.ObjectProperty.isoMk E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(P : CategoryTheory.ObjectProperty C) → {X Y : P.FullSubcategory} → (X.obj ≅ Y.obj) → (X ≅ Y)
Constructor for isomorphisms in P.FullSubcategory when
P : ObjectProperty C.
theorem CategoryTheory.ObjectProperty.isoMk_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) {X Y : P.FullSubcategory}
(e : X.obj ≅ Y.obj), (P.isoMk e).hom = CategoryTheory.ObjectProperty.homMk e.hom
theorem CategoryTheory.ObjectProperty.isoMk_inv E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.ObjectProperty C) {X Y : P.FullSubcategory}
(e : X.obj ≅ Y.obj), (P.isoMk e).inv = CategoryTheory.ObjectProperty.homMk e.inv
theorem CategoryTheory.ObjectProperty.isoHom_inv_id_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(e : X ≅ Y), CategoryTheory.CategoryStruct.comp e.hom.hom e.inv.hom = CategoryTheory.CategoryStruct.id X.obj
theorem CategoryTheory.ObjectProperty.isoHom_inv_id_hom_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(e : X ≅ Y) {Z : C} (h : X.obj ⟶ Z),
CategoryTheory.CategoryStruct.comp e.hom.hom (CategoryTheory.CategoryStruct.comp e.inv.hom h) = h
theorem CategoryTheory.ObjectProperty.isoInv_hom_id_hom_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(e : X ≅ Y) {Z : C} (h : Y.obj ⟶ Z),
CategoryTheory.CategoryStruct.comp e.inv.hom (CategoryTheory.CategoryStruct.comp e.hom.hom h) = h
theorem CategoryTheory.ObjectProperty.isoInv_hom_id_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(e : X ≅ Y), CategoryTheory.CategoryStruct.comp e.inv.hom e.hom.hom = CategoryTheory.CategoryStruct.id Y.obj
instance CategoryTheory.ObjectProperty.instIsIsoHomFullSubcategory E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(f : X ⟶ Y) [CategoryTheory.IsIso f], CategoryTheory.IsIso f.hom
theorem CategoryTheory.ObjectProperty.hom_inv E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(f : X ⟶ Y) [inst_1 : CategoryTheory.IsIso f], (CategoryTheory.inv f).hom = CategoryTheory.inv f.hom
theorem CategoryTheory.ObjectProperty.isIso_hom_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.ObjectProperty C} {X Y : P.FullSubcategory}
(f : X ⟶ Y), CategoryTheory.IsIso f.hom ↔ CategoryTheory.IsIso f
def CategoryTheory.ObjectProperty.ιOfLE E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{P P' : CategoryTheory.ObjectProperty C} → P ≤ P' → CategoryTheory.Functor P.FullSubcategory P'.FullSubcategory
If P and P' are properties of objects such that P ≤ P', there is
an induced functor P.FullSubcategory ⥤ P'.FullSubcategory.
theorem CategoryTheory.ObjectProperty.ιOfLE_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P P' : CategoryTheory.ObjectProperty C} (h : P ≤ P')
{X Y : P.FullSubcategory} (f : X ⟶ Y),
(CategoryTheory.ObjectProperty.ιOfLE h).map f = CategoryTheory.ObjectProperty.homMk f.hom
theorem CategoryTheory.ObjectProperty.ιOfLE_obj_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P P' : CategoryTheory.ObjectProperty C} (h : P ≤ P')
(X : P.FullSubcategory), ((CategoryTheory.ObjectProperty.ιOfLE h).obj X).obj = X.obj
def CategoryTheory.ObjectProperty.fullyFaithfulιOfLE E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{P P' : CategoryTheory.ObjectProperty C} → (h : P ≤ P') → (CategoryTheory.ObjectProperty.ιOfLE h).FullyFaithful
If h : P ≤ P', then ιOfLE h is fully faithful.
instance CategoryTheory.ObjectProperty.full_ιOfLE E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P P' : CategoryTheory.ObjectProperty C} (h : P ≤ P'),
(CategoryTheory.ObjectProperty.ιOfLE h).Full
instance CategoryTheory.ObjectProperty.faithful_ιOfLE E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P P' : CategoryTheory.ObjectProperty C} (h : P ≤ P'),
(CategoryTheory.ObjectProperty.ιOfLE h).Faithful
def CategoryTheory.ObjectProperty.ιOfLECompιIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{P P' : CategoryTheory.ObjectProperty C} → (h : P ≤ P') → (CategoryTheory.ObjectProperty.ιOfLE h).comp P'.ι ≅ P.ι
If h : P ≤ P' is an inequality of properties of objects,
this is the obvious isomorphism ιOfLE h ⋙ P'.ι ≅ P.ι.
def CategoryTheory.ObjectProperty.lift E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u'} →
[inst_1 : CategoryTheory.Category.{v', u'} D] →
(P : CategoryTheory.ObjectProperty D) →
(F : CategoryTheory.Functor C D) → (∀ (X : C), P (F.obj X)) → CategoryTheory.Functor C P.FullSubcategory
A functor which maps objects to objects satisfying a certain property induces a lift through the full subcategory of objects satisfying that property.
theorem CategoryTheory.ObjectProperty.lift_obj_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) (X : C),
((P.lift F hF).obj X).obj = F.obj X
theorem CategoryTheory.ObjectProperty.lift_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) {X Y : C}
(f : X ⟶ Y), (P.lift F hF).map f = CategoryTheory.ObjectProperty.homMk (F.map f)
def CategoryTheory.ObjectProperty.liftCompιIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u'} →
[inst_1 : CategoryTheory.Category.{v', u'} D] →
(P : CategoryTheory.ObjectProperty D) →
(F : CategoryTheory.Functor C D) → (hF : ∀ (X : C), P (F.obj X)) → (P.lift F hF).comp P.ι ≅ F
Composing the lift of a functor through a full subcategory with the inclusion yields the original functor. This is actually true definitionally.
theorem CategoryTheory.ObjectProperty.ι_obj_lift_obj E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) (X : C),
P.ι.obj ((P.lift F hF).obj X) = F.obj X
theorem CategoryTheory.ObjectProperty.ι_obj_lift_map E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) {X Y : C}
(f : X ⟶ Y), P.ι.map ((P.lift F hF).map f) = F.map f
instance CategoryTheory.ObjectProperty.instFaithfulFullSubcategoryLift E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) [F.Faithful],
(P.lift F hF).Faithful
instance CategoryTheory.ObjectProperty.instFullFullSubcategoryLift E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} D]
(P : CategoryTheory.ObjectProperty D) (F : CategoryTheory.Functor C D) (hF : ∀ (X : C), P (F.obj X)) [F.Full],
(P.lift F hF).Full
def CategoryTheory.ObjectProperty.liftCompιOfLEIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{D : Type u'} →
[inst_1 : CategoryTheory.Category.{v', u'} D] →
(P : CategoryTheory.ObjectProperty D) →
{Q : CategoryTheory.ObjectProperty D} →
(F : CategoryTheory.Functor C D) →
(hF : ∀ (X : C), P (F.obj X)) →
(h : P ≤ Q) → (P.lift F hF).comp (CategoryTheory.ObjectProperty.ιOfLE h) ≅ Q.lift F ⋯
When h : P ≤ Q, this is the canonical isomorphism
P.lift F hF ⋙ ιOfLE h ≅ Q.lift F _.