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.Kan.IsKan

112 declarations. Mathlib docs · Source

Kan extensions and Kan lifts in bicategories

The left Kan extension of a 1-morphism g : a ⟶ c along a 1-morphism f : a ⟶ b is the initial object in the category of left extensions LeftExtension f g. The universal property can be accessed by the following definition and lemmas:

  • LeftExtension.IsKan.desc: the family of 2-morphisms out of the left Kan extension.
  • LeftExtension.IsKan.fac: the unit of any left extension factors through the left Kan extension.
  • LeftExtension.IsKan.hom_ext: two 2-morphisms out of the left Kan extension are equal if their compositions with each unit are equal.

We also define left Kan lifts, right Kan extensions, and right Kan lifts.

Implementation notes

We use the Is-Has design pattern, which is used for the implementation of limits and colimits in the category theory library. This means that IsKan t is a structure containing the data of 2-morphisms which ensure that t is a Kan extension, while HasLeftKanExtension f g (and similarly for lifts) defined in CategoryTheory.Bicategory.Kan.HasKan is a Prop-valued typeclass asserting that a Kan extension of g along f exists.

We define LeftExtension.IsKan t for an extension t : LeftExtension f g (which is an abbreviation of t : StructuredArrow g (precomp _ f)) to be an abbreviation for StructuredArrow.IsUniversal t. This means that we can use the definitions and lemmas living in the namespace StructuredArrow.IsUniversal.

References

https://ncatlab.org/nlab/show/Kan+extension

abbrev CategoryTheory.Bicategory.LeftExtension.IsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.LeftExtension f g → Type (max (max v w) w)

A left Kan extension of g along f is an initial object in LeftExtension f g.

abbrev CategoryTheory.Bicategory.LeftExtension.IsAbsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.LeftExtension f g → Type (max (max u v) w)

An absolute left Kan extension is a Kan extension that commutes with any 1-morphism.

abbrev CategoryTheory.Bicategory.LeftExtension.IsKan.mk E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.LeftExtension f g} →
            (desc : (s : CategoryTheory.Bicategory.LeftExtension f g) → t ⟶ s) →
              (∀ (s : CategoryTheory.Bicategory.LeftExtension f g) (τ : t ⟶ s), τ = desc s) → t.IsKan

To show that a left extension t is a Kan extension, we need to show that for every left extension s there is a unique morphism t ⟶ s.

abbrev CategoryTheory.Bicategory.LeftExtension.IsKan.desc 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.IsKan → (s : CategoryTheory.Bicategory.LeftExtension f g) → t.extension ⟶ s.extension

The family of 2-morphisms out of a left Kan extension.

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.fac_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.LeftExtension f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.LeftExtension f g)
  {Z : a ⟶ c} (h : CategoryTheory.CategoryStruct.comp f s.extension ⟶ Z),
  CategoryTheory.CategoryStruct.comp t.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (H.desc s)) h) =
    CategoryTheory.CategoryStruct.comp s.unit h

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.fac E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.LeftExtension f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.LeftExtension f g),
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerLeft f (H.desc s)) = s.unit

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.hom_ext E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.LeftExtension f g} (H : t.IsKan) {k : b ⟶ c} {τ τ' : t.extension ⟶ k},
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerLeft f τ) =
      CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerLeft f τ') →
    τ = τ'

Two 2-morphisms out of a left Kan extension are equal if their compositions with each triangle 2-morphism are equal.

def CategoryTheory.Bicategory.LeftExtension.IsKan.uniqueUpToIso 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.IsKan → t.IsKan → (s ≅ t)

Kan extensions on g along f are unique up to isomorphism.

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.uniqueUpToIso_hom_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.StructuredArrow.Hom.right (P.uniqueUpToIso Q).hom = P.desc t

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.uniqueUpToIso_inv_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.StructuredArrow.Hom.right (P.uniqueUpToIso Q).inv = Q.desc s

def CategoryTheory.Bicategory.LeftExtension.IsKan.ofIsoKan 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.IsKan → (s ≅ t) → t.IsKan

Transport evidence that a left extension is a Kan extension across an isomorphism of extensions.

def CategoryTheory.Bicategory.LeftExtension.IsKan.ofCompId E1 #

{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.IsKan → t.ofCompId.IsKan

If t : LeftExtension f (g ≫ 𝟙 c) is a Kan extension, then t.ofCompId : LeftExtension f g is also a Kan extension.

def CategoryTheory.Bicategory.LeftExtension.IsKan.whiskerOfCommute 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).IsKan → (t.whisker h).IsKan

If s ≅ t and IsKan (s.whisker h), then IsKan (t.whisker h).

def CategoryTheory.Bicategory.LeftExtension.IsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.LeftExtension f g} →
            {f' : a ⟶ b} →
              {g' : a ⟶ c} →
                t.IsKan → (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.LeftExtension.ofIso ef eg t).IsKan

LeftExtension.ofIso preserves Kan extensions.

abbrev CategoryTheory.Bicategory.LeftExtension.IsAbsKan.desc 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.IsAbsKan →
              {x : B} →
                {h : c ⟶ x} →
                  (s : CategoryTheory.Bicategory.LeftExtension f (CategoryTheory.CategoryStruct.comp g h)) →
                    CategoryTheory.CategoryStruct.comp t.extension h ⟶ s.extension

The family of 2-morphisms out of an absolute left Kan extension.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.isKan 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.IsAbsKan → t.IsKan

An absolute left Kan extension is a left Kan extension.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.ofIsoAbsKan 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.IsAbsKan → (s ≅ t) → t.IsAbsKan

Transport evidence that a left extension is a Kan extension across an isomorphism of extensions.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.LeftExtension f g} →
            {f' : a ⟶ b} →
              {g' : a ⟶ c} →
                t.IsAbsKan →
                  (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.LeftExtension.ofIso ef eg t).IsAbsKan

LeftExtension.ofIso preserves absolute left Kan extensions.

def CategoryTheory.Bicategory.LeftExtension.IsKan.unpaste 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} →
              t.IsKan →
                CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.comp f h) g →
                  CategoryTheory.Bicategory.LeftExtension h t.extension

Given a left Kan extension t of g along f, a left extension u of g along f ≫ h induces, via the universal property of t, a left extension of t.extension along h.

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.unpaste_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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.comp f h) g),
  (Ht.unpaste u).extension = u.extension

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.unpaste_fac_assoc 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.comp f h) g) {Z : a ⟶ c}
  (h_1 : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp h (Ht.unpaste u).extension) ⟶ Z),
  CategoryTheory.CategoryStruct.comp t.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (Ht.unpaste u).unit) h_1) =
    CategoryTheory.CategoryStruct.comp u.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f h u.extension).hom h_1)

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.unpaste_fac 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftExtension (CategoryTheory.CategoryStruct.comp f h) g),
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerLeft f (Ht.unpaste u).unit) =
    CategoryTheory.CategoryStruct.comp u.unit (CategoryTheory.Bicategory.associator f h u.extension).hom

def CategoryTheory.Bicategory.LeftExtension.IsKan.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} →
              {s : CategoryTheory.Bicategory.LeftExtension h t.extension} → t.IsKan → s.IsKan → (t.paste s).IsKan

Pasting of left extensions preserves being Kan.

def CategoryTheory.Bicategory.LeftExtension.IsKan.ofPaste 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} → t.IsKan → (t.paste s).IsKan → s.IsKan

Given a left extension t of g along f and a left extension s of t along h, if t and t.paste s are Kan, then so is s.

def CategoryTheory.Bicategory.LeftExtension.isKanEquivIsKanPaste 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} → t.IsKan → s.IsKan ≃ (t.paste s).IsKan

Let t be a left Kan extension of g along f and s a left extension of t along h. Then s is Kan if and only if t.paste s is Kan.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.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} →
              {s : CategoryTheory.Bicategory.LeftExtension h t.extension} →
                t.IsAbsKan → s.IsAbsKan → (t.paste s).IsAbsKan

Pasting of left extensions preserves being absolute Kan.

def CategoryTheory.Bicategory.LeftExtension.IsAbsKan.ofPaste 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} →
                t.IsAbsKan → (t.paste s).IsAbsKan → s.IsAbsKan

Given a left extension t of g along f and a left extension s of t along h, if t and t.paste s are absolute Kan, then so is s.

def CategoryTheory.Bicategory.LeftExtension.isAbsKanEquivIsAbsKanPaste 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} →
                t.IsAbsKan → s.IsAbsKan ≃ (t.paste s).IsAbsKan

Let t be an absolute left Kan extension of g along f and s a left extension of t along h. Then s is absolute Kan if and only if t.paste s is absolute Kan.

abbrev CategoryTheory.Bicategory.LeftLift.IsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.LeftLift f g → Type (max (max v w) w)

A left Kan lift of g along f is an initial object in LeftLift f g.

abbrev CategoryTheory.Bicategory.LeftLift.IsAbsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.LeftLift f g → Type (max (max u v) w)

An absolute left Kan lift is a Kan lift such that every 1-morphism commutes with it.

abbrev CategoryTheory.Bicategory.LeftLift.IsKan.mk E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.LeftLift f g} →
            (desc : (s : CategoryTheory.Bicategory.LeftLift f g) → t ⟶ s) →
              (∀ (s : CategoryTheory.Bicategory.LeftLift f g) (τ : t ⟶ s), τ = desc s) → t.IsKan

To show that a left lift t is a Kan lift, we need to show that for every left lift s there is a unique morphism t ⟶ s.

abbrev CategoryTheory.Bicategory.LeftLift.IsKan.desc 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.IsKan → (s : CategoryTheory.Bicategory.LeftLift f g) → t.lift ⟶ s.lift

The family of 2-morphisms out of a left Kan lift.

theorem CategoryTheory.Bicategory.LeftLift.IsKan.fac_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.LeftLift f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.LeftLift f g) {Z : c ⟶ a}
  (h : CategoryTheory.CategoryStruct.comp s.lift f ⟶ Z),
  CategoryTheory.CategoryStruct.comp t.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (H.desc s) f) h) =
    CategoryTheory.CategoryStruct.comp s.unit h

theorem CategoryTheory.Bicategory.LeftLift.IsKan.fac E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.LeftLift f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.LeftLift f g),
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerRight (H.desc s) f) = s.unit

theorem CategoryTheory.Bicategory.LeftLift.IsKan.hom_ext E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.LeftLift f g} (H : t.IsKan) {k : c ⟶ b} {τ τ' : t.lift ⟶ k},
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerRight τ f) =
      CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerRight τ' f) →
    τ = τ'

Two 2-morphisms out of a left Kan lift are equal if their compositions with each triangle 2-morphism are equal.

def CategoryTheory.Bicategory.LeftLift.IsKan.uniqueUpToIso 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.IsKan → t.IsKan → (s ≅ t)

Kan lifts on g along f are unique up to isomorphism.

theorem CategoryTheory.Bicategory.LeftLift.IsKan.uniqueUpToIso_hom_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.StructuredArrow.Hom.right (P.uniqueUpToIso Q).hom = P.desc t

theorem CategoryTheory.Bicategory.LeftLift.IsKan.uniqueUpToIso_inv_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.StructuredArrow.Hom.right (P.uniqueUpToIso Q).inv = Q.desc s

def CategoryTheory.Bicategory.LeftLift.IsKan.ofIsoKan 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.IsKan → (s ≅ t) → t.IsKan

Transport evidence that a left lift is a Kan lift across an isomorphism of lifts.

def CategoryTheory.Bicategory.LeftLift.IsKan.ofIdComp E1 #

{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.IsKan → t.ofIdComp.IsKan

If t : LeftLift f (𝟙 c ≫ g) is a Kan lift, then t.ofIdComp : LeftLift f g is also a Kan lift.

def CategoryTheory.Bicategory.LeftLift.IsKan.whiskerOfCommute 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).IsKan → (t.whisker h).IsKan

If s ≅ t and IsKan (s.whisker h), then IsKan (t.whisker h).

def CategoryTheory.Bicategory.LeftLift.IsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.LeftLift f g} →
            {f' : b ⟶ a} →
              {g' : c ⟶ a} →
                t.IsKan → (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.LeftLift.ofIso ef eg t).IsKan

LeftLift.ofIso preserves Kan lifts.

abbrev CategoryTheory.Bicategory.LeftLift.IsAbsKan.desc 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.IsAbsKan →
              {x : B} →
                {h : x ⟶ c} →
                  (s : CategoryTheory.Bicategory.LeftLift f (CategoryTheory.CategoryStruct.comp h g)) →
                    CategoryTheory.CategoryStruct.comp h t.lift ⟶ s.lift

The family of 2-morphisms out of an absolute left Kan lift.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.isKan 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.IsAbsKan → t.IsKan

An absolute left Kan lift is a left Kan lift.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.ofIsoAbsKan 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.IsAbsKan → (s ≅ t) → t.IsAbsKan

Transport evidence that a left lift is a Kan lift across an isomorphism of lifts.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.LeftLift f g} →
            {f' : b ⟶ a} →
              {g' : c ⟶ a} →
                t.IsAbsKan → (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.LeftLift.ofIso ef eg t).IsAbsKan

LeftLift.ofIso preserves absolute left Kan lifts.

def CategoryTheory.Bicategory.LeftLift.IsKan.unpaste 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} →
              t.IsKan →
                CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.comp h f) g →
                  CategoryTheory.Bicategory.LeftLift h t.lift

Given a left Kan lift t of g along f, a left lift u of g along h ≫ f induces, via the universal property of t, a left lift of t.lift along h.

theorem CategoryTheory.Bicategory.LeftLift.IsKan.unpaste_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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.comp h f) g), (Ht.unpaste u).lift = u.lift

theorem CategoryTheory.Bicategory.LeftLift.IsKan.unpaste_fac_assoc 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.comp h f) g) {Z : d ⟶ a}
  (h_1 : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp (Ht.unpaste u).lift h) f ⟶ Z),
  CategoryTheory.CategoryStruct.comp t.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (Ht.unpaste u).unit f) h_1) =
    CategoryTheory.CategoryStruct.comp u.unit
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator u.lift h f).inv h_1)

theorem CategoryTheory.Bicategory.LeftLift.IsKan.unpaste_fac 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.LeftLift (CategoryTheory.CategoryStruct.comp h f) g),
  CategoryTheory.CategoryStruct.comp t.unit (CategoryTheory.Bicategory.whiskerRight (Ht.unpaste u).unit f) =
    CategoryTheory.CategoryStruct.comp u.unit (CategoryTheory.Bicategory.associator u.lift h f).inv

def CategoryTheory.Bicategory.LeftLift.IsKan.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} →
              {s : CategoryTheory.Bicategory.LeftLift h t.lift} → t.IsKan → s.IsKan → (t.paste s).IsKan

Pasting of left lifts preserves being Kan.

def CategoryTheory.Bicategory.LeftLift.IsKan.ofPaste 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} → t.IsKan → (t.paste s).IsKan → s.IsKan

Given a left lift t of g along f and a left lift s of t along h, if t and t.paste s are Kan, then so is s.

def CategoryTheory.Bicategory.LeftLift.isKanEquivIsKanPaste 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} → t.IsKan → s.IsKan ≃ (t.paste s).IsKan

Let t be a left Kan lift of g along f and s a left lift of t along h. Then s is Kan if and only if t.paste s is Kan.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.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} →
              {s : CategoryTheory.Bicategory.LeftLift h t.lift} → t.IsAbsKan → s.IsAbsKan → (t.paste s).IsAbsKan

Pasting of left lifts preserves being absolute Kan.

def CategoryTheory.Bicategory.LeftLift.IsAbsKan.ofPaste 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} → t.IsAbsKan → (t.paste s).IsAbsKan → s.IsAbsKan

Given a left lift t of g along f and a left lift s of t along h, if t and t.paste s are absolute Kan, then so is s.

def CategoryTheory.Bicategory.LeftLift.isAbsKanEquivIsAbsKanPaste 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} → t.IsAbsKan → s.IsAbsKan ≃ (t.paste s).IsAbsKan

Let t be an absolute left Kan lift of g along f and s a left lift of t along h. Then s is absolute Kan if and only if t.paste s is absolute Kan.

abbrev CategoryTheory.Bicategory.RightExtension.IsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.RightExtension f g → Type (max (max v w) w)

A right Kan extension of g along f is a terminal object in RightExtension f g.

abbrev CategoryTheory.Bicategory.RightExtension.IsAbsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : a ⟶ b} → {g : a ⟶ c} → CategoryTheory.Bicategory.RightExtension f g → Type (max (max u v) w)

An absolute right Kan extension is a Kan extension that commutes with any 1-morphism.

abbrev CategoryTheory.Bicategory.RightExtension.IsKan.mk E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.RightExtension f g} →
            (desc : (s : CategoryTheory.Bicategory.RightExtension f g) → s ⟶ t) →
              (∀ (s : CategoryTheory.Bicategory.RightExtension f g) (τ : s ⟶ t), τ = desc s) → t.IsKan

To show that a right extension t is a Kan extension, we need to show that for every right extension s there is a unique morphism s ⟶ t.

abbrev CategoryTheory.Bicategory.RightExtension.IsKan.desc 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.IsKan → (s : CategoryTheory.Bicategory.RightExtension f g) → s.extension ⟶ t.extension

The family of 2-morphisms into a right Kan extension.

theorem CategoryTheory.Bicategory.RightExtension.IsKan.fac_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.RightExtension f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.RightExtension f g)
  {Z : a ⟶ c} (h : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (H.desc s))
      (CategoryTheory.CategoryStruct.comp t.counit h) =
    CategoryTheory.CategoryStruct.comp s.counit h

theorem CategoryTheory.Bicategory.RightExtension.IsKan.fac E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.RightExtension f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.RightExtension f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (H.desc s)) t.counit = s.counit

theorem CategoryTheory.Bicategory.RightExtension.IsKan.hom_ext E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {t : CategoryTheory.Bicategory.RightExtension f g} (H : t.IsKan) {k : b ⟶ c} {τ τ' : k ⟶ t.extension},
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f τ) t.counit =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f τ') t.counit →
    τ = τ'

Two 2-morphisms into a right Kan extension are equal if their compositions with each triangle 2-morphism are equal.

def CategoryTheory.Bicategory.RightExtension.IsKan.uniqueUpToIso 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.IsKan → t.IsKan → (s ≅ t)

Kan extensions on g along f are unique up to isomorphism.

theorem CategoryTheory.Bicategory.RightExtension.IsKan.uniqueUpToIso_hom_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.CostructuredArrow.Hom.left (P.uniqueUpToIso Q).hom = Q.desc s

theorem CategoryTheory.Bicategory.RightExtension.IsKan.uniqueUpToIso_inv_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.CostructuredArrow.Hom.left (P.uniqueUpToIso Q).inv = P.desc t

def CategoryTheory.Bicategory.RightExtension.IsKan.ofIsoKan 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.IsKan → (s ≅ t) → t.IsKan

Transport evidence that a right extension is a Kan extension across an isomorphism of extensions.

def CategoryTheory.Bicategory.RightExtension.IsKan.ofCompId 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))) →
            t.IsKan → t.ofCompId.IsKan

If t : RightExtension f (g ≫ 𝟙 c) is a Kan extension, then t.ofCompId : RightExtension f g is also a Kan extension.

def CategoryTheory.Bicategory.RightExtension.IsKan.whiskerOfCommute 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).IsKan → (t.whisker h).IsKan

If s ≅ t and IsKan (s.whisker h), then IsKan (t.whisker h).

def CategoryTheory.Bicategory.RightExtension.IsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.RightExtension f g} →
            {f' : a ⟶ b} →
              {g' : a ⟶ c} →
                t.IsKan → (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.RightExtension.ofIso ef eg t).IsKan

RightExtension.ofIso preserves Kan extensions.

abbrev CategoryTheory.Bicategory.RightExtension.IsAbsKan.desc 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.IsAbsKan →
              {x : B} →
                {h : c ⟶ x} →
                  (s : CategoryTheory.Bicategory.RightExtension f (CategoryTheory.CategoryStruct.comp g h)) →
                    s.extension ⟶ CategoryTheory.CategoryStruct.comp t.extension h

The family of 2-morphisms into an absolute right Kan extension.

def CategoryTheory.Bicategory.RightExtension.IsAbsKan.isKan 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.IsAbsKan → t.IsKan

An absolute right Kan extension is a right Kan extension.

def CategoryTheory.Bicategory.RightExtension.IsAbsKan.ofIsoAbsKan 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.IsAbsKan → (s ≅ t) → t.IsAbsKan

Transport evidence that a right extension is a Kan extension across an isomorphism of extensions.

def CategoryTheory.Bicategory.RightExtension.IsAbsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          {t : CategoryTheory.Bicategory.RightExtension f g} →
            {f' : a ⟶ b} →
              {g' : a ⟶ c} →
                t.IsAbsKan →
                  (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.RightExtension.ofIso ef eg t).IsAbsKan

RightExtension.ofIso preserves absolute right Kan extensions.

def CategoryTheory.Bicategory.RightExtension.IsKan.unpaste 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} →
              t.IsKan →
                CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.comp f h) g →
                  CategoryTheory.Bicategory.RightExtension h t.extension

Given a right Kan extension t of g along f, a right extension u of g along f ≫ h induces, via the universal property of t, a right extension of t.extension along h.

theorem CategoryTheory.Bicategory.RightExtension.IsKan.unpaste_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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.comp f h) g),
  (Ht.unpaste u).extension = u.extension

theorem CategoryTheory.Bicategory.RightExtension.IsKan.unpaste_fac 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.comp f h) g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (Ht.unpaste u).counit) t.counit =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f h u.extension).inv u.counit

theorem CategoryTheory.Bicategory.RightExtension.IsKan.unpaste_fac_assoc 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightExtension (CategoryTheory.CategoryStruct.comp f h) g) {Z : a ⟶ c} (h_1 : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f (Ht.unpaste u).counit)
      (CategoryTheory.CategoryStruct.comp t.counit h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f h u.extension).inv
      (CategoryTheory.CategoryStruct.comp u.counit h_1)

def CategoryTheory.Bicategory.RightExtension.IsKan.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} →
              {s : CategoryTheory.Bicategory.RightExtension h t.extension} → t.IsKan → s.IsKan → (t.paste s).IsKan

Pasting of right extensions preserves being Kan.

def CategoryTheory.Bicategory.RightExtension.IsKan.ofPaste 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} → t.IsKan → (t.paste s).IsKan → s.IsKan

Given a right extension t of g along f and a right extension s of t along h, if t and t.paste s are Kan, then so is s.

def CategoryTheory.Bicategory.RightExtension.isKanEquivIsKanPaste 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} → t.IsKan → s.IsKan ≃ (t.paste s).IsKan

Let t be a right Kan extension of g along f and s a right extension of t along h. Then s is Kan if and only if t.paste s is Kan.

def CategoryTheory.Bicategory.RightExtension.IsAbsKan.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} →
              {s : CategoryTheory.Bicategory.RightExtension h t.extension} →
                t.IsAbsKan → s.IsAbsKan → (t.paste s).IsAbsKan

Pasting of right extensions preserves being absolute Kan.

def CategoryTheory.Bicategory.RightExtension.IsAbsKan.ofPaste 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} →
                t.IsAbsKan → (t.paste s).IsAbsKan → s.IsAbsKan

Given a right extension t of g along f and a right extension s of t along h, if t and t.paste s are absolute Kan, then so is s.

def CategoryTheory.Bicategory.RightExtension.isAbsKanEquivIsAbsKanPaste 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} →
                t.IsAbsKan → s.IsAbsKan ≃ (t.paste s).IsAbsKan

Let t be an absolute right Kan extension of g along f and s a right extension of t along h. Then s is absolute Kan if and only if t.paste s is absolute Kan.

abbrev CategoryTheory.Bicategory.RightLift.IsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.RightLift f g → Type (max (max v w) w)

A right Kan lift of g along f is a terminal object in RightLift f g.

abbrev CategoryTheory.Bicategory.RightLift.IsAbsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → {f : b ⟶ a} → {g : c ⟶ a} → CategoryTheory.Bicategory.RightLift f g → Type (max (max u v) w)

An absolute right Kan lift is a Kan lift such that every 1-morphism commutes with it.

abbrev CategoryTheory.Bicategory.RightLift.IsKan.mk E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.RightLift f g} →
            (desc : (s : CategoryTheory.Bicategory.RightLift f g) → s ⟶ t) →
              (∀ (s : CategoryTheory.Bicategory.RightLift f g) (τ : s ⟶ t), τ = desc s) → t.IsKan

To show that a right lift t is a Kan lift, we need to show that for every right lift s there is a unique morphism s ⟶ t.

abbrev CategoryTheory.Bicategory.RightLift.IsKan.desc 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.IsKan → (s : CategoryTheory.Bicategory.RightLift f g) → s.lift ⟶ t.lift

The family of 2-morphisms into a right Kan lift.

theorem CategoryTheory.Bicategory.RightLift.IsKan.fac_assoc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.RightLift f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.RightLift f g) {Z : c ⟶ a}
  (h : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (H.desc s) f)
      (CategoryTheory.CategoryStruct.comp t.counit h) =
    CategoryTheory.CategoryStruct.comp s.counit h

theorem CategoryTheory.Bicategory.RightLift.IsKan.fac E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.RightLift f g} (H : t.IsKan) (s : CategoryTheory.Bicategory.RightLift f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (H.desc s) f) t.counit = s.counit

theorem CategoryTheory.Bicategory.RightLift.IsKan.hom_ext E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {t : CategoryTheory.Bicategory.RightLift f g} (H : t.IsKan) {k : c ⟶ b} {τ τ' : k ⟶ t.lift},
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight τ f) t.counit =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight τ' f) t.counit →
    τ = τ'

Two 2-morphisms into a right Kan lift are equal if their compositions with each triangle 2-morphism are equal.

def CategoryTheory.Bicategory.RightLift.IsKan.uniqueUpToIso 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.IsKan → t.IsKan → (s ≅ t)

Kan lifts on g along f are unique up to isomorphism.

theorem CategoryTheory.Bicategory.RightLift.IsKan.uniqueUpToIso_hom_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.CostructuredArrow.Hom.left (P.uniqueUpToIso Q).hom = Q.desc s

theorem CategoryTheory.Bicategory.RightLift.IsKan.uniqueUpToIso_inv_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} (P : s.IsKan) (Q : t.IsKan),
  CategoryTheory.CostructuredArrow.Hom.left (P.uniqueUpToIso Q).inv = P.desc t

def CategoryTheory.Bicategory.RightLift.IsKan.ofIsoKan 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.IsKan → (s ≅ t) → t.IsKan

Transport evidence that a right lift is a Kan lift across an isomorphism of lifts.

def CategoryTheory.Bicategory.RightLift.IsKan.ofIdComp 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)) →
            t.IsKan → t.ofIdComp.IsKan

If t : RightLift f (𝟙 c ≫ g) is a Kan lift, then t.ofIdComp : RightLift f g is also a Kan lift.

def CategoryTheory.Bicategory.RightLift.IsKan.whiskerOfCommute 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).IsKan → (t.whisker h).IsKan

If s ≅ t and IsKan (s.whisker h), then IsKan (t.whisker h).

def CategoryTheory.Bicategory.RightLift.IsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.RightLift f g} →
            {f' : b ⟶ a} →
              {g' : c ⟶ a} →
                t.IsKan → (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.RightLift.ofIso ef eg t).IsKan

RightLift.ofIso preserves Kan lifts.

abbrev CategoryTheory.Bicategory.RightLift.IsAbsKan.desc 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.IsAbsKan →
              {x : B} →
                {h : x ⟶ c} →
                  (s : CategoryTheory.Bicategory.RightLift f (CategoryTheory.CategoryStruct.comp h g)) →
                    s.lift ⟶ CategoryTheory.CategoryStruct.comp h t.lift

The family of 2-morphisms into an absolute right Kan lift.

def CategoryTheory.Bicategory.RightLift.IsAbsKan.isKan 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.IsAbsKan → t.IsKan

An absolute right Kan lift is a right Kan lift.

def CategoryTheory.Bicategory.RightLift.IsAbsKan.ofIsoAbsKan 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.IsAbsKan → (s ≅ t) → t.IsAbsKan

Transport evidence that a right lift is a Kan lift across an isomorphism of lifts.

def CategoryTheory.Bicategory.RightLift.IsAbsKan.ofIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          {t : CategoryTheory.Bicategory.RightLift f g} →
            {f' : b ⟶ a} →
              {g' : c ⟶ a} →
                t.IsAbsKan →
                  (ef : f ≅ f') → (eg : g ≅ g') → (CategoryTheory.Bicategory.RightLift.ofIso ef eg t).IsAbsKan

RightLift.ofIso preserves absolute right Kan lifts.

def CategoryTheory.Bicategory.RightLift.IsKan.unpaste 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} →
              t.IsKan →
                CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.comp h f) g →
                  CategoryTheory.Bicategory.RightLift h t.lift

Given a right Kan lift t of g along f, a right lift u of g along h ≫ f induces, via the universal property of t, a right lift of t.lift along h.

theorem CategoryTheory.Bicategory.RightLift.IsKan.unpaste_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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.comp h f) g), (Ht.unpaste u).lift = u.lift

theorem CategoryTheory.Bicategory.RightLift.IsKan.unpaste_fac_assoc 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.comp h f) g) {Z : d ⟶ a} (h_1 : g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (Ht.unpaste u).counit f)
      (CategoryTheory.CategoryStruct.comp t.counit h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator u.lift h f).hom
      (CategoryTheory.CategoryStruct.comp u.counit h_1)

theorem CategoryTheory.Bicategory.RightLift.IsKan.unpaste_fac 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} (Ht : t.IsKan)
  (u : CategoryTheory.Bicategory.RightLift (CategoryTheory.CategoryStruct.comp h f) g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight (Ht.unpaste u).counit f) t.counit =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator u.lift h f).hom u.counit

def CategoryTheory.Bicategory.RightLift.IsKan.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} →
              {s : CategoryTheory.Bicategory.RightLift h t.lift} → t.IsKan → s.IsKan → (t.paste s).IsKan

Pasting of right lifts preserves being Kan.

def CategoryTheory.Bicategory.RightLift.IsKan.ofPaste 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} → t.IsKan → (t.paste s).IsKan → s.IsKan

Given a right lift t of g along f and a right lift s of t along h, if t and t.paste s are Kan, then so is s.

def CategoryTheory.Bicategory.RightLift.isKanEquivIsKanPaste 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} → t.IsKan → s.IsKan ≃ (t.paste s).IsKan

Let t be a right Kan lift of g along f and s a right lift of t along h. Then s is Kan if and only if t.paste s is Kan.

def CategoryTheory.Bicategory.RightLift.IsAbsKan.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} →
              {s : CategoryTheory.Bicategory.RightLift h t.lift} → t.IsAbsKan → s.IsAbsKan → (t.paste s).IsAbsKan

Pasting of right lifts preserves being absolute Kan.

def CategoryTheory.Bicategory.RightLift.IsAbsKan.ofPaste 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} → t.IsAbsKan → (t.paste s).IsAbsKan → s.IsAbsKan

Given a right lift t of g along f and a right lift s of t along h, if t and t.paste s are absolute Kan, then so is s.

def CategoryTheory.Bicategory.RightLift.isAbsKanEquivIsAbsKanPaste 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} → t.IsAbsKan → s.IsAbsKan ≃ (t.paste s).IsAbsKan

Let t be an absolute right Kan lift of g along f and s a right lift of t along h. Then s is absolute Kan if and only if t.paste s is absolute Kan.