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

258 declarations and 17 deprecated aliases. Mathlib docs · Source

theorem CategoryTheory.Limits.sigmaSigmaIso.match_1.congr_eq_1 E1 #

∀ {ι : Type u_1} (f : ι → Type u_2) (motive : (i : ι) × f i → Sort u_3) (x : (i : ι) × f i)
  (h_1 : (i : ι) → (x : f i) → motive ⟨i, x⟩) (i : ι) (x_1 : f i),
  x = ⟨i, x_1⟩ →
    (match x with
      | ⟨i, x⟩ => h_1 i x) ≍
      h_1 i x_1

theorem CategoryTheory.Limits.piObj.congr_simp E1 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (f f_1 : β → C) (e_f : f = f_1)
  [inst_1 : CategoryTheory.Limits.HasProduct f], ∏ᶜ f = ∏ᶜ f_1

theorem CategoryTheory.Limits.piPiIso.match_1.congr_eq_1 E1 #

∀ {ι : Type u_1} (f : ι → Type u_2) (motive : (i : ι) × f i → Sort u_3) (x : (i : ι) × f i)
  (h_1 : (i : ι) → (x : f i) → motive ⟨i, x⟩) (i : ι) (x_1 : f i),
  x = ⟨i, x_1⟩ →
    (match x with
      | ⟨i, x⟩ => h_1 i x) ≍
      h_1 i x_1

abbrev CategoryTheory.Limits.Fan E1 #

{β : Type w} → {C : Type u} → [CategoryTheory.Category.{v, u} C] → (β → C) → Type (max (max w u) v)

A fan over f : β → C consists of a collection of maps from an object P to every f b.

abbrev CategoryTheory.Limits.Cofan E1 #

{β : Type w} → {C : Type u} → [CategoryTheory.Category.{v, u} C] → (β → C) → Type (max (max w u) v)

A cofan over f : β → C consists of a collection of maps from every f b to an object P.

def CategoryTheory.Limits.Fan.mk E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} → (P : C) → ((b : β) → P ⟶ f b) → CategoryTheory.Limits.Fan f

A fan over f : β → C consists of a collection of maps from an object P to every f b.

theorem CategoryTheory.Limits.Cofan.mk_ι_app E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → f b ⟶ P)
  (X : CategoryTheory.Discrete β), (CategoryTheory.Limits.Cofan.mk P p).ι.app X = p X.as

theorem CategoryTheory.Limits.Cofan.mk_pt E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → f b ⟶ P),
  (CategoryTheory.Limits.Cofan.mk P p).pt = P

theorem CategoryTheory.Limits.Fan.mk_pt E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → P ⟶ f b),
  (CategoryTheory.Limits.Fan.mk P p).pt = P

def CategoryTheory.Limits.Cofan.mk E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} → (P : C) → ((b : β) → f b ⟶ P) → CategoryTheory.Limits.Cofan f

A cofan over f : β → C consists of a collection of maps from every f b to an object P.

theorem CategoryTheory.Limits.Fan.mk_π_app E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → P ⟶ f b)
  (X : CategoryTheory.Discrete β), (CategoryTheory.Limits.Fan.mk P p).π.app X = p X.as

def CategoryTheory.Limits.Fan.proj E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] → {f : β → C} → (p : CategoryTheory.Limits.Fan f) → (j : β) → p.pt ⟶ f j

Get the jth "projection" in the fan. (Note that the initial letter of proj matches the greek letter in Cone.π.)

def CategoryTheory.Limits.Cofan.inj E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] → {f : β → C} → (p : CategoryTheory.Limits.Cofan f) → (j : β) → f j ⟶ p.pt

Get the jth "injection" in the cofan. (Note that the initial letter of inj matches the greek letter in Cocone.ι.)

theorem CategoryTheory.Limits.fan_mk_proj E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → P ⟶ f b),
  (CategoryTheory.Limits.Fan.mk P p).proj = p

theorem CategoryTheory.Limits.cofan_mk_inj E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (P : C) (p : (b : β) → f b ⟶ P),
  (CategoryTheory.Limits.Cofan.mk P p).inj = p

abbrev CategoryTheory.Limits.HasProduct E1 #

{β : Type w} → {C : Type u} → [CategoryTheory.Category.{v, u} C] → (β → C) → Prop

An abbreviation for HasLimit (Discrete.functor f).

abbrev CategoryTheory.Limits.HasCoproduct E1 #

{β : Type w} → {C : Type u} → [CategoryTheory.Category.{v, u} C] → (β → C) → Prop

An abbreviation for HasColimit (Discrete.functor f).

theorem CategoryTheory.Limits.hasCoproduct_of_equiv_of_iso E1 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (f : α → C) (g : β → C)
  [CategoryTheory.Limits.HasCoproduct f] (e : β ≃ α) (iso : (j : β) → g j ≅ f (e j)),
  CategoryTheory.Limits.HasCoproduct g

theorem CategoryTheory.Limits.hasProduct_of_equiv_of_iso E1 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (f : α → C) (g : β → C)
  [CategoryTheory.Limits.HasProduct f] (e : β ≃ α) (iso : (j : β) → g j ≅ f (e j)), CategoryTheory.Limits.HasProduct g

def CategoryTheory.Limits.Fan.IsLimit.mk E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        (t : CategoryTheory.Limits.Fan f) →
          (lift : (s : CategoryTheory.Limits.Fan f) → s.pt ⟶ t.pt) →
            autoParam
                (∀ (s : CategoryTheory.Limits.Fan f) (j : β),
                  CategoryTheory.CategoryStruct.comp (lift s) (t.proj j) = s.proj j)
                CategoryTheory.Limits.Fan.IsLimit.mk._auto_1 →
              autoParam
                  (∀ (s : CategoryTheory.Limits.Fan f) (m : s.pt ⟶ t.pt),
                    (∀ (j : β), CategoryTheory.CategoryStruct.comp m (t.proj j) = s.proj j) → m = lift s)
                  CategoryTheory.Limits.Fan.IsLimit.mk._auto_3 →
                CategoryTheory.Limits.IsLimit t

Make a fan f into a limit fan by providing lift, fac, and uniq -- just a convenience lemma to avoid having to go through Discrete

def CategoryTheory.Limits.Cofan.IsColimit.mk E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        (t : CategoryTheory.Limits.Cofan f) →
          (lift : (s : CategoryTheory.Limits.Cofan f) → t.pt ⟶ s.pt) →
            autoParam
                (∀ (s : CategoryTheory.Limits.Cofan f) (j : β),
                  CategoryTheory.CategoryStruct.comp (t.inj j) (lift s) = s.inj j)
                CategoryTheory.Limits.Cofan.IsColimit.mk._auto_1 →
              autoParam
                  (∀ (s : CategoryTheory.Limits.Cofan f) (m : t.pt ⟶ s.pt),
                    (∀ (j : β), CategoryTheory.CategoryStruct.comp (t.inj j) m = s.inj j) → m = lift s)
                  CategoryTheory.Limits.Cofan.IsColimit.mk._auto_3 →
                CategoryTheory.Limits.IsColimit t

Make a cofan f into a colimit cofan by providing desc, fac, and uniq -- just a convenience lemma to avoid having to go through Discrete

theorem CategoryTheory.Limits.Cofan.IsColimit.mk_desc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (t : CategoryTheory.Limits.Cofan f)
  (lift : (s : CategoryTheory.Limits.Cofan f) → t.pt ⟶ s.pt)
  (fac :
    autoParam
      (∀ (s : CategoryTheory.Limits.Cofan f) (j : β), CategoryTheory.CategoryStruct.comp (t.inj j) (lift s) = s.inj j)
      CategoryTheory.Limits.Cofan.IsColimit.mk._auto_1)
  (uniq :
    autoParam
      (∀ (s : CategoryTheory.Limits.Cofan f) (m : t.pt ⟶ s.pt),
        (∀ (j : β), CategoryTheory.CategoryStruct.comp (t.inj j) m = s.inj j) → m = lift s)
      CategoryTheory.Limits.Cofan.IsColimit.mk._auto_3)
  (s : CategoryTheory.Limits.Cofan f), (CategoryTheory.Limits.Cofan.IsColimit.mk t lift fac uniq).desc s = lift s

theorem CategoryTheory.Limits.Fan.IsLimit.mk_lift E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} (t : CategoryTheory.Limits.Fan f)
  (lift : (s : CategoryTheory.Limits.Fan f) → s.pt ⟶ t.pt)
  (fac :
    autoParam
      (∀ (s : CategoryTheory.Limits.Fan f) (j : β), CategoryTheory.CategoryStruct.comp (lift s) (t.proj j) = s.proj j)
      CategoryTheory.Limits.Fan.IsLimit.mk._auto_1)
  (uniq :
    autoParam
      (∀ (s : CategoryTheory.Limits.Fan f) (m : s.pt ⟶ t.pt),
        (∀ (j : β), CategoryTheory.CategoryStruct.comp m (t.proj j) = s.proj j) → m = lift s)
      CategoryTheory.Limits.Fan.IsLimit.mk._auto_3)
  (s : CategoryTheory.Limits.Fan f), (CategoryTheory.Limits.Fan.IsLimit.mk t lift fac uniq).lift s = lift s

def CategoryTheory.Limits.Fan.IsLimit.lift E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : β → C} →
        {c : CategoryTheory.Limits.Fan F} → CategoryTheory.Limits.IsLimit c → {A : C} → ((i : β) → A ⟶ F i) → (A ⟶ c.pt)

Constructor for morphisms to the point of a limit fan.

def CategoryTheory.Limits.Cofan.IsColimit.desc E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : β → C} →
        {c : CategoryTheory.Limits.Cofan F} →
          CategoryTheory.Limits.IsColimit c → {A : C} → ((i : β) → F i ⟶ A) → (c.pt ⟶ A)

Constructor for morphisms from the point of a colimit cofan.

theorem CategoryTheory.Limits.Fan.IsLimit.fac_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : β → C} {c : CategoryTheory.Limits.Fan F}
  (hc : CategoryTheory.Limits.IsLimit c) {A : C} (f : (i : β) → A ⟶ F i) (i : β) {Z : C} (h : F i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fan.IsLimit.lift hc f)
      (CategoryTheory.CategoryStruct.comp (c.proj i) h) =
    CategoryTheory.CategoryStruct.comp (f i) h

theorem CategoryTheory.Limits.Fan.IsLimit.fac E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : β → C} {c : CategoryTheory.Limits.Fan F}
  (hc : CategoryTheory.Limits.IsLimit c) {A : C} (f : (i : β) → A ⟶ F i) (i : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fan.IsLimit.lift hc f) (c.proj i) = f i

theorem CategoryTheory.Limits.Cofan.IsColimit.fac_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : β → C} {c : CategoryTheory.Limits.Cofan F}
  (hc : CategoryTheory.Limits.IsColimit c) {A : C} (f : (i : β) → F i ⟶ A) (i : β) {Z : C} (h : A ⟶ Z),
  CategoryTheory.CategoryStruct.comp (c.inj i)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Cofan.IsColimit.desc hc f) h) =
    CategoryTheory.CategoryStruct.comp (f i) h

theorem CategoryTheory.Limits.Cofan.IsColimit.fac E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : β → C} {c : CategoryTheory.Limits.Cofan F}
  (hc : CategoryTheory.Limits.IsColimit c) {A : C} (f : (i : β) → F i ⟶ A) (i : β),
  CategoryTheory.CategoryStruct.comp (c.inj i) (CategoryTheory.Limits.Cofan.IsColimit.desc hc f) = f i

theorem CategoryTheory.Limits.Cofan.IsColimit.inj_desc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : β → C} {c : CategoryTheory.Limits.Cofan X}
  (d : CategoryTheory.Limits.Cofan X) (hc : CategoryTheory.Limits.IsColimit c) (i : β),
  CategoryTheory.CategoryStruct.comp (c.inj i) (hc.desc d) = d.inj i

theorem CategoryTheory.Limits.Cofan.IsColimit.inj_desc_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : β → C} {c : CategoryTheory.Limits.Cofan X}
  (d : CategoryTheory.Limits.Cofan X) (hc : CategoryTheory.Limits.IsColimit c) (i : β) {Z : C} (h : d.pt ⟶ Z),
  CategoryTheory.CategoryStruct.comp (c.inj i) (CategoryTheory.CategoryStruct.comp (hc.desc d) h) =
    CategoryTheory.CategoryStruct.comp (d.inj i) h

theorem CategoryTheory.Limits.Fan.IsLimit.lift_proj E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : β → C} {c : CategoryTheory.Limits.Fan X}
  (d : CategoryTheory.Limits.Fan X) (hc : CategoryTheory.Limits.IsLimit c) (i : β),
  CategoryTheory.CategoryStruct.comp (hc.lift d) (c.proj i) = d.proj i

theorem CategoryTheory.Limits.Fan.IsLimit.lift_proj_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : β → C} {c : CategoryTheory.Limits.Fan X}
  (d : CategoryTheory.Limits.Fan X) (hc : CategoryTheory.Limits.IsLimit c) (i : β) {Z : C} (h : X i ⟶ Z),
  CategoryTheory.CategoryStruct.comp (hc.lift d) (CategoryTheory.CategoryStruct.comp (c.proj i) h) =
    CategoryTheory.CategoryStruct.comp (d.proj i) h

theorem CategoryTheory.Limits.Cofan.IsColimit.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {I : Type u_1} {F : I → C} {c : CategoryTheory.Limits.Cofan F}
  (hc : CategoryTheory.Limits.IsColimit c) {A : C} (f g : c.pt ⟶ A),
  (∀ (i : I), CategoryTheory.CategoryStruct.comp (c.inj i) f = CategoryTheory.CategoryStruct.comp (c.inj i) g) → f = g

theorem CategoryTheory.Limits.Fan.IsLimit.hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {I : Type u_1} {F : I → C} {c : CategoryTheory.Limits.Fan F}
  (hc : CategoryTheory.Limits.IsLimit c) {A : C} (f g : A ⟶ c.pt),
  (∀ (i : I), CategoryTheory.CategoryStruct.comp f (c.proj i) = CategoryTheory.CategoryStruct.comp g (c.proj i)) → f = g

abbrev CategoryTheory.Limits.HasProductsOfShape E1 #

Type v → (C : Type u_1) → [CategoryTheory.Category.{u_2, u_1} C] → Prop

An abbreviation for HasLimitsOfShape (Discrete f).

abbrev CategoryTheory.Limits.HasCoproductsOfShape E1 #

Type v → (C : Type u_1) → [CategoryTheory.Category.{u_2, u_1} C] → Prop

An abbreviation for HasColimitsOfShape (Discrete f).

abbrev CategoryTheory.Limits.piObj E1 #

{β : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (f : β → C) → [CategoryTheory.Limits.HasProduct f] → C

piObj f computes the product of a family of elements f. (It is defined as an abbreviation for limit (Discrete.functor f), so for most facts about piObj f, you will just use general facts about limits.)

abbrev CategoryTheory.Limits.sigmaObj E1 #

{β : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (f : β → C) → [CategoryTheory.Limits.HasCoproduct f] → C

sigmaObj f computes the coproduct of a family of elements f. (It is defined as an abbreviation for colimit (Discrete.functor f), so for most facts about sigmaObj f, you will just use general facts about colimits.)

def CategoryTheory.Limits.«term∏ᶜ_» E1 #

Lean.ParserDescr

notation for categorical products. We need ᶜ to avoid conflict with Finset.prod.

def CategoryTheory.Limits.«term∐_» E1 #

Lean.ParserDescr

notation for categorical coproducts

abbrev CategoryTheory.Limits.Pi.π E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (f : β → C) → [inst_1 : CategoryTheory.Limits.HasProduct f] → (b : β) → ∏ᶜ f ⟶ f b

The b-th projection from the pi object over f has the form ∏ᶜ f ⟶ f b.

abbrev CategoryTheory.Limits.Sigma.ι E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (f : β → C) → [inst_1 : CategoryTheory.Limits.HasCoproduct f] → (b : β) → f b ⟶ ∐ f

The b-th inclusion into the sigma object over f has the form f b ⟶ ∐ f.

theorem CategoryTheory.Limits.Pi.hom_ext E1 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] {X : C} (g₁ g₂ : X ⟶ ∏ᶜ f),
  (∀ (b : β),
      CategoryTheory.CategoryStruct.comp g₁ (CategoryTheory.Limits.Pi.π f b) =
        CategoryTheory.CategoryStruct.comp g₂ (CategoryTheory.Limits.Pi.π f b)) →
    g₁ = g₂

Without this lemma, limit.hom_ext would be applied, but the goal would involve terms in Discrete β rather than β itself.

theorem CategoryTheory.Limits.Pi.hom_ext_iff E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] {X : C} {g₁ g₂ : X ⟶ ∏ᶜ f},
  g₁ = g₂ ↔
    ∀ (b : β),
      CategoryTheory.CategoryStruct.comp g₁ (CategoryTheory.Limits.Pi.π f b) =
        CategoryTheory.CategoryStruct.comp g₂ (CategoryTheory.Limits.Pi.π f b)

theorem CategoryTheory.Limits.Sigma.hom_ext_iff E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {X : C} {g₁ g₂ : ∐ f ⟶ X},
  g₁ = g₂ ↔
    ∀ (b : β),
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) g₁ =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) g₂

theorem CategoryTheory.Limits.Sigma.hom_ext E1 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {X : C} (g₁ g₂ : ∐ f ⟶ X),
  (∀ (b : β),
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) g₁ =
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) g₂) →
    g₁ = g₂

Without this lemma, limit.hom_ext would be applied, but the goal would involve terms in Discrete β rather than β itself.

def CategoryTheory.Limits.productIsProduct E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (f : β → C) →
        [inst_1 : CategoryTheory.Limits.HasProduct f] →
          CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk (∏ᶜ f) (CategoryTheory.Limits.Pi.π f))

The fan constructed of the projections from the product is limiting.

def CategoryTheory.Limits.coproductIsCoproduct E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (f : β → C) →
        [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (∐ f) (CategoryTheory.Limits.Sigma.ι f))

The cofan constructed of the inclusions from the coproduct is colimiting.

theorem CategoryTheory.Limits.Sigma.eqToHom_comp_ι_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} (f : J → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {j j' : J} (w : j = j') {Z : C} (h : ∐ f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f j) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f j') h

theorem CategoryTheory.Limits.Pi.π_comp_eqToHom_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} (f : J → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] {j j' : J} (w : j = j') {Z : C} (h : f j' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f j)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f j') h

theorem CategoryTheory.Limits.Pi.π_comp_eqToHom E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} (f : J → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] {j j' : J} (w : j = j'),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f j) (CategoryTheory.eqToHom ⋯) =
    CategoryTheory.Limits.Pi.π f j'

theorem CategoryTheory.Limits.Sigma.eqToHom_comp_ι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} (f : J → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {j j' : J} (w : j = j'),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (CategoryTheory.Limits.Sigma.ι f j) =
    CategoryTheory.Limits.Sigma.ι f j'

abbrev CategoryTheory.Limits.Pi.lift E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} → [inst_1 : CategoryTheory.Limits.HasProduct f] → {P : C} → ((b : β) → P ⟶ f b) → (P ⟶ ∏ᶜ f)

A collection of morphisms P ⟶ f b induces a morphism P ⟶ ∏ᶜ f.

abbrev CategoryTheory.Limits.Sigma.desc E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} → [inst_1 : CategoryTheory.Limits.HasCoproduct f] → {P : C} → ((b : β) → f b ⟶ P) → (∐ f ⟶ P)

A collection of morphisms f b ⟶ P induces a morphism ∐ f ⟶ P.

theorem CategoryTheory.Limits.Pi.lift_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f],
  CategoryTheory.Limits.Pi.lift (CategoryTheory.Limits.Pi.π f) = CategoryTheory.CategoryStruct.id (∏ᶜ f)

theorem CategoryTheory.Limits.Sigma.desc_ι E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f],
  CategoryTheory.Limits.Sigma.desc (CategoryTheory.Limits.Sigma.ι f) = CategoryTheory.CategoryStruct.id (∐ f)

instance CategoryTheory.Limits.instIsIsoLiftπ E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f],
  CategoryTheory.IsIso (CategoryTheory.Limits.Pi.lift (CategoryTheory.Limits.Pi.π f))

instance CategoryTheory.Limits.instIsIsoDescι E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f],
  CategoryTheory.IsIso (CategoryTheory.Limits.Sigma.desc (CategoryTheory.Limits.Sigma.ι f))

theorem CategoryTheory.Limits.Pi.lift_comp_π_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] {P : C} (p : (b : β) → P ⟶ f b) (b : β) {F : C → C → Type uF}
  {carrier : C → Type w_1} {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)}
  [inst_2 : CategoryTheory.ConcreteCategory C F] (x : carrier P),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π f b))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.lift p)) x) =
    (CategoryTheory.ConcreteCategory.hom (p b)) x

theorem CategoryTheory.Limits.Pi.lift_comp_π E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] {P : C} (p : (b : β) → P ⟶ f b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.lift p) (CategoryTheory.Limits.Pi.π f b) = p b

theorem CategoryTheory.Limits.Sigma.ι_comp_desc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {P : C} (p : (b : β) → f b ⟶ P) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) (CategoryTheory.Limits.Sigma.desc p) = p b

theorem CategoryTheory.Limits.Sigma.ι_comp_desc_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {P : C} (p : (b : β) → f b ⟶ P) (b : β) {F : C → C → Type uF}
  {carrier : C → Type w_1} {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)}
  [inst_2 : CategoryTheory.ConcreteCategory C F] (x : carrier (f b)),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.desc p))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.ι f b)) x) =
    (CategoryTheory.ConcreteCategory.hom (p b)) x

theorem CategoryTheory.Limits.Pi.lift_comp_π_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] {P : C} (p : (b : β) → P ⟶ f b) (b : β) {Z : C} (h : f b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.lift p)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) h) =
    CategoryTheory.CategoryStruct.comp (p b) h

theorem CategoryTheory.Limits.Sigma.ι_comp_desc_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {β : Type w} {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] {P : C} (p : (b : β) → f b ⟶ P) (b : β) {Z : C} (h : P ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.desc p) h) =
    CategoryTheory.CategoryStruct.comp (p b) h

def CategoryTheory.Limits.Fan.ext E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        {c₁ c₂ : CategoryTheory.Limits.Fan f} →
          (e : c₁.pt ≅ c₂.pt) →
            autoParam (∀ (b : β), c₁.proj b = CategoryTheory.CategoryStruct.comp e.hom (c₂.proj b))
                CategoryTheory.Limits.Fan.ext._auto_1 →
              (c₁ ≅ c₂)

A version of Cone.ext for Fans.

theorem CategoryTheory.Limits.Fan.ext_inv_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} {c₁ c₂ : CategoryTheory.Limits.Fan f}
  (e : c₁.pt ≅ c₂.pt)
  (w :
    autoParam (∀ (b : β), c₁.proj b = CategoryTheory.CategoryStruct.comp e.hom (c₂.proj b))
      CategoryTheory.Limits.Fan.ext._auto_1),
  (CategoryTheory.Limits.Fan.ext e w).inv.hom = e.inv

theorem CategoryTheory.Limits.Fan.ext_hom_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C} {c₁ c₂ : CategoryTheory.Limits.Fan f}
  (e : c₁.pt ≅ c₂.pt)
  (w :
    autoParam (∀ (b : β), c₁.proj b = CategoryTheory.CategoryStruct.comp e.hom (c₂.proj b))
      CategoryTheory.Limits.Fan.ext._auto_1),
  (CategoryTheory.Limits.Fan.ext e w).hom.hom = e.hom

def CategoryTheory.Limits.Cofan.ext E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        {c₁ c₂ : CategoryTheory.Limits.Cofan f} →
          (e : c₁.pt ≅ c₂.pt) →
            autoParam (∀ (b : β), CategoryTheory.CategoryStruct.comp (c₁.inj b) e.hom = c₂.inj b)
                CategoryTheory.Limits.Cofan.ext._auto_1 →
              (c₁ ≅ c₂)

A version of Cocone.ext for Cofans.

theorem CategoryTheory.Limits.Cofan.ext_inv_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  {c₁ c₂ : CategoryTheory.Limits.Cofan f} (e : c₁.pt ≅ c₂.pt)
  (w :
    autoParam (∀ (b : β), CategoryTheory.CategoryStruct.comp (c₁.inj b) e.hom = c₂.inj b)
      CategoryTheory.Limits.Cofan.ext._auto_1),
  (CategoryTheory.Limits.Cofan.ext e w).inv.hom = e.inv

theorem CategoryTheory.Limits.Cofan.ext_hom_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  {c₁ c₂ : CategoryTheory.Limits.Cofan f} (e : c₁.pt ≅ c₂.pt)
  (w :
    autoParam (∀ (b : β), CategoryTheory.CategoryStruct.comp (c₁.inj b) e.hom = c₂.inj b)
      CategoryTheory.Limits.Cofan.ext._auto_1),
  (CategoryTheory.Limits.Cofan.ext e w).hom.hom = e.hom

def CategoryTheory.Limits.Fan.isLimitOfIsIsoPiLift E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        [inst_1 : CategoryTheory.Limits.HasProduct f] →
          (c : CategoryTheory.Limits.Fan f) →
            [hc : CategoryTheory.IsIso (CategoryTheory.Limits.Pi.lift c.proj)] → CategoryTheory.Limits.IsLimit c

A fan c on f such that the induced map c.pt ⟶ ∏ f is an iso, is a product.

def CategoryTheory.Limits.Cofan.isColimitOfIsIsoSigmaDesc E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f : β → C} →
        [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
          (c : CategoryTheory.Limits.Cofan f) →
            [hc : CategoryTheory.IsIso (CategoryTheory.Limits.Sigma.desc c.inj)] → CategoryTheory.Limits.IsColimit c

A cofan c on f such that the induced map ∐ f ⟶ c.pt is an iso, is a coproduct.

theorem CategoryTheory.Limits.Fan.nonempty_isLimit_iff_isIso_piLift E1 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] (c : CategoryTheory.Limits.Fan f),
  Nonempty (CategoryTheory.Limits.IsLimit c) ↔ CategoryTheory.IsIso (CategoryTheory.Limits.Pi.lift c.proj)

theorem CategoryTheory.Limits.Cofan.nonempty_isColimit_iff_isIso_sigmaDesc E1 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] (c : CategoryTheory.Limits.Cofan f),
  Nonempty (CategoryTheory.Limits.IsColimit c) ↔ CategoryTheory.IsIso (CategoryTheory.Limits.Sigma.desc c.inj)

def CategoryTheory.Limits.Cofan.isColimitTrans E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X : α → C} →
        (c : CategoryTheory.Limits.Cofan X) →
          CategoryTheory.Limits.IsColimit c →
            {β : α → Type u_1} →
              {Y : (a : α) → β a → C} →
                (π : (a : α) → (b : β a) → Y a b ⟶ X a) →
                  ((a : α) → CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (X a) (π a))) →
                    CategoryTheory.Limits.IsColimit
                      (CategoryTheory.Limits.Cofan.mk c.pt fun x ↦
                        match x with
                        | ⟨a, b⟩ => CategoryTheory.CategoryStruct.comp (π a b) (c.inj a))

A coproduct of coproducts is a coproduct

def CategoryTheory.Limits.Pi.map E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f g : β → C} →
        [inst_1 : CategoryTheory.Limits.HasProduct f] →
          [inst_2 : CategoryTheory.Limits.HasProduct g] → ((b : β) → f b ⟶ g b) → (∏ᶜ f ⟶ ∏ᶜ g)

Construct a morphism between categorical products (indexed by the same type) from a family of morphisms between the factors.

def CategoryTheory.Limits.Sigma.map E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f g : β → C} →
        [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
          [inst_2 : CategoryTheory.Limits.HasCoproduct g] → ((b : β) → g b ⟶ f b) → (∐ g ⟶ ∐ f)

Construct a morphism between categorical coproducts (indexed by the same type) from a family of morphisms between the factors.

theorem CategoryTheory.Limits.Sigma.ι_map E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  (p : (b : β) → g b ⟶ f b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b) (CategoryTheory.Limits.Sigma.map p) =
    CategoryTheory.CategoryStruct.comp (p b) (CategoryTheory.Limits.Sigma.ι f b)

theorem CategoryTheory.Limits.Sigma.ι_map_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  (p : (b : β) → g b ⟶ f b) (b : β) {Z : C} (h : ∐ f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map p) h) =
    CategoryTheory.CategoryStruct.comp (p b) (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) h)

theorem CategoryTheory.Limits.Pi.map_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : (b : β) → f b ⟶ g b)
  (b : β) {Z : C} (h : g b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map p)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π g b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) (CategoryTheory.CategoryStruct.comp (p b) h)

theorem CategoryTheory.Limits.Pi.map_π_apply E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : (b : β) → f b ⟶ g b)
  (b : β) {F : C → C → Type uF} {carrier : C → Type w_1}
  {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)} [inst_3 : CategoryTheory.ConcreteCategory C F]
  (x : carrier (∏ᶜ f)),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π g b))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.map p)) x) =
    (CategoryTheory.ConcreteCategory.hom (p b))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π f b)) x)

theorem CategoryTheory.Limits.Pi.map_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : (b : β) → f b ⟶ g b)
  (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map p) (CategoryTheory.Limits.Pi.π g b) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) (p b)

theorem CategoryTheory.Limits.Sigma.ι_map_apply E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  (p : (b : β) → g b ⟶ f b) (b : β) {F : C → C → Type uF} {carrier : C → Type w_1}
  {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)} [inst_3 : CategoryTheory.ConcreteCategory C F]
  (x : carrier (g b)),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.map p))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.ι g b)) x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.ι f b))
      ((CategoryTheory.ConcreteCategory.hom (p b)) x)

theorem CategoryTheory.Limits.Sigma.map_id E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f],
  (CategoryTheory.Limits.Sigma.map fun a ↦ CategoryTheory.CategoryStruct.id (f a)) =
    CategoryTheory.CategoryStruct.id (∐ f)

theorem CategoryTheory.Limits.Pi.map_id E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f],
  (CategoryTheory.Limits.Pi.map fun a ↦ CategoryTheory.CategoryStruct.id (f a)) =
    CategoryTheory.CategoryStruct.id (∏ᶜ f)

theorem CategoryTheory.Limits.Sigma.map_comp_map E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g h : α → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  [inst_3 : CategoryTheory.Limits.HasCoproduct h] (q : (a : α) → g a ⟶ f a) (q' : (a : α) → h a ⟶ g a),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map q') (CategoryTheory.Limits.Sigma.map q) =
    CategoryTheory.Limits.Sigma.map fun a ↦ CategoryTheory.CategoryStruct.comp (q' a) (q a)

theorem CategoryTheory.Limits.Pi.map_comp_map E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g h : α → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g]
  [inst_3 : CategoryTheory.Limits.HasProduct h] (q : (a : α) → f a ⟶ g a) (q' : (a : α) → g a ⟶ h a),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map q) (CategoryTheory.Limits.Pi.map q') =
    CategoryTheory.Limits.Pi.map fun a ↦ CategoryTheory.CategoryStruct.comp (q a) (q' a)

instance CategoryTheory.Limits.Pi.map_mono E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : (b : β) → f b ⟶ g b)
  [∀ (i : β), CategoryTheory.Mono (p i)], CategoryTheory.Mono (CategoryTheory.Limits.Pi.map p)

instance CategoryTheory.Limits.Sigma.map_epi E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  (p : (b : β) → g b ⟶ f b) [∀ (i : β), CategoryTheory.Epi (p i)],
  CategoryTheory.Epi (CategoryTheory.Limits.Sigma.map p)

def CategoryTheory.Limits.Pi.map' E1 #

{β : Type w} →
  {α : Type w₂} →
    {C : Type u} →
      [inst : CategoryTheory.Category.{v, u} C] →
        {f : α → C} →
          {g : β → C} →
            [inst_1 : CategoryTheory.Limits.HasProduct f] →
              [inst_2 : CategoryTheory.Limits.HasProduct g] → (p : β → α) → ((b : β) → f (p b) ⟶ g b) → (∏ᶜ f ⟶ ∏ᶜ g)

Construct a morphism between categorical products from a family of morphisms between the factors.

def CategoryTheory.Limits.Sigma.map' E1 #

{β : Type w} →
  {α : Type w₂} →
    {C : Type u} →
      [inst : CategoryTheory.Category.{v, u} C] →
        {f : α → C} →
          {g : β → C} →
            [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
              [inst_2 : CategoryTheory.Limits.HasCoproduct g] → (p : β → α) → ((b : β) → g b ⟶ f (p b)) → (∐ g ⟶ ∐ f)

Construct a morphism between categorical coproducts from a family of morphisms between the factors.

theorem CategoryTheory.Limits.Pi.map'_comp_π_assoc E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : β → α)
  (q : (b : β) → f (p b) ⟶ g b) (b : β) {Z : C} (h : g b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map' p q)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π g b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f (p b)) (CategoryTheory.CategoryStruct.comp (q b) h)

theorem CategoryTheory.Limits.Sigma.ι_comp_map'_assoc E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g] (p : β → α)
  (q : (b : β) → g b ⟶ f (p b)) (b : β) {Z : C} (h : ∐ f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map' p q) h) =
    CategoryTheory.CategoryStruct.comp (q b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f (p b)) h)

theorem CategoryTheory.Limits.Sigma.ι_comp_map' E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g] (p : β → α)
  (q : (b : β) → g b ⟶ f (p b)) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b) (CategoryTheory.Limits.Sigma.map' p q) =
    CategoryTheory.CategoryStruct.comp (q b) (CategoryTheory.Limits.Sigma.ι f (p b))

theorem CategoryTheory.Limits.Pi.map'_comp_π E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : β → α)
  (q : (b : β) → f (p b) ⟶ g b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map' p q) (CategoryTheory.Limits.Pi.π g b) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f (p b)) (q b)

theorem CategoryTheory.Limits.Pi.map'_id_id E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f],
  (CategoryTheory.Limits.Pi.map' id fun a ↦ CategoryTheory.CategoryStruct.id (f a)) =
    CategoryTheory.CategoryStruct.id (∏ᶜ f)

theorem CategoryTheory.Limits.Sigma.map'_id_id E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f],
  (CategoryTheory.Limits.Sigma.map' id fun a ↦ CategoryTheory.CategoryStruct.id (f a)) =
    CategoryTheory.CategoryStruct.id (∐ f)

theorem CategoryTheory.Limits.Pi.map'_id E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : α → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] (p : (b : α) → f b ⟶ g b),
  CategoryTheory.Limits.Pi.map' id p = CategoryTheory.Limits.Pi.map p

theorem CategoryTheory.Limits.Sigma.map'_id E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : α → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  (p : (b : α) → g b ⟶ f b), CategoryTheory.Limits.Sigma.map' id p = CategoryTheory.Limits.Sigma.map p

theorem CategoryTheory.Limits.Pi.map'_comp_map' E1 #

∀ {β : Type w} {α : Type w₂} {γ : Type w₃} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  {g : β → C} {h : γ → C} [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g]
  [inst_3 : CategoryTheory.Limits.HasProduct h] (p : β → α) (p' : γ → β) (q : (b : β) → f (p b) ⟶ g b)
  (q' : (c : γ) → g (p' c) ⟶ h c),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map' p q) (CategoryTheory.Limits.Pi.map' p' q') =
    CategoryTheory.Limits.Pi.map' (p ∘ p') fun c ↦ CategoryTheory.CategoryStruct.comp (q (p' c)) (q' c)

theorem CategoryTheory.Limits.Sigma.map'_comp_map' E1 #

∀ {β : Type w} {α : Type w₂} {γ : Type w₃} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C}
  {g : β → C} {h : γ → C} [inst_1 : CategoryTheory.Limits.HasCoproduct f]
  [inst_2 : CategoryTheory.Limits.HasCoproduct g] [inst_3 : CategoryTheory.Limits.HasCoproduct h] (p : β → α)
  (p' : γ → β) (q : (b : β) → g b ⟶ f (p b)) (q' : (c : γ) → h c ⟶ g (p' c)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map' p' q') (CategoryTheory.Limits.Sigma.map' p q) =
    CategoryTheory.Limits.Sigma.map' (p ∘ p') fun c ↦ CategoryTheory.CategoryStruct.comp (q' c) (q (p' c))

theorem CategoryTheory.Limits.Sigma.map_comp_map' E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g h : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  [inst_3 : CategoryTheory.Limits.HasCoproduct h] (p : β → α) (q : (b : β) → g b ⟶ f (p b)) (q' : (b : β) → h b ⟶ g b),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map q') (CategoryTheory.Limits.Sigma.map' p q) =
    CategoryTheory.Limits.Sigma.map' p fun b ↦ CategoryTheory.CategoryStruct.comp (q' b) (q b)

theorem CategoryTheory.Limits.Pi.map'_comp_map E1 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g h : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g]
  [inst_3 : CategoryTheory.Limits.HasProduct h] (p : β → α) (q : (b : β) → f (p b) ⟶ g b) (q' : (b : β) → g b ⟶ h b),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map' p q) (CategoryTheory.Limits.Pi.map q') =
    CategoryTheory.Limits.Pi.map' p fun b ↦ CategoryTheory.CategoryStruct.comp (q b) (q' b)

theorem CategoryTheory.Limits.Sigma.map'_comp_map E1 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : α → C} {h : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g]
  [inst_3 : CategoryTheory.Limits.HasCoproduct h] (p : β → α) (q : (a : α) → g a ⟶ f a) (q' : (b : β) → h b ⟶ g (p b)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.map' p q') (CategoryTheory.Limits.Sigma.map q) =
    CategoryTheory.Limits.Sigma.map' p fun b ↦ CategoryTheory.CategoryStruct.comp (q' b) (q (p b))

theorem CategoryTheory.Limits.Pi.map_comp_map' E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : α → C} {h : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g]
  [inst_3 : CategoryTheory.Limits.HasProduct h] (p : β → α) (q : (a : α) → f a ⟶ g a) (q' : (b : β) → g (p b) ⟶ h b),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.map q) (CategoryTheory.Limits.Pi.map' p q') =
    CategoryTheory.Limits.Pi.map' p fun b ↦ CategoryTheory.CategoryStruct.comp (q (p b)) (q' b)

theorem CategoryTheory.Limits.Pi.map'_eq E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct g] {p p' : β → α}
  {q : (b : β) → f (p b) ⟶ g b} {q' : (b : β) → f (p' b) ⟶ g b} (hp : p = p'),
  (∀ (b : β), CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (q b) = q' b) →
    CategoryTheory.Limits.Pi.map' p q = CategoryTheory.Limits.Pi.map' p' q'

theorem CategoryTheory.Limits.Sigma.map'_eq E0 #

∀ {β : Type w} {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f : α → C} {g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct g] {p p' : β → α}
  {q : (b : β) → g b ⟶ f (p b)} {q' : (b : β) → g b ⟶ f (p' b)} (hp : p = p'),
  (∀ (b : β), CategoryTheory.CategoryStruct.comp (q b) (CategoryTheory.eqToHom ⋯) = q' b) →
    CategoryTheory.Limits.Sigma.map' p q = CategoryTheory.Limits.Sigma.map' p' q'

def CategoryTheory.Limits.Pi.mapIso E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f g : β → C} → [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] → ((b : β) → f b ≅ g b) → (∏ᶜ f ≅ ∏ᶜ g)

Construct an isomorphism between categorical products (indexed by the same type) from a family of isomorphisms between the factors.

def CategoryTheory.Limits.Sigma.mapIso E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {f g : β → C} → [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] → ((b : β) → f b ≅ g b) → (∐ f ≅ ∐ g)

Construct an isomorphism between categorical coproducts (indexed by the same type) from a family of isomorphisms between the factors.

theorem CategoryTheory.Limits.Sigma.ι_mapIso_inv_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β) {Z : C} (h : ∐ f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.mapIso p).inv h) =
    CategoryTheory.CategoryStruct.comp (p b).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) h)

theorem CategoryTheory.Limits.Sigma.ι_mapIso_inv E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b) (CategoryTheory.Limits.Sigma.mapIso p).inv =
    CategoryTheory.CategoryStruct.comp (p b).inv (CategoryTheory.Limits.Sigma.ι f b)

theorem CategoryTheory.Limits.Pi.mapIso_hom_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.mapIso p).hom (CategoryTheory.Limits.Pi.π g b) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) (p b).hom

theorem CategoryTheory.Limits.Pi.mapIso_hom_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β) {Z : C} (h : g b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.mapIso p).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π g b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) (CategoryTheory.CategoryStruct.comp (p b).hom h)

theorem CategoryTheory.Limits.Pi.mapIso_inv_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β) {Z : C} (h : f b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.mapIso p).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π g b) (CategoryTheory.CategoryStruct.comp (p b).inv h)

theorem CategoryTheory.Limits.Sigma.ι_mapIso_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b) (CategoryTheory.Limits.Sigma.mapIso p).hom =
    CategoryTheory.CategoryStruct.comp (p b).hom (CategoryTheory.Limits.Sigma.ι g b)

theorem CategoryTheory.Limits.Sigma.ι_mapIso_hom_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β) {Z : C} (h : ∐ g ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.mapIso p).hom h) =
    CategoryTheory.CategoryStruct.comp (p b).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι g b) h)

theorem CategoryTheory.Limits.Pi.mapIso_inv_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] (p : (b : β) → f b ≅ g b) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.mapIso p).inv (CategoryTheory.Limits.Pi.π f b) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π g b) (p b).inv

instance CategoryTheory.Limits.Pi.map_isIso E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape β C] (p : (b : β) → f b ⟶ g b)
  [∀ (b : β), CategoryTheory.IsIso (p b)], CategoryTheory.IsIso (CategoryTheory.Limits.Pi.map p)

instance CategoryTheory.Limits.Sigma.map_isIso E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {f g : β → C}
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape β C] (p : (b : β) → g b ⟶ f b)
  [∀ (b : β), CategoryTheory.IsIso (p b)], CategoryTheory.IsIso (CategoryTheory.Limits.Sigma.map p)

def CategoryTheory.Limits.Pi.cone E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] → CategoryTheory.Limits.Cone X

A limit cone for X : Discrete α ⥤ C that is given by ∏ᶜ (fun j => X.obj (Discrete.mk j)).

theorem CategoryTheory.Limits.Pi.cone_π E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }],
  (CategoryTheory.Limits.Pi.cone X).π =
    CategoryTheory.Discrete.natTrans fun x ↦ CategoryTheory.Limits.Pi.π (fun j ↦ X.obj { as := j }) x.as

theorem CategoryTheory.Limits.Pi.cone_pt E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }],
  (CategoryTheory.Limits.Pi.cone X).pt = ∏ᶜ fun j ↦ X.obj { as := j }

theorem CategoryTheory.Limits.Sigma.cocone_ι E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }],
  (CategoryTheory.Limits.Sigma.cocone X).ι =
    CategoryTheory.Discrete.natTrans fun x ↦ CategoryTheory.Limits.Sigma.ι (fun j ↦ X.obj { as := j }) x.as

def CategoryTheory.Limits.Sigma.cocone E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] → CategoryTheory.Limits.Cocone X

A colimit cocone for X : Discrete α ⥤ C that is given by ∐ (fun j => X.obj (Discrete.mk j)).

theorem CategoryTheory.Limits.Sigma.cocone_pt E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }],
  (CategoryTheory.Limits.Sigma.cocone X).pt = ∐ fun j ↦ X.obj { as := j }

def CategoryTheory.Limits.productIsProduct' E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] →
          CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Pi.cone X)

The cone Pi.cone X is a limit cone.

def CategoryTheory.Limits.coproductIsCoproduct' E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] →
          CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Sigma.cocone X)

The cocone Sigma.cocone X is a colimit cocone.

def CategoryTheory.Limits.Pi.isoLimit E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] →
          [inst_2 : CategoryTheory.Limits.HasLimit X] → (∏ᶜ fun j ↦ X.obj { as := j }) ≅ CategoryTheory.Limits.limit X

The isomorphism ∏ᶜ (fun j => X.obj (Discrete.mk j)) ≅ limit X.

def CategoryTheory.Limits.Sigma.isoColimit E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C) →
        [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] →
          [inst_2 : CategoryTheory.Limits.HasColimit X] →
            (∐ fun j ↦ X.obj { as := j }) ≅ CategoryTheory.Limits.colimit X

The isomorphism ∐ (fun j => X.obj (Discrete.mk j)) ≅ colimit X.

theorem CategoryTheory.Limits.Pi.isoLimit_inv_π E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasLimit X]
  (j : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.isoLimit X).inv
      (CategoryTheory.Limits.Pi.π (fun j ↦ X.obj { as := j }) j) =
    CategoryTheory.Limits.limit.π X { as := j }

theorem CategoryTheory.Limits.Sigma.ι_isoColimit_hom_assoc E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasColimit X]
  (j : α) {Z : C} (h : CategoryTheory.Limits.colimit X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun j ↦ X.obj { as := j }) j)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.isoColimit X).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.colimit.ι X { as := j }) h

theorem CategoryTheory.Limits.Sigma.ι_isoColimit_hom E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasColimit X]
  (j : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun j ↦ X.obj { as := j }) j)
      (CategoryTheory.Limits.Sigma.isoColimit X).hom =
    CategoryTheory.Limits.colimit.ι X { as := j }

theorem CategoryTheory.Limits.Pi.isoLimit_inv_π_assoc E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasLimit X]
  (j : α) {Z : C} (h : X.obj { as := j } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.isoLimit X).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun j ↦ X.obj { as := j }) j) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.limit.π X { as := j }) h

theorem CategoryTheory.Limits.Sigma.ι_isoColimit_inv E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasColimit X]
  (j : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.colimit.ι X { as := j })
      (CategoryTheory.Limits.Sigma.isoColimit X).inv =
    CategoryTheory.Limits.Sigma.ι (fun j ↦ X.obj { as := j }) j

theorem CategoryTheory.Limits.Pi.isoLimit_hom_π E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasLimit X]
  (j : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.isoLimit X).hom
      (CategoryTheory.Limits.limit.π X { as := j }) =
    CategoryTheory.Limits.Pi.π (fun j ↦ X.obj { as := j }) j

theorem CategoryTheory.Limits.Pi.isoLimit_hom_π_assoc E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasProduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasLimit X]
  (j : α) {Z : C} (h : X.obj { as := j } ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.isoLimit X).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.limit.π X { as := j }) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun j ↦ X.obj { as := j }) j) h

theorem CategoryTheory.Limits.Sigma.ι_isoColimit_inv_assoc E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (X : CategoryTheory.Functor (CategoryTheory.Discrete α) C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct fun j ↦ X.obj { as := j }] [inst_2 : CategoryTheory.Limits.HasColimit X]
  (j : α) {Z : C} (h : (∐ fun j ↦ X.obj { as := j }) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.colimit.ι X { as := j })
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.isoColimit X).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun j ↦ X.obj { as := j }) j) h

def CategoryTheory.Limits.Pi.whiskerEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u_1} →
      {K : Type u_2} →
        {f : J → C} →
          {g : K → C} →
            (e : J ≃ K) →
              ((j : J) → g (e j) ≅ f j) →
                [inst_1 : CategoryTheory.Limits.HasProduct f] →
                  [inst_2 : CategoryTheory.Limits.HasProduct g] → ∏ᶜ f ≅ ∏ᶜ g

Two products which differ by an equivalence in the indexing type, and up to isomorphism in the factors, are isomorphic.

theorem CategoryTheory.Limits.Sigma.whiskerEquiv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} {K : Type u_2} {f : J → C} {g : K → C}
  (e : J ≃ K) (w : (j : J) → g (e j) ≅ f j) [inst_1 : CategoryTheory.Limits.HasCoproduct f]
  [inst_2 : CategoryTheory.Limits.HasCoproduct g],
  (CategoryTheory.Limits.Sigma.whiskerEquiv e w).hom = CategoryTheory.Limits.Sigma.map' ⇑e fun j ↦ (w j).inv

theorem CategoryTheory.Limits.Pi.whiskerEquiv_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} {K : Type u_2} {f : J → C} {g : K → C}
  (e : J ≃ K) (w : (j : J) → g (e j) ≅ f j) [inst_1 : CategoryTheory.Limits.HasProduct f]
  [inst_2 : CategoryTheory.Limits.HasProduct g],
  (CategoryTheory.Limits.Pi.whiskerEquiv e w).inv = CategoryTheory.Limits.Pi.map' ⇑e fun j ↦ (w j).hom

theorem CategoryTheory.Limits.Pi.whiskerEquiv_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} {K : Type u_2} {f : J → C} {g : K → C}
  (e : J ≃ K) (w : (j : J) → g (e j) ≅ f j) [inst_1 : CategoryTheory.Limits.HasProduct f]
  [inst_2 : CategoryTheory.Limits.HasProduct g],
  (CategoryTheory.Limits.Pi.whiskerEquiv e w).hom =
    CategoryTheory.Limits.Pi.map' ⇑e.symm fun k ↦
      CategoryTheory.CategoryStruct.comp (w (e.symm k)).inv (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.Sigma.whiskerEquiv_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u_1} {K : Type u_2} {f : J → C} {g : K → C}
  (e : J ≃ K) (w : (j : J) → g (e j) ≅ f j) [inst_1 : CategoryTheory.Limits.HasCoproduct f]
  [inst_2 : CategoryTheory.Limits.HasCoproduct g],
  (CategoryTheory.Limits.Sigma.whiskerEquiv e w).inv =
    CategoryTheory.Limits.Sigma.map' ⇑e.symm fun k ↦
      CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (w (e.symm k)).hom

def CategoryTheory.Limits.Sigma.whiskerEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u_1} →
      {K : Type u_2} →
        {f : J → C} →
          {g : K → C} →
            (e : J ≃ K) →
              ((j : J) → g (e j) ≅ f j) →
                [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
                  [inst_2 : CategoryTheory.Limits.HasCoproduct g] → ∐ f ≅ ∐ g

Two coproducts which differ by an equivalence in the indexing type, and up to isomorphism in the factors, are isomorphic.

instance CategoryTheory.Limits.instHasCoproductSigmaFstSndOfPiObj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasCoproduct (g i)] [CategoryTheory.Limits.HasCoproduct fun i ↦ ∐ g i],
  CategoryTheory.Limits.HasCoproduct fun p ↦ g p.fst p.snd

instance CategoryTheory.Limits.instHasProductSigmaFstSndOfPiObj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasProduct (g i)] [CategoryTheory.Limits.HasProduct fun i ↦ ∏ᶜ g i],
  CategoryTheory.Limits.HasProduct fun p ↦ g p.fst p.snd

def CategoryTheory.Limits.piPiIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      (f : ι → Type u_2) →
        (g : (i : ι) → f i → C) →
          [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasProduct (g i)] →
            [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ ∏ᶜ g i] → (∏ᶜ fun i ↦ ∏ᶜ g i) ≅ ∏ᶜ fun p ↦ g p.fst p.snd

An iterated product is a product over a sigma type.

def CategoryTheory.Limits.sigmaSigmaIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      (f : ι → Type u_2) →
        (g : (i : ι) → f i → C) →
          [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasCoproduct (g i)] →
            [inst_2 : CategoryTheory.Limits.HasCoproduct fun i ↦ ∐ g i] → (∐ fun i ↦ ∐ g i) ≅ ∐ fun p ↦ g p.fst p.snd

An iterated coproduct is a coproduct over a sigma type.

theorem CategoryTheory.Limits.piPiIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasProduct (g i)]
  [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ ∏ᶜ g i],
  (CategoryTheory.Limits.piPiIso f g).hom =
    CategoryTheory.Limits.Pi.lift fun x ↦
      match x with
      | ⟨i, x⟩ =>
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun i ↦ ∏ᶜ g i) i)
          (CategoryTheory.Limits.Pi.π (g i) x)

theorem CategoryTheory.Limits.sigmaSigmaIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasCoproduct (g i)]
  [inst_2 : CategoryTheory.Limits.HasCoproduct fun i ↦ ∐ g i],
  (CategoryTheory.Limits.sigmaSigmaIso f g).hom =
    CategoryTheory.Limits.Sigma.desc fun i ↦
      CategoryTheory.Limits.Sigma.desc fun x ↦ CategoryTheory.Limits.Sigma.ι (fun p ↦ g p.fst p.snd) ⟨i, x⟩

theorem CategoryTheory.Limits.sigmaSigmaIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasCoproduct (g i)]
  [inst_2 : CategoryTheory.Limits.HasCoproduct fun i ↦ ∐ g i],
  (CategoryTheory.Limits.sigmaSigmaIso f g).inv =
    CategoryTheory.Limits.Sigma.desc fun x ↦
      match x with
      | ⟨i, x⟩ =>
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (g i) x)
          (CategoryTheory.Limits.Sigma.ι (fun i ↦ ∐ g i) i)

theorem CategoryTheory.Limits.piPiIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} (f : ι → Type u_2) (g : (i : ι) → f i → C)
  [inst_1 : ∀ (i : ι), CategoryTheory.Limits.HasProduct (g i)]
  [inst_2 : CategoryTheory.Limits.HasProduct fun i ↦ ∏ᶜ g i],
  (CategoryTheory.Limits.piPiIso f g).inv =
    CategoryTheory.Limits.Pi.lift fun i ↦
      CategoryTheory.Limits.Pi.lift fun x ↦ CategoryTheory.Limits.Pi.π (fun p ↦ g p.fst p.snd) ⟨i, x⟩

def CategoryTheory.Limits.piComparison E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {D : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
          (G : CategoryTheory.Functor C D) →
            (f : β → C) →
              [inst_2 : CategoryTheory.Limits.HasProduct f] →
                [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] → G.obj (∏ᶜ f) ⟶ ∏ᶜ fun b ↦ G.obj (f b)

The comparison morphism for the product of f. This is an iso iff G preserves the product of f, see PreservesProduct.ofIsoComparison.

def CategoryTheory.Limits.sigmaComparison E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {D : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
          (G : CategoryTheory.Functor C D) →
            (f : β → C) →
              [inst_2 : CategoryTheory.Limits.HasCoproduct f] →
                [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)] →
                  (∐ fun b ↦ G.obj (f b)) ⟶ G.obj (∐ f)

The comparison morphism for the coproduct of f. This is an iso iff G preserves the coproduct of f, see PreservesCoproduct.ofIsoComparison.

theorem CategoryTheory.Limits.piComparison_comp_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasProduct f] [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piComparison G f)
      (CategoryTheory.Limits.Pi.π (fun b ↦ G.obj (f b)) b) =
    G.map (CategoryTheory.Limits.Pi.π f b)

theorem CategoryTheory.Limits.ι_comp_sigmaComparison E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasCoproduct f] [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)]
  (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun b ↦ G.obj (f b)) b)
      (CategoryTheory.Limits.sigmaComparison G f) =
    G.map (CategoryTheory.Limits.Sigma.ι f b)

theorem CategoryTheory.Limits.piComparison_comp_π_apply E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasProduct f] [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] (b : β)
  {F : D → D → Type uF} {carrier : D → Type w_1} {instFunLike : (X Y : D) → FunLike (F X Y) (carrier X) (carrier Y)}
  [inst_4 : CategoryTheory.ConcreteCategory D F] (x : carrier (G.obj (∏ᶜ f))),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π (fun b ↦ G.obj (f b)) b))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.piComparison G f)) x) =
    (CategoryTheory.ConcreteCategory.hom (G.map (CategoryTheory.Limits.Pi.π f b))) x

theorem CategoryTheory.Limits.ι_comp_sigmaComparison_apply E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasCoproduct f] [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)]
  (b : β) {F : D → D → Type uF} {carrier : D → Type w_1}
  {instFunLike : (X Y : D) → FunLike (F X Y) (carrier X) (carrier Y)} [inst_4 : CategoryTheory.ConcreteCategory D F]
  (x : carrier (G.obj (f b))),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.sigmaComparison G f))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Sigma.ι (fun b ↦ G.obj (f b)) b)) x) =
    (CategoryTheory.ConcreteCategory.hom (G.map (CategoryTheory.Limits.Sigma.ι f b))) x

theorem CategoryTheory.Limits.piComparison_comp_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasProduct f] [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] (b : β)
  {Z : D} (h : G.obj (f b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piComparison G f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (fun b ↦ G.obj (f b)) b) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Pi.π f b)) h

theorem CategoryTheory.Limits.ι_comp_sigmaComparison_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasCoproduct f] [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)]
  (b : β) {Z : D} (h : G.obj (∐ f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (fun b ↦ G.obj (f b)) b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.sigmaComparison G f) h) =
    CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Sigma.ι f b)) h

theorem CategoryTheory.Limits.sigmaComparison_map_desc_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasCoproduct f] [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)]
  (P : C) (g : (j : β) → f j ⟶ P) {Z : D} (h : G.obj P ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.sigmaComparison G f)
      (CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Sigma.desc g)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.desc fun j ↦ G.map (g j)) h

theorem CategoryTheory.Limits.map_lift_piComparison_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasProduct f] [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] (P : C)
  (g : (j : β) → P ⟶ f j) {Z : D} (h : (∏ᶜ fun b ↦ G.obj (f b)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Pi.lift g))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piComparison G f) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.lift fun j ↦ G.map (g j)) h

theorem CategoryTheory.Limits.sigmaComparison_map_desc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasCoproduct f] [inst_3 : CategoryTheory.Limits.HasCoproduct fun b ↦ G.obj (f b)]
  (P : C) (g : (j : β) → f j ⟶ P),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.sigmaComparison G f)
      (G.map (CategoryTheory.Limits.Sigma.desc g)) =
    CategoryTheory.Limits.Sigma.desc fun j ↦ G.map (g j)

theorem CategoryTheory.Limits.map_lift_piComparison E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] (G : CategoryTheory.Functor C D) (f : β → C)
  [inst_2 : CategoryTheory.Limits.HasProduct f] [inst_3 : CategoryTheory.Limits.HasProduct fun b ↦ G.obj (f b)] (P : C)
  (g : (j : β) → P ⟶ f j),
  CategoryTheory.CategoryStruct.comp (G.map (CategoryTheory.Limits.Pi.lift g))
      (CategoryTheory.Limits.piComparison G f) =
    CategoryTheory.Limits.Pi.lift fun j ↦ G.map (g j)

def CategoryTheory.Limits.Fan.isLimitMapConeEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) →
          {ι : Type u_1} →
            (X : ι → C) →
              (c : CategoryTheory.Limits.Fan X) →
                CategoryTheory.Limits.IsLimit (F.mapCone c) ≃
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk (F.obj c.pt) fun i ↦ F.map (c.proj i))

F.mapCone c being limiting is the same as the induced fan being limiting.

def CategoryTheory.Limits.Cofan.isColimitMapCoconeEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) →
          {ι : Type u_1} →
            (X : ι → C) →
              (c : CategoryTheory.Limits.Cofan X) →
                CategoryTheory.Limits.IsColimit (F.mapCocone c) ≃
                  CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk (F.obj c.pt) fun i ↦ F.map (c.inj i))

F.mapCocone c being colimiting is the same as the induced cofan being colimiting.

class CategoryTheory.Limits.HasProducts E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category has products if it has limits of shape Discrete J for all J : Type w.

ctor CategoryTheory.Limits.HasProducts.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  autoParam (∀ (J : Type w), CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete J) C)
      CategoryTheory.Limits.HasProducts.hasLimitsOfShape_discrete._autoParam →
    CategoryTheory.Limits.HasProducts.{w, v, u} C

instance CategoryTheory.Limits.HasProducts.hasLimitsOfShape_discrete E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasProducts.{w, v, u} C]
  (J : Type w), CategoryTheory.Limits.HasLimitsOfShape (CategoryTheory.Discrete J) C

class CategoryTheory.Limits.HasCoproducts E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category has coproducts if it has colimits of shape Discrete J for all J : Type w.

ctor CategoryTheory.Limits.HasCoproducts.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  autoParam (∀ (J : Type w), CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete J) C)
      CategoryTheory.Limits.HasCoproducts.hasColimitsOfShape_discrete._autoParam →
    CategoryTheory.Limits.HasCoproducts.{w, v, u} C

instance CategoryTheory.Limits.HasCoproducts.hasColimitsOfShape_discrete E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
  (J : Type w), CategoryTheory.Limits.HasColimitsOfShape (CategoryTheory.Discrete J) C

instance CategoryTheory.Limits.instHasProductsOfHasLimitsOfSize E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasLimitsOfSize.{w, w, v, u} C],
  CategoryTheory.Limits.HasProducts.{w, v, u} C

instance CategoryTheory.Limits.instHasCoproductsOfHasColimitsOfSize E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasColimitsOfSize.{w, w, v, u} C],
  CategoryTheory.Limits.HasCoproducts.{w, v, u} C

theorem CategoryTheory.Limits.hasProducts_shrink E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasProducts.{max w w', v, u} C],
  CategoryTheory.Limits.HasProducts.{w, v, u} C

theorem CategoryTheory.Limits.hasCoproducts_shrink E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoproducts.{max w w', v, u} C],
  CategoryTheory.Limits.HasCoproducts.{w, v, u} C

theorem CategoryTheory.Limits.has_smallest_coproducts_of_hasCoproducts E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoproducts.{w, v, u} C],
  CategoryTheory.Limits.HasCoproducts.{0, v, u} C

theorem CategoryTheory.Limits.has_smallest_products_of_hasProducts E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasProducts.{w, v, u} C],
  CategoryTheory.Limits.HasProducts.{0, v, u} C

theorem CategoryTheory.Limits.hasCoproducts_of_colimit_cofans E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (lf : {J : Type w} → (f : J → C) → CategoryTheory.Limits.Cofan f)
  (lf_isColimit : {J : Type w} → (f : J → C) → CategoryTheory.Limits.IsColimit (lf f)),
  CategoryTheory.Limits.HasCoproducts.{w, v, u} C

theorem CategoryTheory.Limits.hasProducts_of_limit_fans E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (lf : {J : Type w} → (f : J → C) → CategoryTheory.Limits.Fan f)
  (lf_isLimit : {J : Type w} → (f : J → C) → CategoryTheory.Limits.IsLimit (lf f)),
  CategoryTheory.Limits.HasProducts.{w, v, u} C

instance CategoryTheory.Limits.hasCoproductsOfShape_of_hasCoproducts E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasCoproducts.{w, v, u} C] (J : Type w),
  CategoryTheory.Limits.HasCoproductsOfShape J C

instance CategoryTheory.Limits.hasProductsOfShape_of_hasProducts E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasProducts.{w, v, u} C] (J : Type w),
  CategoryTheory.Limits.HasProductsOfShape J C

def CategoryTheory.Limits.piConst E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.Limits.HasProducts.{w, v, u} C] → CategoryTheory.Functor C (CategoryTheory.Functor Type wᵒᵖ C)

The functor sending (X, n) to the product of copies of X indexed by n.

theorem CategoryTheory.Limits.piConst_map_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasProducts.{w, v, u} C]
  {X Y : C} (f : X ⟶ Y) (n : Type wᵒᵖ),
  (CategoryTheory.Limits.piConst.map f).app n = CategoryTheory.Limits.Pi.map fun x ↦ f

theorem CategoryTheory.Limits.piConst_obj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasProducts.{w, v, u} C]
  (X : C) {X_1 Y : Type wᵒᵖ} (f : X_1 ⟶ Y),
  (CategoryTheory.Limits.piConst.obj X).map f =
    CategoryTheory.Limits.Pi.map' ⇑(CategoryTheory.ConcreteCategory.hom f.unop) fun x ↦
      CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.piConst_obj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasProducts.{w, v, u} C]
  (X : C) (n : Type wᵒᵖ), (CategoryTheory.Limits.piConst.obj X).obj n = ∏ᶜ fun x ↦ X

def CategoryTheory.Limits.piConstAdj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasProducts.{v, v, u} C] →
      (X : C) → (CategoryTheory.Limits.piConst.obj X).rightOp ⊣ CategoryTheory.yoneda.obj X

n ↦ ∏ₙ X is left adjoint to Hom(-, X).

def CategoryTheory.Limits.sigmaConst E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.Limits.HasCoproducts.{w, v, u} C] → CategoryTheory.Functor C (CategoryTheory.Functor (Type w) C)

The functor sending (X, n) to the coproduct of copies of X indexed by n.

theorem CategoryTheory.Limits.sigmaConst_obj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
  (X : C) {X_1 Y : Type w} (f : X_1 ⟶ Y),
  (CategoryTheory.Limits.sigmaConst.obj X).map f =
    CategoryTheory.Limits.Sigma.map' ⇑(CategoryTheory.ConcreteCategory.hom f) fun x ↦ CategoryTheory.CategoryStruct.id X

theorem CategoryTheory.Limits.sigmaConst_map_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
  {X Y : C} (f : X ⟶ Y) (n : Type w),
  (CategoryTheory.Limits.sigmaConst.map f).app n = CategoryTheory.Limits.Sigma.map fun x ↦ f

theorem CategoryTheory.Limits.sigmaConst_obj_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasCoproducts.{w, v, u} C]
  (X : C) (n : Type w), (CategoryTheory.Limits.sigmaConst.obj X).obj n = ∐ fun x ↦ X

def CategoryTheory.Limits.sigmaConstAdj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasCoproducts.{v, v, u} C] →
      (X : C) → CategoryTheory.Limits.sigmaConst.obj X ⊣ CategoryTheory.coyoneda.obj (Opposite.op X)

n ↦ ∐ₙ X is left adjoint to Hom(X, -).

def CategoryTheory.Limits.limitConeOfUnique E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [Unique β] → (f : β → C) → CategoryTheory.Limits.LimitCone (CategoryTheory.Discrete.functor f)

The limit cone for the product over an index type with exactly one term.

theorem CategoryTheory.Limits.limitConeOfUnique_cone_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.limitConeOfUnique f).cone.π =
    CategoryTheory.Discrete.natTrans fun x ↦
      match x with
      | { as := j } => CategoryTheory.eqToHom ⋯

def CategoryTheory.Limits.colimitCoconeOfUnique E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [Unique β] → (f : β → C) → CategoryTheory.Limits.ColimitCocone (CategoryTheory.Discrete.functor f)

The colimit cocone for the coproduct over an index type with exactly one term.

theorem CategoryTheory.Limits.limitConeOfUnique_cone_pt E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.limitConeOfUnique f).cone.pt = f default

theorem CategoryTheory.Limits.limitConeOfUnique_isLimit_lift E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C)
  (s : CategoryTheory.Limits.Cone (CategoryTheory.Discrete.functor f)),
  (CategoryTheory.Limits.limitConeOfUnique f).isLimit.lift s = s.π.app default

theorem CategoryTheory.Limits.colimitCoconeOfUnique_cocone_pt E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.colimitCoconeOfUnique f).cocone.pt = f default

theorem CategoryTheory.Limits.colimitCoconeOfUnique_cocone_ι E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.colimitCoconeOfUnique f).cocone.ι =
    CategoryTheory.Discrete.natTrans fun x ↦
      match x with
      | { as := j } => CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.colimitCoconeOfUnique_isColimit_desc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C)
  (s : CategoryTheory.Limits.Cocone (CategoryTheory.Discrete.functor f)),
  (CategoryTheory.Limits.colimitCoconeOfUnique f).isColimit.desc s = s.ι.app default

instance CategoryTheory.Limits.hasProduct_unique E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [Nonempty β] [Subsingleton β] (f : β → C),
  CategoryTheory.Limits.HasProduct f

instance CategoryTheory.Limits.hasCoproduct_unique E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [Nonempty β] [Subsingleton β] (f : β → C),
  CategoryTheory.Limits.HasCoproduct f

def CategoryTheory.Limits.productUniqueIso E1 #

{β : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → [inst_1 : Unique β] → (f : β → C) → ∏ᶜ f ≅ f default

A product over an index type with exactly one term is just the object over that term.

def CategoryTheory.Limits.coproductUniqueIso E1 #

{β : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → [inst_1 : Unique β] → (f : β → C) → ∐ f ≅ f default

A coproduct over an index type with exactly one term is just the object over that term.

theorem CategoryTheory.Limits.productUniqueIso_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.productUniqueIso f).hom = CategoryTheory.Limits.Pi.π f default

theorem CategoryTheory.Limits.coproductUniqueIso_inv E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C),
  (CategoryTheory.Limits.coproductUniqueIso f).inv = CategoryTheory.Limits.Sigma.ι f default

theorem CategoryTheory.Limits.productUniqueIso_inv_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.productUniqueIso f).inv (CategoryTheory.Limits.Pi.π f b) =
    CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.ι_coproductUniqueIso_hom_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C) (b : β) {Z : C}
  (h : f default ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.coproductUniqueIso f).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) h

theorem CategoryTheory.Limits.productUniqueIso_inv_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C) (b : β) {Z : C}
  (h : f b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.productUniqueIso f).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) h

theorem CategoryTheory.Limits.ι_coproductUniqueIso_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : Unique β] (f : β → C) (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f b)
      (CategoryTheory.Limits.coproductUniqueIso f).hom =
    CategoryTheory.eqToHom ⋯

def CategoryTheory.Limits.Fan.isLimitMkOfUnique E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (e : X ≅ Y) →
        (J : Type u_1) → [Unique J] → CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk X fun x ↦ e.hom)

Any isomorphism is the projection from a single object product.

def CategoryTheory.Limits.Cofan.isColimitMkOfUnique E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (e : X ≅ Y) →
        (J : Type u_1) → [Unique J] → CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk X fun x ↦ e.inv)

Any isomorphism is the projection from a single object product.

def CategoryTheory.Limits.Pi.reindex E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {γ : Type w'} →
        (ε : β ≃ γ) →
          (f : γ → C) →
            [inst_1 : CategoryTheory.Limits.HasProduct f] →
              [inst_2 : CategoryTheory.Limits.HasProduct (f ∘ ⇑ε)] → ∏ᶜ f ∘ ⇑ε ≅ ∏ᶜ f

Reindex a categorical product via an equivalence of the index types.

def CategoryTheory.Limits.Sigma.reindex E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {γ : Type w'} →
        (ε : β ≃ γ) →
          (f : γ → C) →
            [inst_1 : CategoryTheory.Limits.HasCoproduct f] →
              [inst_2 : CategoryTheory.Limits.HasCoproduct (f ∘ ⇑ε)] → ∐ f ∘ ⇑ε ≅ ∐ f

Reindex a categorical coproduct via an equivalence of the index types.

theorem CategoryTheory.Limits.Pi.reindex_inv_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct (f ∘ ⇑ε)] (b : β) {Z : C}
  (h : (f ∘ ⇑ε) b ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.reindex ε f).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (f ∘ ⇑ε) b) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f (ε b)) h

theorem CategoryTheory.Limits.Pi.reindex_inv_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct (f ∘ ⇑ε)] (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.reindex ε f).inv
      (CategoryTheory.Limits.Pi.π (f ∘ ⇑ε) b) =
    CategoryTheory.Limits.Pi.π f (ε b)

theorem CategoryTheory.Limits.Sigma.ι_reindex_hom E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct (f ∘ ⇑ε)] (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (f ∘ ⇑ε) b)
      (CategoryTheory.Limits.Sigma.reindex ε f).hom =
    CategoryTheory.Limits.Sigma.ι f (ε b)

theorem CategoryTheory.Limits.Sigma.ι_reindex_hom_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct (f ∘ ⇑ε)] (b : β) {Z : C}
  (h : ∐ f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (f ∘ ⇑ε) b)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.reindex ε f).hom h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f (ε b)) h

theorem CategoryTheory.Limits.Pi.reindex_hom_π_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct (f ∘ ⇑ε)] (b : β) {Z : C}
  (h : f (ε b) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.reindex ε f).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π f (ε b)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.π (f ∘ ⇑ε) b) h

theorem CategoryTheory.Limits.Pi.reindex_hom_π E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasProduct f] [inst_2 : CategoryTheory.Limits.HasProduct (f ∘ ⇑ε)] (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.reindex ε f).hom (CategoryTheory.Limits.Pi.π f (ε b)) =
    CategoryTheory.Limits.Pi.π (f ∘ ⇑ε) b

theorem CategoryTheory.Limits.Sigma.ι_reindex_inv E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct (f ∘ ⇑ε)] (b : β),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f (ε b))
      (CategoryTheory.Limits.Sigma.reindex ε f).inv =
    CategoryTheory.Limits.Sigma.ι (f ∘ ⇑ε) b

theorem CategoryTheory.Limits.Sigma.ι_reindex_inv_assoc E0 #

∀ {β : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {γ : Type w'} (ε : β ≃ γ) (f : γ → C)
  [inst_1 : CategoryTheory.Limits.HasCoproduct f] [inst_2 : CategoryTheory.Limits.HasCoproduct (f ∘ ⇑ε)] (b : β) {Z : C}
  (h : ∐ f ∘ ⇑ε ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι f (ε b))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.reindex ε f).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.ι (f ∘ ⇑ε) b) h

def CategoryTheory.Limits.Fan.isLimitEquivOfEquiv E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {γ : Type w'} →
        (ε : β ≃ γ) →
          {f : γ → C} →
            (c : CategoryTheory.Limits.Fan f) →
              CategoryTheory.Limits.IsLimit c ≃
                CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk c.pt fun i ↦ c.proj (ε i))

Being a limiting fan is stable under equivalences in the index type.

def CategoryTheory.Limits.Cofan.isColimitEquivOfEquiv E1 #

{β : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {γ : Type w'} →
        (ε : β ≃ γ) →
          {f : γ → C} →
            (c : CategoryTheory.Limits.Cofan f) →
              CategoryTheory.Limits.IsColimit c ≃
                CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk c.pt fun i ↦ c.inj (ε i))

Being a colimiting cofan is stable under equivalences in the index type.

instance CategoryTheory.Limits.instMonoLiftπ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} J]
  (F : CategoryTheory.Functor J C) [inst_2 : CategoryTheory.Limits.HasLimit F]
  [inst_3 : CategoryTheory.Limits.HasProduct F.obj],
  CategoryTheory.Mono (CategoryTheory.Limits.Pi.lift (CategoryTheory.Limits.limit.π F))

instance CategoryTheory.Limits.instEpiDescι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} J]
  (F : CategoryTheory.Functor J C) [inst_2 : CategoryTheory.Limits.HasColimit F]
  [inst_3 : CategoryTheory.Limits.HasCoproduct F.obj],
  CategoryTheory.Epi (CategoryTheory.Limits.Sigma.desc (CategoryTheory.Limits.colimit.ι F))

def CategoryTheory.Limits.isLimitEquivFanOfIsThin E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [Quiver.IsThin C] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          {K : CategoryTheory.Functor J C} →
            (c : CategoryTheory.Limits.Cone K) →
              CategoryTheory.Limits.IsLimit c ≃
                CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fan.mk c.pt c.π.app)

If K : J ⥤ C is a diagram with C thin, a cone for K is limiting if and only if the cone point is the product of the components.

def CategoryTheory.Limits.isColimitEquivCofanOfIsThin E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [Quiver.IsThin C] →
      {J : Type u_1} →
        [inst_2 : CategoryTheory.Category.{v_1, u_1} J] →
          {K : CategoryTheory.Functor J C} →
            (c : CategoryTheory.Limits.Cocone K) →
              CategoryTheory.Limits.IsColimit c ≃
                CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk c.pt c.ι.app)

If K : J ⥤ C is a diagram with C thin, a cone for K is limiting if and only if the cone point is the product of the components.

def CategoryTheory.Limits.Fan.IsLimit.prod E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {ι' : Type u_2} →
        {X : ι → ι' → C} →
          (c : (i : ι) → CategoryTheory.Limits.Fan fun j ↦ X i j) →
            ((i : ι) → CategoryTheory.Limits.IsLimit (c i)) →
              (c' : CategoryTheory.Limits.Fan fun i ↦ (c i).pt) →
                CategoryTheory.Limits.IsLimit c' →
                  CategoryTheory.Limits.IsLimit
                    (CategoryTheory.Limits.Fan.mk c'.pt fun p ↦
                      CategoryTheory.CategoryStruct.comp (c'.proj p.1) ((c p.1).proj p.2))

A product over products is a product indexed by a product.

def CategoryTheory.Limits.Cofan.IsColimit.prod E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {ι' : Type u_2} →
        {X : ι → ι' → C} →
          (c : (i : ι) → CategoryTheory.Limits.Cofan fun j ↦ X i j) →
            ((i : ι) → CategoryTheory.Limits.IsColimit (c i)) →
              (c' : CategoryTheory.Limits.Cofan fun i ↦ (c i).pt) →
                CategoryTheory.Limits.IsColimit c' →
                  CategoryTheory.Limits.IsColimit
                    (CategoryTheory.Limits.Cofan.mk c'.pt fun p ↦
                      CategoryTheory.CategoryStruct.comp ((c p.1).inj p.2) (c'.inj p.1))

A coproduct over coproducts is a coproduct indexed by a product.

def CategoryTheory.Limits.Pi.functor E1 #

(α : Type w₂) →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [CategoryTheory.Limits.HasProductsOfShape α C] → CategoryTheory.Functor (α → C) C

The functor (f : α → C) ↦ ∏ᶜ f.

theorem CategoryTheory.Limits.Pi.functor_map E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] {f g : α → C} (t : f ⟶ g),
  (CategoryTheory.Limits.Pi.functor α).map t = CategoryTheory.Limits.Pi.map t

def CategoryTheory.Limits.Sigma.functor E1 #

(α : Type w₂) →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [CategoryTheory.Limits.HasCoproductsOfShape α C] → CategoryTheory.Functor (α → C) C

The functor (f : α → C) ↦ ∐ f.

theorem CategoryTheory.Limits.Sigma.functor_obj E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (f : α → C),
  (CategoryTheory.Limits.Sigma.functor α).obj f = ∐ f

theorem CategoryTheory.Limits.Pi.functor_obj E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (f : α → C), (CategoryTheory.Limits.Pi.functor α).obj f = ∏ᶜ f

theorem CategoryTheory.Limits.Sigma.functor_map E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] {g f : α → C} (t : g ⟶ f),
  (CategoryTheory.Limits.Sigma.functor α).map t = CategoryTheory.Limits.Sigma.map t

def CategoryTheory.Limits.Pi.functorπ E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] →
        (a : α) → CategoryTheory.Limits.Pi.functor α ⟶ CategoryTheory.Pi.eval (fun x ↦ C) a

The natural transformation induced by Pi.π.

theorem CategoryTheory.Limits.Sigma.functorι_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (a : α) (f : α → C),
  (CategoryTheory.Limits.Sigma.functorι a).app f = CategoryTheory.Limits.Sigma.ι f a

def CategoryTheory.Limits.Sigma.functorι E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] →
        (a : α) → CategoryTheory.Pi.eval (fun x ↦ C) a ⟶ CategoryTheory.Limits.Sigma.functor α

The natural transformation induced by Sigma.ι.

theorem CategoryTheory.Limits.Pi.functorπ_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (a : α) (f : α → C),
  (CategoryTheory.Limits.Pi.functorπ a).app f = CategoryTheory.Limits.Pi.π f a

def CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim E1 #

(α : Type w₂) →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] →
        (CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.comp CategoryTheory.Limits.lim ≅
          CategoryTheory.Limits.Pi.functor α

Up to pre-composing with an equivalence of categories, Pi.functor is isomorphic to lim.

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim_inv_app E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (X : α → C),
  (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim α).inv.app X =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.colimit (CategoryTheory.Discrete.functor X))

def CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim E1 #

(α : Type w₂) →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] →
        (CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.comp CategoryTheory.Limits.colim ≅
          CategoryTheory.Limits.Sigma.functor α

Up to pre-composing with an equivalence of categories, Sigma.functor is isomorphic to colim.

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim_inv_app E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (X : α → C),
  (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim α).inv.app X =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.limit (CategoryTheory.Discrete.functor X))

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim_hom_app E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (X : α → C),
  (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim α).hom.app X =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.limit (CategoryTheory.Discrete.functor X))

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim_hom_app E0 #

∀ (α : Type w₂) {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (X : α → C),
  (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim α).hom.app X =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.colimit (CategoryTheory.Discrete.functor X))

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim_comp_functorι E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (a : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.functorι a)
      (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim α).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.piEquivalenceFunctorDiscreteCompEvaluationIso C a).inv
      ((CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.whiskerLeft
        (CategoryTheory.Limits.colim.ι { as := a }))

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim_comp_functorι_assoc E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] (a : α) {Z : CategoryTheory.Functor (α → C) C}
  (h : (CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.comp CategoryTheory.Limits.colim ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Sigma.functorι a)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompColim α).inv h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.piEquivalenceFunctorDiscreteCompEvaluationIso C a).inv
      (CategoryTheory.CategoryStruct.comp
        ((CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.whiskerLeft
          (CategoryTheory.Limits.colim.ι { as := a }))
        h)

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim_comp_functorπ_assoc E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (a : α) {Z : CategoryTheory.Functor (α → C) C}
  (h : CategoryTheory.Pi.eval (fun x ↦ C) a ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim α).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Pi.functorπ a) h) =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.whiskerLeft (CategoryTheory.Limits.lim.π { as := a }))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.piEquivalenceFunctorDiscreteCompEvaluationIso C a).hom h)

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim_comp_functorπ E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] (a : α),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.piEquivalenceFunctorDiscreteCompLim α).hom
      (CategoryTheory.Limits.Pi.functorπ a) =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.whiskerLeft (CategoryTheory.Limits.lim.π { as := a }))
      (CategoryTheory.piEquivalenceFunctorDiscreteCompEvaluationIso C a).hom

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscrete_functor_comp_colim E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C],
  (CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.comp CategoryTheory.Limits.colim =
    CategoryTheory.Limits.Sigma.functor α

theorem CategoryTheory.Limits.piEquivalenceFunctorDiscrete_functor_comp_lim E1 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C],
  (CategoryTheory.piEquivalenceFunctorDiscrete α C).functor.comp CategoryTheory.Limits.lim =
    CategoryTheory.Limits.Pi.functor α

def CategoryTheory.Limits.Pi.constCompPiIsoConst E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] →
        {I : α → Type u_1} →
          [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] →
            (X : α → C) →
              (CategoryTheory.Functor.pi fun i ↦ (CategoryTheory.Functor.const (I i)).obj (X i)).comp
                  (CategoryTheory.Limits.Pi.functor α) ≅
                (CategoryTheory.Functor.const ((i : α) → I i)).obj (∏ᶜ X)

The ∏ᶜ functor composed with the pointwise constant functor Π i, I i ⥤ (α → C) is isomorphic to the constant functor with value ∏ᶜ X.

def CategoryTheory.Limits.Sigma.constCompSigmaIsoConst E1 #

{α : Type w₂} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] →
        {I : α → Type u_1} →
          [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] →
            (X : α → C) →
              (CategoryTheory.Functor.pi fun i ↦ (CategoryTheory.Functor.const (I i)).obj (X i)).comp
                  (CategoryTheory.Limits.Sigma.functor α) ≅
                (CategoryTheory.Functor.const ((i : α) → I i)).obj (∐ X)

The ∐ functor composed with the pointwise constant functor Π i, I i ⥤ (α → C) is isomorphic to the constant functor with value ∐ X.

theorem CategoryTheory.Limits.Sigma.constCompSigmaIsoConst_hom_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] {I : α → Type u_1}
  [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] (X : α → C) (X_1 : (i : α) → I i),
  (CategoryTheory.Limits.Sigma.constCompSigmaIsoConst X).hom.app X_1 = CategoryTheory.CategoryStruct.id (∐ fun i ↦ X i)

theorem CategoryTheory.Limits.Pi.constCompPiIsoConst_hom_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] {I : α → Type u_1}
  [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] (X : α → C) (X_1 : (i : α) → I i),
  (CategoryTheory.Limits.Pi.constCompPiIsoConst X).hom.app X_1 = CategoryTheory.CategoryStruct.id (∏ᶜ fun i ↦ X i)

theorem CategoryTheory.Limits.Sigma.constCompSigmaIsoConst_inv_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasCoproductsOfShape α C] {I : α → Type u_1}
  [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] (X : α → C) (X_1 : (i : α) → I i),
  (CategoryTheory.Limits.Sigma.constCompSigmaIsoConst X).inv.app X_1 = CategoryTheory.CategoryStruct.id (∐ fun i ↦ X i)

theorem CategoryTheory.Limits.Pi.constCompPiIsoConst_inv_app E0 #

∀ {α : Type w₂} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [inst_1 : CategoryTheory.Limits.HasProductsOfShape α C] {I : α → Type u_1}
  [inst_2 : (i : α) → CategoryTheory.Category.{v_1, u_1} (I i)] (X : α → C) (X_1 : (i : α) → I i),
  (CategoryTheory.Limits.Pi.constCompPiIsoConst X).inv.app X_1 = CategoryTheory.CategoryStruct.id (∏ᶜ fun i ↦ X i)

Deprecated aliases

NameNew nameSince
CategoryTheory.Limits.Pi.lift_π_applyCategoryTheory.Limits.Pi.lift_comp_π_apply2026-08-17
CategoryTheory.Limits.Pi.lift_π_assocCategoryTheory.Limits.Pi.lift_comp_π_assoc2026-08-17
CategoryTheory.Limits.Sigma.ι_descCategoryTheory.Limits.Sigma.ι_comp_desc2026-08-17
CategoryTheory.Limits.Sigma.ι_desc_applyCategoryTheory.Limits.Sigma.ι_comp_desc_apply2026-08-17
CategoryTheory.Limits.Sigma.ι_desc_assocCategoryTheory.Limits.Sigma.ι_comp_desc_assoc2026-08-17
CategoryTheory.Limits.coproductUniqueIso_homCategoryTheory.Limits.ι_coproductUniqueIso_hom2026-06-30
CategoryTheory.Limits.mkCofanColimitCategoryTheory.Limits.Cofan.IsColimit.mk2026-05-19
CategoryTheory.Limits.mkFanLimitCategoryTheory.Limits.Fan.IsLimit.mk2026-05-19
CategoryTheory.Limits.piFunctorCategoryTheory.Limits.piConst2026-10-07
CategoryTheory.Limits.piFunctor_map_appCategoryTheory.Limits.piConst_map_app2026-10-07
CategoryTheory.Limits.piFunctor_obj_mapCategoryTheory.Limits.piConst_obj_map2026-10-07
CategoryTheory.Limits.piFunctor_obj_objCategoryTheory.Limits.piConst_obj_obj2026-10-07
CategoryTheory.Limits.productUniqueIso_invCategoryTheory.Limits.productUniqueIso_inv_π2026-06-30
CategoryTheory.Limits.sigmaFunctorCategoryTheory.Limits.sigmaConst2026-10-07
CategoryTheory.Limits.sigmaFunctor_map_appCategoryTheory.Limits.sigmaConst_map_app2026-10-07
CategoryTheory.Limits.sigmaFunctor_obj_mapCategoryTheory.Limits.sigmaConst_obj_map2026-10-07
CategoryTheory.Limits.sigmaFunctor_obj_objCategoryTheory.Limits.sigmaConst_obj_obj2026-10-07