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

143 declarations. Mathlib docs · Source

Wide equalizers and wide coequalizers

This file defines wide (co)equalizers as special cases of (co)limits.

A wide equalizer for the family of morphisms X ⟶ Y indexed by J is the categorical generalization of the subobject {a ∈ A | ∀ j₁ j₂, f(j₁, a) = f(j₂, a)}. Note that if J has fewer than two morphisms this condition is trivial, so some lemmas and definitions assume J is nonempty.

Main definitions

  • WalkingParallelFamily is the indexing category used for wide (co)equalizer diagrams
  • parallelFamily is a functor from WalkingParallelFamily to our category C.
  • a Trident is a cone over a parallel family.
    • there is really only one interesting morphism in a trident: the arrow from the vertex of the trident to the domain of f and g. It is called Trident.ι.
  • a wideEqualizer is now just a limit (parallelFamily f)

Each of these has a dual.

Main statements

  • wideEqualizer.ι_mono states that every wideEqualizer map is a monomorphism

Implementation notes

As with the other special shapes in the limits library, all the definitions here are given as abbrevs of the general statements for limits, so all the simp lemmas and theorems about general limits can be used.

References

  • [F. Borceux, Handbook of Categorical Algebra 1][borceux-vol1]

abbrev CategoryTheory.Limits.WalkingParallelFamily.Hom.ctorElimType E1 #

{J : Type w} →
  {motive :
      (a a_1 : CategoryTheory.Limits.WalkingParallelFamily J) →
        CategoryTheory.Limits.WalkingParallelFamily.Hom J a a_1 → Sort u} →
    ℕ → Sort (max 1 (imax (w + 1) u))

theorem CategoryTheory.Limits.Trident.mkHom.congr_simp E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Trident f} (k k_1 : s.pt ⟶ t.pt) (e_k : k = k_1)
  (w : CategoryTheory.CategoryStruct.comp k t.ι = s.ι),
  CategoryTheory.Limits.Trident.mkHom k w = CategoryTheory.Limits.Trident.mkHom k_1 ⋯

theorem CategoryTheory.Limits.Cotrident.mkHom.congr_simp E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Cotrident f} (k k_1 : s.pt ⟶ t.pt) (e_k : k = k_1)
  (w : CategoryTheory.CategoryStruct.comp s.π k = t.π),
  CategoryTheory.Limits.Cotrident.mkHom k w = CategoryTheory.Limits.Cotrident.mkHom k_1 ⋯

theorem CategoryTheory.Limits.wideCoequalizer.desc.congr_simp E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [inst_2 : Nonempty J] {W : C} (k k_1 : Y ⟶ W) (e_k : k = k_1)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k),
  CategoryTheory.Limits.wideCoequalizer.desc k h = CategoryTheory.Limits.wideCoequalizer.desc k_1 ⋯

theorem CategoryTheory.Limits.WalkingParallelFamily.Hom.line.injEq E0 #

∀ {J : Type w} (a a_1 : J),
  (CategoryTheory.Limits.WalkingParallelFamily.Hom.line a = CategoryTheory.Limits.WalkingParallelFamily.Hom.line a_1) =
    (a = a_1)

theorem CategoryTheory.Limits.WalkingParallelFamily.Hom.line.inj E1 #

∀ {J : Type w} {a a_1 : J},
  CategoryTheory.Limits.WalkingParallelFamily.Hom.line a = CategoryTheory.Limits.WalkingParallelFamily.Hom.line a_1 →
    a = a_1

abbrev CategoryTheory.Limits.WalkingParallelFamily.ctorElimType E1 #

{J : Type w} → {motive : CategoryTheory.Limits.WalkingParallelFamily J → Sort u} → ℕ → Sort (max 1 u)

def CategoryTheory.Limits.WalkingParallelFamily.ctorIdx E1 #

{J : Type w} → CategoryTheory.Limits.WalkingParallelFamily J → ℕ

def CategoryTheory.Limits.WalkingParallelFamily.Hom.ctorIdx E1 #

{J : Type w} →
  {a a_1 : CategoryTheory.Limits.WalkingParallelFamily J} → CategoryTheory.Limits.WalkingParallelFamily.Hom J a a_1 → ℕ

theorem CategoryTheory.Limits.wideEqualizer.lift.congr_simp E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [inst_2 : Nonempty J] {W : C} (k k_1 : W ⟶ X) (e_k : k = k_1)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)),
  CategoryTheory.Limits.wideEqualizer.lift k h = CategoryTheory.Limits.wideEqualizer.lift k_1 ⋯

def CategoryTheory.Limits.instInhabitedWalkingParallelFamily.default E1 #

{J : Type w} → CategoryTheory.Limits.WalkingParallelFamily J

inductive CategoryTheory.Limits.WalkingParallelFamily E3 #

Type w → Type w

The type of objects for the diagram indexing a wide (co)equalizer.

ctor CategoryTheory.Limits.WalkingParallelFamily.zero E0 #

{J : Type w} → CategoryTheory.Limits.WalkingParallelFamily J

ctor CategoryTheory.Limits.WalkingParallelFamily.one E0 #

{J : Type w} → CategoryTheory.Limits.WalkingParallelFamily J

instance CategoryTheory.Limits.instInhabitedWalkingParallelFamily E0 #

{a : Type u_1} → Inhabited (CategoryTheory.Limits.WalkingParallelFamily a)

instance CategoryTheory.Limits.instDecidableEqWalkingParallelFamily E0 #

{J : Type w} → DecidableEq (CategoryTheory.Limits.WalkingParallelFamily J)

inductive CategoryTheory.Limits.WalkingParallelFamily.Hom E1 #

(J : Type w) → CategoryTheory.Limits.WalkingParallelFamily J → CategoryTheory.Limits.WalkingParallelFamily J → Type w

The type family of morphisms for the diagram indexing a wide (co)equalizer.

ctor CategoryTheory.Limits.WalkingParallelFamily.Hom.id E0 #

{J : Type w} →
  (X : CategoryTheory.Limits.WalkingParallelFamily J) → CategoryTheory.Limits.WalkingParallelFamily.Hom J X X

ctor CategoryTheory.Limits.WalkingParallelFamily.Hom.line E0 #

{J : Type w} →
  J →
    CategoryTheory.Limits.WalkingParallelFamily.Hom J CategoryTheory.Limits.WalkingParallelFamily.zero
      CategoryTheory.Limits.WalkingParallelFamily.one

def CategoryTheory.Limits.WalkingParallelFamily.instDecidableEqHom.decEq E1 #

{J : Type u_1} →
  {a a_1 : CategoryTheory.Limits.WalkingParallelFamily J} →
    [DecidableEq J] → (x x_1 : CategoryTheory.Limits.WalkingParallelFamily.Hom J a a_1) → Decidable (x = x_1)

instance CategoryTheory.Limits.WalkingParallelFamily.instDecidableEqHom E0 #

{J : Type u_1} →
  {a a_1 : CategoryTheory.Limits.WalkingParallelFamily J} →
    [DecidableEq J] → DecidableEq (CategoryTheory.Limits.WalkingParallelFamily.Hom J a a_1)

instance CategoryTheory.Limits.instInhabitedHomZero E0 #

(J : Type v) →
  Inhabited
    (CategoryTheory.Limits.WalkingParallelFamily.Hom J CategoryTheory.Limits.WalkingParallelFamily.zero
      CategoryTheory.Limits.WalkingParallelFamily.zero)

Satisfying the inhabited linter

def CategoryTheory.Limits.WalkingParallelFamily.Hom.comp E1 #

{J : Type w} →
  {X Y Z : CategoryTheory.Limits.WalkingParallelFamily J} →
    CategoryTheory.Limits.WalkingParallelFamily.Hom J X Y →
      CategoryTheory.Limits.WalkingParallelFamily.Hom J Y Z → CategoryTheory.Limits.WalkingParallelFamily.Hom J X Z

Composition of morphisms in the indexing diagram for wide (co)equalizers.

instance CategoryTheory.Limits.WalkingParallelFamily.category E0 #

{J : Type w} → CategoryTheory.SmallCategory (CategoryTheory.Limits.WalkingParallelFamily J)

theorem CategoryTheory.Limits.WalkingParallelFamily.hom_id E0 #

∀ {J : Type w} (X : CategoryTheory.Limits.WalkingParallelFamily J),
  CategoryTheory.Limits.WalkingParallelFamily.Hom.id X = CategoryTheory.CategoryStruct.id X

def CategoryTheory.Limits.WalkingParallelFamily.arrowEquiv E1 #

(J : Type w) → CategoryTheory.Arrow (CategoryTheory.Limits.WalkingParallelFamily J) ≃ Option (Option J)

Arrow (WalkingParallelFamily J) identifies to the type obtained by adding two elements to T.

def CategoryTheory.Limits.parallelFamily E3 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} → (J → (X ⟶ Y)) → CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C

parallelFamily f is the diagram in C consisting of the given family of morphisms, each with common domain and codomain.

theorem CategoryTheory.Limits.parallelFamily_obj_zero E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y)),
  (CategoryTheory.Limits.parallelFamily f).obj CategoryTheory.Limits.WalkingParallelFamily.zero = X

theorem CategoryTheory.Limits.parallelFamily_obj_one E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y)),
  (CategoryTheory.Limits.parallelFamily f).obj CategoryTheory.Limits.WalkingParallelFamily.one = Y

theorem CategoryTheory.Limits.parallelFamily_map_left E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y)) {j : J},
  (CategoryTheory.Limits.parallelFamily f).map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j) = f j

def CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv E1 #

{J : Type w} →
  {J' : Type w'} →
    J ≃ J' → (CategoryTheory.Limits.WalkingParallelFamily J ≌ CategoryTheory.Limits.WalkingParallelFamily J')

A bijection between types gives an equivalence between WalkingParallelFamily categories.

theorem CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv_counitIso E0 #

∀ {J : Type w} {J' : Type w'} (e : J ≃ J'),
  (CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv e).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        match x with
        | CategoryTheory.Limits.WalkingParallelFamily.zero =>
          CategoryTheory.Iso.refl
            (((CategoryTheory.Limits.parallelFamily fun j ↦
                      CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e.symm j)).comp
                  (CategoryTheory.Limits.parallelFamily fun j ↦
                    CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e j))).obj
              CategoryTheory.Limits.WalkingParallelFamily.zero)
        | CategoryTheory.Limits.WalkingParallelFamily.one =>
          CategoryTheory.Iso.refl
            (((CategoryTheory.Limits.parallelFamily fun j ↦
                      CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e.symm j)).comp
                  (CategoryTheory.Limits.parallelFamily fun j ↦
                    CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e j))).obj
              CategoryTheory.Limits.WalkingParallelFamily.one))
      ⋯

theorem CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv_inverse E0 #

∀ {J : Type w} {J' : Type w'} (e : J ≃ J'),
  (CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv e).inverse =
    CategoryTheory.Limits.parallelFamily fun j ↦ CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e.symm j)

theorem CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv_unitIso E0 #

∀ {J : Type w} {J' : Type w'} (e : J ≃ J'),
  (CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv e).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        match x with
        | CategoryTheory.Limits.WalkingParallelFamily.zero =>
          CategoryTheory.Iso.refl
            ((CategoryTheory.Functor.id (CategoryTheory.Limits.WalkingParallelFamily J)).obj
              CategoryTheory.Limits.WalkingParallelFamily.zero)
        | CategoryTheory.Limits.WalkingParallelFamily.one =>
          CategoryTheory.Iso.refl
            ((CategoryTheory.Functor.id (CategoryTheory.Limits.WalkingParallelFamily J)).obj
              CategoryTheory.Limits.WalkingParallelFamily.one))
      ⋯

theorem CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv_functor E0 #

∀ {J : Type w} {J' : Type w'} (e : J ≃ J'),
  (CategoryTheory.Limits.WalkingParallelFamily.equivalenceOfEquiv e).functor =
    CategoryTheory.Limits.parallelFamily fun j ↦ CategoryTheory.Limits.WalkingParallelFamily.Hom.line (e j)

def CategoryTheory.Limits.diagramIsoParallelFamily E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      (F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C) →
        F ≅ CategoryTheory.Limits.parallelFamily fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j)

Every functor indexing a wide (co)equalizer is naturally isomorphic (actually, equal) to a parallelFamily

theorem CategoryTheory.Limits.diagramIsoParallelFamily_inv_app E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C)
  (X : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.diagramIsoParallelFamily F).inv.app X = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.diagramIsoParallelFamily_hom_app E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C)
  (X : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.diagramIsoParallelFamily F).hom.app X = CategoryTheory.eqToHom ⋯

def CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair E1 #

CategoryTheory.Limits.WalkingParallelFamily (ULift.{w, 0} Bool) ≌ CategoryTheory.Limits.WalkingParallelPair

WalkingParallelPair as a category is equivalent to a special case of WalkingParallelFamily.

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_unitIso_hom_app E0 #

∀ (X : CategoryTheory.Limits.WalkingParallelFamily (ULift.{w, 0} Bool)),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.unitIso.hom.app X = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_counitIso_hom_app E0 #

∀ (X : CategoryTheory.Limits.WalkingParallelPair),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.counitIso.hom.app X = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_functor_map E0 #

∀ {x y : CategoryTheory.Limits.WalkingParallelFamily (ULift.{w, 0} Bool)} (h : x ⟶ y),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.functor.map h =
    match x, y, h with
    | x, .(x), CategoryTheory.Limits.WalkingParallelFamily.Hom.id .(x) =>
      CategoryTheory.CategoryStruct.id
        (CategoryTheory.Limits.WalkingParallelFamily.rec CategoryTheory.Limits.WalkingParallelPair.zero
          CategoryTheory.Limits.WalkingParallelPair.one x)
    | .(CategoryTheory.Limits.WalkingParallelFamily.zero), .(CategoryTheory.Limits.WalkingParallelFamily.one),
      CategoryTheory.Limits.WalkingParallelFamily.Hom.line j =>
      if j.down = true then CategoryTheory.Limits.WalkingParallelPairHom.left
      else CategoryTheory.Limits.WalkingParallelPairHom.right

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_counitIso_inv_app E0 #

∀ (X : CategoryTheory.Limits.WalkingParallelPair),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.counitIso.inv.app X = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_inverse_obj E0 #

∀ (x : CategoryTheory.Limits.WalkingParallelPair),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.inverse.obj x =
    CategoryTheory.Limits.parallelPair.parallelPairObj CategoryTheory.Limits.WalkingParallelFamily.zero
      CategoryTheory.Limits.WalkingParallelFamily.one x

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_inverse_map E0 #

∀ {X Y : CategoryTheory.Limits.WalkingParallelPair} (h : X ⟶ Y),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.inverse.map h =
    CategoryTheory.Limits.parallelPair.parallelPairHom
      (CategoryTheory.Limits.WalkingParallelFamily.Hom.line { down := true })
      (CategoryTheory.Limits.WalkingParallelFamily.Hom.line { down := false }) h

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_unitIso_inv_app E0 #

∀ (X : CategoryTheory.Limits.WalkingParallelFamily (ULift.{w, 0} Bool)),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.unitIso.inv.app X = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair_functor_obj E0 #

∀ (x : CategoryTheory.Limits.WalkingParallelFamily (ULift.{w, 0} Bool)),
  CategoryTheory.Limits.walkingParallelFamilyEquivWalkingParallelPair.functor.obj x =
    CategoryTheory.Limits.WalkingParallelFamily.rec CategoryTheory.Limits.WalkingParallelPair.zero
      CategoryTheory.Limits.WalkingParallelPair.one x

abbrev CategoryTheory.Limits.Trident E3 #

{J : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (J → (X ⟶ Y)) → Type (max (max w u) v)

A trident on f is just a Cone (parallelFamily f).

abbrev CategoryTheory.Limits.Cotrident E1 #

{J : Type w} →
  {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (J → (X ⟶ Y)) → Type (max (max w u) v)

A cotrident on f and g is just a Cocone (parallelFamily f).

abbrev CategoryTheory.Limits.Trident.ι E3 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          (t : CategoryTheory.Limits.Trident f) →
            ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj t.pt).obj
                CategoryTheory.Limits.WalkingParallelFamily.zero ⟶
              (CategoryTheory.Limits.parallelFamily f).obj CategoryTheory.Limits.WalkingParallelFamily.zero

A trident t on the parallel family f : J → (X ⟶ Y) consists of two morphisms t.π.app zero : t.X ⟶ X and t.π.app one : t.X ⟶ Y. Of these, only the first one is interesting, and we give it the shorter name Trident.ι t.

abbrev CategoryTheory.Limits.Cotrident.π E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          (t : CategoryTheory.Limits.Cotrident f) →
            (CategoryTheory.Limits.parallelFamily f).obj CategoryTheory.Limits.WalkingParallelFamily.one ⟶
              ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj t.pt).obj
                CategoryTheory.Limits.WalkingParallelFamily.one

A cotrident t on the parallel family f : J → (X ⟶ Y) consists of two morphisms t.ι.app zero : X ⟶ t.X and t.ι.app one : Y ⟶ t.X. Of these, only the second one is interesting, and we give it the shorter name Cotrident.π t.

theorem CategoryTheory.Limits.Trident.ι_eq_app_zero E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (t : CategoryTheory.Limits.Trident f), t.ι = t.π.app CategoryTheory.Limits.WalkingParallelFamily.zero

theorem CategoryTheory.Limits.Cotrident.π_eq_app_one E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (t : CategoryTheory.Limits.Cotrident f), t.π = t.ι.app CategoryTheory.Limits.WalkingParallelFamily.one

theorem CategoryTheory.Limits.Trident.app_zero E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (s : CategoryTheory.Limits.Trident f) (j : J),
  CategoryTheory.CategoryStruct.comp (s.π.app CategoryTheory.Limits.WalkingParallelFamily.zero) (f j) =
    s.π.app CategoryTheory.Limits.WalkingParallelFamily.one

theorem CategoryTheory.Limits.Trident.app_zero_assoc E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (s : CategoryTheory.Limits.Trident f) (j : J) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (s.π.app CategoryTheory.Limits.WalkingParallelFamily.zero)
      (CategoryTheory.CategoryStruct.comp (f j) h) =
    CategoryTheory.CategoryStruct.comp (s.π.app CategoryTheory.Limits.WalkingParallelFamily.one) h

theorem CategoryTheory.Limits.Cotrident.app_one E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (s : CategoryTheory.Limits.Cotrident f) (j : J),
  CategoryTheory.CategoryStruct.comp (f j) (s.ι.app CategoryTheory.Limits.WalkingParallelFamily.one) =
    s.ι.app CategoryTheory.Limits.WalkingParallelFamily.zero

theorem CategoryTheory.Limits.Cotrident.app_one_assoc E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  (s : CategoryTheory.Limits.Cotrident f) (j : J) {Z : C}
  (h :
    ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj s.pt).obj
        CategoryTheory.Limits.WalkingParallelFamily.one ⟶
      Z),
  CategoryTheory.CategoryStruct.comp (f j)
      (CategoryTheory.CategoryStruct.comp (s.ι.app CategoryTheory.Limits.WalkingParallelFamily.one) h) =
    CategoryTheory.CategoryStruct.comp (s.ι.app CategoryTheory.Limits.WalkingParallelFamily.zero) h

def CategoryTheory.Limits.Trident.ofι E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {P : C} →
              (ι : P ⟶ X) →
                (∀ (j₁ j₂ : J),
                    CategoryTheory.CategoryStruct.comp ι (f j₁) = CategoryTheory.CategoryStruct.comp ι (f j₂)) →
                  CategoryTheory.Limits.Trident f

A trident on f : J → (X ⟶ Y) is determined by the morphism ι : P ⟶ X satisfying ∀ j₁ j₂, ι ≫ f j₁ = ι ≫ f j₂.

theorem CategoryTheory.Limits.Trident.ofι_pt E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (ι : P ⟶ X)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp ι (f j₁) = CategoryTheory.CategoryStruct.comp ι (f j₂)),
  (CategoryTheory.Limits.Trident.ofι ι w).pt = P

theorem CategoryTheory.Limits.Trident.ofι_π_app E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (ι : P ⟶ X)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp ι (f j₁) = CategoryTheory.CategoryStruct.comp ι (f j₂))
  (X_1 : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Trident.ofι ι w).π.app X_1 =
    CategoryTheory.Limits.WalkingParallelFamily.casesOn X_1 ι
      (CategoryTheory.CategoryStruct.comp ι (f (Classical.arbitrary J)))

def CategoryTheory.Limits.Cotrident.ofπ E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {P : C} →
              (π : Y ⟶ P) →
                (∀ (j₁ j₂ : J),
                    CategoryTheory.CategoryStruct.comp (f j₁) π = CategoryTheory.CategoryStruct.comp (f j₂) π) →
                  CategoryTheory.Limits.Cotrident f

A cotrident on f : J → (X ⟶ Y) is determined by the morphism π : Y ⟶ P satisfying ∀ j₁ j₂, f j₁ ≫ π = f j₂ ≫ π.

theorem CategoryTheory.Limits.Cotrident.ofπ_pt E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (π : Y ⟶ P)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) π = CategoryTheory.CategoryStruct.comp (f j₂) π),
  (CategoryTheory.Limits.Cotrident.ofπ π w).pt = P

theorem CategoryTheory.Limits.Cotrident.ofπ_ι_app E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (π : Y ⟶ P)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) π = CategoryTheory.CategoryStruct.comp (f j₂) π)
  (X_1 : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Cotrident.ofπ π w).ι.app X_1 =
    CategoryTheory.Limits.WalkingParallelFamily.casesOn X_1
      (CategoryTheory.CategoryStruct.comp (f (Classical.arbitrary J)) π) π

theorem CategoryTheory.Limits.Trident.ι_ofι E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (ι : P ⟶ X)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp ι (f j₁) = CategoryTheory.CategoryStruct.comp ι (f j₂)),
  (CategoryTheory.Limits.Trident.ofι ι w).ι = ι

theorem CategoryTheory.Limits.Cotrident.π_ofπ E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {P : C} (π : Y ⟶ P)
  (w : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) π = CategoryTheory.CategoryStruct.comp (f j₂) π),
  (CategoryTheory.Limits.Cotrident.ofπ π w).π = π

theorem CategoryTheory.Limits.Trident.condition_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} (j₁ j₂ : J)
  (t : CategoryTheory.Limits.Trident f) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp t.ι (CategoryTheory.CategoryStruct.comp (f j₁) h) =
    CategoryTheory.CategoryStruct.comp t.ι (CategoryTheory.CategoryStruct.comp (f j₂) h)

theorem CategoryTheory.Limits.Trident.condition E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} (j₁ j₂ : J)
  (t : CategoryTheory.Limits.Trident f),
  CategoryTheory.CategoryStruct.comp t.ι (f j₁) = CategoryTheory.CategoryStruct.comp t.ι (f j₂)

theorem CategoryTheory.Limits.Cotrident.condition_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} (j₁ j₂ : J)
  (t : CategoryTheory.Limits.Cotrident f) {Z : C}
  (h :
    ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj t.pt).obj
        CategoryTheory.Limits.WalkingParallelFamily.one ⟶
      Z),
  CategoryTheory.CategoryStruct.comp (f j₁) (CategoryTheory.CategoryStruct.comp t.π h) =
    CategoryTheory.CategoryStruct.comp (f j₂) (CategoryTheory.CategoryStruct.comp t.π h)

theorem CategoryTheory.Limits.Cotrident.condition E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} (j₁ j₂ : J)
  (t : CategoryTheory.Limits.Cotrident f),
  CategoryTheory.CategoryStruct.comp (f j₁) t.π = CategoryTheory.CategoryStruct.comp (f j₂) t.π

theorem CategoryTheory.Limits.Trident.equalizer_ext E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  (s : CategoryTheory.Limits.Trident f) {W : C} {k l : W ⟶ s.pt},
  CategoryTheory.CategoryStruct.comp k s.ι = CategoryTheory.CategoryStruct.comp l s.ι →
    ∀ (j : CategoryTheory.Limits.WalkingParallelFamily J),
      CategoryTheory.CategoryStruct.comp k (s.π.app j) = CategoryTheory.CategoryStruct.comp l (s.π.app j)

To check whether two maps are equalized by both maps of a trident, it suffices to check it for the first map

theorem CategoryTheory.Limits.Cotrident.coequalizer_ext E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  (s : CategoryTheory.Limits.Cotrident f) {W : C} {k l : s.pt ⟶ W},
  CategoryTheory.CategoryStruct.comp s.π k = CategoryTheory.CategoryStruct.comp s.π l →
    ∀ (j : CategoryTheory.Limits.WalkingParallelFamily J),
      CategoryTheory.CategoryStruct.comp (s.ι.app j) k = CategoryTheory.CategoryStruct.comp (s.ι.app j) l

To check whether two maps are coequalized by both maps of a cotrident, it suffices to check it for the second map

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

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  {s : CategoryTheory.Limits.Trident f} (hs : CategoryTheory.Limits.IsLimit s) {W : C} {k l : W ⟶ s.pt},
  CategoryTheory.CategoryStruct.comp k s.ι = CategoryTheory.CategoryStruct.comp l s.ι → k = l

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

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  {s : CategoryTheory.Limits.Cotrident f} (hs : CategoryTheory.Limits.IsColimit s) {W : C} {k l : s.pt ⟶ W},
  CategoryTheory.CategoryStruct.comp s.π k = CategoryTheory.CategoryStruct.comp s.π l → k = l

def CategoryTheory.Limits.Trident.IsLimit.lift' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s : CategoryTheory.Limits.Trident f} →
              CategoryTheory.Limits.IsLimit s →
                {W : C} →
                  (k : W ⟶ X) →
                    (∀ (j₁ j₂ : J),
                        CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)) →
                      { l // CategoryTheory.CategoryStruct.comp l s.ι = k }

If s is a limit trident over f, then a morphism k : W ⟶ X satisfying ∀ j₁ j₂, k ≫ f j₁ = k ≫ f j₂ induces a morphism l : W ⟶ s.X such that l ≫ Trident.ι s = k.

def CategoryTheory.Limits.Cotrident.IsColimit.desc' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s : CategoryTheory.Limits.Cotrident f} →
              CategoryTheory.Limits.IsColimit s →
                {W : C} →
                  (k : Y ⟶ W) →
                    (∀ (j₁ j₂ : J),
                        CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k) →
                      { l // CategoryTheory.CategoryStruct.comp s.π l = k }

If s is a colimit cotrident over f, then a morphism k : Y ⟶ W satisfying ∀ j₁ j₂, f j₁ ≫ k = f j₂ ≫ k induces a morphism l : s.X ⟶ W such that Cotrident.π s ≫ l = k.

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

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            (t : CategoryTheory.Limits.Trident f) →
              (lift : (s : CategoryTheory.Limits.Trident f) → s.pt ⟶ t.pt) →
                (∀ (s : CategoryTheory.Limits.Trident f), CategoryTheory.CategoryStruct.comp (lift s) t.ι = s.ι) →
                  (∀ (s : CategoryTheory.Limits.Trident f) (m : s.pt ⟶ t.pt),
                      (∀ (j : CategoryTheory.Limits.WalkingParallelFamily J),
                          CategoryTheory.CategoryStruct.comp m (t.π.app j) = s.π.app j) →
                        m = lift s) →
                    CategoryTheory.Limits.IsLimit t

This is a slightly more convenient method to verify that a trident is a limit cone. It only asks for a proof of facts that carry any mathematical content

def CategoryTheory.Limits.Trident.IsLimit.mk' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            (t : CategoryTheory.Limits.Trident f) →
              ((s : CategoryTheory.Limits.Trident f) →
                  { l //
                    CategoryTheory.CategoryStruct.comp l t.ι = s.ι ∧
                      ∀
                        {m :
                          ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj s.pt).obj
                              CategoryTheory.Limits.WalkingParallelFamily.zero ⟶
                            ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj
                                  t.pt).obj
                              CategoryTheory.Limits.WalkingParallelFamily.zero},
                        CategoryTheory.CategoryStruct.comp m t.ι = s.ι → m = l }) →
                CategoryTheory.Limits.IsLimit t

This is another convenient method to verify that a trident is a limit cone. It only asks for a proof of facts that carry any mathematical content, and allows access to the same s for all parts.

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

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            (t : CategoryTheory.Limits.Cotrident f) →
              (desc : (s : CategoryTheory.Limits.Cotrident f) → t.pt ⟶ s.pt) →
                (∀ (s : CategoryTheory.Limits.Cotrident f), CategoryTheory.CategoryStruct.comp t.π (desc s) = s.π) →
                  (∀ (s : CategoryTheory.Limits.Cotrident f) (m : t.pt ⟶ s.pt),
                      (∀ (j : CategoryTheory.Limits.WalkingParallelFamily J),
                          CategoryTheory.CategoryStruct.comp (t.ι.app j) m = s.ι.app j) →
                        m = desc s) →
                    CategoryTheory.Limits.IsColimit t

This is a slightly more convenient method to verify that a cotrident is a colimit cocone. It only asks for a proof of facts that carry any mathematical content

def CategoryTheory.Limits.Cotrident.IsColimit.mk' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            (t : CategoryTheory.Limits.Cotrident f) →
              ((s : CategoryTheory.Limits.Cotrident f) →
                  { l //
                    CategoryTheory.CategoryStruct.comp t.π l = s.π ∧
                      ∀
                        {m :
                          ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj t.pt).obj
                              CategoryTheory.Limits.WalkingParallelFamily.one ⟶
                            ((CategoryTheory.Functor.const (CategoryTheory.Limits.WalkingParallelFamily J)).obj
                                  s.pt).obj
                              CategoryTheory.Limits.WalkingParallelFamily.one},
                        CategoryTheory.CategoryStruct.comp t.π m = s.π → m = l }) →
                CategoryTheory.Limits.IsColimit t

This is another convenient method to verify that a cotrident is a colimit cocone. It only asks for a proof of facts that carry any mathematical content, and allows access to the same s for all parts.

def CategoryTheory.Limits.Trident.IsLimit.homIso E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {t : CategoryTheory.Limits.Trident f} →
              CategoryTheory.Limits.IsLimit t →
                (Z : C) →
                  (Z ⟶ t.pt) ≃
                    { h //
                      ∀ (j₁ j₂ : J),
                        CategoryTheory.CategoryStruct.comp h (f j₁) = CategoryTheory.CategoryStruct.comp h (f j₂) }

Given a limit cone for the family f : J → (X ⟶ Y), for any Z, morphisms from Z to its point are in bijection with morphisms h : Z ⟶ X such that ∀ j₁ j₂, h ≫ f j₁ = h ≫ f j₂. Further, this bijection is natural in Z: see Trident.Limits.homIso_natural.

theorem CategoryTheory.Limits.Trident.IsLimit.homIso_apply_coe E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Trident f} (ht : CategoryTheory.Limits.IsLimit t) (Z : C) (k : Z ⟶ t.pt),
  ↑((CategoryTheory.Limits.Trident.IsLimit.homIso ht Z) k) = CategoryTheory.CategoryStruct.comp k t.ι

theorem CategoryTheory.Limits.Trident.IsLimit.homIso_symm_apply E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Trident f} (ht : CategoryTheory.Limits.IsLimit t) (Z : C)
  (h :
    { h // ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp h (f j₁) = CategoryTheory.CategoryStruct.comp h (f j₂) }),
  (CategoryTheory.Limits.Trident.IsLimit.homIso ht Z).symm h = ↑(CategoryTheory.Limits.Trident.IsLimit.lift' ht ↑h ⋯)

theorem CategoryTheory.Limits.Trident.IsLimit.homIso_natural E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Trident f} (ht : CategoryTheory.Limits.IsLimit t) {Z Z' : C} (q : Z' ⟶ Z) (k : Z ⟶ t.pt),
  ↑((CategoryTheory.Limits.Trident.IsLimit.homIso ht Z') (CategoryTheory.CategoryStruct.comp q k)) =
    CategoryTheory.CategoryStruct.comp q ↑((CategoryTheory.Limits.Trident.IsLimit.homIso ht Z) k)

The bijection of Trident.IsLimit.homIso is natural in Z.

def CategoryTheory.Limits.Cotrident.IsColimit.homIso E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {t : CategoryTheory.Limits.Cotrident f} →
              CategoryTheory.Limits.IsColimit t →
                (Z : C) →
                  (t.pt ⟶ Z) ≃
                    { h //
                      ∀ (j₁ j₂ : J),
                        CategoryTheory.CategoryStruct.comp (f j₁) h = CategoryTheory.CategoryStruct.comp (f j₂) h }

Given a colimit cocone for the family f : J → (X ⟶ Y), for any Z, morphisms from the cocone point to Z are in bijection with morphisms h : Z ⟶ X such that ∀ j₁ j₂, f j₁ ≫ h = f j₂ ≫ h. Further, this bijection is natural in Z: see Cotrident.IsColimit.homIso_natural.

theorem CategoryTheory.Limits.Cotrident.IsColimit.homIso_symm_apply E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Cotrident f} (ht : CategoryTheory.Limits.IsColimit t) (Z : C)
  (h :
    { h // ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) h = CategoryTheory.CategoryStruct.comp (f j₂) h }),
  (CategoryTheory.Limits.Cotrident.IsColimit.homIso ht Z).symm h =
    ↑(CategoryTheory.Limits.Cotrident.IsColimit.desc' ht ↑h ⋯)

theorem CategoryTheory.Limits.Cotrident.IsColimit.homIso_apply_coe E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Cotrident f} (ht : CategoryTheory.Limits.IsColimit t) (Z : C) (k : t.pt ⟶ Z),
  ↑((CategoryTheory.Limits.Cotrident.IsColimit.homIso ht Z) k) = CategoryTheory.CategoryStruct.comp t.π k

theorem CategoryTheory.Limits.Cotrident.IsColimit.homIso_natural E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {t : CategoryTheory.Limits.Cotrident f} {Z Z' : C} (q : Z ⟶ Z') (ht : CategoryTheory.Limits.IsColimit t)
  (k : t.pt ⟶ Z),
  ↑((CategoryTheory.Limits.Cotrident.IsColimit.homIso ht Z') (CategoryTheory.CategoryStruct.comp k q)) =
    CategoryTheory.CategoryStruct.comp (↑((CategoryTheory.Limits.Cotrident.IsColimit.homIso ht Z) k)) q

The bijection of Cotrident.IsColimit.homIso is natural in Z.

def CategoryTheory.Limits.Cone.ofTrident E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} →
        (CategoryTheory.Limits.Trident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j)) →
          CategoryTheory.Limits.Cone F

This is a helper construction that can be useful when verifying that a category has certain wide equalizers. Given F : WalkingParallelFamily ⥤ C, which is really the same as parallelFamily (fun j ↦ F.map (line j)), and a trident on fun j ↦ F.map (line j), we get a cone on F.

If you're thinking about using this, have a look at hasWideEqualizers_of_hasLimit_parallelFamily, which you may find to be an easier way of achieving your goal.

def CategoryTheory.Limits.Cocone.ofCotrident E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} →
        (CategoryTheory.Limits.Cotrident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j)) →
          CategoryTheory.Limits.Cocone F

This is a helper construction that can be useful when verifying that a category has all coequalizers. Given F : WalkingParallelFamily ⥤ C, which is really the same as parallelFamily (fun j ↦ F.map (line j)), and a cotrident on fun j ↦ F.map (line j) we get a cocone on F.

If you're thinking about using this, have a look at hasWideCoequalizers_of_hasColimit_parallelFamily, which you may find to be an easier way of achieving your goal.

theorem CategoryTheory.Limits.Cone.ofTrident_π E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C}
  (t : CategoryTheory.Limits.Trident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j))
  (j : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Cone.ofTrident t).π.app j =
    CategoryTheory.CategoryStruct.comp (t.π.app j) (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.Cocone.ofCotrident_ι E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C}
  (t : CategoryTheory.Limits.Cotrident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j))
  (j : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Cocone.ofCotrident t).ι.app j =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (t.ι.app j)

def CategoryTheory.Limits.Trident.ofCone E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} →
        CategoryTheory.Limits.Cone F →
          CategoryTheory.Limits.Trident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j)

Given F : WalkingParallelFamily ⥤ C, which is really the same as parallelFamily (fun j ↦ F.map (line j)) and a cone on F, we get a trident on fun j ↦ F.map (line j).

def CategoryTheory.Limits.Cotrident.ofCocone E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} →
        CategoryTheory.Limits.Cocone F →
          CategoryTheory.Limits.Cotrident fun j ↦ F.map (CategoryTheory.Limits.WalkingParallelFamily.Hom.line j)

Given F : WalkingParallelFamily ⥤ C, which is really the same as parallelFamily (F.map left) (F.map right) and a cocone on F, we get a cotrident on fun j ↦ F.map (line j).

theorem CategoryTheory.Limits.Trident.ofCone_π E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} (t : CategoryTheory.Limits.Cone F)
  (j : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Trident.ofCone t).π.app j =
    CategoryTheory.CategoryStruct.comp (t.π.app j) (CategoryTheory.eqToHom ⋯)

theorem CategoryTheory.Limits.Cotrident.ofCocone_ι E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  {F : CategoryTheory.Functor (CategoryTheory.Limits.WalkingParallelFamily J) C} (t : CategoryTheory.Limits.Cocone F)
  (j : CategoryTheory.Limits.WalkingParallelFamily J),
  (CategoryTheory.Limits.Cotrident.ofCocone t).ι.app j =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom ⋯) (t.ι.app j)

def CategoryTheory.Limits.Trident.mkHom E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s t : CategoryTheory.Limits.Trident f} →
              (k : s.pt ⟶ t.pt) →
                autoParam (CategoryTheory.CategoryStruct.comp k t.ι = s.ι) CategoryTheory.Limits.Trident.mkHom._auto_1 →
                  (s ⟶ t)

Helper function for constructing morphisms between wide equalizer tridents.

theorem CategoryTheory.Limits.Trident.mkHom_hom E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Trident f} (k : s.pt ⟶ t.pt)
  (w : autoParam (CategoryTheory.CategoryStruct.comp k t.ι = s.ι) CategoryTheory.Limits.Trident.mkHom._auto_1),
  (CategoryTheory.Limits.Trident.mkHom k w).hom = k

def CategoryTheory.Limits.Trident.ext E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s t : CategoryTheory.Limits.Trident f} →
              (i : s.pt ≅ t.pt) →
                autoParam (CategoryTheory.CategoryStruct.comp i.hom t.ι = s.ι)
                    CategoryTheory.Limits.Trident.ext._auto_1 →
                  (s ≅ t)

To construct an isomorphism between tridents, it suffices to give an isomorphism between the cone points and check that it commutes with the ι morphisms.

theorem CategoryTheory.Limits.Trident.ext_hom E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Trident f} (i : s.pt ≅ t.pt)
  (w : autoParam (CategoryTheory.CategoryStruct.comp i.hom t.ι = s.ι) CategoryTheory.Limits.Trident.ext._auto_1),
  (CategoryTheory.Limits.Trident.ext i w).hom = CategoryTheory.Limits.Trident.mkHom i.hom w

theorem CategoryTheory.Limits.Trident.ext_inv E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Trident f} (i : s.pt ≅ t.pt)
  (w : autoParam (CategoryTheory.CategoryStruct.comp i.hom t.ι = s.ι) CategoryTheory.Limits.Trident.ext._auto_1),
  (CategoryTheory.Limits.Trident.ext i w).inv = CategoryTheory.Limits.Trident.mkHom i.inv ⋯

def CategoryTheory.Limits.Cotrident.mkHom E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s t : CategoryTheory.Limits.Cotrident f} →
              (k : s.pt ⟶ t.pt) →
                autoParam (CategoryTheory.CategoryStruct.comp s.π k = t.π)
                    CategoryTheory.Limits.Cotrident.mkHom._auto_1 →
                  (s ⟶ t)

Helper function for constructing morphisms between coequalizer cotridents.

theorem CategoryTheory.Limits.Cotrident.mkHom_hom E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [inst_1 : Nonempty J]
  {s t : CategoryTheory.Limits.Cotrident f} (k : s.pt ⟶ t.pt)
  (w : autoParam (CategoryTheory.CategoryStruct.comp s.π k = t.π) CategoryTheory.Limits.Cotrident.mkHom._auto_1),
  (CategoryTheory.Limits.Cotrident.mkHom k w).hom = k

def CategoryTheory.Limits.Cotrident.ext E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [Nonempty J] →
            {s t : CategoryTheory.Limits.Cotrident f} →
              (i : s.pt ≅ t.pt) →
                autoParam (CategoryTheory.CategoryStruct.comp s.π i.hom = t.π)
                    CategoryTheory.Limits.Cotrident.ext._auto_1 →
                  (s ≅ t)

To construct an isomorphism between cotridents, it suffices to give an isomorphism between the cocone points and check that it commutes with the π morphisms.

abbrev CategoryTheory.Limits.HasWideEqualizer E1 #

{J : Type w} → {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (J → (X ⟶ Y)) → Prop

A family f of parallel morphisms has a wide equalizer if the diagram parallelFamily f has a limit.

abbrev CategoryTheory.Limits.wideEqualizer E3 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} → (f : J → (X ⟶ Y)) → [CategoryTheory.Limits.HasWideEqualizer f] → C

If a wide equalizer of f exists, we can access an arbitrary choice of such by saying wideEqualizer f.

abbrev CategoryTheory.Limits.wideEqualizer.ι E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        (f : J → (X ⟶ Y)) →
          [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] → CategoryTheory.Limits.wideEqualizer f ⟶ X

If a wide equalizer of f exists, we can access the inclusion wideEqualizer f ⟶ X by saying wideEqualizer.ι f.

abbrev CategoryTheory.Limits.wideEqualizer.trident E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} → (f : J → (X ⟶ Y)) → [CategoryTheory.Limits.HasWideEqualizer f] → CategoryTheory.Limits.Trident f

A wide equalizer cone for a parallel family f.

theorem CategoryTheory.Limits.wideEqualizer.trident_ι E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f],
  (CategoryTheory.Limits.wideEqualizer.trident f).ι = CategoryTheory.Limits.wideEqualizer.ι f

theorem CategoryTheory.Limits.wideEqualizer.trident_π_app_zero E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f],
  (CategoryTheory.Limits.wideEqualizer.trident f).π.app CategoryTheory.Limits.WalkingParallelFamily.zero =
    CategoryTheory.Limits.wideEqualizer.ι f

theorem CategoryTheory.Limits.wideEqualizer.condition_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] (j₁ j₂ : J) {Z : C} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.ι f)
      (CategoryTheory.CategoryStruct.comp (f j₁) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.ι f)
      (CategoryTheory.CategoryStruct.comp (f j₂) h)

theorem CategoryTheory.Limits.wideEqualizer.condition E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] (j₁ j₂ : J),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.ι f) (f j₁) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.ι f) (f j₂)

def CategoryTheory.Limits.wideEqualizerIsWideEqualizer E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        (f : J → (X ⟶ Y)) →
          [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] →
            [inst_2 : Nonempty J] →
              CategoryTheory.Limits.IsLimit
                (CategoryTheory.Limits.Trident.ofι (CategoryTheory.Limits.wideEqualizer.ι f) ⋯)

The wideEqualizer built from wideEqualizer.ι f is limiting.

abbrev CategoryTheory.Limits.wideEqualizer.lift E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] →
            [Nonempty J] →
              {W : C} →
                (k : W ⟶ X) →
                  (∀ (j₁ j₂ : J),
                      CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)) →
                    (W ⟶ CategoryTheory.Limits.wideEqualizer f)

A morphism k : W ⟶ X satisfying ∀ j₁ j₂, k ≫ f j₁ = k ≫ f j₂ factors through the wide equalizer of f via wideEqualizer.lift : W ⟶ wideEqualizer f.

theorem CategoryTheory.Limits.wideEqualizer.lift_ι_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [inst_2 : Nonempty J] {W : C} (k : W ⟶ X)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)) {Z : C}
  (h_1 : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.lift k h)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.ι f) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.Limits.wideEqualizer.lift_ι E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [inst_2 : Nonempty J] {W : C} (k : W ⟶ X)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideEqualizer.lift k h)
      (CategoryTheory.Limits.wideEqualizer.ι f) =
    k

def CategoryTheory.Limits.wideEqualizer.lift' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] →
            [Nonempty J] →
              {W : C} →
                (k : W ⟶ X) →
                  (∀ (j₁ j₂ : J),
                      CategoryTheory.CategoryStruct.comp k (f j₁) = CategoryTheory.CategoryStruct.comp k (f j₂)) →
                    { l // CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.wideEqualizer.ι f) = k }

A morphism k : W ⟶ X satisfying ∀ j₁ j₂, k ≫ f j₁ = k ≫ f j₂ induces a morphism l : W ⟶ wideEqualizer f satisfying l ≫ wideEqualizer.ι f = k.

theorem CategoryTheory.Limits.wideEqualizer.hom_ext E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [Nonempty J] {W : C}
  {k l : W ⟶ CategoryTheory.Limits.wideEqualizer f},
  CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.wideEqualizer.ι f) =
      CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.wideEqualizer.ι f) →
    k = l

Two maps into a wide equalizer are equal if they are equal when composed with the wide equalizer map.

theorem CategoryTheory.Limits.wideEqualizer.hom_ext_iff E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [Nonempty J] {W : C}
  {k l : W ⟶ CategoryTheory.Limits.wideEqualizer f},
  k = l ↔
    CategoryTheory.CategoryStruct.comp k (CategoryTheory.Limits.wideEqualizer.ι f) =
      CategoryTheory.CategoryStruct.comp l (CategoryTheory.Limits.wideEqualizer.ι f)

instance CategoryTheory.Limits.wideEqualizer.ι_mono E3 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideEqualizer f] [Nonempty J],
  CategoryTheory.Mono (CategoryTheory.Limits.wideEqualizer.ι f)

A wide equalizer morphism is a monomorphism

theorem CategoryTheory.Limits.mono_of_isLimit_parallelFamily E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  {c : CategoryTheory.Limits.Cone (CategoryTheory.Limits.parallelFamily f)} (i : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.Mono (CategoryTheory.Limits.Trident.ι c)

The wide equalizer morphism in any limit cone is a monomorphism.

abbrev CategoryTheory.Limits.HasWideCoequalizer E1 #

{J : Type w} → {C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → {X Y : C} → (J → (X ⟶ Y)) → Prop

A family f of parallel morphisms has a wide coequalizer if the diagram parallelFamily f has a colimit.

abbrev CategoryTheory.Limits.wideCoequalizer E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} → (f : J → (X ⟶ Y)) → [CategoryTheory.Limits.HasWideCoequalizer f] → C

If a wide coequalizer of f exists, we can access an arbitrary choice of such by saying wideCoequalizer f.

abbrev CategoryTheory.Limits.wideCoequalizer.π E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        (f : J → (X ⟶ Y)) →
          [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] → Y ⟶ CategoryTheory.Limits.wideCoequalizer f

If a wideCoequalizer of f exists, we can access the corresponding projection by saying wideCoequalizer.π f.

abbrev CategoryTheory.Limits.wideCoequalizer.cotrident E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} → (f : J → (X ⟶ Y)) → [CategoryTheory.Limits.HasWideCoequalizer f] → CategoryTheory.Limits.Cotrident f

An arbitrary choice of coequalizer cocone for a parallel family f.

theorem CategoryTheory.Limits.wideCoequalizer.cotrident_π E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f],
  (CategoryTheory.Limits.wideCoequalizer.cotrident f).π = CategoryTheory.Limits.wideCoequalizer.π f

theorem CategoryTheory.Limits.wideCoequalizer.cotrident_ι_app_one E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f],
  (CategoryTheory.Limits.wideCoequalizer.cotrident f).ι.app CategoryTheory.Limits.WalkingParallelFamily.one =
    CategoryTheory.Limits.wideCoequalizer.π f

theorem CategoryTheory.Limits.wideCoequalizer.condition E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] (j₁ j₂ : J),
  CategoryTheory.CategoryStruct.comp (f j₁) (CategoryTheory.Limits.wideCoequalizer.π f) =
    CategoryTheory.CategoryStruct.comp (f j₂) (CategoryTheory.Limits.wideCoequalizer.π f)

theorem CategoryTheory.Limits.wideCoequalizer.condition_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : J → (X ⟶ Y))
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] (j₁ j₂ : J) {Z : C}
  (h : CategoryTheory.Limits.wideCoequalizer f ⟶ Z),
  CategoryTheory.CategoryStruct.comp (f j₁)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) h) =
    CategoryTheory.CategoryStruct.comp (f j₂)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) h)

def CategoryTheory.Limits.wideCoequalizerIsWideCoequalizer E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        (f : J → (X ⟶ Y)) →
          [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] →
            [inst_2 : Nonempty J] →
              CategoryTheory.Limits.IsColimit
                (CategoryTheory.Limits.Cotrident.ofπ (CategoryTheory.Limits.wideCoequalizer.π f) ⋯)

The cotrident built from wideCoequalizer.π f is colimiting.

abbrev CategoryTheory.Limits.wideCoequalizer.desc E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] →
            [Nonempty J] →
              {W : C} →
                (k : Y ⟶ W) →
                  (∀ (j₁ j₂ : J),
                      CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k) →
                    (CategoryTheory.Limits.wideCoequalizer f ⟶ W)

Any morphism k : Y ⟶ W satisfying ∀ j₁ j₂, f j₁ ≫ k = f j₂ ≫ k factors through the wide coequalizer of f via wideCoequalizer.desc : wideCoequalizer f ⟶ W.

theorem CategoryTheory.Limits.wideCoequalizer.π_desc_assoc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [inst_2 : Nonempty J] {W : C} (k : Y ⟶ W)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k) {Z : C}
  (h_1 : W ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.desc k h) h_1) =
    CategoryTheory.CategoryStruct.comp k h_1

theorem CategoryTheory.Limits.wideCoequalizer.π_desc E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [inst_2 : Nonempty J] {W : C} (k : Y ⟶ W)
  (h : ∀ (j₁ j₂ : J), CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f)
      (CategoryTheory.Limits.wideCoequalizer.desc k h) =
    k

def CategoryTheory.Limits.wideCoequalizer.desc' E1 #

{J : Type w} →
  {C : Type u} →
    [inst : CategoryTheory.Category.{v, u} C] →
      {X Y : C} →
        {f : J → (X ⟶ Y)} →
          [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] →
            [Nonempty J] →
              {W : C} →
                (k : Y ⟶ W) →
                  (∀ (j₁ j₂ : J),
                      CategoryTheory.CategoryStruct.comp (f j₁) k = CategoryTheory.CategoryStruct.comp (f j₂) k) →
                    { l // CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) l = k }

Any morphism k : Y ⟶ W satisfying ∀ j₁ j₂, f j₁ ≫ k = f j₂ ≫ k induces a morphism l : wideCoequalizer f ⟶ W satisfying wideCoequalizer.π ≫ g = l.

theorem CategoryTheory.Limits.wideCoequalizer.hom_ext E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [Nonempty J] {W : C}
  {k l : CategoryTheory.Limits.wideCoequalizer f ⟶ W},
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) l →
    k = l

Two maps from a wide coequalizer are equal if they are equal when composed with the wide coequalizer map

theorem CategoryTheory.Limits.wideCoequalizer.hom_ext_iff E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [Nonempty J] {W : C}
  {k l : CategoryTheory.Limits.wideCoequalizer f ⟶ W},
  k = l ↔
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) k =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.wideCoequalizer.π f) l

instance CategoryTheory.Limits.wideCoequalizer.π_epi E0 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)}
  [inst_1 : CategoryTheory.Limits.HasWideCoequalizer f] [Nonempty J],
  CategoryTheory.Epi (CategoryTheory.Limits.wideCoequalizer.π f)

A wide coequalizer morphism is an epimorphism

theorem CategoryTheory.Limits.epi_of_isColimit_parallelFamily E1 #

∀ {J : Type w} {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {f : J → (X ⟶ Y)} [Nonempty J]
  {c : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.parallelFamily f)} (i : CategoryTheory.Limits.IsColimit c),
  CategoryTheory.Epi (c.ι.app CategoryTheory.Limits.WalkingParallelFamily.one)

The wide coequalizer morphism in any colimit cocone is an epimorphism.

abbrev CategoryTheory.Limits.HasWideEqualizers E1 #

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

A category HasWideEqualizers if it has all limits of shape WalkingParallelFamily J, i.e. if it has a wide equalizer for every family of parallel morphisms.

abbrev CategoryTheory.Limits.HasWideCoequalizers E1 #

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

A category HasWideCoequalizers if it has all colimits of shape WalkingParallelFamily J, i.e. if it has a wide coequalizer for every family of parallel morphisms.

theorem CategoryTheory.Limits.hasWideEqualizers_of_hasLimit_parallelFamily E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C]
  [∀ {J : Type w} {X Y : C} {f : J → (X ⟶ Y)}, CategoryTheory.Limits.HasLimit (CategoryTheory.Limits.parallelFamily f)],
  CategoryTheory.Limits.HasWideEqualizers C

If C has all limits of diagrams parallelFamily f, then it has all wide equalizers

theorem CategoryTheory.Limits.hasWideCoequalizers_of_hasColimit_parallelFamily E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C]
  [∀ {J : Type w} {X Y : C} {f : J → (X ⟶ Y)},
      CategoryTheory.Limits.HasColimit (CategoryTheory.Limits.parallelFamily f)],
  CategoryTheory.Limits.HasWideCoequalizers C

If C has all colimits of diagrams parallelFamily f, then it has all wide coequalizers

instance CategoryTheory.Limits.hasEqualizers_of_hasWideEqualizers E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasWideEqualizers C],
  CategoryTheory.Limits.HasEqualizers C

instance CategoryTheory.Limits.hasCoequalizers_of_hasWideCoequalizers E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasWideCoequalizers C],
  CategoryTheory.Limits.HasCoequalizers C