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.Functor.OfSequence

22 declarations. Mathlib docs · Source

theorem CategoryTheory.Functor.OfSequence.map.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (x x_1 : (n : ℕ) → X n ⟶ X (n + 1)),
  x = x_1 →
    ∀ (i j : ℕ) (a : i ≤ j),
      CategoryTheory.Functor.OfSequence.map x i j a = CategoryTheory.Functor.OfSequence.map x_1 i j a

theorem CategoryTheory.Functor.OfSequence.map.match_3.congr_eq_3 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C]
  (motive : (x : ℕ → C) → ((n : ℕ) → x n ⟶ x (n + 1)) → ℕ → ℕ → Sort u_3) (x : ℕ → C) (x_1 : (n : ℕ) → x n ⟶ x (n + 1))
  (x_2 x_3 : ℕ) (h_1 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → motive x x_4 0 0)
  (h_2 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → motive x f 0 1)
  (h_3 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (l : ℕ) → motive x f 0 l.succ)
  (h_4 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → (n : ℕ) → motive x x_4 n.succ 0)
  (h_5 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (k l : ℕ) → motive x f k.succ l.succ) (x_4 : ℕ → C)
  (f : (n : ℕ) → x_4 n ⟶ x_4 (n + 1)) (l : ℕ),
  x = x_4 →
    x_1 ≍ f →
      x_2 = 0 →
        x_3 = l.succ →
          (l = 0 → False) →
            (match x, x_1, x_2, x_3 with
              | x, x_6, 0, 0 => h_1 x x_6
              | x, f, 0, 1 => h_2 x f
              | x, f, 0, l.succ => h_3 x f l
              | x, x_6, n.succ, 0 => h_4 x x_6 n
              | x, f, k.succ, l.succ => h_5 x f k l) ≍
              h_3 x_4 f l

theorem CategoryTheory.Functor.OfSequence.map.match_3.congr_eq_5 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C]
  (motive : (x : ℕ → C) → ((n : ℕ) → x n ⟶ x (n + 1)) → ℕ → ℕ → Sort u_3) (x : ℕ → C) (x_1 : (n : ℕ) → x n ⟶ x (n + 1))
  (x_2 x_3 : ℕ) (h_1 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → motive x x_4 0 0)
  (h_2 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → motive x f 0 1)
  (h_3 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (l : ℕ) → motive x f 0 l.succ)
  (h_4 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → (n : ℕ) → motive x x_4 n.succ 0)
  (h_5 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (k l : ℕ) → motive x f k.succ l.succ) (x_4 : ℕ → C)
  (f : (n : ℕ) → x_4 n ⟶ x_4 (n + 1)) (k l : ℕ),
  x = x_4 →
    x_1 ≍ f →
      x_2 = k.succ →
        x_3 = l.succ →
          (match x, x_1, x_2, x_3 with
            | x, x_5, 0, 0 => h_1 x x_5
            | x, f, 0, 1 => h_2 x f
            | x, f, 0, l.succ => h_3 x f l
            | x, x_5, n.succ, 0 => h_4 x x_5 n
            | x, f, k.succ, l.succ => h_5 x f k l) ≍
            h_5 x_4 f k l

theorem CategoryTheory.Functor.OfSequence.map.match_3.congr_eq_1 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C]
  (motive : (x : ℕ → C) → ((n : ℕ) → x n ⟶ x (n + 1)) → ℕ → ℕ → Sort u_3) (x : ℕ → C) (x_1 : (n : ℕ) → x n ⟶ x (n + 1))
  (x_2 x_3 : ℕ) (h_1 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → motive x x_4 0 0)
  (h_2 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → motive x f 0 1)
  (h_3 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (l : ℕ) → motive x f 0 l.succ)
  (h_4 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → (n : ℕ) → motive x x_4 n.succ 0)
  (h_5 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (k l : ℕ) → motive x f k.succ l.succ) (x_4 : ℕ → C)
  (x_5 : (n : ℕ) → x_4 n ⟶ x_4 (n + 1)),
  x = x_4 →
    x_1 ≍ x_5 →
      x_2 = 0 →
        x_3 = 0 →
          (match x, x_1, x_2, x_3 with
            | x, x_6, 0, 0 => h_1 x x_6
            | x, f, 0, 1 => h_2 x f
            | x, f, 0, l.succ => h_3 x f l
            | x, x_6, n.succ, 0 => h_4 x x_6 n
            | x, f, k.succ, l.succ => h_5 x f k l) ≍
            h_1 x_4 x_5

theorem CategoryTheory.Functor.OfSequence.map.match_3.congr_eq_4 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C]
  (motive : (x : ℕ → C) → ((n : ℕ) → x n ⟶ x (n + 1)) → ℕ → ℕ → Sort u_3) (x : ℕ → C) (x_1 : (n : ℕ) → x n ⟶ x (n + 1))
  (x_2 x_3 : ℕ) (h_1 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → motive x x_4 0 0)
  (h_2 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → motive x f 0 1)
  (h_3 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (l : ℕ) → motive x f 0 l.succ)
  (h_4 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → (n : ℕ) → motive x x_4 n.succ 0)
  (h_5 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (k l : ℕ) → motive x f k.succ l.succ) (x_4 : ℕ → C)
  (x_5 : (n : ℕ) → x_4 n ⟶ x_4 (n + 1)) (n : ℕ),
  x = x_4 →
    x_1 ≍ x_5 →
      x_2 = n.succ →
        x_3 = 0 →
          (match x, x_1, x_2, x_3 with
            | x, x_6, 0, 0 => h_1 x x_6
            | x, f, 0, 1 => h_2 x f
            | x, f, 0, l.succ => h_3 x f l
            | x, x_6, n.succ, 0 => h_4 x x_6 n
            | x, f, k.succ, l.succ => h_5 x f k l) ≍
            h_4 x_4 x_5 n

theorem CategoryTheory.Functor.OfSequence.map.match_3.congr_eq_2 E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{u_1, u_2} C]
  (motive : (x : ℕ → C) → ((n : ℕ) → x n ⟶ x (n + 1)) → ℕ → ℕ → Sort u_3) (x : ℕ → C) (x_1 : (n : ℕ) → x n ⟶ x (n + 1))
  (x_2 x_3 : ℕ) (h_1 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → motive x x_4 0 0)
  (h_2 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → motive x f 0 1)
  (h_3 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (l : ℕ) → motive x f 0 l.succ)
  (h_4 : (x : ℕ → C) → (x_4 : (n : ℕ) → x n ⟶ x (n + 1)) → (n : ℕ) → motive x x_4 n.succ 0)
  (h_5 : (x : ℕ → C) → (f : (n : ℕ) → x n ⟶ x (n + 1)) → (k l : ℕ) → motive x f k.succ l.succ) (x_4 : ℕ → C)
  (f : (n : ℕ) → x_4 n ⟶ x_4 (n + 1)),
  x = x_4 →
    x_1 ≍ f →
      x_2 = 0 →
        x_3 = 1 →
          (match x, x_1, x_2, x_3 with
            | x, x_5, 0, 0 => h_1 x x_5
            | x, f, 0, 1 => h_2 x f
            | x, f, 0, l.succ => h_3 x f l
            | x, x_5, n.succ, 0 => h_4 x x_5 n
            | x, f, k.succ, l.succ => h_5 x f k l) ≍
            h_2 x_4 f

theorem CategoryTheory.Functor.OfSequence.congr_f E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (i j : ℕ)
  (h : i = j),
  f i =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯)
      (CategoryTheory.CategoryStruct.comp (f j) (CategoryTheory.eqToHom ⋯))

def CategoryTheory.Functor.OfSequence.map E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : ℕ → C} → ((n : ℕ) → X n ⟶ X (n + 1)) → (i j : ℕ) → i ≤ j → (X i ⟶ X j)

The morphism X i ⟶ X j obtained by composing morphisms of the form X n ⟶ X (n + 1) when i ≤ j.

theorem CategoryTheory.Functor.OfSequence.map_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (i : ℕ),
  CategoryTheory.Functor.OfSequence.map f i i ⋯ = CategoryTheory.CategoryStruct.id (X i)

theorem CategoryTheory.Functor.OfSequence.map_le_succ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (i : ℕ),
  CategoryTheory.Functor.OfSequence.map f i (i + 1) ⋯ = f i

theorem CategoryTheory.Functor.OfSequence.map_comp_assoc E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (i j k : ℕ)
  (hij : i ≤ j) (hjk : j ≤ k) {Z : C} (h : X k ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.OfSequence.map f i k ⋯) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.OfSequence.map f i j hij)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.OfSequence.map f j k hjk) h)

theorem CategoryTheory.Functor.OfSequence.map_comp E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (i j k : ℕ)
  (hij : i ≤ j) (hjk : j ≤ k),
  CategoryTheory.Functor.OfSequence.map f i k ⋯ =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.OfSequence.map f i j hij)
      (CategoryTheory.Functor.OfSequence.map f j k hjk)

def CategoryTheory.Functor.ofSequence E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] → {X : ℕ → C} → ((n : ℕ) → X n ⟶ X (n + 1)) → CategoryTheory.Functor ℕ C

The functor ℕ ⥤ C constructed from a sequence of morphisms f : X n ⟶ X (n + 1) for all n : ℕ.

theorem CategoryTheory.Functor.ofSequence_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (a : ℕ),
  (CategoryTheory.Functor.ofSequence f).obj a = X a

theorem CategoryTheory.Functor.ofSequence_map_homOfLE_succ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X n ⟶ X (n + 1)) (n : ℕ),
  (CategoryTheory.Functor.ofSequence f).map (CategoryTheory.homOfLE ⋯) = f n

def CategoryTheory.NatTrans.ofSequence E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {F G : CategoryTheory.Functor ℕ C} →
      (app : (n : ℕ) → F.obj n ⟶ G.obj n) →
        (∀ (n : ℕ),
            CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.homOfLE ⋯)) (app (n + 1)) =
              CategoryTheory.CategoryStruct.comp (app n) (G.map (CategoryTheory.homOfLE ⋯))) →
          (F ⟶ G)

Constructor for natural transformations F ⟶ G in ℕ ⥤ C which takes as inputs the morphisms F.obj n ⟶ G.obj n for all n : ℕ and the naturality condition only for morphisms of the form n ⟶ n + 1.

theorem CategoryTheory.NatTrans.ofSequence_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {F G : CategoryTheory.Functor ℕ C}
  (app : (n : ℕ) → F.obj n ⟶ G.obj n)
  (naturality :
    ∀ (n : ℕ),
      CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.homOfLE ⋯)) (app (n + 1)) =
        CategoryTheory.CategoryStruct.comp (app n) (G.map (CategoryTheory.homOfLE ⋯)))
  (n : ℕ), (CategoryTheory.NatTrans.ofSequence app naturality).app n = app n

def CategoryTheory.Functor.ofOpSequence E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : ℕ → C} → ((n : ℕ) → X (n + 1) ⟶ X n) → CategoryTheory.Functor ℕᵒᵖ C

The functor ℕᵒᵖ ⥤ C constructed from a sequence of morphisms f : X (n + 1) ⟶ X n for all n : ℕ.

theorem CategoryTheory.Functor.ofOpSequence_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X (n + 1) ⟶ X n) (X_1 : ℕᵒᵖ),
  (CategoryTheory.Functor.ofOpSequence f).obj X_1 = X (Opposite.unop X_1)

theorem CategoryTheory.Functor.ofOpSequence_map_homOfLE_succ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : ℕ → C} (f : (n : ℕ) → X (n + 1) ⟶ X n) (n : ℕ),
  (CategoryTheory.Functor.ofOpSequence f).map (CategoryTheory.homOfLE ⋯).op = f n

def CategoryTheory.NatTrans.ofOpSequence E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {F G : CategoryTheory.Functor ℕᵒᵖ C} →
      (app : (n : ℕ) → F.obj (Opposite.op n) ⟶ G.obj (Opposite.op n)) →
        (∀ (n : ℕ),
            CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.homOfLE ⋯).op) (app n) =
              CategoryTheory.CategoryStruct.comp (app (n + 1)) (G.map (CategoryTheory.homOfLE ⋯).op)) →
          (F ⟶ G)

Constructor for natural transformations F ⟶ G in ℕᵒᵖ ⥤ C which takes as inputs the morphisms F.obj ⟨n⟩ ⟶ G.obj ⟨n⟩ for all n : ℕ and the naturality condition only for morphisms of the form n ⟶ n + 1.

theorem CategoryTheory.NatTrans.ofOpSequence_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {F G : CategoryTheory.Functor ℕᵒᵖ C}
  (app : (n : ℕ) → F.obj (Opposite.op n) ⟶ G.obj (Opposite.op n))
  (naturality :
    ∀ (n : ℕ),
      CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.homOfLE ⋯).op) (app n) =
        CategoryTheory.CategoryStruct.comp (app (n + 1)) (G.map (CategoryTheory.homOfLE ⋯).op))
  (n : ℕᵒᵖ), (CategoryTheory.NatTrans.ofOpSequence app naturality).app n = app (Opposite.unop n)