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.Limits.Shapes.SequentialProduct

17 declarations. Mathlib docs · Source

ℕ-indexed products as sequential limits

Given sequences M N : ℕ → C of objects with morphisms f n : M n ⟶ N n for all n, this file exhibits ∏ M as the limit of the tower

⋯ → ∏_{n < m + 1} M n × ∏_{n ≥ m + 1} N n → ∏_{n < m} M n × ∏_{n ≥ m} N n → ⋯ → ∏ N

Further, we prove that the transition maps in this tower are epimorphisms, in the case when each f n is an epimorphism and C has finite biproducts.

theorem CategoryTheory.Limits.SequentialProduct.functorObj_eq_pos E1 #

∀ {C : Type u_1} {M N : ℕ → C} {n m : ℕ}, m < n → (fun i ↦ if x : i < n then M i else N i) m = M m

theorem CategoryTheory.Limits.SequentialProduct.functorObj_eq_neg E1 #

∀ {C : Type u_1} {M N : ℕ → C} {n m : ℕ}, ¬m < n → (fun i ↦ if x : i < n then M i else N i) m = N m

def CategoryTheory.Limits.SequentialProduct.functorObj E1 #

{C : Type u_1} →
  (ℕ → C) →
    (ℕ → C) → [inst : CategoryTheory.Category.{v_1, u_1} C] → [CategoryTheory.Limits.HasCountableProducts C] → ℕ → C

The product of the m first objects of M and the rest of the rest of N

def CategoryTheory.Limits.SequentialProduct.functorObjProj_pos E1 #

{C : Type u_1} →
  {M N : ℕ → C} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Limits.HasCountableProducts C] →
        (n m : ℕ) → m < n → (CategoryTheory.Limits.SequentialProduct.functorObj M N n ⟶ M m)

The projection map from functorObj M N n to M m, when m < n

def CategoryTheory.Limits.SequentialProduct.functorObjProj_neg E1 #

{C : Type u_1} →
  {M N : ℕ → C} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Limits.HasCountableProducts C] →
        (n m : ℕ) → ¬m < n → (CategoryTheory.Limits.SequentialProduct.functorObj M N n ⟶ N m)

The projection map from functorObj M N n to N m, when m ≥ n

def CategoryTheory.Limits.SequentialProduct.functorMap E1 #

{C : Type u_1} →
  {M N : ℕ → C} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      ((n : ℕ) → M n ⟶ N n) →
        [inst_1 : CategoryTheory.Limits.HasCountableProducts C] →
          (n : ℕ) →
            CategoryTheory.Limits.SequentialProduct.functorObj M N (n + 1) ⟶
              CategoryTheory.Limits.SequentialProduct.functorObj M N n

The transition maps in the sequential limit of products

theorem CategoryTheory.Limits.SequentialProduct.functorMap_commSq_succ E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (n : ℕ),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Functor.ofOpSequence (CategoryTheory.Limits.SequentialProduct.functorMap f)).map
        (CategoryTheory.homOfLE ⋯).op)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.Pi.π (fun m ↦ if x : m < Opposite.unop (Opposite.op n) then M m else N m) n)
        (CategoryTheory.eqToHom ⋯)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun i ↦ if x : i < n + 1 then M i else N i) n)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (f n))

theorem CategoryTheory.Limits.SequentialProduct.functorMap_commSq_aux E0 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] {n m k : ℕ} (h : n ≤ m) (hh : ¬k < m),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Functor.ofOpSequence (CategoryTheory.Limits.SequentialProduct.functorMap f)).map
        (CategoryTheory.homOfLE h).op)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.Pi.π (fun m ↦ if x : m < Opposite.unop (Opposite.op n) then M m else N m) k)
        (CategoryTheory.eqToHom ⋯)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun i ↦ if x : i < m then M i else N i) k)
      (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.SequentialProduct.functorMap_commSq E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] {n m : ℕ} (h : ¬m < n),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Functor.ofOpSequence (CategoryTheory.Limits.SequentialProduct.functorMap f)).map
        (CategoryTheory.homOfLE ⋯).op)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.Pi.π (fun m ↦ if x : m < Opposite.unop (Opposite.op n) then M m else N m) m)
        (CategoryTheory.eqToHom ⋯)) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun i ↦ if x : i < m + 1 then M i else N i) m)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (f m))

def CategoryTheory.Limits.SequentialProduct.cone E1 #

{C : Type u_1} →
  {M N : ℕ → C} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      (f : (n : ℕ) → M n ⟶ N n) →
        [inst_1 : CategoryTheory.Limits.HasCountableProducts C] →
          CategoryTheory.Limits.Cone
            (CategoryTheory.Functor.ofOpSequence (CategoryTheory.Limits.SequentialProduct.functorMap f))

The cone over the tower

⋯ → ∏_{n < m} M n × ∏_{n ≥ m} N n → ⋯ → ∏ N

with cone point ∏ M. This is a limit cone, see CategoryTheory.Limits.SequentialProduct.isLimit.

theorem CategoryTheory.Limits.SequentialProduct.cone_π_app E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (n : ℕ),
  (CategoryTheory.Limits.SequentialProduct.cone f).π.app (Opposite.op n) =
    CategoryTheory.Limits.Pi.map fun m ↦
      if h : m < n then CategoryTheory.eqToHom ⋯
      else CategoryTheory.CategoryStruct.comp (f m) (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.SequentialProduct.cone_π_app_comp_Pi_π_pos_assoc E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (m n : ℕ) (h : n < m) {Z : C}
  (h_1 : (if x : n < m then M n else N n) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.SequentialProduct.cone f).π.app (Opposite.op m))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun i ↦ if x : i < m then M i else N i) n) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π M n)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) h_1)

theorem CategoryTheory.Limits.SequentialProduct.cone_π_app_comp_Pi_π_pos E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (m n : ℕ) (h : n < m),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.SequentialProduct.cone f).π.app (Opposite.op m))
      (CategoryTheory.Limits.Pi.π (fun i ↦ if x : i < m then M i else N i) n) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π M n) (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.SequentialProduct.cone_π_app_comp_Pi_π_neg_assoc E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (m n : ℕ) (h : ¬n < m) {Z : C}
  (h_1 : (if x : n < m then M n else N n) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.SequentialProduct.cone f).π.app (Opposite.op m))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.Pi.π (fun m_1 ↦ if x : m_1 < m then M m_1 else N m_1) n) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π M n)
      (CategoryTheory.CategoryStruct.comp (f n) (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) h_1))

theorem CategoryTheory.Limits.SequentialProduct.cone_π_app_comp_Pi_π_neg E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] (m n : ℕ) (h : ¬n < m),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.Limits.SequentialProduct.cone f).π.app (Opposite.op m))
      (CategoryTheory.Limits.Pi.π (fun m_1 ↦ if x : m_1 < Opposite.unop (Opposite.op m) then M m_1 else N m_1) n) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π M n)
      (CategoryTheory.CategoryStruct.comp (f n) (CategoryTheory.eqToHom ⋯))

def CategoryTheory.Limits.SequentialProduct.isLimit E1 #

{C : Type u_1} →
  {M N : ℕ → C} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      (f : (n : ℕ) → M n ⟶ N n) →
        [inst_1 : CategoryTheory.Limits.HasCountableProducts C] →
          CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.SequentialProduct.cone f)

The cone over the tower

⋯ → ∏_{n < m} M n × ∏_{n ≥ m} N n → ⋯ → ∏ N

with cone point ∏ M is indeed a limit cone.

theorem CategoryTheory.Limits.SequentialProduct.functorMap_epi E1 #

∀ {C : Type u_1} {M N : ℕ → C} [inst : CategoryTheory.Category.{v_1, u_1} C] (f : (n : ℕ) → M n ⟶ N n)
  [inst_1 : CategoryTheory.Limits.HasCountableProducts C] [inst_2 : CategoryTheory.Limits.HasZeroMorphisms C]
  [CategoryTheory.Limits.HasFiniteBiproducts C] [∀ (n : ℕ), CategoryTheory.Epi (f n)] (n : ℕ),
  CategoryTheory.Epi (CategoryTheory.Limits.SequentialProduct.functorMap f n)