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

40 declarations. Mathlib docs · Source

The equalizer diagram sheaf condition for a presieve

In Mathlib/CategoryTheory/Sites/IsSheafFor.lean it is defined what it means for a presheaf to be a sheaf for a particular presieve. In this file we provide equivalent conditions in terms of equalizer diagrams.

  • In Equalizer.Presieve.sheaf_condition, the sheaf condition at a presieve is shown to be equivalent to that of https://stacks.math.columbia.edu/tag/00VM (and combined with isSheaf_pretopology, this shows the notions of IsSheaf are exactly equivalent.)

  • In Equalizer.Sieve.equalizer_sheaf_condition, the sheaf condition at a sieve is shown to be equivalent to that of Equation (3) p. 122 in Maclane-Moerdijk [MM92].

References

  • [MM92]: Sheaves in geometry and logic, Saunders MacLane, and Ieke Moerdijk: Chapter III, Section 4.
  • https://stacks.math.columbia.edu/tag/00VL (sheaves on a pretopology or site)

This section establishes the equivalence between the sheaf condition of Equation (3) [MM92] and the definition of IsSheafFor.

This section establishes the equivalence between the sheaf condition of https://stacks.math.columbia.edu/tag/00VM and the definition of isSheafFor.

abbrev CategoryTheory.Equalizer.FirstObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor Cᵒᵖ (Type (max v u)) → {X : C} → CategoryTheory.Presieve X → Type (max v u)

The middle object of the fork diagram given in Equation (3) of [MM92], as well as the fork diagram of the Stacks entry.

theorem CategoryTheory.Equalizer.FirstObj.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))} {X : C}
  {R : CategoryTheory.Presieve X} (z₁ z₂ : CategoryTheory.Equalizer.FirstObj P R),
  (∀ (Y : C) (f : Y ⟶ X) (hf : R f),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.fst)) ⟨Y, ⟨f, hf⟩⟩))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.fst)) ⟨Y, ⟨f, hf⟩⟩))
          z₂) →
    z₁ = z₂

theorem CategoryTheory.Equalizer.FirstObj.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))} {X : C}
  {R : CategoryTheory.Presieve X} {z₁ z₂ : CategoryTheory.Equalizer.FirstObj P R},
  z₁ = z₂ ↔
    ∀ (Y : C) (f : Y ⟶ X) (hf : R f),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.fst)) ⟨Y, ⟨f, hf⟩⟩))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.fst)) ⟨Y, ⟨f, hf⟩⟩))
          z₂

def CategoryTheory.Equalizer.firstObjEqFamily E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        (R : CategoryTheory.Presieve X) →
          CategoryTheory.Equalizer.FirstObj P R ≅ CategoryTheory.Presieve.FamilyOfElements P R

Show that FirstObj is isomorphic to FamilyOfElements.

theorem CategoryTheory.Equalizer.firstObjEqFamily_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (R : CategoryTheory.Presieve X),
  (CategoryTheory.Equalizer.firstObjEqFamily P R).inv =
    CategoryTheory.Limits.Pi.lift fun f ↦ TypeCat.ofHom fun x ↦ x ↑f.snd ⋯

theorem CategoryTheory.Equalizer.firstObjEqFamily_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (R : CategoryTheory.Presieve X),
  (CategoryTheory.Equalizer.firstObjEqFamily P R).hom =
    TypeCat.ofHom fun t x x_1 hf ↦
      (CategoryTheory.ConcreteCategory.hom
          (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.fst)) ⟨x, ⟨x_1, hf⟩⟩))
        t

instance CategoryTheory.Equalizer.instInhabitedFirstObjBotPresieve E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) → {X : C} → Inhabited (CategoryTheory.Equalizer.FirstObj P ⊥)

instance CategoryTheory.Equalizer.instInhabitedFirstObjArrowsBotSieve E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} → Inhabited (CategoryTheory.Equalizer.FirstObj P ⊥.arrows)

def CategoryTheory.Equalizer.forkMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} → (R : CategoryTheory.Presieve X) → P.obj (Opposite.op X) ⟶ CategoryTheory.Equalizer.FirstObj P R

The left morphism of the fork diagram given in Equation (3) of [MM92], as well as the fork diagram of the Stacks entry.

abbrev CategoryTheory.Equalizer.Sieve.SecondObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor Cᵒᵖ (Type (max v u)) → {X : C} → CategoryTheory.Sieve X → Type (max v u)

The rightmost object of the fork diagram of Equation (3) [MM92], which contains the data used to check a family is compatible.

theorem CategoryTheory.Equalizer.Sieve.SecondObj.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))} {X : C}
  {S : CategoryTheory.Sieve X} (z₁ z₂ : CategoryTheory.Equalizer.Sieve.SecondObj P S),
  (∀ (Y Z : C) (g : Z ⟶ Y) (f : Y ⟶ X) (hf : S.arrows f),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.snd.fst)) ⟨Y, ⟨Z, ⟨g, ⟨f, hf⟩⟩⟩⟩))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.snd.fst)) ⟨Y, ⟨Z, ⟨g, ⟨f, hf⟩⟩⟩⟩))
          z₂) →
    z₁ = z₂

theorem CategoryTheory.Equalizer.Sieve.SecondObj.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))} {X : C}
  {S : CategoryTheory.Sieve X} {z₁ z₂ : CategoryTheory.Equalizer.Sieve.SecondObj P S},
  z₁ = z₂ ↔
    ∀ (Y Z : C) (g : Z ⟶ Y) (f : Y ⟶ X) (hf : S.arrows f),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.snd.fst)) ⟨Y, ⟨Z, ⟨g, ⟨f, hf⟩⟩⟩⟩))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π (fun f ↦ P.obj (Opposite.op f.snd.fst)) ⟨Y, ⟨Z, ⟨g, ⟨f, hf⟩⟩⟩⟩))
          z₂

def CategoryTheory.Equalizer.Sieve.firstMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        (S : CategoryTheory.Sieve X) →
          CategoryTheory.Equalizer.FirstObj P S.arrows ⟶ CategoryTheory.Equalizer.Sieve.SecondObj P S

The map p of Equations (3,4) [MM92].

instance CategoryTheory.Equalizer.Sieve.instInhabitedSecondObjBotSieve E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} → Inhabited (CategoryTheory.Equalizer.Sieve.SecondObj P ⊥)

def CategoryTheory.Equalizer.Sieve.secondMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        (S : CategoryTheory.Sieve X) →
          CategoryTheory.Equalizer.FirstObj P S.arrows ⟶ CategoryTheory.Equalizer.Sieve.SecondObj P S

The map a of Equations (3,4) [MM92].

theorem CategoryTheory.Equalizer.Sieve.w E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (S : CategoryTheory.Sieve X),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.forkMap P S.arrows)
      (CategoryTheory.Equalizer.Sieve.firstMap P S) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.forkMap P S.arrows)
      (CategoryTheory.Equalizer.Sieve.secondMap P S)

theorem CategoryTheory.Equalizer.Sieve.compatible_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (S : CategoryTheory.Sieve X) (x : CategoryTheory.Equalizer.FirstObj P S.arrows),
  CategoryTheory.Presieve.FamilyOfElements.Compatible
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.firstObjEqFamily P S.arrows).hom) x) ↔
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Sieve.firstMap P S)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Sieve.secondMap P S)) x

The family of elements given by x : FirstObj P S is compatible iff firstMap and secondMap map it to the same point.

theorem CategoryTheory.Equalizer.Sieve.equalizer_sheaf_condition E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (S : CategoryTheory.Sieve X),
  CategoryTheory.Presieve.IsSheafFor P S.arrows ↔
    Nonempty
      (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι (CategoryTheory.Equalizer.forkMap P S.arrows) ⋯))

P is a sheaf for S, iff the fork given by w is an equalizer.

def CategoryTheory.Equalizer.Presieve.SecondObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor Cᵒᵖ (Type (max v u)) →
      {X : C} → (R : CategoryTheory.Presieve X) → [R.HasPairwisePullbacks] → Type (max v u)

The rightmost object of the fork diagram of the Stacks entry, which contains the data used to check a family of elements for a presieve is compatible.

def CategoryTheory.Equalizer.Presieve.firstMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        (R : CategoryTheory.Presieve X) →
          [inst_1 : R.HasPairwisePullbacks] →
            CategoryTheory.Equalizer.FirstObj P R ⟶ CategoryTheory.Equalizer.Presieve.SecondObj P R

The map pr₀* of the Stacks entry.

instance CategoryTheory.Equalizer.Presieve.instInhabitedSecondObjBotPresieve E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        [inst_1 : CategoryTheory.Limits.HasPullbacks C] → Inhabited (CategoryTheory.Equalizer.Presieve.SecondObj P ⊥)

def CategoryTheory.Equalizer.Presieve.secondMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) →
      {X : C} →
        (R : CategoryTheory.Presieve X) →
          [inst_1 : R.HasPairwisePullbacks] →
            CategoryTheory.Equalizer.FirstObj P R ⟶ CategoryTheory.Equalizer.Presieve.SecondObj P R

The map pr₁* of the Stacks entry.

theorem CategoryTheory.Equalizer.Presieve.w E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (R : CategoryTheory.Presieve X) [inst_1 : R.HasPairwisePullbacks],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.forkMap P R)
      (CategoryTheory.Equalizer.Presieve.firstMap P R) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.forkMap P R)
      (CategoryTheory.Equalizer.Presieve.secondMap P R)

theorem CategoryTheory.Equalizer.Presieve.compatible_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (R : CategoryTheory.Presieve X) [inst_1 : R.HasPairwisePullbacks] (x : CategoryTheory.Equalizer.FirstObj P R),
  CategoryTheory.Presieve.FamilyOfElements.Compatible
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.firstObjEqFamily P R).hom) x) ↔
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.firstMap P R)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.secondMap P R)) x

The family of elements given by x : FirstObj P S is compatible iff firstMap and secondMap map it to the same point.

theorem CategoryTheory.Equalizer.Presieve.sheaf_condition E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type (max v u))) {X : C}
  (R : CategoryTheory.Presieve X) [inst_1 : R.HasPairwisePullbacks],
  CategoryTheory.Presieve.IsSheafFor P R ↔
    Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι (CategoryTheory.Equalizer.forkMap P R) ⋯))

P is a sheaf for R, iff the fork given by w is an equalizer.

abbrev CategoryTheory.Equalizer.Presieve.Arrows.FirstObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor Cᵒᵖ (Type w) → {I : Type t} → [Small.{w, t} I] → (I → C) → Type w

The middle object of the fork diagram of the Stacks entry. The difference between this and Equalizer.FirstObj P (ofArrows X π) arises if the family of arrows π contains duplicates. The Presieve.ofArrows doesn't see those.

theorem CategoryTheory.Equalizer.Presieve.Arrows.FirstObj.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type t}
  [inst_1 : Small.{w, t} I] {X : I → C} {z₁ z₂ : CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X},
  z₁ = z₂ ↔
    ∀ (i : I),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π (fun i ↦ P.obj (Opposite.op (X i))) i)) z₁ =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π (fun i ↦ P.obj (Opposite.op (X i))) i)) z₂

theorem CategoryTheory.Equalizer.Presieve.Arrows.FirstObj.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {I : Type t}
  [inst_1 : Small.{w, t} I] (X : I → C) (z₁ z₂ : CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X),
  (∀ (i : I),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π (fun i ↦ P.obj (Opposite.op (X i))) i)) z₁ =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.Pi.π (fun i ↦ P.obj (Opposite.op (X i))) i)) z₂) →
    z₁ = z₂

abbrev CategoryTheory.Equalizer.Presieve.Arrows.SecondObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    CategoryTheory.Functor Cᵒᵖ (Type w) →
      {B : C} →
        {I : Type t} →
          [Small.{w, t} I] →
            (X : I → C) →
              (π : (i : I) → X i ⟶ B) → [(CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks] → Type w

The rightmost object of the fork diagram of the Stacks entry. The difference between this and Equalizer.Presieve.SecondObj P (ofArrows X π) arises if the family of arrows π contains duplicates. The Presieve.ofArrows doesn't see those.

theorem CategoryTheory.Equalizer.Presieve.Arrows.SecondObj.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {B : C} {I : Type t}
  [inst_1 : Small.{w, t} I] {X : I → C} {π : (i : I) → X i ⟶ B}
  [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks]
  {z₁ z₂ : CategoryTheory.Equalizer.Presieve.Arrows.SecondObj P X π},
  z₁ = z₂ ↔
    ∀ (ij : I × I),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π
              (fun ij ↦ P.obj (Opposite.op (CategoryTheory.Limits.pullback (π ij.1) (π ij.2)))) ij))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π
              (fun ij ↦ P.obj (Opposite.op (CategoryTheory.Limits.pullback (π ij.1) (π ij.2)))) ij))
          z₂

theorem CategoryTheory.Equalizer.Presieve.Arrows.SecondObj.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {B : C} {I : Type t}
  [inst_1 : Small.{w, t} I] (X : I → C) (π : (i : I) → X i ⟶ B)
  [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks]
  (z₁ z₂ : CategoryTheory.Equalizer.Presieve.Arrows.SecondObj P X π),
  (∀ (ij : I × I),
      (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π
              (fun ij ↦ P.obj (Opposite.op (CategoryTheory.Limits.pullback (π ij.1) (π ij.2)))) ij))
          z₁ =
        (CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Pi.π
              (fun ij ↦ P.obj (Opposite.op (CategoryTheory.Limits.pullback (π ij.1) (π ij.2)))) ij))
          z₂) →
    z₁ = z₂

def CategoryTheory.Equalizer.Presieve.Arrows.forkMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type w)) →
      {B : C} →
        {I : Type t} →
          [inst_1 : Small.{w, t} I] →
            (X : I → C) →
              ((i : I) → X i ⟶ B) → (P.obj (Opposite.op B) ⟶ CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X)

The left morphism of the fork diagram.

def CategoryTheory.Equalizer.Presieve.Arrows.firstMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type w)) →
      {B : C} →
        {I : Type t} →
          [inst_1 : Small.{w, t} I] →
            (X : I → C) →
              (π : (i : I) → X i ⟶ B) →
                [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks] →
                  CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X ⟶
                    CategoryTheory.Equalizer.Presieve.Arrows.SecondObj P X π

The first of the two parallel morphisms of the fork diagram, induced by the first projection in each pullback.

def CategoryTheory.Equalizer.Presieve.Arrows.secondMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor Cᵒᵖ (Type w)) →
      {B : C} →
        {I : Type t} →
          [inst_1 : Small.{w, t} I] →
            (X : I → C) →
              (π : (i : I) → X i ⟶ B) →
                [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks] →
                  CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X ⟶
                    CategoryTheory.Equalizer.Presieve.Arrows.SecondObj P X π

The second of the two parallel morphisms of the fork diagram, induced by the second projection in each pullback.

theorem CategoryTheory.Equalizer.Presieve.Arrows.w E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {B : C} {I : Type t}
  [inst_1 : Small.{w, t} I] (X : I → C) (π : (i : I) → X i ⟶ B)
  [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.Presieve.Arrows.forkMap P X π)
      (CategoryTheory.Equalizer.Presieve.Arrows.firstMap P X π) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Equalizer.Presieve.Arrows.forkMap P X π)
      (CategoryTheory.Equalizer.Presieve.Arrows.secondMap P X π)

theorem CategoryTheory.Equalizer.Presieve.Arrows.compatible_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {B : C} {I : Type w}
  (X : I → C) (π : (i : I) → X i ⟶ B) [inst_1 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks]
  (x : CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X),
  CategoryTheory.Presieve.Arrows.Compatible P π
      ((CategoryTheory.ConcreteCategory.hom
          (CategoryTheory.Limits.Types.productIso fun i ↦ P.obj (Opposite.op (X i))).hom)
        x) ↔
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.Arrows.firstMap P X π)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.Arrows.secondMap P X π)) x

The family of elements given by x : FirstObj P S is compatible iff firstMap and secondMap map it to the same point. See CategoryTheory.Equalizer.Presieve.Arrows.compatible_iff_of_small for a version with less universe assumptions.

theorem CategoryTheory.Equalizer.Presieve.Arrows.compatible_iff_of_small E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {B : C} {I : Type t}
  [inst_1 : Small.{w, t} I] (X : I → C) (π : (i : I) → X i ⟶ B)
  [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks]
  (x : CategoryTheory.Equalizer.Presieve.Arrows.FirstObj P X),
  CategoryTheory.Presieve.Arrows.Compatible P π
      ((equivShrink ((i : I) → P.obj (Opposite.op (X i)))).symm
        ((CategoryTheory.ConcreteCategory.hom
            (CategoryTheory.Limits.Types.Small.productIso fun i ↦ P.obj (Opposite.op (X i))).hom)
          x)) ↔
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.Arrows.firstMap P X π)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Equalizer.Presieve.Arrows.secondMap P X π)) x

Version of CategoryTheory.Equalizer.Presieve.Arrows.compatible_iff for a small indexing type.

theorem CategoryTheory.Equalizer.Presieve.Arrows.sheaf_condition E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {B : C} {I : Type t}
  [inst_1 : Small.{w, t} I] (X : I → C) (π : (i : I) → X i ⟶ B)
  [inst_2 : (CategoryTheory.Presieve.ofArrows X π).HasPairwisePullbacks],
  CategoryTheory.Presieve.IsSheafFor P (CategoryTheory.Presieve.ofArrows X π) ↔
    Nonempty
      (CategoryTheory.Limits.IsLimit
        (CategoryTheory.Limits.Fork.ofι (CategoryTheory.Equalizer.Presieve.Arrows.forkMap P X π) ⋯))

P is a sheaf for Presieve.ofArrows X π, iff the fork given by w is an equalizer.

theorem CategoryTheory.Equalizer.Presieve.isSheafFor_singleton_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type u_1)} {X Y : C}
  {f : X ⟶ Y} (c : CategoryTheory.Limits.PullbackCone f f) (hc : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Presieve.singleton f) ↔
    Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι (F.map f.op) ⋯))

The sheaf condition for a single morphism is the same as the canonical fork diagram being limiting.

theorem CategoryTheory.Equalizer.Presieve.isSheafFor_singleton_iff_of_hasPullback E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type u_1)} {X Y : C}
  {f : X ⟶ Y} [inst_1 : CategoryTheory.Limits.HasPullback f f],
  CategoryTheory.Presieve.IsSheafFor F (CategoryTheory.Presieve.singleton f) ↔
    Nonempty (CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Fork.ofι (F.map f.op) ⋯))

Special case of isSheafFor_singleton_iff with c = pullback.cone f f.