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.Limits.Shapes.FunctorToTypes

67 declarations. Mathlib docs · Source

def CategoryTheory.FunctorToTypes.prod E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor C (Type w) → CategoryTheory.Functor C (Type w) → CategoryTheory.Functor C (Type w)

prod F G is the explicit binary product of type-valued functors F and G.

theorem CategoryTheory.FunctorToTypes.prod_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C),
  (CategoryTheory.FunctorToTypes.prod F G).obj a = (F.obj a × G.obj a)

theorem CategoryTheory.FunctorToTypes.prod_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) {X Y : C}
  (f : X ⟶ Y),
  (CategoryTheory.FunctorToTypes.prod F G).map f =
    TypeCat.ofHom fun a ↦
      ((CategoryTheory.ConcreteCategory.hom (F.map f)) a.1, (CategoryTheory.ConcreteCategory.hom (G.map f)) a.2)

def CategoryTheory.FunctorToTypes.prod.fst E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → CategoryTheory.FunctorToTypes.prod F G ⟶ F

The first projection of prod F G, onto F.

theorem CategoryTheory.FunctorToTypes.prod.fst_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} (x : C),
  CategoryTheory.FunctorToTypes.prod.fst.app x = TypeCat.ofHom fun a ↦ a.1

def CategoryTheory.FunctorToTypes.prod.snd E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → CategoryTheory.FunctorToTypes.prod F G ⟶ G

The second projection of prod F G, onto G.

theorem CategoryTheory.FunctorToTypes.prod.snd_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} (x : C),
  CategoryTheory.FunctorToTypes.prod.snd.app x = TypeCat.ofHom fun a ↦ a.2

def CategoryTheory.FunctorToTypes.prod.lift E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F F₁ F₂ : CategoryTheory.Functor C (Type w)} → (F ⟶ F₁) → (F ⟶ F₂) → (F ⟶ CategoryTheory.FunctorToTypes.prod F₁ F₂)

Given natural transformations F ⟶ F₁ and F ⟶ F₂, construct a natural transformation F ⟶ prod F₁ F₂.

theorem CategoryTheory.FunctorToTypes.prod.lift_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F ⟶ F₁)
  (τ₂ : F ⟶ F₂) (x : C),
  (CategoryTheory.FunctorToTypes.prod.lift τ₁ τ₂).app x =
    TypeCat.ofHom fun y ↦
      ((CategoryTheory.ConcreteCategory.hom (τ₁.app x)) y, (CategoryTheory.ConcreteCategory.hom (τ₂.app x)) y)

theorem CategoryTheory.FunctorToTypes.prod.lift_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F ⟶ F₁)
  (τ₂ : F ⟶ F₂),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.prod.lift τ₁ τ₂)
      CategoryTheory.FunctorToTypes.prod.fst =
    τ₁

theorem CategoryTheory.FunctorToTypes.prod.lift_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F ⟶ F₁)
  (τ₂ : F ⟶ F₂),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.prod.lift τ₁ τ₂)
      CategoryTheory.FunctorToTypes.prod.snd =
    τ₂

def CategoryTheory.FunctorToTypes.binaryProductCone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → CategoryTheory.Limits.BinaryFan F G

The binary fan whose point is prod F G.

theorem CategoryTheory.FunctorToTypes.binaryProductCone_pt_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C),
  (CategoryTheory.FunctorToTypes.binaryProductCone F G).pt.obj a = (F.obj a × G.obj a)

theorem CategoryTheory.FunctorToTypes.binaryProductCone_π_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w))
  (x : CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair),
  (CategoryTheory.FunctorToTypes.binaryProductCone F G).π.app x =
    match x.as with
    | CategoryTheory.Limits.WalkingPair.left => CategoryTheory.FunctorToTypes.prod.fst
    | CategoryTheory.Limits.WalkingPair.right => CategoryTheory.FunctorToTypes.prod.snd

theorem CategoryTheory.FunctorToTypes.binaryProductCone_pt_map_hom_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) {X Y : C} (f : X ⟶ Y)
  (a : F.obj X × G.obj X),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryProductCone F G).pt.map f)) a =
    ((CategoryTheory.ConcreteCategory.hom (F.map f)) a.1, (CategoryTheory.ConcreteCategory.hom (G.map f)) a.2)

def CategoryTheory.FunctorToTypes.binaryProductLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) →
      CategoryTheory.Limits.IsLimit (CategoryTheory.FunctorToTypes.binaryProductCone F G)

prod F G is a limit cone.

theorem CategoryTheory.FunctorToTypes.binaryProductLimit_lift E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w))
  (s : CategoryTheory.Limits.BinaryFan F G),
  (CategoryTheory.FunctorToTypes.binaryProductLimit F G).lift s = CategoryTheory.FunctorToTypes.prod.lift s.fst s.snd

def CategoryTheory.FunctorToTypes.binaryProductLimitCone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → CategoryTheory.Limits.LimitCone (CategoryTheory.Limits.pair F G)

prod F G is a binary product for F and G.

def CategoryTheory.FunctorToTypes.binaryProductIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → F ⨯ G ≅ CategoryTheory.FunctorToTypes.prod F G

The categorical binary product of type-valued functors is prod F G.

theorem CategoryTheory.FunctorToTypes.binaryProductIso_hom_comp_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.binaryProductIso F G).hom
      CategoryTheory.FunctorToTypes.prod.fst =
    CategoryTheory.Limits.prod.fst

theorem CategoryTheory.FunctorToTypes.binaryProductIso_hom_comp_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.binaryProductIso F G).hom
      CategoryTheory.FunctorToTypes.prod.snd =
    CategoryTheory.Limits.prod.snd

theorem CategoryTheory.FunctorToTypes.binaryProductIso_inv_comp_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.binaryProductIso F G).inv
      CategoryTheory.Limits.prod.fst =
    CategoryTheory.FunctorToTypes.prod.fst

theorem CategoryTheory.FunctorToTypes.binaryProductIso_inv_comp_fst_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : (CategoryTheory.FunctorToTypes.prod F G).obj a),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a))
      ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryProductIso F G).inv.app a)) z) =
    z.1

theorem CategoryTheory.FunctorToTypes.binaryProductIso_inv_comp_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.FunctorToTypes.binaryProductIso F G).inv
      CategoryTheory.Limits.prod.snd =
    CategoryTheory.FunctorToTypes.prod.snd

theorem CategoryTheory.FunctorToTypes.binaryProductIso_inv_comp_snd_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : (CategoryTheory.FunctorToTypes.prod F G).obj a),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a))
      ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryProductIso F G).inv.app a)) z) =
    z.2

def CategoryTheory.FunctorToTypes.prodMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → {a : C} → F.obj a → G.obj a → (F ⨯ G).obj a

Construct an element of (F ⨯ G).obj a from an element of F.obj a and an element of G.obj a.

theorem CategoryTheory.FunctorToTypes.prodMk_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} {a : C} (x : F.obj a)
  (y : G.obj a),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a))
      (CategoryTheory.FunctorToTypes.prodMk x y) =
    x

theorem CategoryTheory.FunctorToTypes.prodMk_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} {a : C} (x : F.obj a)
  (y : G.obj a),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a))
      (CategoryTheory.FunctorToTypes.prodMk x y) =
    y

theorem CategoryTheory.FunctorToTypes.prod_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} {a : C}
  (z w : (CategoryTheory.FunctorToTypes.prod F G).obj a), z.1 = w.1 → z.2 = w.2 → z = w

theorem CategoryTheory.FunctorToTypes.prod_ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} {a : C}
  {z w : (CategoryTheory.FunctorToTypes.prod F G).obj a}, z = w ↔ z.1 = w.1 ∧ z.2 = w.2

def CategoryTheory.FunctorToTypes.binaryProductEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → (a : C) → (F ⨯ G).obj a ≃ F.obj a × G.obj a

(F ⨯ G).obj a is in bijection with the product of F.obj a and G.obj a.

theorem CategoryTheory.FunctorToTypes.binaryProductEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : (F ⨯ G).obj a),
  (CategoryTheory.FunctorToTypes.binaryProductEquiv F G a) z =
    (((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryProductIso F G).hom.app a)) z).1,
      ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryProductIso F G).hom.app a)) z).2)

theorem CategoryTheory.FunctorToTypes.binaryProductEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : F.obj a × G.obj a),
  (CategoryTheory.FunctorToTypes.binaryProductEquiv F G a).symm z = CategoryTheory.FunctorToTypes.prodMk z.1 z.2

theorem CategoryTheory.FunctorToTypes.prod_ext' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z w : (F ⨯ G).obj a),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a)) z =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a)) w →
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a)) z =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a)) w →
      z = w

theorem CategoryTheory.FunctorToTypes.prod_ext'_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} {a : C}
  {z w : (F ⨯ G).obj a},
  z = w ↔
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a)) z =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.fst.app a)) w ∧
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a)) z =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.prod.snd.app a)) w

def CategoryTheory.FunctorToTypes.coprod E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor C (Type w) → CategoryTheory.Functor C (Type w) → CategoryTheory.Functor C (Type w)

coprod F G is the explicit binary coproduct of type-valued functors F and G.

theorem CategoryTheory.FunctorToTypes.coprod_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) {X Y : C}
  (f : X ⟶ Y),
  (CategoryTheory.FunctorToTypes.coprod F G).map f =
    TypeCat.ofHom
      (Sum.map ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⇑(CategoryTheory.ConcreteCategory.hom (G.map f)))

theorem CategoryTheory.FunctorToTypes.coprod_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C),
  (CategoryTheory.FunctorToTypes.coprod F G).obj a = (F.obj a ⊕ G.obj a)

def CategoryTheory.FunctorToTypes.coprod.inl E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → F ⟶ CategoryTheory.FunctorToTypes.coprod F G

The left inclusion of F into coprod F G.

theorem CategoryTheory.FunctorToTypes.coprod.inl_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} (x : C),
  CategoryTheory.FunctorToTypes.coprod.inl.app x = TypeCat.ofHom fun x_1 ↦ Sum.inl x_1

def CategoryTheory.FunctorToTypes.coprod.inr E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → G ⟶ CategoryTheory.FunctorToTypes.coprod F G

The right inclusion of G into coprod F G.

theorem CategoryTheory.FunctorToTypes.coprod.inr_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C (Type w)} (x : C),
  CategoryTheory.FunctorToTypes.coprod.inr.app x = TypeCat.ofHom fun x_1 ↦ Sum.inr x_1

def CategoryTheory.FunctorToTypes.coprod.desc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F F₁ F₂ : CategoryTheory.Functor C (Type w)} →
      (F₁ ⟶ F) → (F₂ ⟶ F) → (CategoryTheory.FunctorToTypes.coprod F₁ F₂ ⟶ F)

Given natural transformations F₁ ⟶ F and F₂ ⟶ F, construct a natural transformation coprod F₁ F₂ ⟶ F.

theorem CategoryTheory.FunctorToTypes.coprod.desc_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F₁ ⟶ F)
  (τ₂ : F₂ ⟶ F) (a : C),
  (CategoryTheory.FunctorToTypes.coprod.desc τ₁ τ₂).app a =
    TypeCat.ofHom
      (Sum.elim ⇑(CategoryTheory.ConcreteCategory.hom (τ₁.app a)) ⇑(CategoryTheory.ConcreteCategory.hom (τ₂.app a)))

theorem CategoryTheory.FunctorToTypes.coprod.desc_inl E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F₁ ⟶ F)
  (τ₂ : F₂ ⟶ F),
  CategoryTheory.CategoryStruct.comp CategoryTheory.FunctorToTypes.coprod.inl
      (CategoryTheory.FunctorToTypes.coprod.desc τ₁ τ₂) =
    τ₁

theorem CategoryTheory.FunctorToTypes.coprod.desc_inr E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F F₁ F₂ : CategoryTheory.Functor C (Type w)} (τ₁ : F₁ ⟶ F)
  (τ₂ : F₂ ⟶ F),
  CategoryTheory.CategoryStruct.comp CategoryTheory.FunctorToTypes.coprod.inr
      (CategoryTheory.FunctorToTypes.coprod.desc τ₁ τ₂) =
    τ₂

def CategoryTheory.FunctorToTypes.binaryCoproductCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → CategoryTheory.Limits.BinaryCofan F G

The binary cofan whose point is coprod F G.

theorem CategoryTheory.FunctorToTypes.binaryCoproductCocone_ι_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w))
  (x : CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair),
  (CategoryTheory.FunctorToTypes.binaryCoproductCocone F G).ι.app x =
    match x.as with
    | CategoryTheory.Limits.WalkingPair.left => CategoryTheory.FunctorToTypes.coprod.inl
    | CategoryTheory.Limits.WalkingPair.right => CategoryTheory.FunctorToTypes.coprod.inr

theorem CategoryTheory.FunctorToTypes.binaryCoproductCocone_pt_map_hom_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) {X Y : C} (f : X ⟶ Y)
  (a : F.obj X ⊕ G.obj X),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductCocone F G).pt.map f)) a =
    Sum.map (⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) (⇑(CategoryTheory.ConcreteCategory.hom (G.map f))) a

theorem CategoryTheory.FunctorToTypes.binaryCoproductCocone_pt_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C),
  (CategoryTheory.FunctorToTypes.binaryCoproductCocone F G).pt.obj a = (F.obj a ⊕ G.obj a)

def CategoryTheory.FunctorToTypes.binaryCoproductColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) →
      CategoryTheory.Limits.IsColimit (CategoryTheory.FunctorToTypes.binaryCoproductCocone F G)

coprod F G is a colimit cocone.

theorem CategoryTheory.FunctorToTypes.binaryCoproductColimit_desc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w))
  (s : CategoryTheory.Limits.BinaryCofan F G),
  (CategoryTheory.FunctorToTypes.binaryCoproductColimit F G).desc s =
    CategoryTheory.FunctorToTypes.coprod.desc s.inl s.inr

def CategoryTheory.FunctorToTypes.binaryCoproductColimitCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → CategoryTheory.Limits.ColimitCocone (CategoryTheory.Limits.pair F G)

coprod F G is a binary coproduct for F and G.

def CategoryTheory.FunctorToTypes.binaryCoproductIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → F ⨿ G ≅ CategoryTheory.FunctorToTypes.coprod F G

The categorical binary coproduct of type-valued functors is coprod F G.

theorem CategoryTheory.FunctorToTypes.inl_comp_binaryCoproductIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl
      (CategoryTheory.FunctorToTypes.binaryCoproductIso F G).hom =
    CategoryTheory.FunctorToTypes.coprod.inl

theorem CategoryTheory.FunctorToTypes.inl_comp_binaryCoproductIso_hom_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (x : F.obj a),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).hom.app a))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coprod.inl.app a)) x) =
    Sum.inl x

theorem CategoryTheory.FunctorToTypes.inr_comp_binaryCoproductIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inr
      (CategoryTheory.FunctorToTypes.binaryCoproductIso F G).hom =
    CategoryTheory.FunctorToTypes.coprod.inr

theorem CategoryTheory.FunctorToTypes.inr_comp_binaryCoproductIso_hom_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (x : G.obj a),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).hom.app a))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coprod.inr.app a)) x) =
    Sum.inr x

theorem CategoryTheory.FunctorToTypes.inl_comp_binaryCoproductIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp CategoryTheory.FunctorToTypes.coprod.inl
      (CategoryTheory.FunctorToTypes.binaryCoproductIso F G).inv =
    CategoryTheory.Limits.coprod.inl

theorem CategoryTheory.FunctorToTypes.inl_comp_binaryCoproductIso_inv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (x : F.obj a),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).inv.app a)) (Sum.inl x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coprod.inl.app a)) x

theorem CategoryTheory.FunctorToTypes.inr_comp_binaryCoproductIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)),
  CategoryTheory.CategoryStruct.comp CategoryTheory.FunctorToTypes.coprod.inr
      (CategoryTheory.FunctorToTypes.binaryCoproductIso F G).inv =
    CategoryTheory.Limits.coprod.inr

theorem CategoryTheory.FunctorToTypes.inr_comp_binaryCoproductIso_inv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (x : G.obj a),
  (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).inv.app a)) (Sum.inr x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.coprod.inr.app a)) x

abbrev CategoryTheory.FunctorToTypes.coprodInl E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → {a : C} → F.obj a → (F ⨿ G).obj a

Construct an element of (F ⨿ G).obj a from an element of F.obj a

abbrev CategoryTheory.FunctorToTypes.coprodInr E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C (Type w)} → {a : C} → G.obj a → (F ⨿ G).obj a

Construct an element of (F ⨿ G).obj a from an element of G.obj a

def CategoryTheory.FunctorToTypes.binaryCoproductEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F G : CategoryTheory.Functor C (Type w)) → (a : C) → (F ⨿ G).obj a ≃ F.obj a ⊕ G.obj a

(F ⨿ G).obj a is in bijection with disjoint union of F.obj a and G.obj a.

theorem CategoryTheory.FunctorToTypes.binaryCoproductEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : (F ⨿ G).obj a),
  (CategoryTheory.FunctorToTypes.binaryCoproductEquiv F G a) z =
    (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).hom.app a)) z

theorem CategoryTheory.FunctorToTypes.binaryCoproductEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F G : CategoryTheory.Functor C (Type w)) (a : C)
  (z : F.obj a ⊕ G.obj a),
  (CategoryTheory.FunctorToTypes.binaryCoproductEquiv F G a).symm z =
    (CategoryTheory.ConcreteCategory.hom ((CategoryTheory.FunctorToTypes.binaryCoproductIso F G).inv.app a)) z