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

33 declarations. Mathlib docs · Source

Disjoint coproducts

Defines disjoint coproducts: coproducts where the intersection is initial and the coprojections are monic. Shows that a category with disjoint coproducts is InitialMonoClass.

TODO

  • Adapt this to the infinitary (small) version: This is one of the conditions in Giraud's theorem characterising sheaf topoi.
  • Construct examples (and counterexamples?), e.g. Type, Vec.
  • Define extensive categories, and show every extensive category has disjoint coproducts.
  • Define coherent categories and use this to define positive coherent categories.

theorem CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsColimit.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C}
  [inst_1 : CategoryTheory.Limits.CoproductDisjoint X] {i j : ι} (hij : i ≠ j) {Z : C} {f : (i : ι) → X i ⟶ Z}
  [inst_2 : CategoryTheory.Limits.HasPullback (f i) (f j)]
  (hc hc_1 : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk Z f)),
  hc = hc_1 →
    CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsColimit hij hc =
      CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsColimit hij hc_1

class CategoryTheory.Limits.CoproductDisjoint E1 #

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

We say the coproduct of the family Xᵢ is disjoint, if whenever we have a pullback diagram of the form

Z  ⟶ X₁
↓    ↓
X₂ ⟶ ∐ X

Z is initial.

ctor CategoryTheory.Limits.CoproductDisjoint.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C},
  (∀ {c : CategoryTheory.Limits.Cofan X} (hc : CategoryTheory.Limits.IsColimit c) {i j : ι},
      i ≠ j →
        ∀ (s : CategoryTheory.Limits.PullbackCone (c.inj i) (c.inj j)) (a : CategoryTheory.Limits.IsLimit s),
          Nonempty (CategoryTheory.Limits.IsInitial s.pt)) →
    (∀ {c : CategoryTheory.Limits.Cofan X} (hc : CategoryTheory.Limits.IsColimit c) (i : ι),
        CategoryTheory.Mono (c.inj i)) →
      CategoryTheory.Limits.CoproductDisjoint X

theorem CategoryTheory.Limits.CoproductDisjoint.nonempty_isInitial_of_ne E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {ι : Type u_1} {X : ι → C}
  [self : CategoryTheory.Limits.CoproductDisjoint X] {c : CategoryTheory.Limits.Cofan X}
  (hc : CategoryTheory.Limits.IsColimit c) {i j : ι},
  i ≠ j →
    ∀ (s : CategoryTheory.Limits.PullbackCone (c.inj i) (c.inj j)) (a : CategoryTheory.Limits.IsLimit s),
      Nonempty (CategoryTheory.Limits.IsInitial s.pt)

theorem CategoryTheory.Limits.CoproductDisjoint.mono_inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {ι : Type u_1} {X : ι → C}
  [self : CategoryTheory.Limits.CoproductDisjoint X] {c : CategoryTheory.Limits.Cofan X}
  (hc : CategoryTheory.Limits.IsColimit c) (i : ι), CategoryTheory.Mono (c.inj i)

theorem CategoryTheory.Limits.CoproductDisjoint.of_cofan E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C} {c : CategoryTheory.Limits.Cofan X}
  (hc : CategoryTheory.Limits.IsColimit c) [∀ (i : ι), CategoryTheory.Mono (c.inj i)]
  (s : {i j : ι} → i ≠ j → CategoryTheory.Limits.PullbackCone (c.inj i) (c.inj j))
  (hs : {i j : ι} → (hij : i ≠ j) → CategoryTheory.Limits.IsLimit (s hij))
  (H : {i j : ι} → (hij : i ≠ j) → CategoryTheory.Limits.IsInitial (s hij).pt),
  CategoryTheory.Limits.CoproductDisjoint X

theorem CategoryTheory.Limits.CoproductDisjoint.of_hasCoproduct E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C}
  [inst_1 : CategoryTheory.Limits.HasCoproduct X] [∀ (i : ι), CategoryTheory.Mono (CategoryTheory.Limits.Sigma.ι X i)]
  (s :
    {i j : ι} →
      i ≠ j →
        CategoryTheory.Limits.PullbackCone (CategoryTheory.Limits.Sigma.ι X i) (CategoryTheory.Limits.Sigma.ι X j))
  (hs : {i j : ι} → (hij : i ≠ j) → CategoryTheory.Limits.IsLimit (s hij))
  (H : {i j : ι} → (hij : i ≠ j) → CategoryTheory.Limits.IsInitial (s hij).pt),
  CategoryTheory.Limits.CoproductDisjoint X

theorem CategoryTheory.Mono.of_coproductDisjoint E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C}
  [CategoryTheory.Limits.CoproductDisjoint X] {c : CategoryTheory.Limits.Cofan X}
  (hc : CategoryTheory.Limits.IsColimit c) (i : ι), CategoryTheory.Mono (c.inj i)

instance CategoryTheory.Mono.ι_of_coproductDisjoint E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C}
  [CategoryTheory.Limits.CoproductDisjoint X] [inst_2 : CategoryTheory.Limits.HasCoproduct X] (i : ι),
  CategoryTheory.Mono (CategoryTheory.Limits.Sigma.ι X i)

def CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsColimitOfIsLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {X : ι → C} →
        [CategoryTheory.Limits.CoproductDisjoint X] →
          {i j : ι} →
            i ≠ j →
              {c : CategoryTheory.Limits.Cofan X} →
                CategoryTheory.Limits.IsColimit c →
                  {s : CategoryTheory.Limits.PullbackCone (c.inj i) (c.inj j)} →
                    CategoryTheory.Limits.IsLimit s → CategoryTheory.Limits.IsInitial s.pt

If i ≠ j and Xᵢ ← Y → Xⱼ is a pullback diagram over Z, where Z is the coproduct of the Xᵢ, then Y is initial.

def CategoryTheory.Limits.IsInitial.ofCoproductDisjoint E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {X : ι → C} →
        [CategoryTheory.Limits.CoproductDisjoint X] →
          {i j : ι} →
            i ≠ j →
              [inst_2 : CategoryTheory.Limits.HasCoproduct X] →
                [inst_3 :
                    CategoryTheory.Limits.HasPullback (CategoryTheory.Limits.Sigma.ι X i)
                      (CategoryTheory.Limits.Sigma.ι X j)] →
                  CategoryTheory.Limits.IsInitial
                    (CategoryTheory.Limits.pullback (CategoryTheory.Limits.Sigma.ι X i)
                      (CategoryTheory.Limits.Sigma.ι X j))

If i ≠ j, the pullback Xᵢ ×[∐ X] Xⱼ is initial.

def CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {X : ι → C} →
        [CategoryTheory.Limits.CoproductDisjoint X] →
          {i j : ι} →
            i ≠ j →
              {Z : C} →
                {f : (i : ι) → X i ⟶ Z} →
                  [inst_2 : CategoryTheory.Limits.HasPullback (f i) (f j)] →
                    CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Cofan.mk Z f) →
                      CategoryTheory.Limits.IsInitial (CategoryTheory.Limits.pullback (f i) (f j))

If i ≠ j, the pullback Xᵢ ×[Z] Xⱼ is initial, if Z is the coproduct of the Xᵢ.

def CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfIsLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {X : ι → C} →
        [CategoryTheory.Limits.CoproductDisjoint X] →
          {i j : ι} →
            i ≠ j →
              [inst_2 : CategoryTheory.Limits.HasCoproduct X] →
                {s :
                    CategoryTheory.Limits.PullbackCone (CategoryTheory.Limits.Sigma.ι X i)
                      (CategoryTheory.Limits.Sigma.ι X j)} →
                  CategoryTheory.Limits.IsLimit s → CategoryTheory.Limits.IsInitial s.pt

If i ≠ j and Xᵢ ← Y → Xⱼ is a pullback diagram over ∐ X, Y is initial.

def CategoryTheory.Limits.IsInitial.ofCoproductDisjointOfCommSq E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {ι : Type u_1} →
      {X : ι → C} →
        [CategoryTheory.Limits.CoproductDisjoint X] →
          {i j : ι} →
            i ≠ j →
              [CategoryTheory.Limits.HasStrictInitialObjects C] →
                {c : CategoryTheory.Limits.Cofan X} →
                  CategoryTheory.Limits.IsColimit c →
                    {Z : C} →
                      (fst : Z ⟶ X i) →
                        (snd : Z ⟶ X j) →
                          CategoryTheory.CategoryStruct.comp fst (c.inj i) =
                              CategoryTheory.CategoryStruct.comp snd (c.inj j) →
                            [CategoryTheory.Limits.HasPullback (c.inj i) (c.inj j)] → CategoryTheory.Limits.IsInitial Z

If C has strict initial objects and there is a commutative square Xᵢ ← Z → Xⱼ over ∐ X, then Z is initial.

theorem CategoryTheory.Limits.CoproductDisjoint.isPullback_of_isInitial E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {ι : Type u_1} {X : ι → C}
  [CategoryTheory.Limits.CoproductDisjoint X] {c : CategoryTheory.Limits.Cofan X}
  (hc : CategoryTheory.Limits.IsColimit c) {Y : C} (hY : CategoryTheory.Limits.IsInitial Y) {i j : ι}
  [CategoryTheory.Limits.HasPullback (c.inj i) (c.inj j)],
  i ≠ j → CategoryTheory.IsPullback (hY.to (X i)) (hY.to (X j)) (c.inj i) (c.inj j)

abbrev CategoryTheory.Limits.BinaryCoproductDisjoint E1 #

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

The binary coproduct of X and Y is disjoint if the coproduct of the family {X, Y} is disjoint.

theorem CategoryTheory.Limits.BinaryCoproductDisjoint.of_binaryCofan E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {c : CategoryTheory.Limits.BinaryCofan X Y}
  (hc : CategoryTheory.Limits.IsColimit c) [CategoryTheory.Mono c.inl] [CategoryTheory.Mono c.inr]
  {s : CategoryTheory.Limits.PullbackCone c.inl c.inr} (hs : CategoryTheory.Limits.IsLimit s)
  (H : CategoryTheory.Limits.IsInitial s.pt), CategoryTheory.Limits.BinaryCoproductDisjoint X Y

theorem CategoryTheory.Mono.cofanInl_of_binaryCoproductDisjoint E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  {c : CategoryTheory.Limits.BinaryCofan X Y} (hc : CategoryTheory.Limits.IsColimit c), CategoryTheory.Mono c.inl

theorem CategoryTheory.Mono.cofanInr_of_binaryCoproductDisjoint E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  {c : CategoryTheory.Limits.BinaryCofan X Y} (hc : CategoryTheory.Limits.IsColimit c), CategoryTheory.Mono c.inr

theorem CategoryTheory.Mono.of_binaryCoproductDisjoint_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  {Z : C} {f : X ⟶ Z} (g : Y ⟶ Z) (hc : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.BinaryCofan.mk f g)),
  CategoryTheory.Mono f

theorem CategoryTheory.Mono.of_binaryCoproductDisjoint_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  {Z : C} (f : X ⟶ Z) {g : Y ⟶ Z} (hc : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.BinaryCofan.mk f g)),
  CategoryTheory.Mono g

instance CategoryTheory.Mono.inl_of_binaryCoproductDisjoint E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct X Y], CategoryTheory.Mono CategoryTheory.Limits.coprod.inl

instance CategoryTheory.Mono.inr_of_binaryCoproductDisjoint E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} [CategoryTheory.Limits.BinaryCoproductDisjoint X Y]
  [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct X Y], CategoryTheory.Mono CategoryTheory.Limits.coprod.inr

def CategoryTheory.Limits.IsInitial.ofBinaryCoproductDisjointOfIsColimitOfIsLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [CategoryTheory.Limits.BinaryCoproductDisjoint X Y] →
        {c : CategoryTheory.Limits.BinaryCofan X Y} →
          CategoryTheory.Limits.IsColimit c →
            {s : CategoryTheory.Limits.PullbackCone c.inl c.inr} →
              CategoryTheory.Limits.IsLimit s → CategoryTheory.Limits.IsInitial s.pt

If X ← Z → Y is a pullback diagram over W, where W is the coproduct of X and Y, then Z is initial.

def CategoryTheory.Limits.IsInitial.ofBinaryCoproductDisjoint E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [CategoryTheory.Limits.BinaryCoproductDisjoint X Y] →
        [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct X Y] →
          [inst_3 :
              CategoryTheory.Limits.HasPullback CategoryTheory.Limits.coprod.inl CategoryTheory.Limits.coprod.inr] →
            CategoryTheory.Limits.IsInitial
              (CategoryTheory.Limits.pullback CategoryTheory.Limits.coprod.inl CategoryTheory.Limits.coprod.inr)

X ×[X ⨿ Y] Y is initial.

def CategoryTheory.Limits.IsInitial.ofBinaryCoproductDisjointOfIsColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [CategoryTheory.Limits.BinaryCoproductDisjoint X Y] →
        {Z : C} →
          {f : X ⟶ Z} →
            {g : Y ⟶ Z} →
              [inst_2 : CategoryTheory.Limits.HasPullback f g] →
                CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.BinaryCofan.mk f g) →
                  CategoryTheory.Limits.IsInitial (CategoryTheory.Limits.pullback f g)

The pullback X ×[W] Y is initial, if W is the coproduct of X and Y.

def CategoryTheory.Limits.IsInitial.ofBinaryCoproductDisjointOfIsLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      [CategoryTheory.Limits.BinaryCoproductDisjoint X Y] →
        [inst_2 : CategoryTheory.Limits.HasBinaryCoproduct X Y] →
          (s : CategoryTheory.Limits.PullbackCone CategoryTheory.Limits.coprod.inl CategoryTheory.Limits.coprod.inr) →
            CategoryTheory.Limits.IsLimit s → CategoryTheory.Limits.IsInitial s.pt

If X ← Z → Y is a pullback diagram over X ⨿ Y, Z is initial.

class CategoryTheory.Limits.CoproductsOfShapeDisjoint E1 #

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

C has disjoint coproducts if every coproduct is disjoint.

ctor CategoryTheory.Limits.CoproductsOfShapeDisjoint.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {ι : Type u_2},
  (∀ (X : ι → C), CategoryTheory.Limits.CoproductDisjoint X) → CategoryTheory.Limits.CoproductsOfShapeDisjoint C ι

instance CategoryTheory.Limits.CoproductsOfShapeDisjoint.coproductDisjoint E0 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {ι : Type u_2}
  [self : CategoryTheory.Limits.CoproductsOfShapeDisjoint C ι] (X : ι → C), CategoryTheory.Limits.CoproductDisjoint X

abbrev CategoryTheory.Limits.BinaryCoproductsDisjoint E1 #

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

C has disjoint binary coproducts if every binary coproduct is disjoint.

theorem CategoryTheory.Limits.BinaryCoproductsDisjoint.mk E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  (∀ (X Y : C), CategoryTheory.Limits.BinaryCoproductDisjoint X Y) → CategoryTheory.Limits.BinaryCoproductsDisjoint C

theorem CategoryTheory.Limits.initialMonoClass_of_coproductsDisjoint E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.BinaryCoproductsDisjoint C],
  CategoryTheory.Limits.InitialMonoClass C

If C has disjoint coproducts, any morphism out of initial is mono. Note it isn't true in general that C has strict initial objects, for instance consider the category of types and partial functions.