The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Subobject.Comma

18 declarations. Mathlib docs · Source

theorem CategoryTheory.StructuredArrow.projectSubobject.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : D} {T : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Limits.HasFiniteLimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteLimits T] {A : CategoryTheory.StructuredArrow S T}
  (a a_1 : CategoryTheory.Subobject A),
  a = a_1 → CategoryTheory.StructuredArrow.projectSubobject a = CategoryTheory.StructuredArrow.projectSubobject a_1

theorem CategoryTheory.CostructuredArrow.projectQuotient.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} [inst_2 : CategoryTheory.Limits.HasFiniteColimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteColimits S] {A : CategoryTheory.CostructuredArrow S T}
  (a a_1 : CategoryTheory.Subobject (Opposite.op A)),
  a = a_1 → CategoryTheory.CostructuredArrow.projectQuotient a = CategoryTheory.CostructuredArrow.projectQuotient a_1

def CategoryTheory.StructuredArrow.projectSubobject E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : D} →
          {T : CategoryTheory.Functor C D} →
            [CategoryTheory.Limits.HasFiniteLimits C] →
              [CategoryTheory.Limits.PreservesFiniteLimits T] →
                {A : CategoryTheory.StructuredArrow S T} → CategoryTheory.Subobject A → CategoryTheory.Subobject A.right

Every subobject of a structured arrow can be projected to a subobject of the underlying object.

theorem CategoryTheory.StructuredArrow.projectSubobject_mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : D} {T : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Limits.HasFiniteLimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteLimits T] {A P : CategoryTheory.StructuredArrow S T} (f : P ⟶ A)
  [inst_4 : CategoryTheory.Mono f],
  CategoryTheory.StructuredArrow.projectSubobject (CategoryTheory.Subobject.mk f) =
    CategoryTheory.Subobject.mk (CategoryTheory.StructuredArrow.Hom.right f)

theorem CategoryTheory.StructuredArrow.projectSubobject_factors E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : D} {T : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Limits.HasFiniteLimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteLimits T] {A : CategoryTheory.StructuredArrow S T}
  (P : CategoryTheory.Subobject A),
  ∃ q, CategoryTheory.CategoryStruct.comp q (T.map (CategoryTheory.StructuredArrow.projectSubobject P).arrow) = A.hom

def CategoryTheory.StructuredArrow.liftSubobject E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : D} →
          {T : CategoryTheory.Functor C D} →
            {A : CategoryTheory.StructuredArrow S T} →
              (P : CategoryTheory.Subobject A.right) →
                {q : S ⟶ T.obj (CategoryTheory.Subobject.underlying.obj P)} →
                  CategoryTheory.CategoryStruct.comp q (T.map P.arrow) = A.hom → CategoryTheory.Subobject A

A subobject of the underlying object of a structured arrow can be lifted to a subobject of the structured arrow, provided that there is a morphism making the subobject into a structured arrow.

theorem CategoryTheory.StructuredArrow.lift_projectSubobject E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : D} {T : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.Limits.HasFiniteLimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteLimits T] {A : CategoryTheory.StructuredArrow S T}
  (P : CategoryTheory.Subobject A)
  {q : S ⟶ T.obj (CategoryTheory.Subobject.underlying.obj (CategoryTheory.StructuredArrow.projectSubobject P))}
  (hq : CategoryTheory.CategoryStruct.comp q (T.map (CategoryTheory.StructuredArrow.projectSubobject P).arrow) = A.hom),
  CategoryTheory.StructuredArrow.liftSubobject (CategoryTheory.StructuredArrow.projectSubobject P) hq = P

Projecting and then lifting a subobject recovers the original subobject, because there is at most one morphism making the projected subobject into a structured arrow.

def CategoryTheory.StructuredArrow.subobjectEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : D} →
          {T : CategoryTheory.Functor C D} →
            [CategoryTheory.Limits.HasFiniteLimits C] →
              [CategoryTheory.Limits.PreservesFiniteLimits T] →
                (A : CategoryTheory.StructuredArrow S T) →
                  CategoryTheory.Subobject A ≃o
                    { P // ∃ q, CategoryTheory.CategoryStruct.comp q (T.map P.arrow) = A.hom }

If A : S → T.obj B is a structured arrow for S : D and T : C ⥤ D, then we can explicitly describe the subobjects of A as the subobjects P of B in C for which A.hom factors through the image of P under T.

instance CategoryTheory.StructuredArrow.wellPowered_structuredArrow E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : D} {T : CategoryTheory.Functor C D} [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C]
  [CategoryTheory.WellPowered.{w, v₁, u₁} C] [CategoryTheory.Limits.HasFiniteLimits C]
  [CategoryTheory.Limits.PreservesFiniteLimits T],
  CategoryTheory.WellPowered.{w, v₁, max u₁ v₂} (CategoryTheory.StructuredArrow S T)

If C is well-powered and complete and T preserves limits, then StructuredArrow S T is well-powered.

def CategoryTheory.CostructuredArrow.projectQuotient E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : CategoryTheory.Functor C D} →
          {T : D} →
            [CategoryTheory.Limits.HasFiniteColimits C] →
              [CategoryTheory.Limits.PreservesFiniteColimits S] →
                {A : CategoryTheory.CostructuredArrow S T} →
                  CategoryTheory.Subobject (Opposite.op A) → CategoryTheory.Subobject (Opposite.op A.left)

Every quotient of a costructured arrow can be projected to a quotient of the underlying object.

theorem CategoryTheory.CostructuredArrow.projectQuotient_mk E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} [inst_2 : CategoryTheory.Limits.HasFiniteColimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteColimits S] {A : CategoryTheory.CostructuredArrow S T}
  {P : (CategoryTheory.CostructuredArrow S T)ᵒᵖ} (f : P ⟶ Opposite.op A) [inst_4 : CategoryTheory.Mono f],
  CategoryTheory.CostructuredArrow.projectQuotient (CategoryTheory.Subobject.mk f) =
    CategoryTheory.Subobject.mk (CategoryTheory.CostructuredArrow.Hom.left f.unop).op

theorem CategoryTheory.CostructuredArrow.projectQuotient_factors E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} [inst_2 : CategoryTheory.Limits.HasFiniteColimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteColimits S] {A : CategoryTheory.CostructuredArrow S T}
  (P : CategoryTheory.Subobject (Opposite.op A)),
  ∃ q,
    CategoryTheory.CategoryStruct.comp (S.map (CategoryTheory.CostructuredArrow.projectQuotient P).arrow.unop) q = A.hom

def CategoryTheory.CostructuredArrow.liftQuotient E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : CategoryTheory.Functor C D} →
          {T : D} →
            {A : CategoryTheory.CostructuredArrow S T} →
              (P : CategoryTheory.Subobject (Opposite.op A.left)) →
                {q : S.obj (Opposite.unop (CategoryTheory.Subobject.underlying.obj P)) ⟶ T} →
                  CategoryTheory.CategoryStruct.comp (S.map P.arrow.unop) q = A.hom →
                    CategoryTheory.Subobject (Opposite.op A)

A quotient of the underlying object of a costructured arrow can be lifted to a quotient of the costructured arrow, provided that there is a morphism making the quotient into a costructured arrow.

theorem CategoryTheory.CostructuredArrow.unop_left_comp_underlyingIso_hom_unop E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} {A : CategoryTheory.CostructuredArrow S T}
  {P : (CategoryTheory.CostructuredArrow S T)ᵒᵖ} (f : P ⟶ Opposite.op A)
  [inst_2 : CategoryTheory.Mono (CategoryTheory.CostructuredArrow.Hom.left f.unop).op],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CostructuredArrow.Hom.left f.unop)
      (CategoryTheory.Subobject.underlyingIso (CategoryTheory.CostructuredArrow.Hom.left f.unop).op).hom.unop =
    (CategoryTheory.Subobject.mk (CategoryTheory.CostructuredArrow.Hom.left f.unop).op).arrow.unop

Technical lemma for lift_projectQuotient.

theorem CategoryTheory.CostructuredArrow.lift_projectQuotient E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} [inst_2 : CategoryTheory.Limits.HasFiniteColimits C]
  [inst_3 : CategoryTheory.Limits.PreservesFiniteColimits S] {A : CategoryTheory.CostructuredArrow S T}
  (P : CategoryTheory.Subobject (Opposite.op A))
  {q :
    S.obj
        (Opposite.unop (CategoryTheory.Subobject.underlying.obj (CategoryTheory.CostructuredArrow.projectQuotient P))) ⟶
      T}
  (hq :
    CategoryTheory.CategoryStruct.comp (S.map (CategoryTheory.CostructuredArrow.projectQuotient P).arrow.unop) q =
      A.hom),
  CategoryTheory.CostructuredArrow.liftQuotient (CategoryTheory.CostructuredArrow.projectQuotient P) hq = P

Projecting and then lifting a quotient recovers the original quotient, because there is at most one morphism making the projected quotient into a costructured arrow.

theorem CategoryTheory.CostructuredArrow.unop_left_comp_ofMkLEMk_unop E2 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} {A : CategoryTheory.CostructuredArrow S T}
  {P Q : (CategoryTheory.CostructuredArrow S T)ᵒᵖ} {f : P ⟶ Opposite.op A} {g : Q ⟶ Opposite.op A}
  [inst_2 : CategoryTheory.Mono (CategoryTheory.CostructuredArrow.Hom.left f.unop).op]
  [inst_3 : CategoryTheory.Mono (CategoryTheory.CostructuredArrow.Hom.left g.unop).op]
  (h :
    CategoryTheory.Subobject.mk (CategoryTheory.CostructuredArrow.Hom.left f.unop).op ≤
      CategoryTheory.Subobject.mk (CategoryTheory.CostructuredArrow.Hom.left g.unop).op),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.CostructuredArrow.Hom.left g.unop)
      (CategoryTheory.Subobject.ofMkLEMk (CategoryTheory.CostructuredArrow.Hom.left f.unop).op
          (CategoryTheory.CostructuredArrow.Hom.left g.unop).op h).unop =
    CategoryTheory.CostructuredArrow.Hom.left f.unop

Technical lemma for quotientEquiv.

def CategoryTheory.CostructuredArrow.quotientEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {S : CategoryTheory.Functor C D} →
          {T : D} →
            [CategoryTheory.Limits.HasFiniteColimits C] →
              [CategoryTheory.Limits.PreservesFiniteColimits S] →
                (A : CategoryTheory.CostructuredArrow S T) →
                  CategoryTheory.Subobject (Opposite.op A) ≃o
                    { P // ∃ q, CategoryTheory.CategoryStruct.comp (S.map P.arrow.unop) q = A.hom }

If A : S.obj B ⟶ T is a costructured arrow for S : C ⥤ D and T : D, then we can explicitly describe the quotients of A as the quotients P of B in C for which A.hom factors through the image of P under S.

instance CategoryTheory.CostructuredArrow.well_copowered_costructuredArrow E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {S : CategoryTheory.Functor C D} {T : D} [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C]
  [CategoryTheory.WellPowered.{w, v₁, u₁} Cᵒᵖ] [CategoryTheory.Limits.HasFiniteColimits C]
  [CategoryTheory.Limits.PreservesFiniteColimits S],
  CategoryTheory.WellPowered.{w, v₁, max u₁ v₂} (CategoryTheory.CostructuredArrow S T)ᵒᵖ

If C is well-copowered and cocomplete and S preserves colimits, then CostructuredArrow S T is well-copowered.