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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Preadditive.FreydCategory.Homotopy

66 declarations. Mathlib docs · Source

def CategoryTheory.Arrow.RightHomotopy.ctorIdx E1 #

{V : Type u_1} →
  {inst : CategoryTheory.Category.{v_1, u_1} V} →
    {inst_1 : CategoryTheory.Preadditive V} →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → CategoryTheory.Arrow.RightHomotopy f g → ℕ

def CategoryTheory.Arrow.LeftHomotopy.ctorIdx E1 #

{V : Type u_1} →
  {inst : CategoryTheory.Category.{v_1, u_1} V} →
    {inst_1 : CategoryTheory.Preadditive V} →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → CategoryTheory.Arrow.LeftHomotopy f g → ℕ

theorem CategoryTheory.Arrow.LeftHomotopy.mk.injEq E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (hom : u.right ⟶ v.left)
  (comm :
    autoParam
      (CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g = CategoryTheory.CategoryStruct.comp u.hom hom)
      CategoryTheory.Arrow.LeftHomotopy.comm._autoParam)
  (hom_1 : u.right ⟶ v.left)
  (comm_1 :
    autoParam
      (CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g =
        CategoryTheory.CategoryStruct.comp u.hom hom_1)
      CategoryTheory.Arrow.LeftHomotopy.comm._autoParam),
  ({ hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 }) = (hom = hom_1)

theorem CategoryTheory.Arrow.RightHomotopy.mk.injEq E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (hom : u.right ⟶ v.left)
  (comm :
    autoParam
      (CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
        CategoryTheory.CategoryStruct.comp hom v.hom)
      CategoryTheory.Arrow.RightHomotopy.comm._autoParam)
  (hom_1 : u.right ⟶ v.left)
  (comm_1 :
    autoParam
      (CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
        CategoryTheory.CategoryStruct.comp hom_1 v.hom)
      CategoryTheory.Arrow.RightHomotopy.comm._autoParam),
  ({ hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 }) = (hom = hom_1)

theorem CategoryTheory.Arrow.RightHomotopy.mk.inj E1 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {hom : u.right ⟶ v.left}
  {comm :
    autoParam
      (CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
        CategoryTheory.CategoryStruct.comp hom v.hom)
      CategoryTheory.Arrow.RightHomotopy.comm._autoParam}
  {hom_1 : u.right ⟶ v.left}
  {comm_1 :
    autoParam
      (CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
        CategoryTheory.CategoryStruct.comp hom_1 v.hom)
      CategoryTheory.Arrow.RightHomotopy.comm._autoParam},
  { hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 } → hom = hom_1

theorem CategoryTheory.Arrow.LeftHomotopy.mk.inj E1 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {hom : u.right ⟶ v.left}
  {comm :
    autoParam
      (CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g = CategoryTheory.CategoryStruct.comp u.hom hom)
      CategoryTheory.Arrow.LeftHomotopy.comm._autoParam}
  {hom_1 : u.right ⟶ v.left}
  {comm_1 :
    autoParam
      (CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g =
        CategoryTheory.CategoryStruct.comp u.hom hom_1)
      CategoryTheory.Arrow.LeftHomotopy.comm._autoParam},
  { hom := hom, comm := comm } = { hom := hom_1, comm := comm_1 } → hom = hom_1

theorem CategoryTheory.Arrow.RightHomotopy.mk.congr_simp E1 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (hom hom_1 : u.right ⟶ v.left) (e_hom : hom = hom_1)
  (comm :
    CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g = CategoryTheory.CategoryStruct.comp hom v.hom),
  { hom := hom, comm := comm } = { hom := hom_1, comm := ⋯ }

theorem CategoryTheory.Arrow.LeftHomotopy.mk.congr_simp E1 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (hom hom_1 : u.right ⟶ v.left) (e_hom : hom = hom_1)
  (comm :
    CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g = CategoryTheory.CategoryStruct.comp u.hom hom),
  { hom := hom, comm := comm } = { hom := hom_1, comm := ⋯ }

structure CategoryTheory.Arrow.LeftHomotopy E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [CategoryTheory.Preadditive V] → {u v : CategoryTheory.Arrow V} → (u ⟶ v) → (u ⟶ v) → Type v_1

A left homotopy on morphisms in the category of arrows of a preadditive category.

theorem CategoryTheory.Arrow.LeftHomotopy.ext_iff E0 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {x y : CategoryTheory.Arrow.LeftHomotopy f g}, x = y ↔ x.hom = y.hom

theorem CategoryTheory.Arrow.LeftHomotopy.ext E1 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {x y : CategoryTheory.Arrow.LeftHomotopy f g}, x.hom = y.hom → x = y

ctor CategoryTheory.Arrow.LeftHomotopy.mk E0 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} →
          (hom : u.right ⟶ v.left) →
            autoParam
                (CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g =
                  CategoryTheory.CategoryStruct.comp u.hom hom)
                CategoryTheory.Arrow.LeftHomotopy.comm._autoParam →
              CategoryTheory.Arrow.LeftHomotopy f g

abbrev CategoryTheory.Arrow.LeftHomotopy.hom E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → CategoryTheory.Arrow.LeftHomotopy f g → (u.right ⟶ v.left)

A "diagonal" morphism from the right object of u to the left object of v.

theorem CategoryTheory.Arrow.LeftHomotopy.comm E1 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (self : CategoryTheory.Arrow.LeftHomotopy f g),
  CategoryTheory.Arrow.Hom.left f - CategoryTheory.Arrow.Hom.left g = CategoryTheory.CategoryStruct.comp u.hom self.hom

The difference of the left morphisms factors through hom.

structure CategoryTheory.Arrow.RightHomotopy E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [CategoryTheory.Preadditive V] → {u v : CategoryTheory.Arrow V} → (u ⟶ v) → (u ⟶ v) → Type v_1

A right homotopy on morphisms in the category of arrows of a preadditive category.

theorem CategoryTheory.Arrow.RightHomotopy.ext_iff E0 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {x y : CategoryTheory.Arrow.RightHomotopy f g}, x = y ↔ x.hom = y.hom

theorem CategoryTheory.Arrow.RightHomotopy.ext E1 #

∀ {V : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} V} {inst_1 : CategoryTheory.Preadditive V}
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} {x y : CategoryTheory.Arrow.RightHomotopy f g}, x.hom = y.hom → x = y

ctor CategoryTheory.Arrow.RightHomotopy.mk E0 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} →
          (hom : u.right ⟶ v.left) →
            autoParam
                (CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
                  CategoryTheory.CategoryStruct.comp hom v.hom)
                CategoryTheory.Arrow.RightHomotopy.comm._autoParam →
              CategoryTheory.Arrow.RightHomotopy f g

abbrev CategoryTheory.Arrow.RightHomotopy.hom E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → CategoryTheory.Arrow.RightHomotopy f g → (u.right ⟶ v.left)

A "diagonal" morphism from the right object of u to the left object of v.

theorem CategoryTheory.Arrow.RightHomotopy.comm E1 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (self : CategoryTheory.Arrow.RightHomotopy f g),
  CategoryTheory.Arrow.Hom.right f - CategoryTheory.Arrow.Hom.right g =
    CategoryTheory.CategoryStruct.comp self.hom v.hom

The difference of the right morphisms factors through hom.

def CategoryTheory.Arrow.LeftHomotopy.equivSubZero E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} → CategoryTheory.Arrow.LeftHomotopy f g ≃ CategoryTheory.Arrow.LeftHomotopy (f - g) 0

f is left homotopic to g iff f - g is left homotopic to 0.

def CategoryTheory.Arrow.LeftHomotopy.ofEq E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → f = g → CategoryTheory.Arrow.LeftHomotopy f g

Equal maps of arrows are left homotopic.

theorem CategoryTheory.Arrow.LeftHomotopy.ofEq_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (h : f = g), (CategoryTheory.Arrow.LeftHomotopy.ofEq h).hom = 0

def CategoryTheory.Arrow.LeftHomotopy.refl E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → (f : u ⟶ v) → CategoryTheory.Arrow.LeftHomotopy f f

Every map of arrows is left homotopic to itself.

theorem CategoryTheory.Arrow.LeftHomotopy.refl_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} (f : u ⟶ v), (CategoryTheory.Arrow.LeftHomotopy.refl f).hom = 0

def CategoryTheory.Arrow.LeftHomotopy.symm E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} → CategoryTheory.Arrow.LeftHomotopy f g → CategoryTheory.Arrow.LeftHomotopy g f

f is left homotopic to g iff g is left homotopic to f.

theorem CategoryTheory.Arrow.LeftHomotopy.symm_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (h : CategoryTheory.Arrow.LeftHomotopy f g), h.symm.hom = -h.hom

def CategoryTheory.Arrow.LeftHomotopy.trans E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {e f g : u ⟶ v} →
          CategoryTheory.Arrow.LeftHomotopy e f →
            CategoryTheory.Arrow.LeftHomotopy f g → CategoryTheory.Arrow.LeftHomotopy e g

Left homotopy is a transitive relation.

theorem CategoryTheory.Arrow.LeftHomotopy.trans_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {e f g : u ⟶ v} (h : CategoryTheory.Arrow.LeftHomotopy e f)
  (k : CategoryTheory.Arrow.LeftHomotopy f g), (h.trans k).hom = h.hom + k.hom

def CategoryTheory.Arrow.LeftHomotopy.add E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f₁ g₁ f₂ g₂ : u ⟶ v} →
          CategoryTheory.Arrow.LeftHomotopy f₁ g₁ →
            CategoryTheory.Arrow.LeftHomotopy f₂ g₂ → CategoryTheory.Arrow.LeftHomotopy (f₁ + f₂) (g₁ + g₂)

The sum of two left homotopies is a left homotopy between the sum of the respective morphisms.

theorem CategoryTheory.Arrow.LeftHomotopy.add_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f₁ g₁ f₂ g₂ : u ⟶ v} (h₁ : CategoryTheory.Arrow.LeftHomotopy f₁ g₁)
  (h₂ : CategoryTheory.Arrow.LeftHomotopy f₂ g₂), (h₁.add h₂).hom = h₁.hom + h₂.hom

def CategoryTheory.Arrow.LeftHomotopy.compRight E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {e f : u ⟶ v} →
          CategoryTheory.Arrow.LeftHomotopy e f →
            (g : v ⟶ w) →
              CategoryTheory.Arrow.LeftHomotopy (CategoryTheory.CategoryStruct.comp e g)
                (CategoryTheory.CategoryStruct.comp f g)

Left homotopy is closed under composition (on the right).

theorem CategoryTheory.Arrow.LeftHomotopy.compRight_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {e f : u ⟶ v} (h : CategoryTheory.Arrow.LeftHomotopy e f) (g : v ⟶ w),
  (h.compRight g).hom = CategoryTheory.CategoryStruct.comp h.hom (CategoryTheory.Arrow.Hom.left g)

def CategoryTheory.Arrow.LeftHomotopy.compLeft E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {f g : v ⟶ w} →
          CategoryTheory.Arrow.LeftHomotopy f g →
            (e : u ⟶ v) →
              CategoryTheory.Arrow.LeftHomotopy (CategoryTheory.CategoryStruct.comp e f)
                (CategoryTheory.CategoryStruct.comp e g)

Left homotopy is closed under composition (on the left).

theorem CategoryTheory.Arrow.LeftHomotopy.compLeft_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {f g : v ⟶ w} (h : CategoryTheory.Arrow.LeftHomotopy f g) (e : u ⟶ v),
  (h.compLeft e).hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right e) h.hom

def CategoryTheory.Arrow.LeftHomotopy.comp E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {f₁ g₁ : u ⟶ v} →
          {f₂ g₂ : v ⟶ w} →
            CategoryTheory.Arrow.LeftHomotopy f₁ g₁ →
              CategoryTheory.Arrow.LeftHomotopy f₂ g₂ →
                CategoryTheory.Arrow.LeftHomotopy (CategoryTheory.CategoryStruct.comp f₁ f₂)
                  (CategoryTheory.CategoryStruct.comp g₁ g₂)

Left homotopy is closed under composition.

theorem CategoryTheory.Arrow.LeftHomotopy.comp_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {f₁ g₁ : u ⟶ v} {f₂ g₂ : v ⟶ w} (h₁ : CategoryTheory.Arrow.LeftHomotopy f₁ g₁)
  (h₂ : CategoryTheory.Arrow.LeftHomotopy f₂ g₂),
  (h₁.comp h₂).hom =
    CategoryTheory.CategoryStruct.comp h₁.hom (CategoryTheory.Arrow.Hom.left f₂) +
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right g₁) h₂.hom

def CategoryTheory.Arrow.LeftHomotopy.compRightId E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f : u ⟶ u} →
          CategoryTheory.Arrow.LeftHomotopy f (CategoryTheory.CategoryStruct.id u) →
            (g : u ⟶ v) → CategoryTheory.Arrow.LeftHomotopy (CategoryTheory.CategoryStruct.comp f g) g

A variant of LeftHomotopy.compRight useful for dealing with homotopy equivalences.

theorem CategoryTheory.Arrow.LeftHomotopy.compRightId_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f : u ⟶ u}
  (h : CategoryTheory.Arrow.LeftHomotopy f (CategoryTheory.CategoryStruct.id u)) (g : u ⟶ v),
  (h.compRightId g).hom = CategoryTheory.CategoryStruct.comp h.hom (CategoryTheory.Arrow.Hom.left g)

def CategoryTheory.Arrow.LeftHomotopy.compLeftId E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f : v ⟶ v} →
          CategoryTheory.Arrow.LeftHomotopy f (CategoryTheory.CategoryStruct.id v) →
            (g : u ⟶ v) → CategoryTheory.Arrow.LeftHomotopy (CategoryTheory.CategoryStruct.comp g f) g

A variant of LeftHomotopy.compLeft useful for dealing with homotopy equivalences.

theorem CategoryTheory.Arrow.LeftHomotopy.compLeftId_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f : v ⟶ v}
  (h : CategoryTheory.Arrow.LeftHomotopy f (CategoryTheory.CategoryStruct.id v)) (g : u ⟶ v),
  (h.compLeftId g).hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right g) h.hom

def CategoryTheory.Arrow.RightHomotopy.equivSubZero E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} → CategoryTheory.Arrow.RightHomotopy f g ≃ CategoryTheory.Arrow.RightHomotopy (f - g) 0

f is right homotopic to g iff f - g is righthomotopic to 0.

def CategoryTheory.Arrow.RightHomotopy.ofEq E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → {f g : u ⟶ v} → f = g → CategoryTheory.Arrow.RightHomotopy f g

Equal maps of arrows are right homotopic.

theorem CategoryTheory.Arrow.RightHomotopy.ofEq_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (h : f = g), (CategoryTheory.Arrow.RightHomotopy.ofEq h).hom = 0

def CategoryTheory.Arrow.RightHomotopy.refl E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} → (f : u ⟶ v) → CategoryTheory.Arrow.RightHomotopy f f

Every map of arrows is right homotopic to itself.

theorem CategoryTheory.Arrow.RightHomotopy.refl_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} (f : u ⟶ v), (CategoryTheory.Arrow.RightHomotopy.refl f).hom = 0

def CategoryTheory.Arrow.RightHomotopy.symm E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f g : u ⟶ v} → CategoryTheory.Arrow.RightHomotopy f g → CategoryTheory.Arrow.RightHomotopy g f

f is right homotopic to g iff g is right homotopic to f.

theorem CategoryTheory.Arrow.RightHomotopy.symm_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f g : u ⟶ v} (h : CategoryTheory.Arrow.RightHomotopy f g), h.symm.hom = -h.hom

def CategoryTheory.Arrow.RightHomotopy.trans E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {e f g : u ⟶ v} →
          CategoryTheory.Arrow.RightHomotopy e f →
            CategoryTheory.Arrow.RightHomotopy f g → CategoryTheory.Arrow.RightHomotopy e g

Right homotopy is a transitive relation.

theorem CategoryTheory.Arrow.RightHomotopy.trans_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {e f g : u ⟶ v} (h : CategoryTheory.Arrow.RightHomotopy e f)
  (k : CategoryTheory.Arrow.RightHomotopy f g), (h.trans k).hom = h.hom + k.hom

def CategoryTheory.Arrow.RightHomotopy.add E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f₁ g₁ f₂ g₂ : u ⟶ v} →
          CategoryTheory.Arrow.RightHomotopy f₁ g₁ →
            CategoryTheory.Arrow.RightHomotopy f₂ g₂ → CategoryTheory.Arrow.RightHomotopy (f₁ + f₂) (g₁ + g₂)

The sum of two right homotopies is a right homotopy between the sum of the respective morphisms.

theorem CategoryTheory.Arrow.RightHomotopy.add_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f₁ g₁ f₂ g₂ : u ⟶ v} (h₁ : CategoryTheory.Arrow.RightHomotopy f₁ g₁)
  (h₂ : CategoryTheory.Arrow.RightHomotopy f₂ g₂), (h₁.add h₂).hom = h₁.hom + h₂.hom

def CategoryTheory.Arrow.RightHomotopy.compRight E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {e f : u ⟶ v} →
          CategoryTheory.Arrow.RightHomotopy e f →
            (g : v ⟶ w) →
              CategoryTheory.Arrow.RightHomotopy (CategoryTheory.CategoryStruct.comp e g)
                (CategoryTheory.CategoryStruct.comp f g)

Right homotopy is closed under composition (on the right).

theorem CategoryTheory.Arrow.RightHomotopy.compRight_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {e f : u ⟶ v} (h : CategoryTheory.Arrow.RightHomotopy e f) (g : v ⟶ w),
  (h.compRight g).hom = CategoryTheory.CategoryStruct.comp h.hom (CategoryTheory.Arrow.Hom.left g)

def CategoryTheory.Arrow.RightHomotopy.compLeft E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {f g : v ⟶ w} →
          CategoryTheory.Arrow.RightHomotopy f g →
            (e : u ⟶ v) →
              CategoryTheory.Arrow.RightHomotopy (CategoryTheory.CategoryStruct.comp e f)
                (CategoryTheory.CategoryStruct.comp e g)

Right homotopy is closed under composition (on the left).

theorem CategoryTheory.Arrow.RightHomotopy.compLeft_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {f g : v ⟶ w} (h : CategoryTheory.Arrow.RightHomotopy f g) (e : u ⟶ v),
  (h.compLeft e).hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right e) h.hom

def CategoryTheory.Arrow.RightHomotopy.comp E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v w : CategoryTheory.Arrow V} →
        {f₁ g₁ : u ⟶ v} →
          {f₂ g₂ : v ⟶ w} →
            CategoryTheory.Arrow.RightHomotopy f₁ g₁ →
              CategoryTheory.Arrow.RightHomotopy f₂ g₂ →
                CategoryTheory.Arrow.RightHomotopy (CategoryTheory.CategoryStruct.comp f₁ f₂)
                  (CategoryTheory.CategoryStruct.comp g₁ g₂)

Right homotopy is closed under composition.

theorem CategoryTheory.Arrow.RightHomotopy.comp_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v w : CategoryTheory.Arrow V} {f₁ g₁ : u ⟶ v} {f₂ g₂ : v ⟶ w} (h₁ : CategoryTheory.Arrow.RightHomotopy f₁ g₁)
  (h₂ : CategoryTheory.Arrow.RightHomotopy f₂ g₂),
  (h₁.comp h₂).hom =
    CategoryTheory.CategoryStruct.comp h₁.hom (CategoryTheory.Arrow.Hom.left f₂) +
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right g₁) h₂.hom

def CategoryTheory.Arrow.RightHomotopy.compRightId E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f : u ⟶ u} →
          CategoryTheory.Arrow.RightHomotopy f (CategoryTheory.CategoryStruct.id u) →
            (g : u ⟶ v) → CategoryTheory.Arrow.RightHomotopy (CategoryTheory.CategoryStruct.comp f g) g

A variant of RightHomotopy.compRight useful for dealing with homotopy equivalences.

theorem CategoryTheory.Arrow.RightHomotopy.compRightId_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f : u ⟶ u}
  (h : CategoryTheory.Arrow.RightHomotopy f (CategoryTheory.CategoryStruct.id u)) (g : u ⟶ v),
  (h.compRightId g).hom = CategoryTheory.CategoryStruct.comp h.hom (CategoryTheory.Arrow.Hom.left g)

def CategoryTheory.Arrow.RightHomotopy.compLeftId E1 #

{V : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} V] →
    [inst_1 : CategoryTheory.Preadditive V] →
      {u v : CategoryTheory.Arrow V} →
        {f : v ⟶ v} →
          CategoryTheory.Arrow.RightHomotopy f (CategoryTheory.CategoryStruct.id v) →
            (g : u ⟶ v) → CategoryTheory.Arrow.RightHomotopy (CategoryTheory.CategoryStruct.comp g f) g

A variant of RightHomotopy.compLeft useful for dealing with homotopy equivalences.

theorem CategoryTheory.Arrow.RightHomotopy.compLeftId_hom E0 #

∀ {V : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V]
  {u v : CategoryTheory.Arrow V} {f : v ⟶ v}
  (h : CategoryTheory.Arrow.RightHomotopy f (CategoryTheory.CategoryStruct.id v)) (g : u ⟶ v),
  (h.compLeftId g).hom = CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.right g) h.hom

def CategoryTheory.Arrow.leftHomotopic E1 #

(V : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} V] → [CategoryTheory.Preadditive V] → HomRel (CategoryTheory.Arrow V)

The left homotopy relation on morphisms of Arrow V.

instance CategoryTheory.Arrow.leftHomotopy_congruence E0 #

∀ (V : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V],
  CategoryTheory.Congruence (CategoryTheory.Arrow.leftHomotopic V)

def CategoryTheory.Arrow.rightHomotopic E1 #

(V : Type u_1) →
  [inst : CategoryTheory.Category.{v_1, u_1} V] → [CategoryTheory.Preadditive V] → HomRel (CategoryTheory.Arrow V)

The left homotopy relation on morphisms of Arrow V.

instance CategoryTheory.Arrow.rightHomotopy_congruence E0 #

∀ (V : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} V] [inst_1 : CategoryTheory.Preadditive V],
  CategoryTheory.Congruence (CategoryTheory.Arrow.rightHomotopic V)