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.FiberedCategory.HomLift

47 declarations. Mathlib docs ยท Source

HomLift

Given a functor p : ๐’ณ โฅค ๐’ฎ, this file provides API for expressing the fact that p(ฯ†) = f for given morphisms ฯ† and f. The reason this API is needed is because, in general, p.map ฯ† = f does not make sense when the domain and/or codomain of ฯ† and f are not definitionally equal.

Main definition

Given morphism ฯ† : a โŸถ b in ๐’ณ and f : R โŸถ S in ๐’ฎ, p.IsHomLift f ฯ† is a class which expresses the fact that f = p(ฯ†).

We also define a macro subst_hom_lift p f ฯ† which can be used to substitute f with p(ฯ†) in a goal, this tactic is just short for obtain โŸจโŸฉ := (inferInstance : p.IsHomLift f ฯ†), and it is used to make the code more readable.

Implementation notes

The class IsHomLift is defined as an inductive with the single constructor .map (ฯ† : a โŸถ b) : IsHomLift p (p.map ฯ†) ฯ†, similar to how Eq a b has the single constructor .rfl (a : ฮฑ) : Eq a a.

class CategoryTheory.Functor.IsHomLift E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ] โ†’
        CategoryTheory.Functor ๐’ณ ๐’ฎ โ†’ {R S : ๐’ฎ} โ†’ {a b : ๐’ณ} โ†’ (R โŸถ S) โ†’ (a โŸถ b) โ†’ Prop

Given a functor p : ๐’ณ โฅค ๐’ฎ, an arrow ฯ† : a โŸถ b in ๐’ณ and an arrow f : R โŸถ S in ๐’ฎ, p.IsHomLift f ฯ† expresses the fact that ฯ† lifts f through p. This is often drawn as:

  a --ฯ†--> b
  -        -
  |        |
  v        v
  R --f--> S

ctor CategoryTheory.Functor.IsHomLift.map E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {a b : ๐’ณ} (ฯ† : a โŸถ b), p.IsHomLift (p.map ฯ†) ฯ†

def CategoryTheory.tacticSubst_hom_lift___ E1 #

Lean.ParserDescr

subst_hom_lift p f ฯ† tries to substitute f with p(ฯ†) by using p.IsHomLift f ฯ†

instance CategoryTheory.IsHomLift.map E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {a b : ๐’ณ} (ฯ† : a โŸถ b), p.IsHomLift (p.map ฯ†) ฯ†

For any arrow ฯ† : a โŸถ b in ๐’ณ, ฯ† lifts the arrow p.map ฯ† in the base ๐’ฎ.

instance CategoryTheory.IsHomLift.instIsHomLiftIdObj E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) (a : ๐’ณ),
  p.IsHomLift (CategoryTheory.CategoryStruct.id (p.obj a)) (CategoryTheory.CategoryStruct.id a)

theorem CategoryTheory.IsHomLift.id E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {R : ๐’ฎ} {a : ๐’ณ},
  p.obj a = R โ†’ p.IsHomLift (CategoryTheory.CategoryStruct.id R) (CategoryTheory.CategoryStruct.id a)

theorem CategoryTheory.IsHomLift.domain_eq E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†], p.obj a = R

theorem CategoryTheory.IsHomLift.codomain_eq E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†], p.obj b = S

theorem CategoryTheory.IsHomLift.fac E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [inst_2 : p.IsHomLift f ฯ†],
  f =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom โ‹ฏ)
      (CategoryTheory.CategoryStruct.comp (p.map ฯ†) (CategoryTheory.eqToHom โ‹ฏ))

theorem CategoryTheory.IsHomLift.fac' E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [inst_2 : p.IsHomLift f ฯ†],
  p.map ฯ† =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom โ‹ฏ)
      (CategoryTheory.CategoryStruct.comp f (CategoryTheory.eqToHom โ‹ฏ))

theorem CategoryTheory.IsHomLift.commSq E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [inst_2 : p.IsHomLift f ฯ†],
  CategoryTheory.CommSq (p.map ฯ†) (CategoryTheory.eqToHom โ‹ฏ) (CategoryTheory.eqToHom โ‹ฏ) f

theorem CategoryTheory.IsHomLift.of_fac E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (ha : p.obj a = R) (hb : p.obj b = S),
  f =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom โ‹ฏ)
        (CategoryTheory.CategoryStruct.comp (p.map ฯ†) (CategoryTheory.eqToHom hb)) โ†’
    p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.of_fac' E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (ha : p.obj a = R) (hb : p.obj b = S),
  p.map ฯ† =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ha)
        (CategoryTheory.CategoryStruct.comp f (CategoryTheory.eqToHom โ‹ฏ)) โ†’
    p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.of_commsq E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (ha : p.obj a = R) (hb : p.obj b = S),
  CategoryTheory.CategoryStruct.comp (p.map ฯ†) (CategoryTheory.eqToHom hb) =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ha) f โ†’
    p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.of_commSq E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (ha : p.obj a = R) (hb : p.obj b = S),
  CategoryTheory.CommSq (p.map ฯ†) (CategoryTheory.eqToHom ha) (CategoryTheory.eqToHom hb) f โ†’ p.IsHomLift f ฯ†

instance CategoryTheory.IsHomLift.comp E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S T : ๐’ฎ} {a b c : ๐’ณ} (f : R โŸถ S) (g : S โŸถ T) (ฯ† : a โŸถ b) (ฯˆ : b โŸถ c)
  [p.IsHomLift f ฯ†] [p.IsHomLift g ฯˆ],
  p.IsHomLift (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

instance CategoryTheory.IsHomLift.comp_of_lift_id E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) (R : ๐’ฎ) {a b c : ๐’ณ} (ฯ† : a โŸถ b) (ฯˆ : b โŸถ c)
  [p.IsHomLift (CategoryTheory.CategoryStruct.id R) ฯ†] [p.IsHomLift (CategoryTheory.CategoryStruct.id R) ฯˆ],
  p.IsHomLift (CategoryTheory.CategoryStruct.id R) (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

If ฯ† : a โŸถ b and ฯˆ : b โŸถ c lift ๐Ÿ™ R, then so does ฯ† โ‰ซ ฯˆ

instance CategoryTheory.IsHomLift.comp_lift_id_right E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {a b c : ๐’ณ} {S T : ๐’ฎ} (f : S โŸถ T) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] (ฯˆ : b โŸถ c)
  [p.IsHomLift (CategoryTheory.CategoryStruct.id T) ฯˆ], p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

theorem CategoryTheory.IsHomLift.comp_lift_id_right' E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b c : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] (T : ๐’ฎ) (ฯˆ : b โŸถ c)
  [p.IsHomLift (CategoryTheory.CategoryStruct.id T) ฯˆ], p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

If ฯ† : a โŸถ b lifts f and ฯˆ : b โŸถ c lifts ๐Ÿ™ T, then ฯ† โ‰ซ ฯˆ lifts f

instance CategoryTheory.IsHomLift.comp_lift_id_left E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {a b c : ๐’ณ} {S T : ๐’ฎ} (f : S โŸถ T) (ฯˆ : b โŸถ c) [p.IsHomLift f ฯˆ] (ฯ† : a โŸถ b)
  [p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ†], p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

theorem CategoryTheory.IsHomLift.comp_lift_id_left' E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {a b c : ๐’ณ} (R : ๐’ฎ) (ฯ† : a โŸถ b) [p.IsHomLift (CategoryTheory.CategoryStruct.id R) ฯ†]
  {S T : ๐’ฎ} (f : S โŸถ T) (ฯˆ : b โŸถ c) [p.IsHomLift f ฯˆ], p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

If ฯ† : a โŸถ b lifts ๐Ÿ™ T and ฯˆ : b โŸถ c lifts f, then ฯ† โ‰ซ ฯˆ lifts f

theorem CategoryTheory.IsHomLift.eqToHom_domain_lift_id E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {a b : ๐’ณ} (hab : a = b) {R : ๐’ฎ},
  p.obj a = R โ†’ p.IsHomLift (CategoryTheory.CategoryStruct.id R) (CategoryTheory.eqToHom hab)

theorem CategoryTheory.IsHomLift.eqToHom_codomain_lift_id E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {a b : ๐’ณ} (hab : a = b) {S : ๐’ฎ},
  p.obj b = S โ†’ p.IsHomLift (CategoryTheory.CategoryStruct.id S) (CategoryTheory.eqToHom hab)

theorem CategoryTheory.IsHomLift.id_lift_eqToHom_domain E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {R S : ๐’ฎ} (hRS : R = S) {a : ๐’ณ},
  p.obj a = R โ†’ p.IsHomLift (CategoryTheory.eqToHom hRS) (CategoryTheory.CategoryStruct.id a)

theorem CategoryTheory.IsHomLift.id_lift_eqToHom_codomain E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} {R S : ๐’ฎ} (hRS : R = S) {b : ๐’ณ},
  p.obj b = S โ†’ p.IsHomLift (CategoryTheory.eqToHom hRS) (CategoryTheory.CategoryStruct.id b)

instance CategoryTheory.IsHomLift.comp_id_lift E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†],
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) ฯ†)

instance CategoryTheory.IsHomLift.id_comp_lift E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†],
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† (CategoryTheory.CategoryStruct.id b))

instance CategoryTheory.IsHomLift.lift_id_comp E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†],
  p.IsHomLift (CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id R) f) ฯ†

instance CategoryTheory.IsHomLift.lift_comp_id E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†],
  p.IsHomLift (CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id S)) ฯ†

instance CategoryTheory.IsHomLift.comp_eqToHom_lift E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] {a' : ๐’ณ} (h : a' = a),
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom h) ฯ†)

instance CategoryTheory.IsHomLift.eqToHom_comp_lift E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] {b' : ๐’ณ} (h : b = b'),
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† (CategoryTheory.eqToHom h))

instance CategoryTheory.IsHomLift.lift_eqToHom_comp E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] {R' : ๐’ฎ} (h : R' = R),
  p.IsHomLift (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom h) f) ฯ†

instance CategoryTheory.IsHomLift.lift_comp_eqToHom E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†] {S' : ๐’ฎ} (h : S = S'),
  p.IsHomLift (CategoryTheory.CategoryStruct.comp f (CategoryTheory.eqToHom h)) ฯ†

theorem CategoryTheory.IsHomLift.comp_eqToHom_lift_iff E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a' a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (h : a' = a),
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom h) ฯ†) โ†” p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.eqToHom_comp_lift_iff E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b b' : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (h : b = b'),
  p.IsHomLift f (CategoryTheory.CategoryStruct.comp ฯ† (CategoryTheory.eqToHom h)) โ†” p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.lift_eqToHom_comp_iff E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R' R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (h : R' = R),
  p.IsHomLift (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom h) f) ฯ† โ†” p.IsHomLift f ฯ†

theorem CategoryTheory.IsHomLift.lift_comp_eqToHom_iff E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S S' : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) (h : S = S'),
  p.IsHomLift (CategoryTheory.CategoryStruct.comp f (CategoryTheory.eqToHom h)) ฯ† โ†” p.IsHomLift f ฯ†

def CategoryTheory.IsHomLift.isoOfIsoLift E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ] โ†’
        (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) โ†’
          {R S : ๐’ฎ} โ†’ {a b : ๐’ณ} โ†’ (f : R โŸถ S) โ†’ (ฯ† : a โ‰… b) โ†’ [p.IsHomLift f ฯ†.hom] โ†’ R โ‰… S

Given a morphism f : R โŸถ S, and an isomorphism ฯ† : a โ‰… b lifting f, isoOfIsoLift f ฯ† is the isomorphism ฮฆ : R โ‰… S with ฮฆ.hom = f induced from ฯ†

theorem CategoryTheory.IsHomLift.isoOfIsoLift_hom E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โ‰… b) [inst_2 : p.IsHomLift f ฯ†.hom],
  (CategoryTheory.IsHomLift.isoOfIsoLift p f ฯ†).hom = f

theorem CategoryTheory.IsHomLift.isoOfIsoLift_inv_hom_id E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โ‰… b) [inst_2 : p.IsHomLift f ฯ†.hom],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.IsHomLift.isoOfIsoLift p f ฯ†).inv f =
    CategoryTheory.CategoryStruct.id S

theorem CategoryTheory.IsHomLift.isoOfIsoLift_hom_inv_id E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โ‰… b) [inst_2 : p.IsHomLift f ฯ†.hom],
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.IsHomLift.isoOfIsoLift p f ฯ†).inv =
    CategoryTheory.CategoryStruct.id R

theorem CategoryTheory.IsHomLift.isIso_of_lift_isIso E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [p.IsHomLift f ฯ†]
  [CategoryTheory.IsIso ฯ†], CategoryTheory.IsIso f

If ฯ† : a โŸถ b lifts f : R โŸถ S and ฯ† is an isomorphism, then so is f.

instance CategoryTheory.IsHomLift.inv_lift_inv E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โ‰… S) (ฯ† : a โ‰… b) [p.IsHomLift f.hom ฯ†.hom],
  p.IsHomLift f.inv ฯ†.inv

Given ฯ† : a โ‰… b and f : R โ‰… S, such that ฯ†.hom lifts f.hom, then ฯ†.inv lifts f.inv.

instance CategoryTheory.IsHomLift.inv_lift E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โ‰… b) [inst_2 : p.IsHomLift f ฯ†.hom],
  p.IsHomLift (CategoryTheory.IsHomLift.isoOfIsoLift p f ฯ†).inv ฯ†.inv

Given ฯ† : a โ‰… b and f : R โŸถ S, such that ฯ†.hom lifts f, then ฯ†.inv lifts the inverse of f given by isoOfIsoLift.

instance CategoryTheory.IsHomLift.inv E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) {R S : ๐’ฎ} {a b : ๐’ณ} (f : R โŸถ S) (ฯ† : a โŸถ b) [inst_2 : CategoryTheory.IsIso f]
  [inst_3 : CategoryTheory.IsIso ฯ†] [p.IsHomLift f ฯ†], p.IsHomLift (CategoryTheory.inv f) (CategoryTheory.inv ฯ†)

If ฯ† : a โŸถ b lifts f : R โŸถ S and both are isomorphisms, then ฯ†โปยน lifts fโปยน.

instance CategoryTheory.IsHomLift.lift_id_inv E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) (S : ๐’ฎ) {a b : ๐’ณ} (ฯ† : a โ‰… b)
  [p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ†.hom], p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ†.inv

If ฯ† : a โ‰… b is an isomorphism lifting ๐Ÿ™ S for some S : ๐’ฎ, then ฯ†โปยน also lifts ๐Ÿ™ S.

instance CategoryTheory.IsHomLift.lift_id_inv_isIso E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚‚} ๐’ณ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚} ๐’ฎ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) (S : ๐’ฎ) {a b : ๐’ณ} (ฯ† : a โŸถ b) [inst_2 : CategoryTheory.IsIso ฯ†]
  [p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ†],
  p.IsHomLift (CategoryTheory.CategoryStruct.id S) (CategoryTheory.inv ฯ†)