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.Sites.Coherent.RegularSheaves

26 declarations. Mathlib docs · Source

Sheaves for the regular topology

This file characterises sheaves for the regular topology.

Main results

  • equalizerCondition_iff_isSheaf: In a preregular category with pullbacks, the sheaves for the regular topology are precisely the presheaves satisfying an equaliser condition with respect to effective epimorphisms.

  • isSheaf_of_projective: In a preregular category in which every object is projective, every presheaf is a sheaf for the regular topology.

theorem CategoryTheory.regularTopology.mapToEqualizer.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)) {W X B : C}
  (f f_1 : X ⟶ B) (e_f : f = f_1) (g₁ g₂ : W ⟶ X)
  (w : CategoryTheory.CategoryStruct.comp g₁ f = CategoryTheory.CategoryStruct.comp g₂ f),
  CategoryTheory.regularTopology.mapToEqualizer P f g₁ g₂ w =
    CategoryTheory.regularTopology.mapToEqualizer P f_1 g₁ g₂ ⋯

class CategoryTheory.Presieve.regular E1 #

{C : Type u_1} → [inst : CategoryTheory.Category.{v_1, u_1} C] → {X : C} → CategoryTheory.Presieve X → Prop

A presieve is regular if it consists of a single effective epimorphism.

ctor CategoryTheory.Presieve.regular.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {R : CategoryTheory.Presieve X},
  (∃ Y f, (R = CategoryTheory.Presieve.ofArrows (fun x ↦ Y) fun x ↦ f) ∧ CategoryTheory.EffectiveEpi f) → R.regular

theorem CategoryTheory.Presieve.regular.single_epi E1 #

∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {X : C} {R : CategoryTheory.Presieve X}
  [self : R.regular],
  ∃ Y f, (R = CategoryTheory.Presieve.ofArrows (fun x ↦ Y) fun x ↦ f) ∧ CategoryTheory.EffectiveEpi f

R consists of a single epimorphism.

theorem CategoryTheory.regularTopology.equalizerCondition_w E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (P : CategoryTheory.Functor Cᵒᵖ D) {X B : C} {π : X ⟶ B}
  (c : CategoryTheory.Limits.PullbackCone π π),
  CategoryTheory.CategoryStruct.comp (P.map π.op) (P.map c.fst.op) =
    CategoryTheory.CategoryStruct.comp (P.map π.op) (P.map c.snd.op)

def CategoryTheory.regularTopology.SingleEqualizerCondition E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → CategoryTheory.Functor Cᵒᵖ D → ⦃X B : C⦄ → (X ⟶ B) → Prop

A contravariant functor on C satisfies SingleEqualizerCondition with respect to a morphism π if it takes its kernel pair to an equalizer diagram.

def CategoryTheory.regularTopology.EqualizerCondition E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] → CategoryTheory.Functor Cᵒᵖ D → Prop

A contravariant functor on C satisfies EqualizerCondition if it takes kernel pairs of effective epimorphisms to equalizer diagrams.

theorem CategoryTheory.regularTopology.equalizerCondition_of_natIso E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] {P P' : CategoryTheory.Functor Cᵒᵖ D} (i : P ≅ P'),
  CategoryTheory.regularTopology.EqualizerCondition P → CategoryTheory.regularTopology.EqualizerCondition P'

The equalizer condition is preserved by natural isomorphism.

theorem CategoryTheory.regularTopology.equalizerCondition_precomp_of_preservesPullback E1 #

∀ {C : Type u_1} {D : Type u_2} {E : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} E]
  (P : CategoryTheory.Functor Cᵒᵖ D) (F : CategoryTheory.Functor E C)
  [∀ {X B : E} (π : X ⟶ B) [CategoryTheory.EffectiveEpi π],
      CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.cospan π π) F]
  [F.PreservesEffectiveEpis],
  CategoryTheory.regularTopology.EqualizerCondition P → CategoryTheory.regularTopology.EqualizerCondition (F.op.comp P)

Precomposing with a pullback-preserving functor preserves the equalizer condition.

def CategoryTheory.regularTopology.mapToEqualizer E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)) →
      {W X B : C} →
        (f : X ⟶ B) →
          (g₁ g₂ : W ⟶ X) →
            CategoryTheory.CategoryStruct.comp g₁ f = CategoryTheory.CategoryStruct.comp g₂ f →
              (P.obj (Opposite.op B) ⟶
                ↑{x |
                    (CategoryTheory.ConcreteCategory.hom (P.map g₁.op)) x =
                      (CategoryTheory.ConcreteCategory.hom (P.map g₂.op)) x})

The canonical map to the explicit equalizer.

theorem CategoryTheory.regularTopology.EqualizerCondition.bijective_mapToEqualizer_pullback' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P : CategoryTheory.Functor Cᵒᵖ (Type u_4)},
  CategoryTheory.regularTopology.EqualizerCondition P →
    ∀ {X B : C} {π : X ⟶ B} [CategoryTheory.EffectiveEpi π] (c : CategoryTheory.Limits.PullbackCone π π)
      (hc : CategoryTheory.Limits.IsLimit c),
      Function.Bijective
        ⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.regularTopology.mapToEqualizer P π c.fst c.snd ⋯))

theorem CategoryTheory.regularTopology.EqualizerCondition.bijective_mapToEqualizer_pullback E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P : CategoryTheory.Functor Cᵒᵖ (Type u_4)},
  CategoryTheory.regularTopology.EqualizerCondition P →
    ∀ {X B : C} (π : X ⟶ B) [CategoryTheory.EffectiveEpi π] [inst_2 : CategoryTheory.Limits.HasPullback π π],
      Function.Bijective
        ⇑(CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.regularTopology.mapToEqualizer P π (CategoryTheory.Limits.pullback.fst π π)
              (CategoryTheory.Limits.pullback.snd π π) ⋯))

theorem CategoryTheory.regularTopology.EqualizerCondition.mk' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)),
  (∀ (X B : C) (π : X ⟶ B) [CategoryTheory.EffectiveEpi π] (c : CategoryTheory.Limits.PullbackCone π π)
      (x : CategoryTheory.Limits.IsLimit c),
      Function.Bijective
        ⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.regularTopology.mapToEqualizer P π c.fst c.snd ⋯))) →
    CategoryTheory.regularTopology.EqualizerCondition P

theorem CategoryTheory.regularTopology.EqualizerCondition.mk E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)),
  (∀ (X B : C) (π : X ⟶ B) [CategoryTheory.EffectiveEpi π] [inst_2 : CategoryTheory.Limits.HasPullback π π],
      Function.Bijective
        ⇑(CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.regularTopology.mapToEqualizer P π (CategoryTheory.Limits.pullback.fst π π)
              (CategoryTheory.Limits.pullback.snd π π) ⋯))) →
    CategoryTheory.regularTopology.EqualizerCondition P

theorem CategoryTheory.regularTopology.equalizerCondition_w' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)) {X B : C}
  (π : X ⟶ B) [inst_1 : CategoryTheory.Limits.HasPullback π π],
  CategoryTheory.CategoryStruct.comp (P.map π.op) (P.map (CategoryTheory.Limits.pullback.fst π π).op) =
    CategoryTheory.CategoryStruct.comp (P.map π.op) (P.map (CategoryTheory.Limits.pullback.snd π π).op)

theorem CategoryTheory.regularTopology.mapToEqualizer_eq_comp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)) {X B : C}
  (π : X ⟶ B) [inst_1 : CategoryTheory.Limits.HasPullback π π],
  CategoryTheory.regularTopology.mapToEqualizer P π (CategoryTheory.Limits.pullback.fst π π)
      (CategoryTheory.Limits.pullback.snd π π) ⋯ =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.equalizer.lift (P.map π.op) ⋯)
      (CategoryTheory.Limits.Types.equalizerIso (P.map (CategoryTheory.Limits.pullback.fst π π).op)
          (P.map (CategoryTheory.Limits.pullback.snd π π).op)).hom

theorem CategoryTheory.regularTopology.equalizerCondition_iff_isIso_lift E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Functor Cᵒᵖ (Type u_4)),
  CategoryTheory.regularTopology.EqualizerCondition P ↔
    ∀ (X B : C) (π : X ⟶ B) [CategoryTheory.EffectiveEpi π] [inst_2 : CategoryTheory.Limits.HasPullback π π],
      CategoryTheory.IsIso (CategoryTheory.Limits.equalizer.lift (P.map π.op) ⋯)

An alternative phrasing of the explicit equalizer condition, using more categorical language.

theorem CategoryTheory.regularTopology.equalizerCondition_iff_of_equivalence E1 #

∀ {C : Type u_1} {D : Type u_2} {E : Type u_3} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} E]
  (P : CategoryTheory.Functor Cᵒᵖ D) (e : C ≌ E),
  CategoryTheory.regularTopology.EqualizerCondition P ↔
    CategoryTheory.regularTopology.EqualizerCondition (e.op.inverse.comp P)

P satisfies the equalizer condition iff its precomposition by an equivalence does.

theorem CategoryTheory.regularTopology.parallelPair_pullback_initial E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X B : C} (π : X ⟶ B)
  (c : CategoryTheory.Limits.PullbackCone π π) (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Limits.parallelPair (CategoryTheory.ObjectProperty.homMk (CategoryTheory.Over.homMk c.fst ⋯)).op
      (CategoryTheory.ObjectProperty.homMk (CategoryTheory.Over.homMk c.snd ⋯)).op).Initial

def CategoryTheory.regularTopology.isLimit_forkOfι_equiv E1 #

{C : Type u_1} →
  {D : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} C] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
        (P : CategoryTheory.Functor Cᵒᵖ D) →
          {X B : C} →
            (π : X ⟶ B) →
              (c : CategoryTheory.Limits.PullbackCone π π) →
                CategoryTheory.Limits.IsLimit c →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι (P.map π.op) ⋯) ≃
                    CategoryTheory.Limits.IsLimit
                      (P.mapCone (CategoryTheory.Sieve.ofArrows (fun x ↦ X) fun x ↦ π).arrows.cocone.op)

Given a limiting pullback cone, the fork in SingleEqualizerCondition is limiting iff the diagram in Presheaf.isSheaf_iff_isLimit_coverage is limiting.

theorem CategoryTheory.regularTopology.equalizerConditionMap_iff_nonempty_isLimit E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (P : CategoryTheory.Functor Cᵒᵖ D) ⦃X B : C⦄ (π : X ⟶ B)
  [CategoryTheory.Limits.HasPullback π π],
  CategoryTheory.regularTopology.SingleEqualizerCondition P π ↔
    Nonempty
      (CategoryTheory.Limits.IsLimit (P.mapCone (CategoryTheory.Sieve.ofArrows (fun x ↦ X) fun x ↦ π).arrows.cocone.op))

theorem CategoryTheory.regularTopology.equalizerCondition_iff_isSheaf E3 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (F : CategoryTheory.Functor Cᵒᵖ D)
  [inst_2 : CategoryTheory.Preregular C]
  [∀ {Y X : C} (f : Y ⟶ X) [CategoryTheory.EffectiveEpi f], CategoryTheory.Limits.HasPullback f f],
  CategoryTheory.regularTopology.EqualizerCondition F ↔
    CategoryTheory.Presheaf.IsSheaf (CategoryTheory.regularTopology C) F

theorem CategoryTheory.regularTopology.isSheafFor_regular_of_projective E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} (S : CategoryTheory.Presieve X) [S.regular]
  [CategoryTheory.Projective X] (F : CategoryTheory.Functor Cᵒᵖ (Type u_4)), CategoryTheory.Presieve.IsSheafFor F S

theorem CategoryTheory.regularTopology.isSheaf_of_projective E3 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] (F : CategoryTheory.Functor Cᵒᵖ D)
  [inst_2 : CategoryTheory.Preregular C] [∀ (X : C), CategoryTheory.Projective X],
  CategoryTheory.Presheaf.IsSheaf (CategoryTheory.regularTopology C) F

Every presheaf is a sheaf for the regular topology if every object of C is projective.

theorem CategoryTheory.regularTopology.isSheaf_yoneda_obj E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preregular C] (W : C),
  CategoryTheory.Presieve.IsSheaf (CategoryTheory.regularTopology C) (CategoryTheory.yoneda.obj W)

Every Yoneda-presheaf is a sheaf for the regular topology.

instance CategoryTheory.regularTopology.subcanonical E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preregular C],
  (CategoryTheory.regularTopology C).Subcanonical

The regular topology on any preregular category is subcanonical.