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.Bicategory.RetractArrow

40 declarations. Mathlib docs · Source

theorem CategoryTheory.Bicategory.RetractArrow₁.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y} (i₁ : X' ⟶ X)
  (r₁ : X ⟶ X') (i₂ : Y' ⟶ Y) (r₂ : Y ⟶ Y')
  (id₁ : CategoryTheory.CategoryStruct.comp i₁ r₁ ≅ CategoryTheory.CategoryStruct.id X')
  (id₂ : CategoryTheory.CategoryStruct.comp i₂ r₂ ≅ CategoryTheory.CategoryStruct.id Y')
  (commi : CategoryTheory.CategoryStruct.comp f' i₂ ≅ CategoryTheory.CategoryStruct.comp i₁ f)
  (commr : CategoryTheory.CategoryStruct.comp f r₂ ≅ CategoryTheory.CategoryStruct.comp r₁ f')
  (comm :
    autoParam
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight commi.hom r₂)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator i₁ f r₂).hom
            (CategoryTheory.Bicategory.whiskerLeft i₁ commr.hom)) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' i₂ r₂).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' id₂.hom)
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight id₁.inv f')
                  (CategoryTheory.Bicategory.associator i₁ r₁ f').hom)))))
      CategoryTheory.Bicategory.RetractArrow₁.comm._autoParam)
  (i₁_1 : X' ⟶ X) (r₁_1 : X ⟶ X') (i₂_1 : Y' ⟶ Y) (r₂_1 : Y ⟶ Y')
  (id₁_1 : CategoryTheory.CategoryStruct.comp i₁_1 r₁_1 ≅ CategoryTheory.CategoryStruct.id X')
  (id₂_1 : CategoryTheory.CategoryStruct.comp i₂_1 r₂_1 ≅ CategoryTheory.CategoryStruct.id Y')
  (commi_1 : CategoryTheory.CategoryStruct.comp f' i₂_1 ≅ CategoryTheory.CategoryStruct.comp i₁_1 f)
  (commr_1 : CategoryTheory.CategoryStruct.comp f r₂_1 ≅ CategoryTheory.CategoryStruct.comp r₁_1 f')
  (comm_1 :
    autoParam
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight commi_1.hom r₂_1)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator i₁_1 f r₂_1).hom
            (CategoryTheory.Bicategory.whiskerLeft i₁_1 commr_1.hom)) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' i₂_1 r₂_1).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' id₂_1.hom)
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight id₁_1.inv f')
                  (CategoryTheory.Bicategory.associator i₁_1 r₁_1 f').hom)))))
      CategoryTheory.Bicategory.RetractArrow₁.comm._autoParam),
  ({ i₁ := i₁, r₁ := r₁, i₂ := i₂, r₂ := r₂, id₁ := id₁, id₂ := id₂, commi := commi, commr := commr, comm := comm } =
      { i₁ := i₁_1, r₁ := r₁_1, i₂ := i₂_1, r₂ := r₂_1, id₁ := id₁_1, id₂ := id₂_1, commi := commi_1, commr := commr_1,
        comm := comm_1 }) =
    (i₁ = i₁_1 ∧ r₁ = r₁_1 ∧ i₂ = i₂_1 ∧ r₂ = r₂_1 ∧ id₁ ≍ id₁_1 ∧ id₂ ≍ id₂_1 ∧ commi ≍ commi_1 ∧ commr ≍ commr_1)

theorem CategoryTheory.Bicategory.RetractArrow₁.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Bicategory C} {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y} {i₁ : X' ⟶ X}
  {r₁ : X ⟶ X'} {i₂ : Y' ⟶ Y} {r₂ : Y ⟶ Y'}
  {id₁ : CategoryTheory.CategoryStruct.comp i₁ r₁ ≅ CategoryTheory.CategoryStruct.id X'}
  {id₂ : CategoryTheory.CategoryStruct.comp i₂ r₂ ≅ CategoryTheory.CategoryStruct.id Y'}
  {commi : CategoryTheory.CategoryStruct.comp f' i₂ ≅ CategoryTheory.CategoryStruct.comp i₁ f}
  {commr : CategoryTheory.CategoryStruct.comp f r₂ ≅ CategoryTheory.CategoryStruct.comp r₁ f'}
  {comm :
    autoParam
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight commi.hom r₂)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator i₁ f r₂).hom
            (CategoryTheory.Bicategory.whiskerLeft i₁ commr.hom)) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' i₂ r₂).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' id₂.hom)
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight id₁.inv f')
                  (CategoryTheory.Bicategory.associator i₁ r₁ f').hom)))))
      CategoryTheory.Bicategory.RetractArrow₁.comm._autoParam}
  {i₁_1 : X' ⟶ X} {r₁_1 : X ⟶ X'} {i₂_1 : Y' ⟶ Y} {r₂_1 : Y ⟶ Y'}
  {id₁_1 : CategoryTheory.CategoryStruct.comp i₁_1 r₁_1 ≅ CategoryTheory.CategoryStruct.id X'}
  {id₂_1 : CategoryTheory.CategoryStruct.comp i₂_1 r₂_1 ≅ CategoryTheory.CategoryStruct.id Y'}
  {commi_1 : CategoryTheory.CategoryStruct.comp f' i₂_1 ≅ CategoryTheory.CategoryStruct.comp i₁_1 f}
  {commr_1 : CategoryTheory.CategoryStruct.comp f r₂_1 ≅ CategoryTheory.CategoryStruct.comp r₁_1 f'}
  {comm_1 :
    autoParam
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight commi_1.hom r₂_1)
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator i₁_1 f r₂_1).hom
            (CategoryTheory.Bicategory.whiskerLeft i₁_1 commr_1.hom)) =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' i₂_1 r₂_1).hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' id₂_1.hom)
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
                (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight id₁_1.inv f')
                  (CategoryTheory.Bicategory.associator i₁_1 r₁_1 f').hom)))))
      CategoryTheory.Bicategory.RetractArrow₁.comm._autoParam},
  { i₁ := i₁, r₁ := r₁, i₂ := i₂, r₂ := r₂, id₁ := id₁, id₂ := id₂, commi := commi, commr := commr, comm := comm } =
      { i₁ := i₁_1, r₁ := r₁_1, i₂ := i₂_1, r₂ := r₂_1, id₁ := id₁_1, id₂ := id₂_1, commi := commi_1, commr := commr_1,
        comm := comm_1 } →
    i₁ = i₁_1 ∧ r₁ = r₁_1 ∧ i₂ = i₂_1 ∧ r₂ = r₂_1 ∧ id₁ ≍ id₁_1 ∧ id₂ ≍ id₂_1 ∧ commi ≍ commi_1 ∧ commr ≍ commr_1

def CategoryTheory.Bicategory.RetractArrow₁.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Bicategory C} →
    {X Y X' Y' : C} → {f' : X' ⟶ Y'} → {f : X ⟶ Y} → CategoryTheory.Bicategory.RetractArrow₁ f' f → ℕ

structure CategoryTheory.Bicategory.RetractArrow₁ E1 #

{C : Type u} → [inst : CategoryTheory.Bicategory C] → {X Y X' Y' : C} → (X' ⟶ Y') → (X ⟶ Y) → Type (max v w)

A structure expressing that a 1-morphism f' : X' ⟶ Y' in a bicategory is a retract of f : X ⟶ Y.

ctor CategoryTheory.Bicategory.RetractArrow₁.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          (i₁ : X' ⟶ X) →
            (r₁ : X ⟶ X') →
              (i₂ : Y' ⟶ Y) →
                (r₂ : Y ⟶ Y') →
                  (id₁ : CategoryTheory.CategoryStruct.comp i₁ r₁ ≅ CategoryTheory.CategoryStruct.id X') →
                    (id₂ : CategoryTheory.CategoryStruct.comp i₂ r₂ ≅ CategoryTheory.CategoryStruct.id Y') →
                      (commi : CategoryTheory.CategoryStruct.comp f' i₂ ≅ CategoryTheory.CategoryStruct.comp i₁ f) →
                        (commr : CategoryTheory.CategoryStruct.comp f r₂ ≅ CategoryTheory.CategoryStruct.comp r₁ f') →
                          autoParam
                              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight commi.hom r₂)
                                  (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator i₁ f r₂).hom
                                    (CategoryTheory.Bicategory.whiskerLeft i₁ commr.hom)) =
                                CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' i₂ r₂).hom
                                  (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' id₂.hom)
                                    (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
                                      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
                                        (CategoryTheory.CategoryStruct.comp
                                          (CategoryTheory.Bicategory.whiskerRight id₁.inv f')
                                          (CategoryTheory.Bicategory.associator i₁ r₁ f').hom)))))
                              CategoryTheory.Bicategory.RetractArrow₁.comm._autoParam →
                            CategoryTheory.Bicategory.RetractArrow₁ f' f

abbrev CategoryTheory.Bicategory.RetractArrow₁.i₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} → {f' : X' ⟶ Y'} → {f : X ⟶ Y} → CategoryTheory.Bicategory.RetractArrow₁ f' f → (X' ⟶ X)

the inclusion of the source object

abbrev CategoryTheory.Bicategory.RetractArrow₁.r₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} → {f' : X' ⟶ Y'} → {f : X ⟶ Y} → CategoryTheory.Bicategory.RetractArrow₁ f' f → (X ⟶ X')

the retraction to the source object

abbrev CategoryTheory.Bicategory.RetractArrow₁.i₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} → {f' : X' ⟶ Y'} → {f : X ⟶ Y} → CategoryTheory.Bicategory.RetractArrow₁ f' f → (Y' ⟶ Y)

the inclusion of the target object

abbrev CategoryTheory.Bicategory.RetractArrow₁.r₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} → {f' : X' ⟶ Y'} → {f : X ⟶ Y} → CategoryTheory.Bicategory.RetractArrow₁ f' f → (Y ⟶ Y')

the retraction to the target object

abbrev CategoryTheory.Bicategory.RetractArrow₁.id₁ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          (self : CategoryTheory.Bicategory.RetractArrow₁ f' f) →
            CategoryTheory.CategoryStruct.comp self.i₁ self.r₁ ≅ CategoryTheory.CategoryStruct.id X'

the source of f' is a retract of the source of f

abbrev CategoryTheory.Bicategory.RetractArrow₁.id₂ E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          (self : CategoryTheory.Bicategory.RetractArrow₁ f' f) →
            CategoryTheory.CategoryStruct.comp self.i₂ self.r₂ ≅ CategoryTheory.CategoryStruct.id Y'

the target of f' is a retract of the target of f

abbrev CategoryTheory.Bicategory.RetractArrow₁.commi E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          (self : CategoryTheory.Bicategory.RetractArrow₁ f' f) →
            CategoryTheory.CategoryStruct.comp f' self.i₂ ≅ CategoryTheory.CategoryStruct.comp self.i₁ f

compatibility of the inclusions

abbrev CategoryTheory.Bicategory.RetractArrow₁.commr E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          (self : CategoryTheory.Bicategory.RetractArrow₁ f' f) →
            CategoryTheory.CategoryStruct.comp f self.r₂ ≅ CategoryTheory.CategoryStruct.comp self.r₁ f'

compatibility of the retractions

theorem CategoryTheory.Bicategory.RetractArrow₁.comm E1 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (self : CategoryTheory.Bicategory.RetractArrow₁ f' f),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight self.commi.hom self.r₂)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator self.i₁ f self.r₂).hom
        (CategoryTheory.Bicategory.whiskerLeft self.i₁ self.commr.hom)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' self.i₂ self.r₂).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' self.id₂.hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight self.id₁.inv f')
              (CategoryTheory.Bicategory.associator self.i₁ self.r₁ f').hom))))

theorem CategoryTheory.Bicategory.RetractArrow₁.comm_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (self : CategoryTheory.Bicategory.RetractArrow₁ f' f) {Z : X' ⟶ Y'}
  (h : CategoryTheory.CategoryStruct.comp self.i₁ (CategoryTheory.CategoryStruct.comp self.r₁ f') ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight self.commi.hom self.r₂)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator self.i₁ f self.r₂).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft self.i₁ self.commr.hom) h)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' self.i₂ self.r₂).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' self.id₂.hom)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight self.id₁.inv f')
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator self.i₁ self.r₁ f').hom h)))))

theorem CategoryTheory.Bicategory.RetractArrow₁.comm'_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {Z : X' ⟶ Y'}
  (h : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f' r.i₂) r.r₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft r.i₁ r.commr.inv)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator r.i₁ f r.r₂).inv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight r.commi.inv r.r₂) h)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator r.i₁ r.r₁ f').inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight r.id₁.hom f')
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' r.id₂.inv)
              (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' r.i₂ r.r₂).inv h)))))

theorem CategoryTheory.Bicategory.RetractArrow₁.comm' E1 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft r.i₁ r.commr.inv)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator r.i₁ f r.r₂).inv
        (CategoryTheory.Bicategory.whiskerRight r.commi.inv r.r₂)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator r.i₁ r.r₁ f').inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight r.id₁.hom f')
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f').hom
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f').inv
            (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f' r.id₂.inv)
              (CategoryTheory.Bicategory.associator f' r.i₂ r.r₂).inv))))

def CategoryTheory.Bicategory.RetractArrow₁.map E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} →
          CategoryTheory.Bicategory.RetractArrow₁ f' f →
            {D : Type u_1} →
              [inst_1 : CategoryTheory.Bicategory D] →
                (F : CategoryTheory.Pseudofunctor C D) → CategoryTheory.Bicategory.RetractArrow₁ (F.map f') (F.map f)

If a 1-morphism is a retract of another, it stays so after the application of a pseudofunctor.

theorem CategoryTheory.Bicategory.RetractArrow₁.map_i₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).i₂ = F.map r.i₂

theorem CategoryTheory.Bicategory.RetractArrow₁.map_commr E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D),
  (r.map F).commr = (F.mapComp f r.r₂).symm ≪≫ F.map₂Iso r.commr ≪≫ F.mapComp r.r₁ f'

theorem CategoryTheory.Bicategory.RetractArrow₁.map_i₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).i₁ = F.map r.i₁

theorem CategoryTheory.Bicategory.RetractArrow₁.map_r₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).r₁ = F.map r.r₁

theorem CategoryTheory.Bicategory.RetractArrow₁.map_r₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).r₂ = F.map r.r₂

theorem CategoryTheory.Bicategory.RetractArrow₁.map_id₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).id₂ = (F.mapComp r.i₂ r.r₂).symm ≪≫ F.map₂Iso r.id₂ ≪≫ F.mapId Y'

theorem CategoryTheory.Bicategory.RetractArrow₁.map_id₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D), (r.map F).id₁ = (F.mapComp r.i₁ r.r₁).symm ≪≫ F.map₂Iso r.id₁ ≪≫ F.mapId X'

theorem CategoryTheory.Bicategory.RetractArrow₁.map_commi E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.Bicategory.RetractArrow₁ f' f) {D : Type u_1} [inst_1 : CategoryTheory.Bicategory D]
  (F : CategoryTheory.Pseudofunctor C D),
  (r.map F).commi = (F.mapComp f' r.i₂).symm ≪≫ F.map₂Iso r.commi ≪≫ F.mapComp r.i₁ f

def CategoryTheory.Bicategory.RetractArrow₁.equivalence E1 #

{C : Type u} →
  [inst : CategoryTheory.Bicategory C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : CategoryTheory.Bicategory.Equivalence X Y} →
          CategoryTheory.Bicategory.RetractArrow₁ f' f.hom → CategoryTheory.Bicategory.Equivalence X' Y'

In a bicategory, a 1-morphism that is a retract of an equivalence is an equivalence.

theorem CategoryTheory.Bicategory.RetractArrow₁.equivalence_unit E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'}
  {f : CategoryTheory.Bicategory.Equivalence X Y} (r : CategoryTheory.Bicategory.RetractArrow₁ f' f.hom),
  r.equivalence.unit =
    r.id₁.symm ≪≫
      CategoryTheory.Bicategory.whiskerLeftIso r.i₁ (CategoryTheory.Bicategory.leftUnitor r.r₁).symm ≪≫
        CategoryTheory.Bicategory.whiskerLeftIso r.i₁ (CategoryTheory.Bicategory.whiskerRightIso f.unit r.r₁) ≪≫
          CategoryTheory.Bicategory.whiskerLeftIso r.i₁ (CategoryTheory.Bicategory.associator f.hom f.inv r.r₁) ≪≫
            (CategoryTheory.Bicategory.associator r.i₁ f.hom (CategoryTheory.CategoryStruct.comp f.inv r.r₁)).symm ≪≫
              CategoryTheory.Bicategory.whiskerRightIso r.commi.symm (CategoryTheory.CategoryStruct.comp f.inv r.r₁) ≪≫
                CategoryTheory.Bicategory.associator f' r.i₂ (CategoryTheory.CategoryStruct.comp f.inv r.r₁)

theorem CategoryTheory.Bicategory.RetractArrow₁.equivalence_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'}
  {f : CategoryTheory.Bicategory.Equivalence X Y} (r : CategoryTheory.Bicategory.RetractArrow₁ f' f.hom),
  r.equivalence.hom = f'

theorem CategoryTheory.Bicategory.RetractArrow₁.equivalence_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'}
  {f : CategoryTheory.Bicategory.Equivalence X Y} (r : CategoryTheory.Bicategory.RetractArrow₁ f' f.hom),
  r.equivalence.inv = CategoryTheory.CategoryStruct.comp r.i₂ (CategoryTheory.CategoryStruct.comp f.inv r.r₁)

theorem CategoryTheory.Bicategory.RetractArrow₁.equivalence_counit E0 #

∀ {C : Type u} [inst : CategoryTheory.Bicategory C] {X Y X' Y' : C} {f' : X' ⟶ Y'}
  {f : CategoryTheory.Bicategory.Equivalence X Y} (r : CategoryTheory.Bicategory.RetractArrow₁ f' f.hom),
  r.equivalence.counit =
    CategoryTheory.Bicategory.associator r.i₂ (CategoryTheory.CategoryStruct.comp f.inv r.r₁) f' ≪≫
      CategoryTheory.Bicategory.whiskerLeftIso r.i₂
          (CategoryTheory.Bicategory.associator f.inv r.r₁ f' ≪≫
            CategoryTheory.Bicategory.whiskerLeftIso f.inv r.commr.symm ≪≫
              (CategoryTheory.Bicategory.associator f.inv f.hom r.r₂).symm) ≪≫
        CategoryTheory.Bicategory.whiskerLeftIso r.i₂ (CategoryTheory.Bicategory.whiskerRightIso f.counit r.r₂) ≪≫
          CategoryTheory.Bicategory.whiskerLeftIso r.i₂ (CategoryTheory.Bicategory.leftUnitor r.r₂) ≪≫ r.id₂

def CategoryTheory.RetractArrow.toLoc E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X Y X' Y' : C} →
      {f' : X' ⟶ Y'} →
        {f : X ⟶ Y} → CategoryTheory.RetractArrow f' f → CategoryTheory.Bicategory.RetractArrow₁ f'.toLoc f.toLoc

A retract of morphisms in a category C induces a retract of 1-morphisms in the bicategory LocallyDiscrete C.

theorem CategoryTheory.RetractArrow.toLoc_i₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.i₁ = (CategoryTheory.Arrow.Hom.left r.i).toLoc

theorem CategoryTheory.RetractArrow.toLoc_i₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.i₂ = (CategoryTheory.Arrow.Hom.right r.i).toLoc

theorem CategoryTheory.RetractArrow.toLoc_r₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.r₂ = (CategoryTheory.Arrow.Hom.right r.r).toLoc

theorem CategoryTheory.RetractArrow.toLoc_id₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.id₂ = CategoryTheory.eqToIso ⋯

theorem CategoryTheory.RetractArrow.toLoc_r₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.r₁ = (CategoryTheory.Arrow.Hom.left r.r).toLoc

theorem CategoryTheory.RetractArrow.toLoc_commr E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.commr = CategoryTheory.eqToIso ⋯

theorem CategoryTheory.RetractArrow.toLoc_commi E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.commi = CategoryTheory.eqToIso ⋯

theorem CategoryTheory.RetractArrow.toLoc_id₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y X' Y' : C} {f' : X' ⟶ Y'} {f : X ⟶ Y}
  (r : CategoryTheory.RetractArrow f' f), r.toLoc.id₁ = CategoryTheory.eqToIso ⋯