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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Adhesive.Basic

31 declarations. Mathlib docs · Source

Adhesive categories

Main definitions

  • CategoryTheory.IsPushout.IsVanKampen: A convenience formulation for a pushout being a van Kampen colimit.
  • CategoryTheory.Adhesive: A category is adhesive if it has pushouts and pullbacks along monomorphisms, and such pushouts are van Kampen.

Main Results

  • CategoryTheory.Type.adhesive: The category of Type is adhesive.
  • CategoryTheory.Adhesive.isPullback_of_isPushout_of_mono_left: In adhesive categories, pushouts along monomorphisms are pullbacks.
  • CategoryTheory.Adhesive.mono_of_isPushout_of_mono_left: In adhesive categories, monomorphisms are stable under pushouts.
  • CategoryTheory.Adhesive.desc_mono_of_mono: If a : A ⟶ Z and b : B ⟶ Z are monomorphisms in an adhesive category, then the map pushout (pullback.fst a b) (pullback.snd a b) ⟶ Z induced by their pullback is a monomorphism.
  • CategoryTheory.Adhesive.toRegularMonoCategory: Monomorphisms in adhesive categories are regular (this implies that adhesive categories are balanced).
  • CategoryTheory.adhesive_functor: The category C ⥤ D is adhesive if D has all pullbacks and all pushouts and is adhesive

References

  • https://ncatlab.org/nlab/show/adhesive+category
  • [Stephen Lack and Paweł Sobociński, Adhesive Categories][adhesive2004]

def CategoryTheory.IsPushout.IsVanKampen E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {W X Y Z : C} → {f : W ⟶ X} → {g : W ⟶ Y} → {h : X ⟶ Z} → {i : Y ⟶ Z} → CategoryTheory.IsPushout f g h i → Prop

A convenient formulation for a pushout being a van Kampen colimit. For any commutative cube of which a van Kampen pushout forms the bottom face and the back faces are pullbacks, the front faces are pullbacks if and only if the top face is a pushout. See IsPushout.isVanKampen_iff below.

theorem CategoryTheory.IsPushout.IsVanKampen.exists_cube_filling E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  {H : CategoryTheory.IsPushout f g h i},
  H.IsVanKampen →
    ∀ {X' Y' Z' : C} {h' : X' ⟶ Z'} {i' : Y' ⟶ Z'} {αX : X' ⟶ X} {αY : Y' ⟶ Y} {αZ : Z' ⟶ Z}
      [CategoryTheory.Limits.HasPullback αX f],
      CategoryTheory.IsPullback h' αX αZ h →
        CategoryTheory.IsPullback i' αY αZ i →
          ∃ W' f' g' αW,
            CategoryTheory.IsPullback f' αW αX f ∧
              CategoryTheory.IsPullback g' αW αY g ∧ CategoryTheory.IsPushout f' g' h' i'

If a van Kampen pushout forms the bottom face of a commutative "half-cube" whose front faces are pullbacks, then there exist two back faces which are pullbacks and a top face which is a pushout.

theorem CategoryTheory.IsPushout.IsVanKampen.flip E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  {H : CategoryTheory.IsPushout f g h i}, H.IsVanKampen → ⋯.IsVanKampen

theorem CategoryTheory.IsPushout.isVanKampen_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  (H : CategoryTheory.IsPushout f g h i),
  H.IsVanKampen ↔ CategoryTheory.IsVanKampenColimit (CategoryTheory.Limits.PushoutCocone.mk h i ⋯)

theorem CategoryTheory.IsPushout.isVanKampen_iff' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  {H : CategoryTheory.IsPushout f g h i},
  H.IsVanKampen ↔
    ∀ ⦃X' Y' Z' : C⦄ (h' : X' ⟶ Z') (i' : Y' ⟶ Z') (αX : X' ⟶ X) (αY : Y' ⟶ Y) (αZ : Z' ⟶ Z),
      CategoryTheory.CommSq h' αX αZ h →
        CategoryTheory.CommSq i' αY αZ i →
          ∀ [CategoryTheory.Limits.HasPullback αX f],
            CategoryTheory.IsPullback h' αX αZ h ∧ CategoryTheory.IsPullback i' αY αZ i ↔
              ∃ W' f' g' αW,
                CategoryTheory.IsPullback f' αW αX f ∧
                  CategoryTheory.IsPullback g' αW αY g ∧ CategoryTheory.IsPushout f' g' h' i'

A pushout is van Kampen if and only if whenever it forms the bottom face of a commutative "half-cube", the front faces are pullbacks if and only if there exist back faces which are pullbacks and a top face which is a pushout.

theorem CategoryTheory.IsPushout.isVanKampen_isPullback_isPullback_hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  {H : CategoryTheory.IsPushout f g h i},
  H.IsVanKampen →
    ∀ {X' Y' Z' : C} {h' : X' ⟶ Z'} {i' : Y' ⟶ Z'} {αX : X' ⟶ X} [CategoryTheory.Limits.HasPullback αX f] {αY : Y' ⟶ Y}
      {αZ : Z' ⟶ Z} {W : C} {f₁ f₂ : Z' ⟶ W},
      CategoryTheory.IsPullback h' αX αZ h →
        CategoryTheory.IsPullback i' αY αZ i →
          CategoryTheory.CategoryStruct.comp h' f₁ = CategoryTheory.CategoryStruct.comp h' f₂ →
            CategoryTheory.CategoryStruct.comp i' f₁ = CategoryTheory.CategoryStruct.comp i' f₂ → f₁ = f₂

theorem CategoryTheory.is_coprod_iff_isPushout E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X E Y YE : C} (c : CategoryTheory.Limits.BinaryCofan X E)
  (hc : CategoryTheory.Limits.IsColimit c) {f : X ⟶ Y} {iY : Y ⟶ YE} {fE : c.pt ⟶ YE},
  CategoryTheory.CommSq f c.inl iY fE →
    (Nonempty
        (CategoryTheory.Limits.IsColimit
          (CategoryTheory.Limits.BinaryCofan.mk (CategoryTheory.CategoryStruct.comp c.inr fE) iY)) ↔
      CategoryTheory.IsPushout f c.inl iY fE)

theorem CategoryTheory.IsPushout.isVanKampen_inl E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W E X Z : C} (c : CategoryTheory.Limits.BinaryCofan W E)
  [CategoryTheory.FinitaryExtensive C] [CategoryTheory.Limits.HasPullbacks C] (hc : CategoryTheory.Limits.IsColimit c)
  (f : W ⟶ X) (h : X ⟶ Z) (i : c.pt ⟶ Z) (H : CategoryTheory.IsPushout f c.inl h i), H.IsVanKampen

theorem CategoryTheory.IsPushout.IsVanKampen.isPullback_of_mono_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Mono f] {H : CategoryTheory.IsPushout f g h i}, H.IsVanKampen → CategoryTheory.IsPullback f g h i

theorem CategoryTheory.IsPushout.IsVanKampen.isPullback_of_mono_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Mono g] {H : CategoryTheory.IsPushout f g h i}, H.IsVanKampen → CategoryTheory.IsPullback f g h i

theorem CategoryTheory.IsPushout.IsVanKampen.mono_of_mono_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Mono f] {H : CategoryTheory.IsPushout f g h i}, H.IsVanKampen → CategoryTheory.Mono i

theorem CategoryTheory.IsPushout.IsVanKampen.mono_of_mono_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Mono g] {H : CategoryTheory.IsPushout f g h i}, H.IsVanKampen → CategoryTheory.Mono h

class CategoryTheory.Adhesive E3 #

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

A category is adhesive if it has pushouts and pullbacks along monomorphisms, and such pushouts are van Kampen.

ctor CategoryTheory.Adhesive.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C]
  [hasPullback_of_mono_left :
    ∀ {X Y S : C} (f : X ⟶ S) (g : Y ⟶ S) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPullback f g]
  [hasPushout_of_mono_left :
    ∀ {X Y S : C} (f : S ⟶ X) (g : S ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPushout f g],
  (∀ {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z} [CategoryTheory.Mono f]
      (H : CategoryTheory.IsPushout f g h i), H.IsVanKampen) →
    CategoryTheory.Adhesive C

instance CategoryTheory.Adhesive.hasPullback_of_mono_left E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Adhesive C] {X Y S : C} (f : X ⟶ S)
  (g : Y ⟶ S) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPullback f g

instance CategoryTheory.Adhesive.hasPushout_of_mono_left E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Adhesive C] {X Y S : C} (f : S ⟶ X)
  (g : S ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPushout f g

theorem CategoryTheory.Adhesive.van_kampen E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Adhesive C] {W X Y Z : C} {f : W ⟶ X}
  {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z} [CategoryTheory.Mono f] (H : CategoryTheory.IsPushout f g h i), H.IsVanKampen

theorem CategoryTheory.Adhesive.van_kampen' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C] [CategoryTheory.Mono g] (H : CategoryTheory.IsPushout f g h i), H.IsVanKampen

theorem CategoryTheory.Adhesive.isPullback_of_isPushout_of_mono_left E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C],
  CategoryTheory.IsPushout f g h i → ∀ [CategoryTheory.Mono f], CategoryTheory.IsPullback f g h i

theorem CategoryTheory.Adhesive.isPullback_of_isPushout_of_mono_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C],
  CategoryTheory.IsPushout f g h i → ∀ [CategoryTheory.Mono g], CategoryTheory.IsPullback f g h i

theorem CategoryTheory.Adhesive.mono_of_isPushout_of_mono_left E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C], CategoryTheory.IsPushout f g h i → ∀ [CategoryTheory.Mono f], CategoryTheory.Mono i

theorem CategoryTheory.Adhesive.mono_of_isPushout_of_mono_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C], CategoryTheory.IsPushout f g h i → ∀ [CategoryTheory.Mono g], CategoryTheory.Mono h

theorem CategoryTheory.Adhesive.isPushout_isPullback_isPullback_hom_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {W X Y Z : C} {f : W ⟶ X} {g : W ⟶ Y} {h : X ⟶ Z} {i : Y ⟶ Z}
  [CategoryTheory.Adhesive C] [CategoryTheory.Mono f],
  CategoryTheory.IsPushout f g h i →
    ∀ {X' Y' Z' : C} {h' : X' ⟶ Z'} {i' : Y' ⟶ Z'} {αX : X' ⟶ X} {αY : Y' ⟶ Y} {αZ : Z' ⟶ Z} {W : C} {f₁ f₂ : Z' ⟶ W},
      CategoryTheory.IsPullback h' αX αZ h →
        CategoryTheory.IsPullback i' αY αZ i →
          CategoryTheory.CategoryStruct.comp h' f₁ = CategoryTheory.CategoryStruct.comp h' f₂ →
            CategoryTheory.CategoryStruct.comp i' f₁ = CategoryTheory.CategoryStruct.comp i' f₂ → f₁ = f₂

instance CategoryTheory.Adhesive.desc_mono_of_mono E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Adhesive C] {Z A B : C} {a : A ⟶ Z}
  {b : B ⟶ Z} [inst_2 : CategoryTheory.Mono a] [inst_3 : CategoryTheory.Mono b],
  CategoryTheory.Mono (CategoryTheory.Limits.pushout.desc a b ⋯)

If a : A ⟶ Z and b : B ⟶ Z are monomorphisms in an adhesive category, then the map pushout (pullback.fst a b) (pullback.snd a b) ⟶ Z induced by their pullback is a monomorphism. See Theorem 5.1 in [Lack and Sobociński's Adhesive Categories][adhesive2004]. See also CategoryTheory.IsPushout.desc_mono_of_isPullback.

instance CategoryTheory.IsPushout.desc_mono_of_isPullback E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Adhesive C] {A B Z P₁ P₂ : C} {a : A ⟶ Z}
  {b : B ⟶ Z} {p₁ : P₁ ⟶ A} {p₂ : P₁ ⟶ B} {q₁ : A ⟶ P₂} {q₂ : B ⟶ P₂} (h₂ : CategoryTheory.IsPushout p₁ p₂ q₁ q₂)
  (h₁ : CategoryTheory.IsPullback p₁ p₂ a b) [CategoryTheory.Mono a] [CategoryTheory.Mono b],
  CategoryTheory.Mono (h₂.desc a b ⋯)

In an adhesive category, if a : A ⟶ Z and b : B ⟶ Z are monomorphisms, and we have IsPullback p₁ p₂ a b and IsPushout p₁ p₂ q₁ q₂, then the induced map from the pushout into Z is a monomorphism. See also CategoryTheory.Adhesive.desc_mono_of_mono.

instance CategoryTheory.Type.adhesive E3 #

CategoryTheory.Adhesive (Type u)

instance CategoryTheory.Adhesive.toRegularMonoCategory E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Adhesive C],
  CategoryTheory.IsRegularMonoCategory C

instance CategoryTheory.adhesive_functor E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u''} [inst_1 : CategoryTheory.Category.{v'', u''} D]
  [CategoryTheory.Adhesive C] [CategoryTheory.Limits.HasPullbacks C] [CategoryTheory.Limits.HasPushouts C],
  CategoryTheory.Adhesive (CategoryTheory.Functor D C)

theorem CategoryTheory.adhesive_of_preserves_and_reflects 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) [CategoryTheory.Adhesive D]
  [H₁ : ∀ {X Y S : C} (f : X ⟶ S) (g : Y ⟶ S) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPullback f g]
  [H₂ : ∀ {X Y S : C} (f : S ⟶ X) (g : S ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPushout f g]
  [CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan F]
  [CategoryTheory.Limits.ReflectsLimitsOfShape CategoryTheory.Limits.WalkingCospan F]
  [CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingSpan F]
  [CategoryTheory.Limits.ReflectsColimitsOfShape CategoryTheory.Limits.WalkingSpan F], CategoryTheory.Adhesive C

theorem CategoryTheory.adhesive_of_preserves_and_reflects_isomorphism 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) [CategoryTheory.Adhesive D] [CategoryTheory.Limits.HasPullbacks C]
  [CategoryTheory.Limits.HasPushouts C]
  [CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan F]
  [CategoryTheory.Limits.PreservesColimitsOfShape CategoryTheory.Limits.WalkingSpan F] [F.ReflectsIsomorphisms],
  CategoryTheory.Adhesive C

theorem CategoryTheory.adhesive_of_reflective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u''} [inst_1 : CategoryTheory.Category.{v'', u''} D]
  [CategoryTheory.Limits.HasPullbacks D] [CategoryTheory.Adhesive C] [CategoryTheory.Limits.HasPullbacks C]
  [CategoryTheory.Limits.HasPushouts C]
  [H₂ : ∀ {X Y S : D} (f : S ⟶ X) (g : S ⟶ Y) [CategoryTheory.Mono f], CategoryTheory.Limits.HasPushout f g]
  {Gl : CategoryTheory.Functor C D} {Gr : CategoryTheory.Functor D C} (adj : Gl ⊣ Gr) [Gr.Full] [Gr.Faithful]
  [CategoryTheory.Limits.PreservesLimitsOfShape CategoryTheory.Limits.WalkingCospan Gl], CategoryTheory.Adhesive D