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

78 declarations. Mathlib docs · Source

Existence of Kan extensions and Kan lifts in bicategories

We provide the propositional typeclass HasLeftKanExtension f g, which asserts that there exists a left Kan extension of g along f. See CategoryTheory.Bicategory.Kan.IsKan for the definition of left Kan extensions. Under the assumption that HasLeftKanExtension f g, we define the left Kan extension lan f g by using the axiom of choice.

Main definitions

  • lan f g is the left Kan extension of g along f, and is denoted by f⁺ g.
  • lanLift f g is the left Kan lift of g along f, and is denoted by f₊ g.

These notations are inspired by [M. Kashiwara, P. Schapira, Categories and Sheaves][Kashiwara2006].

TODO

  • ran f g is the right Kan extension of g along f, and is denoted by f⁺⁺ g.
  • ranLift f g is the right Kan lift of g along f, and is denoted by f₊₊ g.

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.isKan.congr_simp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  CategoryTheory.Bicategory.LanLift.CommuteWith.isKan f g h = CategoryTheory.Bicategory.LanLift.CommuteWith.isKan f g h

theorem CategoryTheory.Bicategory.lan.congr_simp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f f_1 : a ⟶ b) (e_f : f = f_1) (g g_1 : a ⟶ c)
  (e_g : g = g_1) [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  CategoryTheory.Bicategory.lan f g = CategoryTheory.Bicategory.lan f_1 g_1

theorem CategoryTheory.Bicategory.Lan.CommuteWith.isKan.congr_simp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  CategoryTheory.Bicategory.Lan.CommuteWith.isKan f g h = CategoryTheory.Bicategory.Lan.CommuteWith.isKan f g h

theorem CategoryTheory.Bicategory.lanLift.congr_simp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f f_1 : b ⟶ a) (e_f : f = f_1) (g g_1 : c ⟶ a)
  (e_g : g = g_1) [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g],
  CategoryTheory.Bicategory.lanLift f g = CategoryTheory.Bicategory.lanLift f_1 g_1

class CategoryTheory.Bicategory.HasLeftKanExtension E1 #

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

The existence of a left Kan extension of g along f.

ctor CategoryTheory.Bicategory.HasLeftKanExtension.mk E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c},
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftExtension f g) →
    CategoryTheory.Bicategory.HasLeftKanExtension f g

theorem CategoryTheory.Bicategory.HasLeftKanExtension.hasInitial E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [self : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftExtension f g)

theorem CategoryTheory.Bicategory.LeftExtension.IsKan.hasLeftKanExtension 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), CategoryTheory.Bicategory.HasLeftKanExtension f g

instance CategoryTheory.Bicategory.instHasInitialLeftExtensionOfHasLeftKanExtension E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [CategoryTheory.Bicategory.HasLeftKanExtension f g],
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftExtension f g)

def CategoryTheory.Bicategory.lanLeftExtension E1 #

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

The left Kan extension of g along f at the level of structured arrows.

def CategoryTheory.Bicategory.lan E1 #

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

The left Kan extension of g along f.

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

Lean.TrailingParserDescr

f⁺ g is the left Kan extension of g along f.

  b
  △ \
  |   \ f⁺ g
f |     \
  |       ◿
  a - - - ▷ c
      g

theorem CategoryTheory.Bicategory.lanLeftExtension_extension E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  (CategoryTheory.Bicategory.lanLeftExtension f g).extension = CategoryTheory.Bicategory.lan f g

def CategoryTheory.Bicategory.lanUnit E1 #

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

The unit for the left Kan extension f⁺ g.

theorem CategoryTheory.Bicategory.lanLeftExtension_unit E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  (CategoryTheory.Bicategory.lanLeftExtension f g).unit = CategoryTheory.Bicategory.lanUnit f g

def CategoryTheory.Bicategory.lanIsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : a ⟶ c) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            (CategoryTheory.Bicategory.lanLeftExtension f g).IsKan

Evidence that lanLeftExtension f g is a Kan extension.

def CategoryTheory.Bicategory.lanDesc E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : a ⟶ b} →
        {g : a ⟶ c} →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            (s : CategoryTheory.Bicategory.LeftExtension f g) → CategoryTheory.Bicategory.lan f g ⟶ s.extension

The family of 2-morphisms out of the left Kan extension f⁺ g.

theorem CategoryTheory.Bicategory.lanUnit_desc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] (s : CategoryTheory.Bicategory.LeftExtension f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanUnit f g)
      (CategoryTheory.Bicategory.whiskerLeft f (CategoryTheory.Bicategory.lanDesc s)) =
    s.unit

theorem CategoryTheory.Bicategory.lanUnit_desc_assoc E0 #

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

theorem CategoryTheory.Bicategory.lanIsKan_desc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] (s : CategoryTheory.Bicategory.LeftExtension f g),
  (CategoryTheory.Bicategory.lanIsKan f g).desc s = CategoryTheory.Bicategory.lanDesc s

theorem CategoryTheory.Bicategory.Lan.existsUnique E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] (s : CategoryTheory.Bicategory.LeftExtension f g),
  ∃! τ,
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanUnit f g)
        (CategoryTheory.Bicategory.whiskerLeft f τ) =
      s.unit

class CategoryTheory.Bicategory.Lan.CommuteWith E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) → (g : a ⟶ c) → [CategoryTheory.Bicategory.HasLeftKanExtension f g] → {x : B} → (c ⟶ x) → Prop

We say that a 1-morphism h commutes with the left Kan extension f⁺ g if the whiskered left extension for f⁺ g by h is a Kan extension of g ≫ h along f.

ctor CategoryTheory.Bicategory.Lan.CommuteWith.mk E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} {h : c ⟶ x},
  Nonempty ((CategoryTheory.Bicategory.lanLeftExtension f g).whisker h).IsKan →
    CategoryTheory.Bicategory.Lan.CommuteWith f g h

theorem CategoryTheory.Bicategory.Lan.CommuteWith.commute E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  {inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g} {x : B} {h : c ⟶ x}
  [self : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  Nonempty ((CategoryTheory.Bicategory.lanLeftExtension f g).whisker h).IsKan

theorem CategoryTheory.Bicategory.Lan.CommuteWith.of_isKan_whisker E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] (t : CategoryTheory.Bicategory.LeftExtension f g) {x : B}
  (h : c ⟶ x) (H : (t.whisker h).IsKan) (i : t.whisker h ≅ (CategoryTheory.Bicategory.lanLeftExtension f g).whisker h),
  CategoryTheory.Bicategory.Lan.CommuteWith f g h

theorem CategoryTheory.Bicategory.Lan.CommuteWith.of_lan_comp_iso E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} {h : c ⟶ x}
  [inst_2 : CategoryTheory.Bicategory.HasLeftKanExtension f (CategoryTheory.CategoryStruct.comp g h)]
  (i :
    CategoryTheory.Bicategory.lan f (CategoryTheory.CategoryStruct.comp g h) ≅
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lan f g) h),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanUnit f (CategoryTheory.CategoryStruct.comp g h))
        (CategoryTheory.Bicategory.whiskerLeft f i.hom) =
      CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.lanUnit f g) h)
        (CategoryTheory.Bicategory.associator f (CategoryTheory.Bicategory.lan f g) h).hom →
    CategoryTheory.Bicategory.Lan.CommuteWith f g h

def CategoryTheory.Bicategory.Lan.CommuteWith.isKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : a ⟶ c) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            {x : B} →
              (h : c ⟶ x) →
                [CategoryTheory.Bicategory.Lan.CommuteWith f g h] →
                  ((CategoryTheory.Bicategory.lanLeftExtension f g).whisker h).IsKan

Evidence that h commutes with the left Kan extension f⁺ g.

instance CategoryTheory.Bicategory.Lan.CommuteWith.instHasLeftKanExtensionComp E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  CategoryTheory.Bicategory.HasLeftKanExtension f (CategoryTheory.CategoryStruct.comp g h)

def CategoryTheory.Bicategory.Lan.CommuteWith.isKanWhisker E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : a ⟶ c) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            (t : CategoryTheory.Bicategory.LeftExtension f g) →
              t.IsKan → {x : B} → (h : c ⟶ x) → [CategoryTheory.Bicategory.Lan.CommuteWith f g h] → (t.whisker h).IsKan

If h commutes with f⁺ g and t is another left Kan extension of g along f, then t.whisker h is a left Kan extension of g ≫ h along f.

def CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIsoWhisker E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : a ⟶ c) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            {x : B} →
              (h : c ⟶ x) →
                [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h] →
                  CategoryTheory.Bicategory.lanLeftExtension f (CategoryTheory.CategoryStruct.comp g h) ≅
                    (CategoryTheory.Bicategory.lanLeftExtension f g).whisker h

The isomorphism f⁺ (g ≫ h) ≅ f⁺ g ≫ h at the level of structured arrows.

theorem CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIsoWhisker_hom_right E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  CategoryTheory.StructuredArrow.Hom.right (CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIsoWhisker f g h).hom =
    CategoryTheory.Bicategory.lanDesc ((CategoryTheory.Bicategory.lanLeftExtension f g).whisker h)

theorem CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIsoWhisker_inv_right E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  CategoryTheory.StructuredArrow.Hom.right (CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIsoWhisker f g h).inv =
    (CategoryTheory.Bicategory.Lan.CommuteWith.isKan f g h).desc
      (CategoryTheory.Bicategory.lanLeftExtension f (CategoryTheory.CategoryStruct.comp g h))

def CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : a ⟶ b) →
        (g : a ⟶ c) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] →
            {x : B} →
              (h : c ⟶ x) →
                [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h] →
                  CategoryTheory.Bicategory.lan f (CategoryTheory.CategoryStruct.comp g h) ≅
                    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lan f g) h

The 1-morphism h commutes with the left Kan extension f⁺ g.

theorem CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIso_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  (CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIso f g h).inv =
    (CategoryTheory.Bicategory.Lan.CommuteWith.isKan f g h).desc
      (CategoryTheory.Bicategory.lanLeftExtension f (CategoryTheory.CategoryStruct.comp g h))

theorem CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIso_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) (g : a ⟶ c)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanExtension f g] {x : B} (h : c ⟶ x)
  [inst_2 : CategoryTheory.Bicategory.Lan.CommuteWith f g h],
  (CategoryTheory.Bicategory.Lan.CommuteWith.lanCompIso f g h).hom =
    CategoryTheory.Bicategory.lanDesc ((CategoryTheory.Bicategory.lanLeftExtension f g).whisker h)

class CategoryTheory.Bicategory.HasAbsLeftKanExtension E1 #

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

We say that there exists an absolute left Kan extension of g along f if any 1-morphism h commutes with the left Kan extension f⁺ g.

instance CategoryTheory.Bicategory.HasAbsLeftKanExtension.toHasLeftKanExtension E0 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [self : CategoryTheory.Bicategory.HasAbsLeftKanExtension f g], CategoryTheory.Bicategory.HasLeftKanExtension f g

ctor CategoryTheory.Bicategory.HasAbsLeftKanExtension.mk E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [toHasLeftKanExtension : CategoryTheory.Bicategory.HasLeftKanExtension f g],
  (∀ {x : B} (h : c ⟶ x), CategoryTheory.Bicategory.Lan.CommuteWith f g h) →
    CategoryTheory.Bicategory.HasAbsLeftKanExtension f g

theorem CategoryTheory.Bicategory.HasAbsLeftKanExtension.commute E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [self : CategoryTheory.Bicategory.HasAbsLeftKanExtension f g] {x : B} (h : c ⟶ x),
  CategoryTheory.Bicategory.Lan.CommuteWith f g h

instance CategoryTheory.Bicategory.instCommuteWith E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g : a ⟶ c}
  [inst_1 : CategoryTheory.Bicategory.HasAbsLeftKanExtension f g] {x : B} (h : c ⟶ x),
  CategoryTheory.Bicategory.Lan.CommuteWith f g h

theorem CategoryTheory.Bicategory.LeftExtension.IsAbsKan.hasAbsLeftKanExtension 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.IsAbsKan),
  CategoryTheory.Bicategory.HasAbsLeftKanExtension f g

class CategoryTheory.Bicategory.HasLeftKanLift E1 #

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

The existence of a left Kan lift of g along f.

ctor CategoryTheory.Bicategory.HasLeftKanLift.mk' E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a},
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftLift f g) →
    CategoryTheory.Bicategory.HasLeftKanLift f g

theorem CategoryTheory.Bicategory.HasLeftKanLift.hasInitial E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [self : CategoryTheory.Bicategory.HasLeftKanLift f g],
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftLift f g)

theorem CategoryTheory.Bicategory.LeftLift.IsKan.hasLeftKanLift 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), CategoryTheory.Bicategory.HasLeftKanLift f g

instance CategoryTheory.Bicategory.instHasInitialLeftLiftOfHasLeftKanLift E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [CategoryTheory.Bicategory.HasLeftKanLift f g],
  CategoryTheory.Limits.HasInitial (CategoryTheory.Bicategory.LeftLift f g)

def CategoryTheory.Bicategory.lanLiftLeftLift E1 #

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

The left Kan lift of g along f at the level of structured arrows.

def CategoryTheory.Bicategory.lanLift E1 #

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

The left Kan lift of g along f.

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

Lean.TrailingParserDescr

f₊ g is the left Kan lift of g along f.

            b
          ◹ |
   f₊ g /   |
      /     | f
    /       ▽
  c - - - ▷ a
       g

theorem CategoryTheory.Bicategory.lanLiftLeftLift_lift E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g],
  (CategoryTheory.Bicategory.lanLiftLeftLift f g).lift = CategoryTheory.Bicategory.lanLift f g

def CategoryTheory.Bicategory.lanLiftUnit E1 #

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

The unit for the left Kan lift f₊ g.

theorem CategoryTheory.Bicategory.lanLiftLeftLift_unit E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g],
  (CategoryTheory.Bicategory.lanLiftLeftLift f g).unit = CategoryTheory.Bicategory.lanLiftUnit f g

def CategoryTheory.Bicategory.lanLiftIsKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : b ⟶ a) →
        (g : c ⟶ a) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            (CategoryTheory.Bicategory.lanLiftLeftLift f g).IsKan

Evidence that lanLiftLeftLift f g is a Kan lift.

def CategoryTheory.Bicategory.lanLiftDesc E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      {f : b ⟶ a} →
        {g : c ⟶ a} →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            (s : CategoryTheory.Bicategory.LeftLift f g) → CategoryTheory.Bicategory.lanLift f g ⟶ s.lift

The family of 2-morphisms out of the left Kan lift f₊ g.

theorem CategoryTheory.Bicategory.lanLiftUnit_desc_assoc E0 #

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

theorem CategoryTheory.Bicategory.lanLiftUnit_desc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] (s : CategoryTheory.Bicategory.LeftLift f g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanLiftUnit f g)
      (CategoryTheory.Bicategory.whiskerRight (CategoryTheory.Bicategory.lanLiftDesc s) f) =
    s.unit

theorem CategoryTheory.Bicategory.lanLiftIsKan_desc E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] (s : CategoryTheory.Bicategory.LeftLift f g),
  (CategoryTheory.Bicategory.lanLiftIsKan f g).desc s = CategoryTheory.Bicategory.lanLiftDesc s

theorem CategoryTheory.Bicategory.LanLift.existsUnique E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] (s : CategoryTheory.Bicategory.LeftLift f g),
  ∃! τ,
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanLiftUnit f g)
        (CategoryTheory.Bicategory.whiskerRight τ f) =
      s.unit

class CategoryTheory.Bicategory.LanLift.CommuteWith E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} → (f : b ⟶ a) → (g : c ⟶ a) → [CategoryTheory.Bicategory.HasLeftKanLift f g] → {x : B} → (x ⟶ c) → Prop

We say that a 1-morphism h commutes with the left Kan lift f₊ g if the whiskered left lift for f₊ g by h is a Kan lift of h ≫ g along f.

ctor CategoryTheory.Bicategory.LanLift.CommuteWith.mk E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} {h : x ⟶ c},
  Nonempty ((CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h).IsKan →
    CategoryTheory.Bicategory.LanLift.CommuteWith f g h

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.commute E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  {inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g} {x : B} {h : x ⟶ c}
  [self : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  Nonempty ((CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h).IsKan

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.of_isKan_whisker E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] (t : CategoryTheory.Bicategory.LeftLift f g) {x : B}
  (h : x ⟶ c) (H : (t.whisker h).IsKan) (i : t.whisker h ≅ (CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h),
  CategoryTheory.Bicategory.LanLift.CommuteWith f g h

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.of_lanLift_comp_iso E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} {h : x ⟶ c}
  [inst_2 : CategoryTheory.Bicategory.HasLeftKanLift f (CategoryTheory.CategoryStruct.comp h g)]
  (i :
    CategoryTheory.Bicategory.lanLift f (CategoryTheory.CategoryStruct.comp h g) ≅
      CategoryTheory.CategoryStruct.comp h (CategoryTheory.Bicategory.lanLift f g)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.lanLiftUnit f (CategoryTheory.CategoryStruct.comp h g))
        (CategoryTheory.Bicategory.whiskerRight i.hom f) =
      CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Bicategory.whiskerLeft h (CategoryTheory.Bicategory.lanLiftUnit f g))
        (CategoryTheory.Bicategory.associator h (CategoryTheory.Bicategory.lanLift f g) f).inv →
    CategoryTheory.Bicategory.LanLift.CommuteWith f g h

def CategoryTheory.Bicategory.LanLift.CommuteWith.isKan E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : b ⟶ a) →
        (g : c ⟶ a) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            {x : B} →
              (h : x ⟶ c) →
                [CategoryTheory.Bicategory.LanLift.CommuteWith f g h] →
                  ((CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h).IsKan

Evidence that h commutes with the left Kan lift f₊ g.

instance CategoryTheory.Bicategory.LanLift.CommuteWith.instHasLeftKanLiftComp E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  CategoryTheory.Bicategory.HasLeftKanLift f (CategoryTheory.CategoryStruct.comp h g)

def CategoryTheory.Bicategory.LanLift.CommuteWith.isKanWhisker E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : b ⟶ a) →
        (g : c ⟶ a) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            (t : CategoryTheory.Bicategory.LeftLift f g) →
              t.IsKan →
                {x : B} → (h : x ⟶ c) → [CategoryTheory.Bicategory.LanLift.CommuteWith f g h] → (t.whisker h).IsKan

If h commutes with f₊ g and t is another left Kan lift of g along f, then t.whisker h is a left Kan lift of h ≫ g along f.

def CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIsoWhisker E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : b ⟶ a) →
        (g : c ⟶ a) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            {x : B} →
              (h : x ⟶ c) →
                [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h] →
                  CategoryTheory.Bicategory.lanLiftLeftLift f (CategoryTheory.CategoryStruct.comp h g) ≅
                    (CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h

The isomorphism f₊ (h ≫ g) ≅ h ≫ f₊ g at the level of structured arrows.

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIsoWhisker_hom_right E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  CategoryTheory.StructuredArrow.Hom.right
      (CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIsoWhisker f g h).hom =
    CategoryTheory.Bicategory.lanLiftDesc ((CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h)

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIsoWhisker_inv_right E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  CategoryTheory.StructuredArrow.Hom.right
      (CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIsoWhisker f g h).inv =
    (CategoryTheory.Bicategory.LanLift.CommuteWith.isKan f g h).desc
      (CategoryTheory.Bicategory.lanLiftLeftLift f (CategoryTheory.CategoryStruct.comp h g))

def CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIso E1 #

{B : Type u} →
  [inst : CategoryTheory.Bicategory B] →
    {a b c : B} →
      (f : b ⟶ a) →
        (g : c ⟶ a) →
          [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] →
            {x : B} →
              (h : x ⟶ c) →
                [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h] →
                  CategoryTheory.Bicategory.lanLift f (CategoryTheory.CategoryStruct.comp h g) ≅
                    CategoryTheory.CategoryStruct.comp h (CategoryTheory.Bicategory.lanLift f g)

The 1-morphism h commutes with the left Kan lift f₊ g.

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIso_hom E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  (CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIso f g h).hom =
    CategoryTheory.Bicategory.lanLiftDesc ((CategoryTheory.Bicategory.lanLiftLeftLift f g).whisker h)

theorem CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIso_inv E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : b ⟶ a) (g : c ⟶ a)
  [inst_1 : CategoryTheory.Bicategory.HasLeftKanLift f g] {x : B} (h : x ⟶ c)
  [inst_2 : CategoryTheory.Bicategory.LanLift.CommuteWith f g h],
  (CategoryTheory.Bicategory.LanLift.CommuteWith.lanLiftCompIso f g h).inv =
    (CategoryTheory.Bicategory.LanLift.CommuteWith.isKan f g h).desc
      (CategoryTheory.Bicategory.lanLiftLeftLift f (CategoryTheory.CategoryStruct.comp h g))

class CategoryTheory.Bicategory.HasAbsLeftKanLift E1 #

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

We say that there exists an absolute left Kan lift of g along f if any 1-morphism h commutes with the left Kan lift f₊ g.

instance CategoryTheory.Bicategory.HasAbsLeftKanLift.toHasLeftKanLift E0 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [self : CategoryTheory.Bicategory.HasAbsLeftKanLift f g], CategoryTheory.Bicategory.HasLeftKanLift f g

ctor CategoryTheory.Bicategory.HasAbsLeftKanLift.mk E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [toHasLeftKanLift : CategoryTheory.Bicategory.HasLeftKanLift f g],
  (∀ {x : B} (h : x ⟶ c), CategoryTheory.Bicategory.LanLift.CommuteWith f g h) →
    CategoryTheory.Bicategory.HasAbsLeftKanLift f g

theorem CategoryTheory.Bicategory.HasAbsLeftKanLift.commute E1 #

∀ {B : Type u} {inst : CategoryTheory.Bicategory B} {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [self : CategoryTheory.Bicategory.HasAbsLeftKanLift f g] {x : B} (h : x ⟶ c),
  CategoryTheory.Bicategory.LanLift.CommuteWith f g h

instance CategoryTheory.Bicategory.instCommuteWith_1 E0 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : b ⟶ a} {g : c ⟶ a}
  [inst_1 : CategoryTheory.Bicategory.HasAbsLeftKanLift f g] {x : B} (h : x ⟶ c),
  CategoryTheory.Bicategory.LanLift.CommuteWith f g h

theorem CategoryTheory.Bicategory.LeftLift.IsAbsKan.hasAbsLeftKanLift 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.IsAbsKan), CategoryTheory.Bicategory.HasAbsLeftKanLift f g