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.Sieves.Presheaf

28 declarations. Mathlib docs · Source

def CategoryTheory.Sieve.functor E1 #

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

A sieve induces a presheaf.

theorem CategoryTheory.Sieve.functor_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) (Y : Cᵒᵖ),
  S.functor.obj Y = { g // S.arrows g }

theorem CategoryTheory.Sieve.functor_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) {X_1 Y : Cᵒᵖ}
  (f : X_1 ⟶ Y), S.functor.map f = TypeCat.ofHom fun g ↦ ⟨CategoryTheory.CategoryStruct.comp f.unop ↑g, ⋯⟩

def CategoryTheory.Sieve.natTransOfLe E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} → {S T : CategoryTheory.Sieve X} → S ≤ T → (S.functor ⟶ T.functor)

If a sieve S is contained in a sieve T, then we have a morphism of presheaves on their induced presheaves.

theorem CategoryTheory.Sieve.natTransOfLe_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S T : CategoryTheory.Sieve X} (h : S ≤ T)
  (x : Cᵒᵖ), (CategoryTheory.Sieve.natTransOfLe h).app x = TypeCat.ofHom fun f ↦ ⟨↑f, ⋯⟩

def CategoryTheory.Sieve.functorInclusion E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} → (S : CategoryTheory.Sieve X) → S.functor ⟶ CategoryTheory.yoneda.obj X

The natural inclusion from the functor induced by a sieve to the yoneda embedding.

theorem CategoryTheory.Sieve.functorInclusion_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) (x : Cᵒᵖ),
  S.functorInclusion.app x = TypeCat.ofHom fun f ↦ ↑f

def CategoryTheory.Sieve.toFunctor E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} →
      (S : CategoryTheory.Sieve X) → {Y : C} → (f : Y ⟶ X) → S.arrows f → (CategoryTheory.yoneda.obj Y ⟶ S.functor)

Any component f : Y ⟶ X of the sieve S induces a natural transformation from yoneda.obj Y to the presheaf induced by S.

theorem CategoryTheory.Sieve.toFunctor_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) {Y : C} (f : Y ⟶ X)
  (hf : S.arrows f) (Z : Cᵒᵖ),
  (S.toFunctor f hf).app Z = TypeCat.ofHom fun g ↦ ⟨CategoryTheory.CategoryStruct.comp g f, ⋯⟩

theorem CategoryTheory.Sieve.natTransOfLe_comm E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S T : CategoryTheory.Sieve X} (h : S ≤ T),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Sieve.natTransOfLe h) T.functorInclusion = S.functorInclusion

instance CategoryTheory.Sieve.functorInclusion_is_mono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S : CategoryTheory.Sieve X},
  CategoryTheory.Mono S.functorInclusion

The presheaf induced by a sieve is a subobject of the yoneda embedding.

def CategoryTheory.Sieve.sieveOfSubfunctor E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} → {R : CategoryTheory.Functor Cᵒᵖ (Type v₁)} → (R ⟶ CategoryTheory.yoneda.obj X) → CategoryTheory.Sieve X

A natural transformation to a representable functor induces a sieve. This is the left inverse of functorInclusion, shown in sieveOfSubfunctor_functorInclusion.

theorem CategoryTheory.Sieve.sieveOfSubfunctor_apply E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {R : CategoryTheory.Functor Cᵒᵖ (Type v₁)}
  (f : R ⟶ CategoryTheory.yoneda.obj X) (Y : C) (g : Y ⟶ X),
  (CategoryTheory.Sieve.sieveOfSubfunctor f).arrows g =
    ∃ t, (CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op Y))) t = g

theorem CategoryTheory.Sieve.sieveOfSubfunctor_functorInclusion E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S : CategoryTheory.Sieve X},
  CategoryTheory.Sieve.sieveOfSubfunctor S.functorInclusion = S

instance CategoryTheory.Sieve.functorInclusion_top_isIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C}, CategoryTheory.IsIso ⊤.functorInclusion

abbrev CategoryTheory.Sieve.uliftFunctor E1 #

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

A variant of Sieve.functor with universe lifting.

def CategoryTheory.Sieve.uliftNatTransOfLe E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} → {S T : CategoryTheory.Sieve X} → S ≤ T → (S.uliftFunctor ⟶ T.uliftFunctor)

A variant of Sieve.natTransOfLe with universe lifting.

theorem CategoryTheory.Sieve.uliftNatTransOfLe_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S T : CategoryTheory.Sieve X} (h : S ≤ T)
  (x : Cᵒᵖ), (CategoryTheory.Sieve.uliftNatTransOfLe h).app x = TypeCat.ofHom fun f ↦ { down := ⟨↑f.down, ⋯⟩ }

def CategoryTheory.Sieve.uliftFunctorInclusion E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} → (S : CategoryTheory.Sieve X) → S.uliftFunctor ⟶ CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X

A variant of Sieve.functorInclusion with universe lifting.

theorem CategoryTheory.Sieve.uliftFunctorInclusion_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) (X_1 : Cᵒᵖ),
  S.uliftFunctorInclusion.app X_1 = TypeCat.ofHom fun x ↦ { down := ↑x.down }

def CategoryTheory.Sieve.toUliftFunctor E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} →
      (S : CategoryTheory.Sieve X) →
        {Y : C} → (f : Y ⟶ X) → S.arrows f → (CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj Y ⟶ S.uliftFunctor)

A variant of Sieve.toFunctor with universe lifting.

theorem CategoryTheory.Sieve.toUliftFunctor_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X) {Y : C} (f : Y ⟶ X)
  (hf : S.arrows f) (Z : Cᵒᵖ),
  (S.toUliftFunctor f hf).app Z = TypeCat.ofHom fun g ↦ { down := ⟨CategoryTheory.CategoryStruct.comp g.down f, ⋯⟩ }

theorem CategoryTheory.Sieve.uliftNatTransOfLe_comm E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S T : CategoryTheory.Sieve X} (h : S ≤ T),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Sieve.uliftNatTransOfLe h) T.uliftFunctorInclusion =
    S.uliftFunctorInclusion

instance CategoryTheory.Sieve.uliftFunctorInclusion_is_mono E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} (S : CategoryTheory.Sieve X),
  CategoryTheory.Mono S.uliftFunctorInclusion

The presheaf induced by a sieve is a subobject of the yoneda embedding.

def CategoryTheory.Sieve.sieveOfUliftSubfunctor E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {X : C} →
      {R : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))} →
        (R ⟶ CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X) → CategoryTheory.Sieve X

A variant of Sieve.sieveOfSubfunctor with universe lifting.

theorem CategoryTheory.Sieve.sieveOfUliftSubfunctor_apply E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {R : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁))}
  (f : R ⟶ CategoryTheory.uliftYoneda.{w, v₁, u₁}.obj X) (Y : C) (g : Y ⟶ X),
  (CategoryTheory.Sieve.sieveOfUliftSubfunctor f).arrows g =
    ∃ t, (CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op Y))) t = { down := g }

theorem CategoryTheory.Sieve.sieveOfUliftSubfunctor_uliftFunctorInclusion E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C} {S : CategoryTheory.Sieve X},
  CategoryTheory.Sieve.sieveOfUliftSubfunctor S.uliftFunctorInclusion = S

instance CategoryTheory.Sieve.uliftFunctorInclusion_top_isIso E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X : C}, CategoryTheory.IsIso ⊤.uliftFunctorInclusion