The areas / V24. Category theory
Mathlib.CategoryTheory.Bicategory.Extension
168 declarations. Mathlib docs · Source
Extensions and lifts in bicategories
We introduce the concept of extensions and lifts within the bicategorical framework. These concepts are defined by commutative diagrams in the (1-)categorical context. Within the bicategorical framework, commutative diagrams are replaced by 2-morphisms. Depending on the orientation of the 2-morphisms, we define both left and right extensions (likewise for lifts). The use of left and right here is a common one in the theory of Kan extensions.
Implementation notes
We define extensions and lifts as objects in certain comma categories (StructuredArrow for left,
and CostructuredArrow for right). See the file CategoryTheory.StructuredArrow for properties
about these categories. We introduce some intuitive aliases. For example, LeftExtension.extension
is an alias for Comma.right.
References
- https://ncatlab.org/nlab/show/lifts+and+extensions
- https://ncatlab.org/nlab/show/Kan+extension
theorem CategoryTheory.Bicategory.LeftLift.homMk.congr_simp E1 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (η η_1 : s.lift ⟶ t.lift) (e_η : η = η_1)
(w : CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerRight η f) = t.unit),
CategoryTheory.Bicategory.LeftLift.homMk η w = CategoryTheory.Bicategory.LeftLift.homMk η_1 ⋯
theorem CategoryTheory.Bicategory.RightExtension.homMk.congr_simp E1 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (η η_1 : s.extension ⟶ t.extension) (e_η : η = η_1)
(w : CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η) t.counit = s.counit),
CategoryTheory.Bicategory.RightExtension.homMk η w = CategoryTheory.Bicategory.RightExtension.homMk η_1 ⋯
theorem CategoryTheory.Bicategory.RightLift.homMk.congr_simp E1 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (η η_1 : s.lift ⟶ t.lift) (e_η : η = η_1)
(w : CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η f) t.counit = s.counit),
CategoryTheory.Bicategory.RightLift.homMk η w = CategoryTheory.Bicategory.RightLift.homMk η_1 ⋯
theorem CategoryTheory.Bicategory.LeftExtension.homMk.congr_simp E1 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (η η_1 : s.extension ⟶ t.extension) (e_η : η = η_1)
(w : CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerLeft f η) = t.unit),
CategoryTheory.Bicategory.LeftExtension.homMk η w = CategoryTheory.Bicategory.LeftExtension.homMk η_1 ⋯
abbrev CategoryTheory.Bicategory.LeftExtension E1 #
{B : Type u} → [inst : CategoryTheory.Bicategory B] → {a b c : B} → (a ⟶ b) → (a ⟶ c) → Type (max v w)
Triangle diagrams for (left) extensions.
b
△ \
| \ extension △
f | \ | unit
| ◿
a - - - ▷ c
g
abbrev CategoryTheory.Bicategory.LeftExtension.extension E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.LeftExtension f g → (b ⟶ c)
The extension of g along f.
abbrev CategoryTheory.Bicategory.LeftExtension.unit E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(t : CategoryTheory.Bicategory.LeftExtension f g) → g ⟶ CategoryTheory.CategoryStruct.comp f t.extension
The 2-morphism filling the triangle diagram.
abbrev CategoryTheory.Bicategory.LeftExtension.mk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(h : b ⟶ c) → (g ⟶ CategoryTheory.CategoryStruct.comp f h) → CategoryTheory.Bicategory.LeftExtension f g
Construct a left extension from a 1-morphism and a 2-morphism.
abbrev CategoryTheory.Bicategory.LeftExtension.homMk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.LeftExtension f g} →
(η : s.extension ⟶ t.extension) →
autoParam (CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerLeft f η) = t.unit)
CategoryTheory.Bicategory.LeftExtension.homMk._auto_1 →
(s ⟶ t)
To construct a morphism between left extensions, we need a 2-morphism between the extensions, and to check that it is compatible with the units.
theorem CategoryTheory.Bicategory.LeftExtension.w_assoc E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (η : s ⟶ t) {Z : a ⟶ c}
(h : CategoryTheory.CategoryStruct.comp f (CategoryTheory.StructuredArrow.right t) ⟶ Z),
CategoryTheory.CategoryStruct.comp s.unit
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.StructuredArrow.Hom.right η)) h) =
CategoryTheory.CategoryStruct.comp t.unit h
theorem CategoryTheory.Bicategory.LeftExtension.w E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (η : s ⟶ t),
CategoryTheory.CategoryStruct.comp s.unit
(CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.StructuredArrow.Hom.right η)) =
t.unit
theorem CategoryTheory.Bicategory.LeftExtension.homMk_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (η : s.extension ⟶ t.extension)
(w : CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerLeft f η) = t.unit),
CategoryTheory.StructuredArrow.Hom.right (CategoryTheory.Bicategory.LeftExtension.homMk η w) = η
def CategoryTheory.Bicategory.LeftExtension.alongId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → (g : a ⟶ c) → CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.id a) g
The left extension along the identity.
instance CategoryTheory.Bicategory.LeftExtension.instInhabitedId E0 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → {g : a ⟶ c} → Inhabited (CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.id a) g)
def CategoryTheory.Bicategory.LeftExtension.ofCompId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c)) →
CategoryTheory.Bicategory.LeftExtension f g
Construct a left extension of g : a ⟶ c from a left extension of g ≫ 𝟙 c.
theorem CategoryTheory.Bicategory.LeftExtension.ofCompId_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.right = t.extension
theorem CategoryTheory.Bicategory.LeftExtension.ofCompId_left_as E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.left.as = PUnit.unit
theorem CategoryTheory.Bicategory.LeftExtension.ofCompId_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor g).inv t.unit
def CategoryTheory.Bicategory.LeftExtension.whisker E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
CategoryTheory.Bicategory.LeftExtension f g →
{x : B} → (h : c ⟶ x) → CategoryTheory.Bicategory.LeftExtension f (CategoryTheory.CategoryStruct.comp g h)
Whisker a 1-morphism to an extension.
b
△ \
| \ extension △
f | \ | unit
| ◿
a - - - ▷ c - - - ▷ x
g h
theorem CategoryTheory.Bicategory.LeftExtension.whisker_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.LeftExtension f g) {x : B} (h : c ⟶ x),
(t.whisker h).extension = CategoryTheory.CategoryStruct.comp t.extension h
theorem CategoryTheory.Bicategory.LeftExtension.whisker_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.LeftExtension f g) {x : B} (h : c ⟶ x),
(t.whisker h).unit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight t.unit h)
(CategoryTheory.Bicategory.associator f t.extension h).hom
def CategoryTheory.Bicategory.LeftExtension.whiskering E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{x : B} →
(h : c ⟶ x) →
CategoryTheory.Functor (CategoryTheory.Bicategory.LeftExtension f g)
(CategoryTheory.Bicategory.LeftExtension f (CategoryTheory.CategoryStruct.comp g h))
Whiskering a 1-morphism is a functor.
theorem CategoryTheory.Bicategory.LeftExtension.whiskering_map E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c} {x : B} (h : c ⟶ x)
{X Y : CategoryTheory.Bicategory.LeftExtension f g} (η : X ⟶ Y),
(CategoryTheory.Bicategory.LeftExtension.whiskering h).map η =
CategoryTheory.Bicategory.LeftExtension.homMk
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.StructuredArrow.Hom.right η) h) ⋯
theorem CategoryTheory.Bicategory.LeftExtension.whiskering_obj E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c} {x : B} (h : c ⟶ x)
(t : CategoryTheory.Bicategory.LeftExtension f g),
(CategoryTheory.Bicategory.LeftExtension.whiskering h).obj t = t.whisker h
def CategoryTheory.Bicategory.LeftExtension.whiskerIdCancel E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(s :
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))) →
{t : CategoryTheory.Bicategory.LeftExtension f g} →
(s ⟶ t.whisker (CategoryTheory.CategoryStruct.id c)) → (s.ofCompId ⟶ t)
Define a morphism between left extensions by cancelling the whiskered identities.
theorem CategoryTheory.Bicategory.LeftExtension.whiskerIdCancel_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(s :
CategoryTheory.Bicategory.LeftExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c)))
{t : CategoryTheory.Bicategory.LeftExtension f g} (τ : s ⟶ t.whisker (CategoryTheory.CategoryStruct.id c)),
(s.whiskerIdCancel τ).right =
CategoryTheory.CategoryStruct.comp (CategoryTheory.StructuredArrow.Hom.right τ)
(CategoryTheory.Bicategory.rightUnitor t.extension).hom
def CategoryTheory.Bicategory.LeftExtension.whiskerHom E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.LeftExtension f g} →
(s ⟶ t) → {x : B} → (h : c ⟶ x) → s.whisker h ⟶ t.whisker h
Construct a morphism between whiskered extensions.
theorem CategoryTheory.Bicategory.LeftExtension.whiskerHom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (i : s ⟶ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.LeftExtension.whiskerHom i h).right =
CategoryTheory.Bicategory.whiskerRight (CategoryTheory.StructuredArrow.Hom.right i) h
def CategoryTheory.Bicategory.LeftExtension.whiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.LeftExtension f g} →
(s ≅ t) → {x : B} → (h : c ⟶ x) → s.whisker h ≅ t.whisker h
Construct an isomorphism between whiskered extensions.
theorem CategoryTheory.Bicategory.LeftExtension.whiskerIso_inv E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (i : s ≅ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.LeftExtension.whiskerIso i h).inv =
CategoryTheory.Bicategory.LeftExtension.whiskerHom i.inv h
theorem CategoryTheory.Bicategory.LeftExtension.whiskerIso_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.LeftExtension f g} (i : s ≅ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.LeftExtension.whiskerIso i h).hom =
CategoryTheory.Bicategory.LeftExtension.whiskerHom i.hom h
def CategoryTheory.Bicategory.LeftExtension.whiskerOfCompIdIsoSelf E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(t : CategoryTheory.Bicategory.LeftExtension f g) →
(t.whisker (CategoryTheory.CategoryStruct.id c)).ofCompId ≅ t
The isomorphism between left extensions induced by a right unitor.
theorem CategoryTheory.Bicategory.LeftExtension.whiskerOfCompIdIsoSelf_hom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.LeftExtension f g),
t.whiskerOfCompIdIsoSelf.hom.right = (CategoryTheory.Bicategory.rightUnitor t.extension).hom
theorem CategoryTheory.Bicategory.LeftExtension.whiskerOfCompIdIsoSelf_inv_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.LeftExtension f g),
t.whiskerOfCompIdIsoSelf.inv.right = (CategoryTheory.Bicategory.rightUnitor t.extension).inv
def CategoryTheory.Bicategory.LeftExtension.mapIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(f ≅ f') →
{g g' : a ⟶ c} →
(g ≅ g') → (CategoryTheory.Bicategory.LeftExtension f g ≌ CategoryTheory.Bicategory.LeftExtension f' g')
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', the induced equivalence between their
categories of left extensions.
abbrev CategoryTheory.Bicategory.LeftExtension.ofIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(f ≅ f') →
{g g' : a ⟶ c} →
(g ≅ g') → CategoryTheory.Bicategory.LeftExtension f g → CategoryTheory.Bicategory.LeftExtension f' g'
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', and a left extension
t : LeftExtension f g, the induced left extension t.ofIso : LeftExtension f' g'.
theorem CategoryTheory.Bicategory.LeftExtension.ofIso_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftExtension f g),
(CategoryTheory.Bicategory.LeftExtension.ofIso ef eg t).extension = t.extension
theorem CategoryTheory.Bicategory.LeftExtension.ofIso_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftExtension f g),
(CategoryTheory.Bicategory.LeftExtension.ofIso ef eg t).unit =
CategoryTheory.CategoryStruct.comp eg.inv
(CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerRight ef.hom t.extension))
def CategoryTheory.Bicategory.LeftExtension.whiskerOfIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(ef : f ≅ f') →
{g g' : a ⟶ c} →
(eg : g ≅ g') →
(t : CategoryTheory.Bicategory.LeftExtension f g) →
{x : B} →
(h : c ⟶ x) →
CategoryTheory.Bicategory.LeftExtension.ofIso ef (CategoryTheory.Bicategory.whiskerRightIso eg h)
(t.whisker h) ≅
(CategoryTheory.Bicategory.LeftExtension.ofIso ef eg t).whisker h
Whiskering commutes with LeftExtension.ofIso.
theorem CategoryTheory.Bicategory.LeftExtension.whiskerOfIso_hom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftExtension f g) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.LeftExtension.whiskerOfIso ef eg t h).hom.right =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp t.extension h)
theorem CategoryTheory.Bicategory.LeftExtension.whiskerOfIso_inv_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftExtension f g) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.LeftExtension.whiskerOfIso ef eg t h).inv.right =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp t.extension h)
def CategoryTheory.Bicategory.LeftExtension.paste E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{h : b ⟶ d} →
(t : CategoryTheory.Bicategory.LeftExtension f g) →
CategoryTheory.Bicategory.LeftExtension h t.extension →
CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.comp f h) g
Given a left extension t of g along f and a left extension s of t along h, we
obtain a left extension t.paste s of g along f ≫ h.
b d d
△ \ △ \ △ \
| \ t.ext | \ s.ext | \ paste.ext
f | ⇓ \ h | ⇓ \ f ≫ h | ⇓ \
| ◿ | ◿ | ◿
a - - - ▷ c b - - - ▷ c a - - - ▷ c
g t.ext g
theorem CategoryTheory.Bicategory.LeftExtension.paste_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : a ⟶ c} {h : b ⟶ d}
{t : CategoryTheory.Bicategory.LeftExtension f g} {s : CategoryTheory.Bicategory.LeftExtension h t.extension},
(t.paste s).extension = s.extension
theorem CategoryTheory.Bicategory.LeftExtension.paste_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : a ⟶ c} {h : b ⟶ d}
{t : CategoryTheory.Bicategory.LeftExtension f g} {s : CategoryTheory.Bicategory.LeftExtension h t.extension},
(t.paste s).unit =
CategoryTheory.CategoryStruct.comp t.unit
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f s.unit)
(CategoryTheory.Bicategory.associator f h s.extension).inv)
def CategoryTheory.Bicategory.LeftExtension.pasteWhiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{h : b ⟶ d} →
(t : CategoryTheory.Bicategory.LeftExtension f g) →
(s : CategoryTheory.Bicategory.LeftExtension h t.extension) →
{x : B} → (k : c ⟶ x) → (t.paste s).whisker k ≅ (t.whisker k).paste (s.whisker k)
Whiskering a pasted left extension is isomorphic to pasting the whiskered left extensions.
abbrev CategoryTheory.Bicategory.LeftLift E1 #
{B : Type u} → [inst : CategoryTheory.Bicategory B] → {a b c : B} → (b ⟶ a) → (c ⟶ a) → Type (max v w)
Triangle diagrams for (left) lifts.
b
◹ |
lift / | △
/ | f | unit
/ ▽
c - - - ▷ a
g
abbrev CategoryTheory.Bicategory.LeftLift.lift E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.LeftLift f g → (c ⟶ b)
The lift of g along f.
abbrev CategoryTheory.Bicategory.LeftLift.unit E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} → (t : CategoryTheory.Bicategory.LeftLift f g) → g ⟶ CategoryTheory.CategoryStruct.comp t.lift f
The 2-morphism filling the triangle diagram.
abbrev CategoryTheory.Bicategory.LeftLift.mk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(h : c ⟶ b) → (g ⟶ CategoryTheory.CategoryStruct.comp h f) → CategoryTheory.Bicategory.LeftLift f g
Construct a left lift from a 1-morphism and a 2-morphism.
abbrev CategoryTheory.Bicategory.LeftLift.homMk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.LeftLift f g} →
(η : s.lift ⟶ t.lift) →
autoParam
(CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerRight η f) = t.unit)
CategoryTheory.Bicategory.LeftLift.homMk._auto_1 →
(s ⟶ t)
To construct a morphism between left lifts, we need a 2-morphism between the lifts, and to check that it is compatible with the units.
theorem CategoryTheory.Bicategory.LeftLift.w_assoc E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (η : s ⟶ t) {Z : c ⟶ a}
(h : CategoryTheory.CategoryStruct.comp (CategoryTheory.StructuredArrow.right t) f ⟶ Z),
CategoryTheory.CategoryStruct.comp s.unit
(CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.StructuredArrow.Hom.right η) f) h) =
CategoryTheory.CategoryStruct.comp t.unit h
theorem CategoryTheory.Bicategory.LeftLift.w E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (η : s ⟶ t),
CategoryTheory.CategoryStruct.comp s.unit
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.StructuredArrow.Hom.right η) f) =
t.unit
theorem CategoryTheory.Bicategory.LeftLift.homMk_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (η : s.lift ⟶ t.lift)
(w : CategoryTheory.CategoryStruct.comp s.unit (CategoryTheory.Bicategory.whiskerRight η f) = t.unit),
CategoryTheory.StructuredArrow.Hom.right (CategoryTheory.Bicategory.LeftLift.homMk η w) = η
def CategoryTheory.Bicategory.LeftLift.alongId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → (g : c ⟶ a) → CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.id a) g
The left lift along the identity.
instance CategoryTheory.Bicategory.LeftLift.instInhabitedId E0 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → {g : c ⟶ a} → Inhabited (CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.id a) g)
def CategoryTheory.Bicategory.LeftLift.ofIdComp E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
CategoryTheory.Bicategory.LeftLift f
(CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g) →
CategoryTheory.Bicategory.LeftLift f g
Construct a left lift of g : c ⟶ a from a left lift of 𝟙 c ≫ g.
theorem CategoryTheory.Bicategory.LeftLift.ofIdComp_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.right = t.lift
theorem CategoryTheory.Bicategory.LeftLift.ofIdComp_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor g).inv t.unit
theorem CategoryTheory.Bicategory.LeftLift.ofIdComp_left_as E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.left.as = PUnit.unit
def CategoryTheory.Bicategory.LeftLift.whisker E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
CategoryTheory.Bicategory.LeftLift f g →
{x : B} → (h : x ⟶ c) → CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp h g)
Whisker a 1-morphism to a lift.
b
◹ |
lift / | △
/ | f | unit
/ ▽
x - - - ▷ c - - - ▷ a
h g
theorem CategoryTheory.Bicategory.LeftLift.whisker_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.LeftLift f g) {x : B} (h : x ⟶ c),
(t.whisker h).lift = CategoryTheory.CategoryStruct.comp h t.lift
theorem CategoryTheory.Bicategory.LeftLift.whisker_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.LeftLift f g) {x : B} (h : x ⟶ c),
(t.whisker h).unit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft h t.unit)
(CategoryTheory.Bicategory.associator h t.lift f).inv
def CategoryTheory.Bicategory.LeftLift.whiskering E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{x : B} →
(h : x ⟶ c) →
CategoryTheory.Functor (CategoryTheory.Bicategory.LeftLift f g)
(CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp h g))
Whiskering a 1-morphism is a functor.
theorem CategoryTheory.Bicategory.LeftLift.whiskering_map E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a} {x : B} (h : x ⟶ c)
{X Y : CategoryTheory.Bicategory.LeftLift f g} (η : X ⟶ Y),
(CategoryTheory.Bicategory.LeftLift.whiskering h).map η =
CategoryTheory.Bicategory.LeftLift.homMk
(CategoryTheory.Bicategory.whiskerLeft h (CategoryTheory.StructuredArrow.Hom.right η)) ⋯
theorem CategoryTheory.Bicategory.LeftLift.whiskering_obj E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a} {x : B} (h : x ⟶ c)
(t : CategoryTheory.Bicategory.LeftLift f g), (CategoryTheory.Bicategory.LeftLift.whiskering h).obj t = t.whisker h
def CategoryTheory.Bicategory.LeftLift.whiskerIdCancel E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(s :
CategoryTheory.Bicategory.LeftLift f
(CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)) →
{t : CategoryTheory.Bicategory.LeftLift f g} →
(s ⟶ t.whisker (CategoryTheory.CategoryStruct.id c)) → (s.ofIdComp ⟶ t)
Define a morphism between left lifts by cancelling the whiskered identities.
theorem CategoryTheory.Bicategory.LeftLift.whiskerIdCancel_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(s : CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g))
{t : CategoryTheory.Bicategory.LeftLift f g} (τ : s ⟶ t.whisker (CategoryTheory.CategoryStruct.id c)),
(s.whiskerIdCancel τ).right =
CategoryTheory.CategoryStruct.comp (CategoryTheory.StructuredArrow.Hom.right τ)
(CategoryTheory.Bicategory.leftUnitor t.lift).hom
def CategoryTheory.Bicategory.LeftLift.whiskerHom E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.LeftLift f g} → (s ⟶ t) → {x : B} → (h : x ⟶ c) → s.whisker h ⟶ t.whisker h
Construct a morphism between whiskered lifts.
theorem CategoryTheory.Bicategory.LeftLift.whiskerHom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (i : s ⟶ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.LeftLift.whiskerHom i h).right =
CategoryTheory.Bicategory.whiskerLeft h (CategoryTheory.StructuredArrow.Hom.right i)
def CategoryTheory.Bicategory.LeftLift.whiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.LeftLift f g} → (s ≅ t) → {x : B} → (h : x ⟶ c) → s.whisker h ≅ t.whisker h
Construct an isomorphism between whiskered lifts.
theorem CategoryTheory.Bicategory.LeftLift.whiskerIso_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (i : s ≅ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.LeftLift.whiskerIso i h).hom = CategoryTheory.Bicategory.LeftLift.whiskerHom i.hom h
theorem CategoryTheory.Bicategory.LeftLift.whiskerIso_inv E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.LeftLift f g} (i : s ≅ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.LeftLift.whiskerIso i h).inv = CategoryTheory.Bicategory.LeftLift.whiskerHom i.inv h
def CategoryTheory.Bicategory.LeftLift.whiskerOfIdCompIsoSelf E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(t : CategoryTheory.Bicategory.LeftLift f g) → (t.whisker (CategoryTheory.CategoryStruct.id c)).ofIdComp ≅ t
The isomorphism between left lifts induced by a left unitor.
theorem CategoryTheory.Bicategory.LeftLift.whiskerOfIdCompIsoSelf_hom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.LeftLift f g),
t.whiskerOfIdCompIsoSelf.hom.right = (CategoryTheory.Bicategory.leftUnitor t.lift).hom
theorem CategoryTheory.Bicategory.LeftLift.whiskerOfIdCompIsoSelf_inv_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.LeftLift f g),
t.whiskerOfIdCompIsoSelf.inv.right = (CategoryTheory.Bicategory.leftUnitor t.lift).inv
def CategoryTheory.Bicategory.LeftLift.mapIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(f ≅ f') →
{g g' : c ⟶ a} →
(g ≅ g') → (CategoryTheory.Bicategory.LeftLift f g ≌ CategoryTheory.Bicategory.LeftLift f' g')
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', the induced equivalence between their
categories of left lifts.
abbrev CategoryTheory.Bicategory.LeftLift.ofIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(f ≅ f') →
{g g' : c ⟶ a} → (g ≅ g') → CategoryTheory.Bicategory.LeftLift f g → CategoryTheory.Bicategory.LeftLift f' g'
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', and a left lift t : LeftLift f g, the
induced left lift t.ofIso : LeftLift f' g'.
theorem CategoryTheory.Bicategory.LeftLift.ofIso_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftLift f g),
(CategoryTheory.Bicategory.LeftLift.ofIso ef eg t).lift = t.lift
theorem CategoryTheory.Bicategory.LeftLift.ofIso_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftLift f g),
(CategoryTheory.Bicategory.LeftLift.ofIso ef eg t).unit =
CategoryTheory.CategoryStruct.comp eg.inv
(CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerLeft t.lift ef.hom))
def CategoryTheory.Bicategory.LeftLift.whiskerOfIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(ef : f ≅ f') →
{g g' : c ⟶ a} →
(eg : g ≅ g') →
(t : CategoryTheory.Bicategory.LeftLift f g) →
{x : B} →
(h : x ⟶ c) →
CategoryTheory.Bicategory.LeftLift.ofIso ef (CategoryTheory.Bicategory.whiskerLeftIso h eg)
(t.whisker h) ≅
(CategoryTheory.Bicategory.LeftLift.ofIso ef eg t).whisker h
Whiskering commutes with LeftLift.ofIso.
theorem CategoryTheory.Bicategory.LeftLift.whiskerOfIso_inv_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftLift f g) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.LeftLift.whiskerOfIso ef eg t h).inv.right =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp h t.lift)
theorem CategoryTheory.Bicategory.LeftLift.whiskerOfIso_hom_right E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.LeftLift f g) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.LeftLift.whiskerOfIso ef eg t h).hom.right =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp h t.lift)
def CategoryTheory.Bicategory.LeftLift.paste E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : b ⟶ a} →
{g : d ⟶ a} →
{h : c ⟶ b} →
(t : CategoryTheory.Bicategory.LeftLift f g) →
CategoryTheory.Bicategory.LeftLift h t.lift →
CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.comp h f) g
Given a left lift t of g along f and a left lift s of t along h, we obtain a
left lift t.paste s of g along h ≫ f.
b c c
◹ | ◹ | ◹ |
t.lift / | s.lift / | paste.lift / |
/ ⇑ | f / ⇑ | h / ⇑ | h ≫ f
/ ▽ / ▽ / ▽
d - - - ▷ a d - - - ▷ b d - - - ▷ a
g t.lift g
theorem CategoryTheory.Bicategory.LeftLift.paste_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : b ⟶ a} {g : d ⟶ a} {h : c ⟶ b}
{t : CategoryTheory.Bicategory.LeftLift f g} {s : CategoryTheory.Bicategory.LeftLift h t.lift},
(t.paste s).lift = s.lift
theorem CategoryTheory.Bicategory.LeftLift.paste_unit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : b ⟶ a} {g : d ⟶ a} {h : c ⟶ b}
{t : CategoryTheory.Bicategory.LeftLift f g} {s : CategoryTheory.Bicategory.LeftLift h t.lift},
(t.paste s).unit =
CategoryTheory.CategoryStruct.comp t.unit
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight s.unit f)
(CategoryTheory.Bicategory.associator s.lift h f).hom)
def CategoryTheory.Bicategory.LeftLift.pasteWhiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : b ⟶ a} →
{g : d ⟶ a} →
{h : c ⟶ b} →
(t : CategoryTheory.Bicategory.LeftLift f g) →
(s : CategoryTheory.Bicategory.LeftLift h t.lift) →
{x : B} → (k : x ⟶ d) → (t.paste s).whisker k ≅ (t.whisker k).paste (s.whisker k)
Whiskering a pasted left lift is isomorphic to pasting the whiskered left lifts.
abbrev CategoryTheory.Bicategory.RightExtension E1 #
{B : Type u} → [inst : CategoryTheory.Bicategory B] → {a b c : B} → (a ⟶ b) → (a ⟶ c) → Type (max v w)
Triangle diagrams for (right) extensions.
b
△ \
| \ extension | counit
f | \ ▽
| ◿
a - - - ▷ c
g
abbrev CategoryTheory.Bicategory.RightExtension.extension E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.RightExtension f g → (b ⟶ c)
The extension of g along f.
abbrev CategoryTheory.Bicategory.RightExtension.counit E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(t : CategoryTheory.Bicategory.RightExtension f g) → CategoryTheory.CategoryStruct.comp f t.extension ⟶ g
The 2-morphism filling the triangle diagram.
abbrev CategoryTheory.Bicategory.RightExtension.mk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(h : b ⟶ c) → (CategoryTheory.CategoryStruct.comp f h ⟶ g) → CategoryTheory.Bicategory.RightExtension f g
Construct a right extension from a 1-morphism and a 2-morphism.
abbrev CategoryTheory.Bicategory.RightExtension.homMk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.RightExtension f g} →
(η : s.extension ⟶ t.extension) →
autoParam
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η) t.counit = s.counit)
CategoryTheory.Bicategory.RightExtension.homMk._auto_1 →
(s ⟶ t)
To construct a morphism between right extensions, we need a 2-morphism between the extensions, and to check that it is compatible with the counits.
theorem CategoryTheory.Bicategory.RightExtension.w_assoc E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (η : s ⟶ t) {Z : a ⟶ c} (h : g ⟶ Z),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.CostructuredArrow.Hom.left η))
(CategoryTheory.CategoryStruct.comp t.counit h) =
CategoryTheory.CategoryStruct.comp s.counit h
theorem CategoryTheory.Bicategory.RightExtension.w E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (η : s ⟶ t),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.CostructuredArrow.Hom.left η)) t.counit =
s.counit
theorem CategoryTheory.Bicategory.RightExtension.homMk_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (η : s.extension ⟶ t.extension)
(w : CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η) t.counit = s.counit),
CategoryTheory.CostructuredArrow.Hom.left (CategoryTheory.Bicategory.RightExtension.homMk η w) = η
def CategoryTheory.Bicategory.RightExtension.alongId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → (g : a ⟶ c) → CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.id a) g
The right extension along the identity.
instance CategoryTheory.Bicategory.RightExtension.instInhabitedId E0 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} →
{g : a ⟶ c} → Inhabited (CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.id a) g)
def CategoryTheory.Bicategory.RightExtension.ofCompId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c)) →
CategoryTheory.Bicategory.RightExtension f g
Construct a right extension of g : a ⟶ c from a right extension of g ≫ 𝟙 c.
theorem CategoryTheory.Bicategory.RightExtension.ofCompId_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.hom = CategoryTheory.CategoryStruct.comp t.counit (CategoryTheory.Bicategory.rightUnitor g).hom
theorem CategoryTheory.Bicategory.RightExtension.ofCompId_right_as E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.right.as = PUnit.unit
theorem CategoryTheory.Bicategory.RightExtension.ofCompId_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))),
t.ofCompId.left = t.extension
def CategoryTheory.Bicategory.RightExtension.whisker E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
CategoryTheory.Bicategory.RightExtension f g →
{x : B} → (h : c ⟶ x) → CategoryTheory.Bicategory.RightExtension f (CategoryTheory.CategoryStruct.comp g h)
Whisker a 1-morphism to an extension.
b
△ \
| \ extension | counit
f | \ ▽
| ◿
a - - - ▷ c - - - ▷ x
g h
theorem CategoryTheory.Bicategory.RightExtension.whisker_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.RightExtension f g) {x : B} (h : c ⟶ x),
(t.whisker h).extension = CategoryTheory.CategoryStruct.comp t.extension h
theorem CategoryTheory.Bicategory.RightExtension.whisker_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.RightExtension f g) {x : B} (h : c ⟶ x),
(t.whisker h).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f t.extension h).inv
(CategoryTheory.Bicategory.whiskerRight t.counit h)
def CategoryTheory.Bicategory.RightExtension.whiskering E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{x : B} →
(h : c ⟶ x) →
CategoryTheory.Functor (CategoryTheory.Bicategory.RightExtension f g)
(CategoryTheory.Bicategory.RightExtension f (CategoryTheory.CategoryStruct.comp g h))
Whiskering a 1-morphism is a functor.
theorem CategoryTheory.Bicategory.RightExtension.whiskering_obj E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c} {x : B} (h : c ⟶ x)
(t : CategoryTheory.Bicategory.RightExtension f g),
(CategoryTheory.Bicategory.RightExtension.whiskering h).obj t = t.whisker h
theorem CategoryTheory.Bicategory.RightExtension.whiskering_map E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c} {x : B} (h : c ⟶ x)
{X Y : CategoryTheory.Bicategory.RightExtension f g} (η : X ⟶ Y),
(CategoryTheory.Bicategory.RightExtension.whiskering h).map η =
CategoryTheory.Bicategory.RightExtension.homMk
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CostructuredArrow.Hom.left η) h) ⋯
def CategoryTheory.Bicategory.RightExtension.whiskerIdCancel E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(t :
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c))) →
{s : CategoryTheory.Bicategory.RightExtension f g} →
(s.whisker (CategoryTheory.CategoryStruct.id c) ⟶ t) → (s ⟶ t.ofCompId)
Define a morphism between right extensions by cancelling the whiskered identities.
theorem CategoryTheory.Bicategory.RightExtension.whiskerIdCancel_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t :
CategoryTheory.Bicategory.RightExtension f
(CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id c)))
{s : CategoryTheory.Bicategory.RightExtension f g} (τ : s.whisker (CategoryTheory.CategoryStruct.id c) ⟶ t),
(t.whiskerIdCancel τ).left =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor s.extension).inv
(CategoryTheory.CostructuredArrow.Hom.left τ)
def CategoryTheory.Bicategory.RightExtension.whiskerHom E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.RightExtension f g} →
(s ⟶ t) → {x : B} → (h : c ⟶ x) → s.whisker h ⟶ t.whisker h
Construct a morphism between whiskered extensions.
theorem CategoryTheory.Bicategory.RightExtension.whiskerHom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (i : s ⟶ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.RightExtension.whiskerHom i h).left =
CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CostructuredArrow.Hom.left i) h
def CategoryTheory.Bicategory.RightExtension.whiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{s t : CategoryTheory.Bicategory.RightExtension f g} →
(s ≅ t) → {x : B} → (h : c ⟶ x) → s.whisker h ≅ t.whisker h
Construct an isomorphism between whiskered extensions.
theorem CategoryTheory.Bicategory.RightExtension.whiskerIso_inv E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (i : s ≅ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.RightExtension.whiskerIso i h).inv =
CategoryTheory.Bicategory.RightExtension.whiskerHom i.inv h
theorem CategoryTheory.Bicategory.RightExtension.whiskerIso_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
{s t : CategoryTheory.Bicategory.RightExtension f g} (i : s ≅ t) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.RightExtension.whiskerIso i h).hom =
CategoryTheory.Bicategory.RightExtension.whiskerHom i.hom h
def CategoryTheory.Bicategory.RightExtension.whiskerOfCompIdIsoSelf E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
(t : CategoryTheory.Bicategory.RightExtension f g) →
(t.whisker (CategoryTheory.CategoryStruct.id c)).ofCompId ≅ t
The isomorphism between right extensions induced by a right unitor.
theorem CategoryTheory.Bicategory.RightExtension.whiskerOfCompIdIsoSelf_inv_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.RightExtension f g),
t.whiskerOfCompIdIsoSelf.inv.left = (CategoryTheory.Bicategory.rightUnitor t.extension).inv
theorem CategoryTheory.Bicategory.RightExtension.whiskerOfCompIdIsoSelf_hom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
(t : CategoryTheory.Bicategory.RightExtension f g),
t.whiskerOfCompIdIsoSelf.hom.left = (CategoryTheory.Bicategory.rightUnitor t.extension).hom
def CategoryTheory.Bicategory.RightExtension.mapIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(f ≅ f') →
{g g' : a ⟶ c} →
(g ≅ g') → (CategoryTheory.Bicategory.RightExtension f g ≌ CategoryTheory.Bicategory.RightExtension f' g')
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', the induced equivalence between their
categories of right extensions.
abbrev CategoryTheory.Bicategory.RightExtension.ofIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(f ≅ f') →
{g g' : a ⟶ c} →
(g ≅ g') → CategoryTheory.Bicategory.RightExtension f g → CategoryTheory.Bicategory.RightExtension f' g'
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', and a right extension
t : RightExtension f g, the induced right extension t.ofIso : RightExtension f' g'.
theorem CategoryTheory.Bicategory.RightExtension.ofIso_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightExtension f g),
(CategoryTheory.Bicategory.RightExtension.ofIso ef eg t).extension = t.extension
theorem CategoryTheory.Bicategory.RightExtension.ofIso_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightExtension f g),
(CategoryTheory.Bicategory.RightExtension.ofIso ef eg t).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight ef.inv t.extension)
(CategoryTheory.CategoryStruct.comp t.counit eg.hom)
def CategoryTheory.Bicategory.RightExtension.whiskerOfIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : a ⟶ b} →
(ef : f ≅ f') →
{g g' : a ⟶ c} →
(eg : g ≅ g') →
(t : CategoryTheory.Bicategory.RightExtension f g) →
{x : B} →
(h : c ⟶ x) →
CategoryTheory.Bicategory.RightExtension.ofIso ef (CategoryTheory.Bicategory.whiskerRightIso eg h)
(t.whisker h) ≅
(CategoryTheory.Bicategory.RightExtension.ofIso ef eg t).whisker h
Whiskering commutes with RightExtension.ofIso.
theorem CategoryTheory.Bicategory.RightExtension.whiskerOfIso_hom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightExtension f g) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.RightExtension.whiskerOfIso ef eg t h).hom.left =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp t.extension h)
theorem CategoryTheory.Bicategory.RightExtension.whiskerOfIso_inv_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : a ⟶ b} (ef : f ≅ f') {g g' : a ⟶ c}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightExtension f g) {x : B} (h : c ⟶ x),
(CategoryTheory.Bicategory.RightExtension.whiskerOfIso ef eg t h).inv.left =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp t.extension h)
def CategoryTheory.Bicategory.RightExtension.paste E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{h : b ⟶ d} →
(t : CategoryTheory.Bicategory.RightExtension f g) →
CategoryTheory.Bicategory.RightExtension h t.extension →
CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.comp f h) g
Given a right extension t of g along f and a right extension s of t along h, we
obtain a right extension t.paste s of g along f ≫ h.
b d d
△ \ △ \ △ \
| \ t.ext | \ s.ext | \ paste.ext
f | ⇑ \ h | ⇑ \ f ≫ h | ⇑ \
| ◿ | ◿ | ◿
a - - - ▷ c b - - - ▷ c a - - - ▷ c
g t.ext g
theorem CategoryTheory.Bicategory.RightExtension.paste_extension E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : a ⟶ c} {h : b ⟶ d}
{t : CategoryTheory.Bicategory.RightExtension f g} {s : CategoryTheory.Bicategory.RightExtension h t.extension},
(t.paste s).extension = s.extension
theorem CategoryTheory.Bicategory.RightExtension.paste_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : a ⟶ c} {h : b ⟶ d}
{t : CategoryTheory.Bicategory.RightExtension f g} {s : CategoryTheory.Bicategory.RightExtension h t.extension},
(t.paste s).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f h s.extension).hom
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f s.counit) t.counit)
def CategoryTheory.Bicategory.RightExtension.pasteWhiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : a ⟶ b} →
{g : a ⟶ c} →
{h : b ⟶ d} →
(t : CategoryTheory.Bicategory.RightExtension f g) →
(s : CategoryTheory.Bicategory.RightExtension h t.extension) →
{x : B} → (k : c ⟶ x) → (t.paste s).whisker k ≅ (t.whisker k).paste (s.whisker k)
Whiskering a pasted right extension is isomorphic to pasting the whiskered right extensions.
abbrev CategoryTheory.Bicategory.RightLift E1 #
{B : Type u} → [inst : CategoryTheory.Bicategory B] → {a b c : B} → (b ⟶ a) → (c ⟶ a) → Type (max v w)
Triangle diagrams for (right) lifts.
b
◹ |
lift / | | counit
/ | f ▽
/ ▽
c - - - ▷ a
g
abbrev CategoryTheory.Bicategory.RightLift.lift E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.RightLift f g → (c ⟶ b)
The lift of g along f.
abbrev CategoryTheory.Bicategory.RightLift.counit E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} → (t : CategoryTheory.Bicategory.RightLift f g) → CategoryTheory.CategoryStruct.comp t.lift f ⟶ g
The 2-morphism filling the triangle diagram.
abbrev CategoryTheory.Bicategory.RightLift.mk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(h : c ⟶ b) → (CategoryTheory.CategoryStruct.comp h f ⟶ g) → CategoryTheory.Bicategory.RightLift f g
Construct a right lift from a 1-morphism and a 2-morphism.
abbrev CategoryTheory.Bicategory.RightLift.homMk E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.RightLift f g} →
(η : s.lift ⟶ t.lift) →
autoParam
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η f) t.counit = s.counit)
CategoryTheory.Bicategory.RightLift.homMk._auto_1 →
(s ⟶ t)
To construct a morphism between right lifts, we need a 2-morphism between the lifts, and to check that it is compatible with the counits.
theorem CategoryTheory.Bicategory.RightLift.w_assoc E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (η : s ⟶ t) {Z : c ⟶ a} (h : g ⟶ Z),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CostructuredArrow.Hom.left η) f)
(CategoryTheory.CategoryStruct.comp t.counit h) =
CategoryTheory.CategoryStruct.comp s.counit h
theorem CategoryTheory.Bicategory.RightLift.w E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (η : s ⟶ t),
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Bicategory.whiskerRight (CategoryTheory.CostructuredArrow.Hom.left η) f) t.counit =
s.counit
theorem CategoryTheory.Bicategory.RightLift.homMk_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (η : s.lift ⟶ t.lift)
(w : CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η f) t.counit = s.counit),
CategoryTheory.CostructuredArrow.Hom.left (CategoryTheory.Bicategory.RightLift.homMk η w) = η
def CategoryTheory.Bicategory.RightLift.alongId E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → (g : c ⟶ a) → CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.id a) g
The right lift along the identity.
instance CategoryTheory.Bicategory.RightLift.instInhabitedId E0 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a c : B} → {g : c ⟶ a} → Inhabited (CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.id a) g)
def CategoryTheory.Bicategory.RightLift.ofIdComp E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
CategoryTheory.Bicategory.RightLift f
(CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g) →
CategoryTheory.Bicategory.RightLift f g
Construct a right lift of g : c ⟶ a from a right lift of 𝟙 c ≫ g.
theorem CategoryTheory.Bicategory.RightLift.ofIdComp_right_as E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.right.as = PUnit.unit
theorem CategoryTheory.Bicategory.RightLift.ofIdComp_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.left = t.lift
theorem CategoryTheory.Bicategory.RightLift.ofIdComp_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)),
t.ofIdComp.hom = CategoryTheory.CategoryStruct.comp t.counit (CategoryTheory.Bicategory.leftUnitor g).hom
def CategoryTheory.Bicategory.RightLift.whisker E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
CategoryTheory.Bicategory.RightLift f g →
{x : B} → (h : x ⟶ c) → CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp h g)
Whisker a 1-morphism to a lift.
b
◹ |
lift / | | counit
/ | f ▽
/ ▽
x - - - ▷ c - - - ▷ a
h g
theorem CategoryTheory.Bicategory.RightLift.whisker_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.RightLift f g) {x : B} (h : x ⟶ c),
(t.whisker h).lift = CategoryTheory.CategoryStruct.comp h t.lift
theorem CategoryTheory.Bicategory.RightLift.whisker_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.RightLift f g) {x : B} (h : x ⟶ c),
(t.whisker h).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator h t.lift f).hom
(CategoryTheory.Bicategory.whiskerLeft h t.counit)
def CategoryTheory.Bicategory.RightLift.whiskering E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{x : B} →
(h : x ⟶ c) →
CategoryTheory.Functor (CategoryTheory.Bicategory.RightLift f g)
(CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp h g))
Whiskering a 1-morphism is a functor.
theorem CategoryTheory.Bicategory.RightLift.whiskering_map E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a} {x : B} (h : x ⟶ c)
{X Y : CategoryTheory.Bicategory.RightLift f g} (η : X ⟶ Y),
(CategoryTheory.Bicategory.RightLift.whiskering h).map η =
CategoryTheory.Bicategory.RightLift.homMk
(CategoryTheory.Bicategory.whiskerLeft h (CategoryTheory.CostructuredArrow.Hom.left η)) ⋯
theorem CategoryTheory.Bicategory.RightLift.whiskering_obj E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a} {x : B} (h : x ⟶ c)
(t : CategoryTheory.Bicategory.RightLift f g), (CategoryTheory.Bicategory.RightLift.whiskering h).obj t = t.whisker h
def CategoryTheory.Bicategory.RightLift.whiskerIdCancel E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(t :
CategoryTheory.Bicategory.RightLift f
(CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g)) →
{s : CategoryTheory.Bicategory.RightLift f g} →
(s.whisker (CategoryTheory.CategoryStruct.id c) ⟶ t) → (s ⟶ t.ofIdComp)
Define a morphism between right lifts by cancelling the whiskered identities.
theorem CategoryTheory.Bicategory.RightLift.whiskerIdCancel_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t :
CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id c) g))
{s : CategoryTheory.Bicategory.RightLift f g} (τ : s.whisker (CategoryTheory.CategoryStruct.id c) ⟶ t),
(t.whiskerIdCancel τ).left =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor s.lift).inv
(CategoryTheory.CostructuredArrow.Hom.left τ)
def CategoryTheory.Bicategory.RightLift.whiskerHom E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.RightLift f g} → (s ⟶ t) → {x : B} → (h : x ⟶ c) → s.whisker h ⟶ t.whisker h
Construct a morphism between whiskered lifts.
theorem CategoryTheory.Bicategory.RightLift.whiskerHom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (i : s ⟶ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.RightLift.whiskerHom i h).left =
CategoryTheory.Bicategory.whiskerLeft h (CategoryTheory.CostructuredArrow.Hom.left i)
def CategoryTheory.Bicategory.RightLift.whiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
{s t : CategoryTheory.Bicategory.RightLift f g} → (s ≅ t) → {x : B} → (h : x ⟶ c) → s.whisker h ≅ t.whisker h
Construct an isomorphism between whiskered lifts.
theorem CategoryTheory.Bicategory.RightLift.whiskerIso_inv E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (i : s ≅ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.RightLift.whiskerIso i h).inv = CategoryTheory.Bicategory.RightLift.whiskerHom i.inv h
theorem CategoryTheory.Bicategory.RightLift.whiskerIso_hom E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
{s t : CategoryTheory.Bicategory.RightLift f g} (i : s ≅ t) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.RightLift.whiskerIso i h).hom = CategoryTheory.Bicategory.RightLift.whiskerHom i.hom h
def CategoryTheory.Bicategory.RightLift.whiskerOfIdCompIsoSelf E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f : b ⟶ a} →
{g : c ⟶ a} →
(t : CategoryTheory.Bicategory.RightLift f g) → (t.whisker (CategoryTheory.CategoryStruct.id c)).ofIdComp ≅ t
The isomorphism between right lifts induced by a left unitor.
theorem CategoryTheory.Bicategory.RightLift.whiskerOfIdCompIsoSelf_hom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.RightLift f g),
t.whiskerOfIdCompIsoSelf.hom.left = (CategoryTheory.Bicategory.leftUnitor t.lift).hom
theorem CategoryTheory.Bicategory.RightLift.whiskerOfIdCompIsoSelf_inv_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
(t : CategoryTheory.Bicategory.RightLift f g),
t.whiskerOfIdCompIsoSelf.inv.left = (CategoryTheory.Bicategory.leftUnitor t.lift).inv
def CategoryTheory.Bicategory.RightLift.mapIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(f ≅ f') →
{g g' : c ⟶ a} →
(g ≅ g') → (CategoryTheory.Bicategory.RightLift f g ≌ CategoryTheory.Bicategory.RightLift f' g')
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', the induced equivalence between their
categories of right lifts.
abbrev CategoryTheory.Bicategory.RightLift.ofIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(f ≅ f') →
{g g' : c ⟶ a} →
(g ≅ g') → CategoryTheory.Bicategory.RightLift f g → CategoryTheory.Bicategory.RightLift f' g'
Given isomorphisms ef : f ≅ f' and eg : g ≅ g', and a right lift t : RightLift f g, the
induced right lift t.ofIso : RightLift f' g'.
theorem CategoryTheory.Bicategory.RightLift.ofIso_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightLift f g),
(CategoryTheory.Bicategory.RightLift.ofIso ef eg t).lift = t.lift
theorem CategoryTheory.Bicategory.RightLift.ofIso_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightLift f g),
(CategoryTheory.Bicategory.RightLift.ofIso ef eg t).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft t.lift ef.inv)
(CategoryTheory.CategoryStruct.comp t.counit eg.hom)
def CategoryTheory.Bicategory.RightLift.whiskerOfIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c : B} →
{f f' : b ⟶ a} →
(ef : f ≅ f') →
{g g' : c ⟶ a} →
(eg : g ≅ g') →
(t : CategoryTheory.Bicategory.RightLift f g) →
{x : B} →
(h : x ⟶ c) →
CategoryTheory.Bicategory.RightLift.ofIso ef (CategoryTheory.Bicategory.whiskerLeftIso h eg)
(t.whisker h) ≅
(CategoryTheory.Bicategory.RightLift.ofIso ef eg t).whisker h
Whiskering commutes with RightLift.ofIso.
theorem CategoryTheory.Bicategory.RightLift.whiskerOfIso_hom_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightLift f g) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.RightLift.whiskerOfIso ef eg t h).hom.left =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp h t.lift)
theorem CategoryTheory.Bicategory.RightLift.whiskerOfIso_inv_left E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f f' : b ⟶ a} (ef : f ≅ f') {g g' : c ⟶ a}
(eg : g ≅ g') (t : CategoryTheory.Bicategory.RightLift f g) {x : B} (h : x ⟶ c),
(CategoryTheory.Bicategory.RightLift.whiskerOfIso ef eg t h).inv.left =
CategoryTheory.CategoryStruct.id (CategoryTheory.CategoryStruct.comp h t.lift)
def CategoryTheory.Bicategory.RightLift.paste E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : b ⟶ a} →
{g : d ⟶ a} →
{h : c ⟶ b} →
(t : CategoryTheory.Bicategory.RightLift f g) →
CategoryTheory.Bicategory.RightLift h t.lift →
CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.comp h f) g
Given a right lift t of g along f and a right lift s of t along h, we obtain a
right lift t.paste s of g along h ≫ f.
b c c
◹ | ◹ | ◹ |
t.lift / | s.lift / | paste.lift / |
/ ⇓ | f / ⇓ | h / ⇓ | h ≫ f
/ ▽ / ▽ / ▽
d - - - ▷ a d - - - ▷ b d - - - ▷ a
g t.lift g
theorem CategoryTheory.Bicategory.RightLift.paste_lift E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : b ⟶ a} {g : d ⟶ a} {h : c ⟶ b}
{t : CategoryTheory.Bicategory.RightLift f g} {s : CategoryTheory.Bicategory.RightLift h t.lift},
(t.paste s).lift = s.lift
theorem CategoryTheory.Bicategory.RightLift.paste_counit E0 #
∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : b ⟶ a} {g : d ⟶ a} {h : c ⟶ b}
{t : CategoryTheory.Bicategory.RightLift f g} {s : CategoryTheory.Bicategory.RightLift h t.lift},
(t.paste s).counit =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator s.lift h f).inv
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight s.counit f) t.counit)
def CategoryTheory.Bicategory.RightLift.pasteWhiskerIso E1 #
{B : Type u} →
[inst : CategoryTheory.Bicategory B] →
{a b c d : B} →
{f : b ⟶ a} →
{g : d ⟶ a} →
{h : c ⟶ b} →
(t : CategoryTheory.Bicategory.RightLift f g) →
(s : CategoryTheory.Bicategory.RightLift h t.lift) →
{x : B} → (k : x ⟶ d) → (t.paste s).whisker k ≅ (t.whisker k).paste (s.whisker k)
Whiskering a pasted right lift is isomorphic to pasting the whiskered right lifts.