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.Hypercover.SheafOfTypes

24 declarations. Mathlib docs · Source

1-hypercovers and (pre)sheaves of types

In this file we provide some API for working with 1-hypercovers for sheaves of types.

Main declarations

  • CategoryTheory.PreOneHypercover.IsStronglySheafFor: A pre-1-hypercover E satisfies the strong sheaf condition for a presheaf of types F if F is a sheaf for the 0-covering and separated for the 1-coverings.
  • CategoryTheory.PreOneHypercover.IsStronglySheafFor.amalgamate: Glue a family of compatible sections along E if E satisfies the strong sheaf condition.
  • CategoryTheory.PreOneHypercover.IsStronglySheafFor.isLimitMultifork: If E satisfies the strong sheaf condition for F, then the multiequalizer diagram for E is limiting.

def CategoryTheory.PreZeroHypercover.sectionsEquivOfHasPullbacks E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {S : C} →
      (E : CategoryTheory.PreZeroHypercover S) →
        [inst_1 : E.HasPullbacks] →
          (F : CategoryTheory.Functor Cᵒᵖ (Type u_2)) →
            (E.toPreOneHypercover.multicospanIndex F).sections ≃
              Subtype (CategoryTheory.Presieve.Arrows.Compatible F E.f)

If the pre-0-hypercover E has pairwise pullbacks, the sections over the multifork associated to a presheaf of types are equivalent to the compatible families on E.

theorem CategoryTheory.PreZeroHypercover.sectionsEquivOfHasPullbacks_symm_apply_val E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {S : C} (E : CategoryTheory.PreZeroHypercover S)
  [inst_1 : E.HasPullbacks] (F : CategoryTheory.Functor Cᵒᵖ (Type u_2))
  (s : Subtype (CategoryTheory.Presieve.Arrows.Compatible F E.f)) (i : E.I₀),
  ((E.sectionsEquivOfHasPullbacks F).symm s).val i = ↑s i

theorem CategoryTheory.PreZeroHypercover.sectionsEquivOfHasPullbacks_apply_coe E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {S : C} (E : CategoryTheory.PreZeroHypercover S)
  [inst_1 : E.HasPullbacks] (F : CategoryTheory.Functor Cᵒᵖ (Type u_2))
  (s : (E.toPreOneHypercover.multicospanIndex F).sections) (i : E.toPreOneHypercover.multicospanShape.L),
  ↑((E.sectionsEquivOfHasPullbacks F) s) i = s.val i

theorem CategoryTheory.PreZeroHypercover.isLimit_toPreOneHypercover_type_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {S : C} (E : CategoryTheory.PreZeroHypercover S)
  [inst_1 : E.HasPullbacks] (F : CategoryTheory.Functor Cᵒᵖ (Type u_2)),
  Nonempty (CategoryTheory.Limits.IsLimit (E.toPreOneHypercover.multifork F)) ↔
    CategoryTheory.Presieve.IsSheafFor F E.presieve₀

theorem CategoryTheory.Precoverage.ZeroHypercover.Hom.isSheafFor_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  {K : CategoryTheory.Precoverage C} [inst_2 : K.IsStableUnderBaseChange] {S : C}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)} {𝒰 : K.ZeroHypercover S} {𝒱 : K.ZeroHypercover S}
  (f : CategoryTheory.Precoverage.ZeroHypercover.Hom K 𝒰 𝒱),
  CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Presieve.ofArrows 𝒰.X 𝒰.f) →
    (∀ {X : C} (f : X ⟶ S),
        CategoryTheory.Presieve.IsSeparatedFor F
          (CategoryTheory.Presieve.ofArrows (CategoryTheory.Precoverage.ZeroHypercover.pullback₂ f 𝒰).X
            (CategoryTheory.Precoverage.ZeroHypercover.pullback₂ f 𝒰).f)) →
      CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Presieve.ofArrows 𝒱.X 𝒱.f)

structure CategoryTheory.PreOneHypercover.IsStronglySeparatedFor E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : C} → CategoryTheory.PreOneHypercover X → CategoryTheory.Functor Cᵒᵖ (Type u_3) → Prop

A presheaf F of types is (strongly) separated for a pre-1-hypercover if F is separated for both the 0 and the 1-components.

ctor CategoryTheory.PreOneHypercover.IsStronglySeparatedFor.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)},
  CategoryTheory.Presieve.IsSeparatedFor F E.presieve₀ →
    (∀ ⦃i j : E.I₀⦄ ⦃W : C⦄ (p₁ : W ⟶ E.X i) (p₂ : W ⟶ E.X j),
        CategoryTheory.CategoryStruct.comp p₁ (E.f i) = CategoryTheory.CategoryStruct.comp p₂ (E.f j) →
          CategoryTheory.Presieve.IsSeparatedFor F (E.sieve₁ p₁ p₂).arrows) →
      E.IsStronglySeparatedFor F

theorem CategoryTheory.PreOneHypercover.IsStronglySeparatedFor.isSeparatedFor_presieve₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)},
  E.IsStronglySeparatedFor F → CategoryTheory.Presieve.IsSeparatedFor F E.presieve₀

theorem CategoryTheory.PreOneHypercover.IsStronglySeparatedFor.isSeparatedFor_sieve₁ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)},
  E.IsStronglySeparatedFor F →
    ∀ ⦃i j : E.I₀⦄ ⦃W : C⦄ (p₁ : W ⟶ E.X i) (p₂ : W ⟶ E.X j),
      CategoryTheory.CategoryStruct.comp p₁ (E.f i) = CategoryTheory.CategoryStruct.comp p₂ (E.f j) →
        CategoryTheory.Presieve.IsSeparatedFor F (E.sieve₁ p₁ p₂).arrows

structure CategoryTheory.PreOneHypercover.IsStronglySheafFor E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : C} → CategoryTheory.PreOneHypercover X → CategoryTheory.Functor Cᵒᵖ (Type u_3) → Prop

A presheaf F of types is (strongly) a sheaf for a pre-1-hypercover if F is a sheaf for both the 0 and the 1-components. This implies that the multiequalizer diagram attached to E is exact (see CategoryTheory.PreOneHypercover.IsStronglySheafFor.isLimitMultifork).

ctor CategoryTheory.PreOneHypercover.IsStronglySheafFor.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)},
  CategoryTheory.Presieve.IsSheafFor F E.presieve₀ →
    (∀ ⦃i j : E.I₀⦄ ⦃W : C⦄ (p₁ : W ⟶ E.X i) (p₂ : W ⟶ E.X j),
        CategoryTheory.CategoryStruct.comp p₁ (E.f i) = CategoryTheory.CategoryStruct.comp p₂ (E.f j) →
          CategoryTheory.Presieve.IsSeparatedFor F (E.sieve₁ p₁ p₂).arrows) →
      E.IsStronglySheafFor F

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.isSheafFor_presieve₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)}, E.IsStronglySheafFor F → CategoryTheory.Presieve.IsSheafFor F E.presieve₀

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.isSeparatedFor_sieve₁ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_3)},
  E.IsStronglySheafFor F →
    ∀ ⦃i j : E.I₀⦄ ⦃W : C⦄ (p₁ : W ⟶ E.X i) (p₂ : W ⟶ E.X j),
      CategoryTheory.CategoryStruct.comp p₁ (E.f i) = CategoryTheory.CategoryStruct.comp p₂ (E.f j) →
        CategoryTheory.Presieve.IsSeparatedFor F (E.sieve₁ p₁ p₂).arrows

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.isStronglySeparatedFor E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)}, E.IsStronglySheafFor F → E.IsStronglySeparatedFor F

theorem CategoryTheory.PreOneHypercover.IsStronglySeparatedFor.arrowsCompatible E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  E.IsStronglySeparatedFor F →
    ∀ (x : (i : E.I₀) → F.obj (Opposite.op (E.X i))),
      (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
          (CategoryTheory.ConcreteCategory.hom (F.map (E.p₁ k).op)) (x i) =
            (CategoryTheory.ConcreteCategory.hom (F.map (E.p₂ k).op)) (x j)) →
        CategoryTheory.Presieve.Arrows.Compatible F E.f x

def CategoryTheory.PreOneHypercover.IsStronglySheafFor.amalgamate E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : C} →
      {E : CategoryTheory.PreOneHypercover X} →
        {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)} →
          E.IsStronglySheafFor F →
            (x : (i : E.I₀) → F.obj (Opposite.op (E.X i))) →
              (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
                  (CategoryTheory.ConcreteCategory.hom (F.map (E.p₁ k).op)) (x i) =
                    (CategoryTheory.ConcreteCategory.hom (F.map (E.p₂ k).op)) (x j)) →
                F.obj (Opposite.op X)

Glue sections of a Type-valued sheaf over a 1-hypercover.

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.map_amalgamate E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)} (h : E.IsStronglySheafFor F)
  (x : (i : E.I₀) → F.obj (Opposite.op (E.X i)))
  (hc :
    ∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
      (CategoryTheory.ConcreteCategory.hom (F.map (E.p₁ k).op)) (x i) =
        (CategoryTheory.ConcreteCategory.hom (F.map (E.p₂ k).op)) (x j))
  (i : E.I₀), (CategoryTheory.ConcreteCategory.hom (F.map (E.f i).op)) (h.amalgamate x hc) = x i

def CategoryTheory.PreOneHypercover.IsStronglySheafFor.isLimitMultifork E3 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {X : C} →
      {E : CategoryTheory.PreOneHypercover X} →
        {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)} →
          E.IsStronglySheafFor F → CategoryTheory.Limits.IsLimit (E.multifork F)

F satisfies the (strong) sheaf condition for the pre-1-hypercover E, then the multiequalizer diagram attached to E is limiting.

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.isSheafFor_sieve_of_pullback E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  E.IsStronglySheafFor F →
    (∀ ⦃Y : C⦄ (f : Y ⟶ X),
        CategoryTheory.Presieve.IsSeparatedFor F (CategoryTheory.Sieve.pullback f E.sieve₀).arrows) →
      ∀ {S : CategoryTheory.Sieve X},
        (∀ (i : E.I₀), CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Sieve.pullback (E.f i) S).arrows) →
          (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
              CategoryTheory.Presieve.IsSeparatedFor F
                (CategoryTheory.Sieve.pullback (CategoryTheory.CategoryStruct.comp (E.p₁ k) (E.f i)) S).arrows) →
            CategoryTheory.Presieve.IsSheafFor F S.arrows

theorem CategoryTheory.PreOneHypercover.IsStronglySheafFor.isSheafFor_of_pullback E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X : C} {E : CategoryTheory.PreOneHypercover X}
  {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  E.IsStronglySheafFor F →
    (∀ ⦃Y : C⦄ (f : Y ⟶ X),
        CategoryTheory.Presieve.IsSeparatedFor F (CategoryTheory.Sieve.pullback f E.sieve₀).arrows) →
      ∀ {R : CategoryTheory.Presieve X},
        (∀ (i : E.I₀),
            CategoryTheory.Presieve.IsSheafFor F
              (CategoryTheory.Sieve.pullback (E.f i) (CategoryTheory.Sieve.generate R)).arrows) →
          (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
              CategoryTheory.Presieve.IsSeparatedFor F
                (CategoryTheory.Sieve.pullback (CategoryTheory.CategoryStruct.comp (E.p₁ k) (E.f i))
                    (CategoryTheory.Sieve.generate R)).arrows) →
            CategoryTheory.Presieve.IsSheafFor F R

Being a sheaf for a presieve R is local on the target in the following sense: If E is a pre-1-hypercover for which F is separated and a sheaf for the 0-components, then to check that F is a sheaf for R it suffices to check:

  • F is a sheaf for the pullbacks of R along the maps from the 0-components.
  • F is separated for the pullbacks of R along the maps from the 1-components.

theorem CategoryTheory.GrothendieckTopology.OneHypercover.isStronglySeparatedFor E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
  {E : J.OneHypercover X} {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  CategoryTheory.Presieve.IsSeparated J F → E.IsStronglySeparatedFor F

theorem CategoryTheory.GrothendieckTopology.OneHypercover.isStronglySheafFor E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
  {E : J.OneHypercover X} {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  CategoryTheory.Presieve.IsSheaf J F → E.IsStronglySheafFor F

theorem CategoryTheory.GrothendieckTopology.OneHypercover.isSheafFor_sieve_of_pullback E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
  (E : J.OneHypercover X) {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  CategoryTheory.Presieve.IsSheaf J F →
    ∀ {S : CategoryTheory.Sieve X},
      (∀ (i : E.I₀), CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Sieve.pullback (E.f i) S).arrows) →
        (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
            CategoryTheory.Presieve.IsSeparatedFor F
              (CategoryTheory.Sieve.pullback (CategoryTheory.CategoryStruct.comp (E.p₁ k) (E.f i)) S).arrows) →
          CategoryTheory.Presieve.IsSheafFor F S.arrows

theorem CategoryTheory.GrothendieckTopology.OneHypercover.isSheafFor_of_pullback E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
  {E : J.OneHypercover X} {F : CategoryTheory.Functor Cᵒᵖ (Type u_2)},
  CategoryTheory.Presieve.IsSheaf J F →
    ∀ {R : CategoryTheory.Presieve X},
      (∀ (i : E.I₀),
          CategoryTheory.Presieve.IsSheafFor F
            (CategoryTheory.Sieve.pullback (E.f i) (CategoryTheory.Sieve.generate R)).arrows) →
        (∀ ⦃i j : E.I₀⦄ (k : E.I₁ i j),
            CategoryTheory.Presieve.IsSeparatedFor F
              (CategoryTheory.Sieve.pullback (CategoryTheory.CategoryStruct.comp (E.p₁ k) (E.f i))
                  (CategoryTheory.Sieve.generate R)).arrows) →
          CategoryTheory.Presieve.IsSheafFor F R

If F is a J-sheaf, then being a sheaf for a presieve R is J-local on the target, i.e. it can be checked on the pullbacks from a 1-hypercover.