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.Basic

169 declarations. Mathlib docs · Source

Bicategories

In this file we define typeclass for bicategories.

A bicategory B consists of

  • objects a : B,
  • 1-morphisms f : a ⟶ b between objects a b : B, and
  • 2-morphisms η : f ⟶ g between 1-morphisms f g : a ⟶ b between objects a b : B.

We use u, v, and w as the universe variables for objects, 1-morphisms, and 2-morphisms, respectively.

A typeclass for bicategories extends CategoryTheory.CategoryStruct typeclass. This means that we have

  • a composition f ≫ g : a ⟶ c for each 1-morphisms f : a ⟶ b and g : b ⟶ c, and
  • an identity 𝟙 a : a ⟶ a for each object a : B.

For each object a b : B, the collection of 1-morphisms a ⟶ b has a category structure. The 2-morphisms in the bicategory are implemented as the morphisms in this family of categories.

The composition of 1-morphisms is in fact an object part of a functor (a ⟶ b) ⥤ (b ⟶ c) ⥤ (a ⟶ c). The definition of bicategories in this file does not require this functor directly. Instead, it requires the whiskering functions. For a 1-morphism f : a ⟶ b and a 2-morphism η : g ⟶ h between 1-morphisms g h : b ⟶ c, there is a 2-morphism whiskerLeft f η : f ≫ g ⟶ f ≫ h. Similarly, for a 2-morphism η : f ⟶ g between 1-morphisms f g : a ⟶ b and a 1-morphism f : b ⟶ c, there is a 2-morphism whiskerRight η h : f ≫ h ⟶ g ≫ h. These satisfy the exchange law whiskerLeft f θ ≫ whiskerRight η i = whiskerRight η h ≫ whiskerLeft g θ, which is required as an axiom in the definition here.

Simp-normal form for 2-morphisms

Rewriting involving associators and unitors could be very complicated. We try to ease this complexity by putting carefully chosen simp lemmas that rewrite any 2-morphisms into simp-normal form defined below. Rewriting into simp-normal form is also useful when applying (forthcoming) coherence tactic.

The simp-normal form of 2-morphisms is defined to be an expression that has the minimal number of parentheses. More precisely,

  1. it is a composition of 2-morphisms like η₁ ≫ η₂ ≫ η₃ ≫ η₄ ≫ η₅ such that each ηᵢ is either a structural 2-morphisms (2-morphisms made up only of identities, associators, unitors) or non-structural 2-morphisms, and
  2. each non-structural 2-morphism in the composition is of the form f₁ ◁ f₂ ◁ f₃ ◁ η ▷ f₄ ▷ f₅, where each fᵢ is a 1-morphism that is not the identity or a composite and η is a non-structural 2-morphisms that is also not the identity or a composite.

Note that f₁ ◁ f₂ ◁ f₃ ◁ η ▷ f₄ ▷ f₅ is actually f₁ ◁ (f₂ ◁ (f₃ ◁ ((η ▷ f₄) ▷ f₅))).

def CategoryTheory.Bicategory.ctorIdx E1 #

{B : Type u} → CategoryTheory.Bicategory B → ℕ

class CategoryTheory.Bicategory E1 #

Type u → Type (max (max u (v + 1)) (w + 1))

In a bicategory, we can compose the 1-morphisms f : a ⟶ b and g : b ⟶ c to obtain a 1-morphism f ≫ g : a ⟶ c. This composition does not need to be strictly associative, but there is a specified associator, α_ f g h : (f ≫ g) ≫ h ≅ f ≫ (g ≫ h). There is an identity 1-morphism 𝟙 a : a ⟶ a, with specified left and right unitor isomorphisms λ_ f : 𝟙 a ≫ f ≅ f and ρ_ f : f ≫ 𝟙 a ≅ f. These associators and unitors satisfy the pentagon and triangle equations.

See https://ncatlab.org/nlab/show/bicategory.

instance CategoryTheory.Bicategory.toCategoryStruct E0 #

{B : Type u} → [self : CategoryTheory.Bicategory B] → CategoryTheory.CategoryStruct.{v, u} B

ctor CategoryTheory.Bicategory.mk E0 #

{B : Type u} →
  [toCategoryStruct : CategoryTheory.CategoryStruct.{v, u} B] →
    (homCategory :
        autoParam ((a b : B) → CategoryTheory.Category.{w, v} (a ⟶ b))
          CategoryTheory.Bicategory.homCategory._autoParam) →
      (whiskerLeft :
          {a b c : B} →
            (f : a ⟶ b) →
              {g h : b ⟶ c} →
                (g ⟶ h) → (CategoryTheory.CategoryStruct.comp f g ⟶ CategoryTheory.CategoryStruct.comp f h)) →
        (whiskerRight :
            {a b c : B} →
              {f g : a ⟶ b} →
                (f ⟶ g) →
                  (h : b ⟶ c) → CategoryTheory.CategoryStruct.comp f h ⟶ CategoryTheory.CategoryStruct.comp g h) →
          (associator :
              {a b c d : B} →
                (f : a ⟶ b) →
                  (g : b ⟶ c) →
                    (h : c ⟶ d) →
                      CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h ≅
                        CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h)) →
            (leftUnitor :
                {a b : B} →
                  (f : a ⟶ b) → CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f ≅ f) →
              (rightUnitor :
                  {a b : B} →
                    (f : a ⟶ b) → CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b) ≅ f) →
                autoParam
                    (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                      whiskerLeft f (CategoryTheory.CategoryStruct.id g) =
                        CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g))
                    CategoryTheory.Bicategory.whiskerLeft_id._autoParam →
                  autoParam
                      (∀ {a b c : B} (f : a ⟶ b) {g h i : b ⟶ c} (η : g ⟶ h) (θ : h ⟶ i),
                        whiskerLeft f (CategoryTheory.CategoryStruct.comp η θ) =
                          CategoryTheory.CategoryStruct.comp (whiskerLeft f η) (whiskerLeft f θ))
                      CategoryTheory.Bicategory.whiskerLeft_comp._autoParam →
                    autoParam
                        (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                          whiskerLeft (CategoryTheory.CategoryStruct.id a) η =
                            CategoryTheory.CategoryStruct.comp (leftUnitor f).hom
                              (CategoryTheory.CategoryStruct.comp η (leftUnitor g).inv))
                        CategoryTheory.Bicategory.id_whiskerLeft._autoParam →
                      autoParam
                          (∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h'),
                            whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η =
                              CategoryTheory.CategoryStruct.comp (associator f g h).hom
                                (CategoryTheory.CategoryStruct.comp (whiskerLeft f (whiskerLeft g η))
                                  (associator f g h').inv))
                          CategoryTheory.Bicategory.comp_whiskerLeft._autoParam →
                        autoParam
                            (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                              whiskerRight (CategoryTheory.CategoryStruct.id f) g =
                                CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g))
                            CategoryTheory.Bicategory.id_whiskerRight._autoParam →
                          autoParam
                              (∀ {a b c : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h) (i : b ⟶ c),
                                whiskerRight (CategoryTheory.CategoryStruct.comp η θ) i =
                                  CategoryTheory.CategoryStruct.comp (whiskerRight η i) (whiskerRight θ i))
                              CategoryTheory.Bicategory.comp_whiskerRight._autoParam →
                            autoParam
                                (∀ {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
                                  whiskerRight η (CategoryTheory.CategoryStruct.id b) =
                                    CategoryTheory.CategoryStruct.comp (rightUnitor f).hom
                                      (CategoryTheory.CategoryStruct.comp η (rightUnitor g).inv))
                                CategoryTheory.Bicategory.whiskerRight_id._autoParam →
                              autoParam
                                  (∀ {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d),
                                    whiskerRight η (CategoryTheory.CategoryStruct.comp g h) =
                                      CategoryTheory.CategoryStruct.comp (associator f g h).inv
                                        (CategoryTheory.CategoryStruct.comp (whiskerRight (whiskerRight η g) h)
                                          (associator f' g h).hom))
                                  CategoryTheory.Bicategory.whiskerRight_comp._autoParam →
                                autoParam
                                    (∀ {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d),
                                      whiskerRight (whiskerLeft f η) h =
                                        CategoryTheory.CategoryStruct.comp (associator f g h).hom
                                          (CategoryTheory.CategoryStruct.comp (whiskerLeft f (whiskerRight η h))
                                            (associator f g' h).inv))
                                    CategoryTheory.Bicategory.whisker_assoc._autoParam →
                                  autoParam
                                      (∀ {a b c : B} {f g : a ⟶ b} {h i : b ⟶ c} (η : f ⟶ g) (θ : h ⟶ i),
                                        CategoryTheory.CategoryStruct.comp (whiskerLeft f θ) (whiskerRight η i) =
                                          CategoryTheory.CategoryStruct.comp (whiskerRight η h) (whiskerLeft g θ))
                                      CategoryTheory.Bicategory.whisker_exchange._autoParam →
                                    autoParam
                                        (∀ {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
                                          CategoryTheory.CategoryStruct.comp (whiskerRight (associator f g h).hom i)
                                              (CategoryTheory.CategoryStruct.comp
                                                (associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
                                                (whiskerLeft f (associator g h i).hom)) =
                                            CategoryTheory.CategoryStruct.comp
                                              (associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
                                              (associator f g (CategoryTheory.CategoryStruct.comp h i)).hom)
                                        CategoryTheory.Bicategory.pentagon._autoParam →
                                      autoParam
                                          (∀ {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
                                            CategoryTheory.CategoryStruct.comp
                                                (associator f (CategoryTheory.CategoryStruct.id b) g).hom
                                                (whiskerLeft f (leftUnitor g).hom) =
                                              whiskerRight (rightUnitor f).hom g)
                                          CategoryTheory.Bicategory.triangle._autoParam →
                                        CategoryTheory.Bicategory B

instance CategoryTheory.Bicategory.homCategory E0 #

{B : Type u} → [self : CategoryTheory.Bicategory B] → (a b : B) → CategoryTheory.Category.{w, v} (a ⟶ b)

The category structure on the collection of 1-morphisms

abbrev CategoryTheory.Bicategory.whiskerLeft E1 #

{B : Type u} →
  [self : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        {g h : b ⟶ c} → (g ⟶ h) → (CategoryTheory.CategoryStruct.comp f g ⟶ CategoryTheory.CategoryStruct.comp f h)

Left whiskering for morphisms

abbrev CategoryTheory.Bicategory.whiskerRight E1 #

{B : Type u} →
  [self : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f g : a ⟶ b} →
        (f ⟶ g) → (h : b ⟶ c) → CategoryTheory.CategoryStruct.comp f h ⟶ CategoryTheory.CategoryStruct.comp g h

Right whiskering for morphisms

abbrev CategoryTheory.Bicategory.associator E1 #

{B : Type u} →
  [self : CategoryTheory.Bicategory B] →
    {a b c d : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          (h : c ⟶ d) →
            CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h ≅
              CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h)

The associator isomorphism: (f ≫ g) ≫ h ≅ f ≫ g ≫ h

abbrev CategoryTheory.Bicategory.leftUnitor E1 #

{B : Type u} →
  [self : CategoryTheory.Bicategory B] →
    {a b : B} → (f : a ⟶ b) → CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f ≅ f

The left unitor: 𝟙 a ≫ f ≅ f

abbrev CategoryTheory.Bicategory.rightUnitor E1 #

{B : Type u} →
  [self : CategoryTheory.Bicategory B] →
    {a b : B} → (f : a ⟶ b) → CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b) ≅ f

The right unitor: f ≫ 𝟙 b ≅ f

theorem CategoryTheory.Bicategory.whiskerLeft_id E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.CategoryStruct.id g) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.Bicategory.whiskerLeft_comp E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h i : b ⟶ c} (η : g ⟶ h) (θ : h ⟶ i),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.CategoryStruct.comp η θ) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η)
      (CategoryTheory.Bicategory.whiskerLeft f θ)

theorem CategoryTheory.Bicategory.id_whiskerLeft E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.leftUnitor g).inv)

theorem CategoryTheory.Bicategory.comp_whiskerLeft E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h'),
  CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η))
        (CategoryTheory.Bicategory.associator f g h').inv)

theorem CategoryTheory.Bicategory.id_whiskerRight E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CategoryStruct.id f) g =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.Bicategory.comp_whiskerRight E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h) (i : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CategoryStruct.comp η θ) i =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η i)
      (CategoryTheory.Bicategory.whiskerRight θ i)

theorem CategoryTheory.Bicategory.whiskerRight_id E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.rightUnitor g).inv)

theorem CategoryTheory.Bicategory.whiskerRight_comp E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d),
  CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h)
        (CategoryTheory.Bicategory.associator f' g h).hom)

theorem CategoryTheory.Bicategory.whisker_assoc E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h))
        (CategoryTheory.Bicategory.associator f g' h).inv)

theorem CategoryTheory.Bicategory.whisker_exchange E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} {h i : b ⟶ c} (η : f ⟶ g) (θ : h ⟶ i),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f θ)
      (CategoryTheory.Bicategory.whiskerRight η i) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η h)
      (CategoryTheory.Bicategory.whiskerLeft g θ)

theorem CategoryTheory.Bicategory.pentagon E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom

theorem CategoryTheory.Bicategory.triangle E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).hom) =
    CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).hom g

def CategoryTheory.Bicategory.«term_◁_» E1 #

Lean.TrailingParserDescr

Left whiskering for morphisms

def CategoryTheory.Bicategory.«term_▷_» E1 #

Lean.TrailingParserDescr

Right whiskering for morphisms

def CategoryTheory.Bicategory.termα_ E1 #

Lean.ParserDescr

The associator isomorphism: (f ≫ g) ≫ h ≅ f ≫ g ≫ h

def CategoryTheory.Bicategory.«termλ_» E1 #

Lean.ParserDescr

The left unitor: 𝟙 a ≫ f ≅ f

def CategoryTheory.Bicategory.termρ_ E1 #

Lean.ParserDescr

The right unitor: f ≫ 𝟙 b ≅ f

theorem CategoryTheory.Bicategory.whiskerRight_comp_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g h) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))
      h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' g h).hom h_1))

theorem CategoryTheory.Bicategory.comp_whiskerRight_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} {f g h : a ⟶ b} (η : f ⟶ g) (θ : g ⟶ h) (i : b ⟶ c)
  {Z : a ⟶ c} (h_1 : CategoryTheory.CategoryStruct.comp h i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CategoryStruct.comp η θ) i)
      h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η i)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight θ i) h_1)

theorem CategoryTheory.Bicategory.whisker_exchange_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} {h i : b ⟶ c} (η : f ⟶ g) (θ : h ⟶ i)
  {Z : a ⟶ c} (h_1 : CategoryTheory.CategoryStruct.comp g i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f θ)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η i) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft g θ) h_1)

theorem CategoryTheory.Bicategory.whisker_assoc_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g') h ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h) h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g' h).inv h_1))

theorem CategoryTheory.Bicategory.id_whiskerLeft_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b}
  (h : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor g).inv h))

theorem CategoryTheory.Bicategory.comp_whiskerLeft_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h')
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)
      h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h').inv h_1))

theorem CategoryTheory.Bicategory.whiskerLeft_comp_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h i : b ⟶ c} (η : g ⟶ h) (θ : h ⟶ i)
  {Z : a ⟶ c} (h_1 : CategoryTheory.CategoryStruct.comp f i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.CategoryStruct.comp η θ))
      h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f θ) h_1)

theorem CategoryTheory.Bicategory.whiskerRight_id_assoc E1 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b}
  (h : CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b)) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor g).inv h))

theorem CategoryTheory.Bicategory.pentagon_assoc E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp h i)) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom) h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom h_1)

theorem CategoryTheory.Bicategory.triangle_assoc E0 #

∀ {B : Type u} [self : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).hom) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).hom g) h

theorem CategoryTheory.Bicategory.whiskerLeft_hom_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.hom)
      (CategoryTheory.Bicategory.whiskerLeft f η.inv) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.Bicategory.whiskerLeft_hom_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) {Z : a ⟶ c}
  (h_1 : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.inv) h_1) =
    h_1

theorem CategoryTheory.Bicategory.hom_inv_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.hom h)
      (CategoryTheory.Bicategory.whiskerRight η.inv h) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f h)

theorem CategoryTheory.Bicategory.hom_inv_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) {Z : a ⟶ c}
  (h_1 : CategoryTheory.CategoryStruct.comp f h ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.hom h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.inv h) h_1) =
    h_1

theorem CategoryTheory.Bicategory.whiskerLeft_inv_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.inv)
      (CategoryTheory.Bicategory.whiskerLeft f η.hom) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f h)

theorem CategoryTheory.Bicategory.whiskerLeft_inv_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) {Z : a ⟶ c}
  (h_1 : CategoryTheory.CategoryStruct.comp f h ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.inv)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η.hom) h_1) =
    h_1

theorem CategoryTheory.Bicategory.inv_hom_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) {Z : a ⟶ c}
  (h_1 : CategoryTheory.CategoryStruct.comp g h ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.inv h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.hom h) h_1) =
    h_1

theorem CategoryTheory.Bicategory.inv_hom_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η.inv h)
      (CategoryTheory.Bicategory.whiskerRight η.hom h) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp g h)

theorem CategoryTheory.Bicategory.whiskerLeft_whiskerLeft_hom_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h k : c ⟶ d} (η : h ≅ k)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.hom))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.inv)) h_1) =
    h_1

theorem CategoryTheory.Bicategory.whiskerLeft_whiskerLeft_hom_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h k : c ⟶ d} (η : h ≅ k),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.hom))
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.inv)) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h))

theorem CategoryTheory.Bicategory.hom_inv_whiskerRight_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) (k : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f h) k ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.hom h) k)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.inv h) k) h_1) =
    h_1

theorem CategoryTheory.Bicategory.hom_inv_whiskerRight_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) (k : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.hom h) k)
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.inv h) k) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f h) k)

theorem CategoryTheory.Bicategory.whiskerLeft_whiskerLeft_inv_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h k : c ⟶ d} (η : h ≅ k),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.inv))
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.hom)) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g k))

theorem CategoryTheory.Bicategory.whiskerLeft_whiskerLeft_inv_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h k : c ⟶ d} (η : h ≅ k)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g k) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.inv))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η.hom)) h_1) =
    h_1

theorem CategoryTheory.Bicategory.inv_hom_whiskerRight_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) (k : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp g h) k ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.inv h) k)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.hom h) k) h_1) =
    h_1

theorem CategoryTheory.Bicategory.inv_hom_whiskerRight_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c) (k : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.inv h) k)
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η.hom h) k) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp g h) k)

theorem CategoryTheory.Bicategory.whiskerLeft_hom_inv_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) (k : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.hom k))
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.inv k)) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g k))

theorem CategoryTheory.Bicategory.whiskerLeft_hom_inv_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) (k : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g k) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.hom k))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.inv k)) h_1) =
    h_1

theorem CategoryTheory.Bicategory.whiskerLeft_inv_hom_whiskerRight_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) (k : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp h k) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.inv k))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.hom k)) h_1) =
    h_1

theorem CategoryTheory.Bicategory.whiskerLeft_inv_hom_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h) (k : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.inv k))
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η.hom k)) =
    CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp h k))

def CategoryTheory.Bicategory.whiskerLeftIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        {g h : b ⟶ c} → (g ≅ h) → (CategoryTheory.CategoryStruct.comp f g ≅ CategoryTheory.CategoryStruct.comp f h)

The left whiskering of a 2-isomorphism is a 2-isomorphism.

theorem CategoryTheory.Bicategory.whiskerLeftIso_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h),
  (CategoryTheory.Bicategory.whiskerLeftIso f η).inv = CategoryTheory.Bicategory.whiskerLeft f η.inv

theorem CategoryTheory.Bicategory.whiskerLeftIso_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ≅ h),
  (CategoryTheory.Bicategory.whiskerLeftIso f η).hom = CategoryTheory.Bicategory.whiskerLeft f η.hom

instance CategoryTheory.Bicategory.whiskerLeft_isIso E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h)
  [CategoryTheory.IsIso η], CategoryTheory.IsIso (CategoryTheory.Bicategory.whiskerLeft f η)

theorem CategoryTheory.Bicategory.inv_whiskerLeft E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (η : g ⟶ h)
  [inst_1 : CategoryTheory.IsIso η],
  CategoryTheory.inv (CategoryTheory.Bicategory.whiskerLeft f η) =
    CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.inv η)

def CategoryTheory.Bicategory.whiskerRightIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f g : a ⟶ b} →
        (f ≅ g) → (h : b ⟶ c) → CategoryTheory.CategoryStruct.comp f h ≅ CategoryTheory.CategoryStruct.comp g h

The right whiskering of a 2-isomorphism is a 2-isomorphism.

theorem CategoryTheory.Bicategory.whiskerRightIso_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c),
  (CategoryTheory.Bicategory.whiskerRightIso η h).hom = CategoryTheory.Bicategory.whiskerRight η.hom h

theorem CategoryTheory.Bicategory.whiskerRightIso_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ≅ g) (h : b ⟶ c),
  (CategoryTheory.Bicategory.whiskerRightIso η h).inv = CategoryTheory.Bicategory.whiskerRight η.inv h

instance CategoryTheory.Bicategory.whiskerRight_isIso E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c)
  [CategoryTheory.IsIso η], CategoryTheory.IsIso (CategoryTheory.Bicategory.whiskerRight η h)

theorem CategoryTheory.Bicategory.inv_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c)
  [inst_1 : CategoryTheory.IsIso η],
  CategoryTheory.inv (CategoryTheory.Bicategory.whiskerRight η h) =
    CategoryTheory.Bicategory.whiskerRight (CategoryTheory.inv η) h

def CategoryTheory.Bicategory.«term_◁ᵢ_» E1 #

Lean.TrailingParserDescr

The left whiskering of a 2-isomorphism is a 2-isomorphism.

def CategoryTheory.Bicategory.«term_▷ᵢ_» E1 #

Lean.TrailingParserDescr

The right whiskering of a 2-isomorphism is a 2-isomorphism.

theorem CategoryTheory.Bicategory.pentagon_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv

theorem CategoryTheory.Bicategory.pentagon_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h)
        i ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i) h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv h_1)

theorem CategoryTheory.Bicategory.pentagon_inv_inv_hom_hom_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv

theorem CategoryTheory.Bicategory.pentagon_inv_inv_hom_hom_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g)
        (CategoryTheory.CategoryStruct.comp h i) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv h_1)

theorem CategoryTheory.Bicategory.pentagon_inv_hom_hom_hom_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)

theorem CategoryTheory.Bicategory.pentagon_inv_hom_hom_hom_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp g h) i) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv) h_1)

theorem CategoryTheory.Bicategory.pentagon_hom_inv_inv_inv_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h)
        i ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i) h_1)

theorem CategoryTheory.Bicategory.pentagon_hom_inv_inv_inv_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)

theorem CategoryTheory.Bicategory.pentagon_hom_hom_inv_hom_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp g h) i) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv) h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom h_1)

theorem CategoryTheory.Bicategory.pentagon_hom_hom_inv_hom_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom

theorem CategoryTheory.Bicategory.pentagon_hom_inv_inv_inv_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h))
        i ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i) h_1)

theorem CategoryTheory.Bicategory.pentagon_hom_inv_inv_inv_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)

theorem CategoryTheory.Bicategory.pentagon_hom_hom_inv_inv_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g)
        (CategoryTheory.CategoryStruct.comp h i) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom h_1)

theorem CategoryTheory.Bicategory.pentagon_hom_hom_inv_inv_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom

theorem CategoryTheory.Bicategory.pentagon_inv_hom_hom_hom_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom)

theorem CategoryTheory.Bicategory.pentagon_inv_hom_hom_hom_hom_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp f
        (CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.comp h i)) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).inv i)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).hom
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).hom h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).hom) h_1)

theorem CategoryTheory.Bicategory.pentagon_inv_inv_hom_inv_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv

theorem CategoryTheory.Bicategory.pentagon_inv_inv_hom_inv_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d e : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d) (i : d ⟶ e)
  {Z : a ⟶ e}
  (h_1 :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h))
        i ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.comp h i)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.comp f g) h i).inv
        (CategoryTheory.CategoryStruct.comp
          (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.associator f g h).hom i) h_1)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.associator g h i).inv)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.comp g h) i).inv h_1)

theorem CategoryTheory.Bicategory.triangle_assoc_comp_left E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).hom) =
    CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).hom g

theorem CategoryTheory.Bicategory.triangle_assoc_comp_right E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).hom g) =
    CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).hom

theorem CategoryTheory.Bicategory.triangle_assoc_comp_right_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).hom g) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).hom) h

theorem CategoryTheory.Bicategory.triangle_assoc_comp_right_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id b) g) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).inv g)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).hom h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).inv) h

theorem CategoryTheory.Bicategory.triangle_assoc_comp_right_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).inv g)
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).hom =
    CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).inv

theorem CategoryTheory.Bicategory.triangle_assoc_comp_left_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).inv)
      (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).inv =
    CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).inv g

theorem CategoryTheory.Bicategory.triangle_assoc_comp_left_inv_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b)) g ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.leftUnitor g).inv)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f (CategoryTheory.CategoryStruct.id b) g).inv h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.rightUnitor f).inv g) h

theorem CategoryTheory.Bicategory.associator_naturality_left_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g h) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' g h).hom h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h)) h_1)

theorem CategoryTheory.Bicategory.associator_naturality_left E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h)
      (CategoryTheory.Bicategory.associator f' g h).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))

theorem CategoryTheory.Bicategory.associator_inv_naturality_left E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))
      (CategoryTheory.Bicategory.associator f' g h).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h)

theorem CategoryTheory.Bicategory.associator_inv_naturality_left_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f' g) h ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' g h).inv h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h) h_1)

theorem CategoryTheory.Bicategory.whiskerRight_comp_symm E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))
        (CategoryTheory.Bicategory.associator f' g h).inv)

theorem CategoryTheory.Bicategory.whiskerRight_comp_symm_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} (η : f ⟶ f') (g : b ⟶ c) (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f' g) h ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerRight η g) h) h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h))
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f' g h).inv h_1))

theorem CategoryTheory.Bicategory.associator_naturality_middle E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h)
      (CategoryTheory.Bicategory.associator f g' h).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h))

theorem CategoryTheory.Bicategory.associator_naturality_middle_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g' h) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g' h).hom h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h)) h_1)

theorem CategoryTheory.Bicategory.associator_inv_naturality_middle E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h))
      (CategoryTheory.Bicategory.associator f g' h).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h)

theorem CategoryTheory.Bicategory.associator_inv_naturality_middle_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g') h ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g' h).inv h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h) h_1)

theorem CategoryTheory.Bicategory.whisker_assoc_symm E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h)
        (CategoryTheory.Bicategory.associator f g' h).hom)

theorem CategoryTheory.Bicategory.whisker_assoc_symm_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) {g g' : b ⟶ c} (η : g ⟶ g') (h : c ⟶ d)
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g' h) ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerRight η h)) h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.whiskerLeft f η) h)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g' h).hom h_1))

theorem CategoryTheory.Bicategory.associator_naturality_right_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h')
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h') ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h').hom h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η)) h_1)

theorem CategoryTheory.Bicategory.associator_naturality_right E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h'),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)
      (CategoryTheory.Bicategory.associator f g h').hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η))

theorem CategoryTheory.Bicategory.associator_inv_naturality_right E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h'),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η))
      (CategoryTheory.Bicategory.associator f g h').inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)

theorem CategoryTheory.Bicategory.associator_inv_naturality_right_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h')
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h' ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h').inv h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η) h_1)

theorem CategoryTheory.Bicategory.comp_whiskerLeft_symm E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h'),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)
        (CategoryTheory.Bicategory.associator f g h').hom)

theorem CategoryTheory.Bicategory.comp_whiskerLeft_symm_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) {h h' : c ⟶ d} (η : h ⟶ h')
  {Z : a ⟶ d} (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h') ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.whiskerLeft g η)) h_1 =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η)
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h').hom h_1))

theorem CategoryTheory.Bicategory.leftUnitor_naturality_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b} (h : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor g).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η h)

theorem CategoryTheory.Bicategory.leftUnitor_naturality E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η)
      (CategoryTheory.Bicategory.leftUnitor g).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).hom η

theorem CategoryTheory.Bicategory.leftUnitor_inv_naturality_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b}
  (h : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) g ⟶ Z),
  CategoryTheory.CategoryStruct.comp η
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor g).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η)
        h)

theorem CategoryTheory.Bicategory.leftUnitor_inv_naturality E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.leftUnitor g).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).inv
      (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η)

theorem CategoryTheory.Bicategory.id_whiskerLeft_symm E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  η =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η)
        (CategoryTheory.Bicategory.leftUnitor g).hom)

theorem CategoryTheory.Bicategory.rightUnitor_naturality_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b} (h : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor g).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).hom
      (CategoryTheory.CategoryStruct.comp η h)

theorem CategoryTheory.Bicategory.rightUnitor_naturality E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b))
      (CategoryTheory.Bicategory.rightUnitor g).hom =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).hom η

theorem CategoryTheory.Bicategory.rightUnitor_inv_naturality E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.rightUnitor g).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).inv
      (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b))

theorem CategoryTheory.Bicategory.rightUnitor_inv_naturality_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g) {Z : a ⟶ b}
  (h : CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp η
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor g).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b)) h)

theorem CategoryTheory.Bicategory.whiskerRight_id_symm E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  η =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b))
        (CategoryTheory.Bicategory.rightUnitor g).hom)

theorem CategoryTheory.Bicategory.whiskerLeft_iff E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η θ : f ⟶ g),
  CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η =
      CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) θ ↔
    η = θ

theorem CategoryTheory.Bicategory.whiskerRight_iff E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η θ : f ⟶ g),
  CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b) =
      CategoryTheory.Bicategory.whiskerRight θ (CategoryTheory.CategoryStruct.id b) ↔
    η = θ

theorem CategoryTheory.Bicategory.leftUnitor_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).hom g =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).hom
      (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).hom

We state it as a simp lemma, which is regarded as an involved version of id_whiskerRight f g : 𝟙 f ▷ g = 𝟙 (f ≫ g).

theorem CategoryTheory.Bicategory.leftUnitor_whiskerRight_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).hom g) h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).hom h)

We state it as a simp lemma, which is regarded as an involved version of id_whiskerRight f g : 𝟙 f ▷ g = 𝟙 (f ≫ g).

theorem CategoryTheory.Bicategory.leftUnitor_inv_whiskerRight_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f) g ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).inv g) h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).inv h)

theorem CategoryTheory.Bicategory.leftUnitor_inv_whiskerRight E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).inv g =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).inv
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).inv

theorem CategoryTheory.Bicategory.whiskerLeft_rightUnitor_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).hom) h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).hom h)

theorem CategoryTheory.Bicategory.whiskerLeft_rightUnitor E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).hom =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).inv
      (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).hom

theorem CategoryTheory.Bicategory.whiskerLeft_rightUnitor_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).inv =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).inv
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).hom

theorem CategoryTheory.Bicategory.whiskerLeft_rightUnitor_inv_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c)) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).inv) h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).hom h)

theorem CategoryTheory.Bicategory.leftUnitor_comp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).hom =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).inv
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).hom g)

theorem CategoryTheory.Bicategory.leftUnitor_comp_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).hom
      h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).hom g) h)

theorem CategoryTheory.Bicategory.leftUnitor_comp_inv E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).inv =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).inv g)
      (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).hom

theorem CategoryTheory.Bicategory.leftUnitor_comp_inv_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) (CategoryTheory.CategoryStruct.comp f g) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.comp f g)).inv
      h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.leftUnitor f).inv g)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator (CategoryTheory.CategoryStruct.id a) f g).hom h)

theorem CategoryTheory.Bicategory.rightUnitor_comp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).hom =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).hom
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).hom)

theorem CategoryTheory.Bicategory.rightUnitor_comp_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h : CategoryTheory.CategoryStruct.comp f g ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).hom h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).hom
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).hom) h)

theorem CategoryTheory.Bicategory.rightUnitor_comp_inv E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c),
  (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).inv =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).inv)
      (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).inv

theorem CategoryTheory.Bicategory.rightUnitor_comp_inv_assoc E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) {Z : a ⟶ c}
  (h :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.id c) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.comp f g)).inv h =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.rightUnitor g).inv)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.associator f g (CategoryTheory.CategoryStruct.id c)).inv h)

theorem CategoryTheory.Bicategory.unitors_equal E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a : B},
  (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.id a)).hom =
    (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.id a)).hom

theorem CategoryTheory.Bicategory.unitors_inv_equal E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a : B},
  (CategoryTheory.Bicategory.leftUnitor (CategoryTheory.CategoryStruct.id a)).inv =
    (CategoryTheory.Bicategory.rightUnitor (CategoryTheory.CategoryStruct.id a)).inv

def CategoryTheory.Bicategory.precomp E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] → {a b : B} → (c : B) → (a ⟶ b) → CategoryTheory.Functor (b ⟶ c) (a ⟶ c)

Precomposition of a 1-morphism as a functor.

theorem CategoryTheory.Bicategory.precomp_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (c : B) (f : a ⟶ b) (x : b ⟶ c),
  (CategoryTheory.Bicategory.precomp c f).obj x = CategoryTheory.CategoryStruct.comp f x

theorem CategoryTheory.Bicategory.precomp_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} (c : B) (f : a ⟶ b) {X Y : b ⟶ c} (x : X ⟶ Y),
  (CategoryTheory.Bicategory.precomp c f).map x = CategoryTheory.Bicategory.whiskerLeft f x

def CategoryTheory.Bicategory.precomposing E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b c : B) → CategoryTheory.Functor (a ⟶ b) (CategoryTheory.Functor (b ⟶ c) (a ⟶ c))

Precomposition of a 1-morphism as a functor from the category of 1-morphisms a ⟶ b into the category of functors (b ⟶ c) ⥤ (a ⟶ c).

theorem CategoryTheory.Bicategory.precomposing_map_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) {X Y : a ⟶ b} (η : X ⟶ Y) (x : b ⟶ c),
  ((CategoryTheory.Bicategory.precomposing a b c).map η).app x = CategoryTheory.Bicategory.whiskerRight η x

theorem CategoryTheory.Bicategory.precomposing_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) (f : a ⟶ b),
  (CategoryTheory.Bicategory.precomposing a b c).obj f = CategoryTheory.Bicategory.precomp c f

def CategoryTheory.Bicategory.postcomp E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] → {b c : B} → (a : B) → (b ⟶ c) → CategoryTheory.Functor (a ⟶ b) (a ⟶ c)

Postcomposition of a 1-morphism as a functor.

theorem CategoryTheory.Bicategory.postcomp_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {b c : B} (a : B) (f : b ⟶ c) (x : a ⟶ b),
  (CategoryTheory.Bicategory.postcomp a f).obj x = CategoryTheory.CategoryStruct.comp x f

theorem CategoryTheory.Bicategory.postcomp_map E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {b c : B} (a : B) (f : b ⟶ c) {X Y : a ⟶ b} (x : X ⟶ Y),
  (CategoryTheory.Bicategory.postcomp a f).map x = CategoryTheory.Bicategory.whiskerRight x f

def CategoryTheory.Bicategory.postcomposing E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b c : B) → CategoryTheory.Functor (b ⟶ c) (CategoryTheory.Functor (a ⟶ b) (a ⟶ c))

Postcomposition of a 1-morphism as a functor from the category of 1-morphisms b ⟶ c into the category of functors (a ⟶ b) ⥤ (a ⟶ c).

theorem CategoryTheory.Bicategory.postcomposing_obj E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) (f : b ⟶ c),
  (CategoryTheory.Bicategory.postcomposing a b c).obj f = CategoryTheory.Bicategory.postcomp a f

theorem CategoryTheory.Bicategory.postcomposing_map_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b c : B) {X Y : b ⟶ c} (η : X ⟶ Y) (x : a ⟶ b),
  ((CategoryTheory.Bicategory.postcomposing a b c).map η).app x = CategoryTheory.Bicategory.whiskerLeft x η

def CategoryTheory.Bicategory.associatorNatIsoLeft E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {b c d : B} →
      (a : B) →
        (g : b ⟶ c) →
          (h : c ⟶ d) →
            ((CategoryTheory.Bicategory.postcomposing a b c).obj g).comp
                ((CategoryTheory.Bicategory.postcomposing a c d).obj h) ≅
              (CategoryTheory.Bicategory.postcomposing a b d).obj (CategoryTheory.CategoryStruct.comp g h)

Left component of the associator as a natural isomorphism.

theorem CategoryTheory.Bicategory.associatorNatIsoLeft_inv_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {b c d : B} (a : B) (g : b ⟶ c) (h : c ⟶ d) (X : a ⟶ b),
  (CategoryTheory.Bicategory.associatorNatIsoLeft a g h).inv.app X = (CategoryTheory.Bicategory.associator X g h).inv

theorem CategoryTheory.Bicategory.associatorNatIsoLeft_hom_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {b c d : B} (a : B) (g : b ⟶ c) (h : c ⟶ d) (X : a ⟶ b),
  (CategoryTheory.Bicategory.associatorNatIsoLeft a g h).hom.app X = (CategoryTheory.Bicategory.associator X g h).hom

def CategoryTheory.Bicategory.associatorNatIsoMiddle E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c d : B} →
      (f : a ⟶ b) →
        (h : c ⟶ d) →
          ((CategoryTheory.Bicategory.precomposing a b c).obj f).comp
              ((CategoryTheory.Bicategory.postcomposing a c d).obj h) ≅
            ((CategoryTheory.Bicategory.postcomposing b c d).obj h).comp
              ((CategoryTheory.Bicategory.precomposing a b d).obj f)

Middle component of the associator as a natural isomorphism.

theorem CategoryTheory.Bicategory.associatorNatIsoMiddle_hom_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (h : c ⟶ d) (X : b ⟶ c),
  (CategoryTheory.Bicategory.associatorNatIsoMiddle f h).hom.app X = (CategoryTheory.Bicategory.associator f X h).hom

theorem CategoryTheory.Bicategory.associatorNatIsoMiddle_inv_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} (f : a ⟶ b) (h : c ⟶ d) (X : b ⟶ c),
  (CategoryTheory.Bicategory.associatorNatIsoMiddle f h).inv.app X = (CategoryTheory.Bicategory.associator f X h).inv

def CategoryTheory.Bicategory.associatorNatIsoRight E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : b ⟶ c) →
          (d : B) →
            (CategoryTheory.Bicategory.precomposing a c d).obj (CategoryTheory.CategoryStruct.comp f g) ≅
              ((CategoryTheory.Bicategory.precomposing b c d).obj g).comp
                ((CategoryTheory.Bicategory.precomposing a b d).obj f)

Right component of the associator as a natural isomorphism.

theorem CategoryTheory.Bicategory.associatorNatIsoRight_hom_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (d : B) (X : c ⟶ d),
  (CategoryTheory.Bicategory.associatorNatIsoRight f g d).hom.app X = (CategoryTheory.Bicategory.associator f g X).hom

theorem CategoryTheory.Bicategory.associatorNatIsoRight_inv_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : b ⟶ c) (d : B) (X : c ⟶ d),
  (CategoryTheory.Bicategory.associatorNatIsoRight f g d).inv.app X = (CategoryTheory.Bicategory.associator f g X).inv

def CategoryTheory.Bicategory.leftUnitorNatIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b : B) →
      (CategoryTheory.Bicategory.precomposing a a b).obj (CategoryTheory.CategoryStruct.id a) ≅
        CategoryTheory.Functor.id (a ⟶ b)

Left unitor as a natural isomorphism.

theorem CategoryTheory.Bicategory.leftUnitorNatIso_hom_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitorNatIso a b).hom.app X = (CategoryTheory.Bicategory.leftUnitor X).hom

theorem CategoryTheory.Bicategory.leftUnitorNatIso_inv_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.leftUnitorNatIso a b).inv.app X = (CategoryTheory.Bicategory.leftUnitor X).inv

def CategoryTheory.Bicategory.rightUnitorNatIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    (a b : B) →
      (CategoryTheory.Bicategory.postcomposing a b b).obj (CategoryTheory.CategoryStruct.id b) ≅
        CategoryTheory.Functor.id (a ⟶ b)

Right unitor as a natural isomorphism.

theorem CategoryTheory.Bicategory.rightUnitorNatIso_inv_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitorNatIso a b).inv.app X = (CategoryTheory.Bicategory.rightUnitor X).inv

theorem CategoryTheory.Bicategory.rightUnitorNatIso_hom_app E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] (a b : B) (X : a ⟶ b),
  (CategoryTheory.Bicategory.rightUnitorNatIso a b).hom.app X = (CategoryTheory.Bicategory.rightUnitor X).hom