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.CoversTop.Basic

14 declarations. Mathlib docs · Source

Objects which cover the terminal object

In this file, given a site (C, J), we introduce the notion of a family of objects Y : I → C which "cover the final object": this means that for all X : C, the sieve Sieve.ofObjects Y X is covering for J. When there is a terminal object X : C, then J.CoversTop Y holds iff Sieve.ofObjects Y X is covering for J.

We introduce a notion of compatible family of elements on objects Y and obtain Presheaf.FamilyOfElementsOnObjects.IsCompatible.existsUnique_section which asserts that if a presheaf of types is a sheaf, then any compatible family of elements on objects Y which cover the final object extends to a section of this presheaf.

theorem CategoryTheory.Presheaf.FamilyOfElementsOnObjects.familyOfElements.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type u_1}
  {Y : I → C} (x x_1 : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y),
  x = x_1 →
    ∀ (X : C) ⦃Y_1 : C⦄ (f f_1 : Y_1 ⟶ X) (e_f : f = f_1) (a : (CategoryTheory.Sieve.ofObjects Y X).arrows f),
      x.familyOfElements X f a = x_1.familyOfElements X f_1 ⋯

def CategoryTheory.GrothendieckTopology.CoversTop E1 #

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

A family of objects Y : I → C "covers the final object" if for all X : C, the sieve ofObjects Y X is a covering sieve.

theorem CategoryTheory.GrothendieckTopology.coversTop_iff_of_isTerminal E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) (X : C)
  (hX : CategoryTheory.Limits.IsTerminal X) {I : Type u_1} (Y : I → C),
  J.CoversTop Y ↔ CategoryTheory.Sieve.ofObjects Y X ∈ J X

abbrev CategoryTheory.GrothendieckTopology.CoversTop.cover E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : CategoryTheory.GrothendieckTopology C} → {I : Type u_1} → {Y : I → C} → J.CoversTop Y → (W : C) → J.Cover W

The cover of any object W : C attached to a family of objects Y that satisfy J.CoversTop Y

theorem CategoryTheory.GrothendieckTopology.CoversTop.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {A : Type u'}
  [inst_1 : CategoryTheory.Category.{v', u'} A] {I : Type u_1} {Y : I → C},
  J.CoversTop Y →
    ∀ (F : CategoryTheory.Sheaf J A) {c : CategoryTheory.Limits.Cone F.obj} (hc : CategoryTheory.Limits.IsLimit c)
      {X : A} {f g : X ⟶ c.pt},
      (∀ (i : I),
          CategoryTheory.CategoryStruct.comp f (c.π.app (Opposite.op (Y i))) =
            CategoryTheory.CategoryStruct.comp g (c.π.app (Opposite.op (Y i)))) →
        f = g

theorem CategoryTheory.GrothendieckTopology.CoversTop.sections_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {I : Type u_1}
  {Y : I → C},
  J.CoversTop Y →
    ∀ (F : CategoryTheory.Sheaf J (Type u_2)) {x y : ↑F.obj.sections},
      (∀ (i : I), ↑x (Opposite.op (Y i)) = ↑y (Opposite.op (Y i))) → x = y

def CategoryTheory.Presheaf.FamilyOfElementsOnObjects E1 #

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

A family of elements of a presheaf of types F indexed by a family of objects Y : I → C consists of the data of an element in F.obj (Opposite.op (Y i)) for all i.

def CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
      {I : Type u_1} → {Y : I → C} → CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y → Prop

x : FamilyOfElementsOnObjects F Y is compatible if for any object Z such that there exists a morphism f : Z → Y i, then the pullback of x i by f is independent of f and i.

def CategoryTheory.Presheaf.FamilyOfElementsOnObjects.familyOfElements E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
      {I : Type u_1} →
        {Y : I → C} →
          CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y →
            (X : C) → CategoryTheory.Presieve.FamilyOfElements F (CategoryTheory.Sieve.ofObjects Y X).arrows

A family of elements indexed by Sieve.ofObjects Y X that is induced by x : FamilyOfElementsOnObjects F Y. See the equational lemma IsCompatible.familyOfElements_apply which holds under the assumption x.IsCompatible.

theorem CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible.familyOfElements_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type u_1}
  {Y : I → C} {x : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y},
  x.IsCompatible →
    ∀ {X Z : C} (f : Z ⟶ X) (i : I) (φ : Z ⟶ Y i),
      x.familyOfElements X f ⋯ = (CategoryTheory.ConcreteCategory.hom (F.map φ.op)) (x i)

theorem CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible.familyOfElements_isCompatible E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type u_1}
  {Y : I → C} {x : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y},
  x.IsCompatible → ∀ (X : C), (x.familyOfElements X).Compatible

theorem CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible.existsUnique_section E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type u_1} {Y : I → C}
  {x : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y},
  x.IsCompatible → J.CoversTop Y → CategoryTheory.Presheaf.IsSheaf J F → ∃! s, ∀ (i : I), ↑s (Opposite.op (Y i)) = x i

def CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible.section_ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : CategoryTheory.GrothendieckTopology C} →
      {F : CategoryTheory.Functor Cᵒᵖ (Type w)} →
        {I : Type u_1} →
          {Y : I → C} →
            {x : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y} →
              x.IsCompatible → J.CoversTop Y → CategoryTheory.Presheaf.IsSheaf J F → ↑F.sections

The section of a sheaf of types which lifts a compatible family of elements indexed by objects which cover the terminal object.

theorem CategoryTheory.Presheaf.FamilyOfElementsOnObjects.IsCompatible.section_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F : CategoryTheory.Functor Cᵒᵖ (Type w)} {I : Type u_1} {Y : I → C}
  {x : CategoryTheory.Presheaf.FamilyOfElementsOnObjects F Y} (hx : x.IsCompatible) (hY : J.CoversTop Y)
  (hF : CategoryTheory.Presheaf.IsSheaf J F) (i : I), ↑(hx.section_ hY hF) (Opposite.op (Y i)) = x i