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.Topos.Sheaf

31 declarations. Mathlib docs · Source

theorem CategoryTheory.Sheaf.χ.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F G : CategoryTheory.Sheaf J (Type (max u v))} (m m_1 : F ⟶ G) (e_m : m = m_1) [inst_1 : CategoryTheory.Mono m],
  CategoryTheory.Sheaf.χ m = CategoryTheory.Sheaf.χ m_1

def CategoryTheory.Presheaf.truth E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    (CategoryTheory.Functor.const Cᵒᵖ).obj PUnit.{(max u v) + 1} ⟶ CategoryTheory.Functor.sieves C

The truth morphism in the category of presheaves. At each component X : C, it is the constant map returning ⊤ : Sieve X.

theorem CategoryTheory.Presheaf.truth_app E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ),
  (CategoryTheory.Presheaf.truth C).app X = TypeCat.ofHom fun x ↦ ⊤

def CategoryTheory.Presheaf.χ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} → (F ⟶ G) → (G ⟶ CategoryTheory.Functor.sieves C)

The characteristic map of an inclusion of presheaves. Given a monomorphism of sheaves m : F ⟶ G, an object X of the site, map an element x : G(X) to the (closed) sieve on X where f : Y → X is in the sieve iff ∃ a ∈ F(Y), G(f)(x) = m_Y(a)

theorem CategoryTheory.Presheaf.χ_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} (m : F ⟶ G)
  (X : Cᵒᵖ),
  (CategoryTheory.Presheaf.χ m).app X =
    TypeCat.ofHom fun x ↦
      {
        arrows := fun Y f ↦
          ∃ a,
            (CategoryTheory.ConcreteCategory.hom (G.map f.op)) x =
              (CategoryTheory.ConcreteCategory.hom (m.app (Opposite.op Y))) a,
        downward_closed := ⋯ }

theorem CategoryTheory.Presheaf.comp_χ_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))}
  (m : F ⟶ G),
  CategoryTheory.CategoryStruct.comp m (CategoryTheory.Presheaf.χ m) =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Functor.isTerminalConst Cᵒᵖ CategoryTheory.Limits.Types.isTerminalPUnit).from F)
      (CategoryTheory.Presheaf.truth C)

theorem CategoryTheory.Presheaf.isPullback_χ_truth E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} (m : F ⟶ G)
  [CategoryTheory.Mono m],
  CategoryTheory.IsPullback m
    ((CategoryTheory.Functor.isTerminalConst Cᵒᵖ CategoryTheory.Limits.Types.isTerminalPUnit).from F)
    (CategoryTheory.Presheaf.χ m) (CategoryTheory.Presheaf.truth C)

theorem CategoryTheory.Presheaf.χ_unique E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} (m : F ⟶ G)
  (χ' : G ⟶ CategoryTheory.Functor.sieves C),
  CategoryTheory.IsPullback m
      ((CategoryTheory.Functor.isTerminalConst Cᵒᵖ CategoryTheory.Limits.Types.isTerminalPUnit).from F) χ'
      (CategoryTheory.Presheaf.truth C) →
    χ' = CategoryTheory.Presheaf.χ m

def CategoryTheory.Presheaf.classifier E1 #

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

A construction of a subject classifier in a category of presheaves.

theorem CategoryTheory.Presheaf.classifier_Ω E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C],
  (CategoryTheory.Presheaf.classifier C).Ω = CategoryTheory.Functor.sieves C

theorem CategoryTheory.Presheaf.classifier_χ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] {U X : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} (m : U ⟶ X)
  (x : CategoryTheory.Mono m), (CategoryTheory.Presheaf.classifier C).χ m = CategoryTheory.Presheaf.χ m

theorem CategoryTheory.Presheaf.classifier_truth E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C],
  (CategoryTheory.Presheaf.classifier C).truth = CategoryTheory.Presheaf.truth C

theorem CategoryTheory.Presheaf.classifier_Ω₀ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C],
  (CategoryTheory.Presheaf.classifier C).Ω₀ = (CategoryTheory.Functor.const Cᵒᵖ).obj PUnit.{max (u + 1) (v + 1)}

theorem CategoryTheory.Presheaf.classifier_χ₀ E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (Y : CategoryTheory.Functor Cᵒᵖ (Type (max u v))),
  (CategoryTheory.Presheaf.classifier C).χ₀ Y =
    (CategoryTheory.Functor.isTerminalConst Cᵒᵖ CategoryTheory.Limits.Types.isTerminalPUnit).from Y

instance CategoryTheory.instHasSubobjectClassifierFunctorOppositeTypeOfEssentiallySmall E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.EssentiallySmall.{w, v, u} C],
  CategoryTheory.HasSubobjectClassifier (CategoryTheory.Functor Cᵒᵖ (Type w))

Presheaf categories on an essentially small domain have a subobject classifier.

theorem CategoryTheory.GrothendieckTopology.isClosed_χ_app_apply_of_isSheaf_of_isSeparated E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F G : CategoryTheory.Functor Cᵒᵖ (Type (max u v))} (m : F ⟶ G) [CategoryTheory.Mono m],
  CategoryTheory.Presieve.IsSheaf J F →
    CategoryTheory.Presieve.IsSeparated J G →
      ∀ (X : Cᵒᵖ) (x : G.obj X),
        J.IsClosed ((CategoryTheory.ConcreteCategory.hom ((CategoryTheory.Presheaf.χ m).app X)) x)

def CategoryTheory.Sheaf.Ω E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) → CategoryTheory.Sheaf J (Type (max u v))

The sheaf of closed sieves w/r/t J. See also Functor.closedSieves and Sheaf.classifier

theorem CategoryTheory.Sheaf.Ω_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C),
  (CategoryTheory.Sheaf.Ω J).obj = (CategoryTheory.Functor.closedSieves J).toFunctor

def CategoryTheory.Sheaf.truth E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      CategoryTheory.Sheaf.terminal J CategoryTheory.Limits.Types.isTerminalPUnit ⟶ CategoryTheory.Sheaf.Ω J

The morphism t : 1 ⟶ Ω which picks out the maximal sieve

theorem CategoryTheory.Sheaf.truth_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C),
  (CategoryTheory.Sheaf.truth J).hom = CategoryTheory.Subfunctor.lift (CategoryTheory.Presheaf.truth C) ⋯

def CategoryTheory.Sheaf.χ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : CategoryTheory.GrothendieckTopology C} →
      {F G : CategoryTheory.Sheaf J (Type (max u v))} →
        (m : F ⟶ G) → [CategoryTheory.Mono m] → G ⟶ CategoryTheory.Sheaf.Ω J

Given a monomorphism of sheaves η : F ⟶ G, an object X of the site, map an element x : G(X) to the (closed) sieve on X where f : Y → X is in the sieve iff ∃ a ∈ F(Y), G(f)(x) = η_Y(a)

theorem CategoryTheory.Sheaf.χ_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F G : CategoryTheory.Sheaf J (Type (max u v))} (m : F ⟶ G) [inst_1 : CategoryTheory.Mono m],
  (CategoryTheory.Sheaf.χ m).hom = CategoryTheory.Subfunctor.lift (CategoryTheory.Presheaf.χ m.hom) ⋯

theorem CategoryTheory.Sheaf.isPullback_χ_truth E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F G : CategoryTheory.Sheaf J (Type (max u v))} (m : F ⟶ G) [inst_1 : CategoryTheory.Mono m],
  CategoryTheory.IsPullback m
    ((CategoryTheory.Sheaf.isTerminalTerminal J CategoryTheory.Limits.Types.isTerminalPUnit).from F)
    (CategoryTheory.Sheaf.χ m) (CategoryTheory.Sheaf.truth J)

theorem CategoryTheory.Sheaf.χ_unique E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  {F G : CategoryTheory.Sheaf J (Type (max u v))} (m : F ⟶ G) [inst_1 : CategoryTheory.Mono m]
  (χ' : G ⟶ CategoryTheory.Sheaf.Ω J),
  CategoryTheory.IsPullback m
      ((CategoryTheory.Sheaf.isTerminalTerminal J CategoryTheory.Limits.Types.isTerminalPUnit).from F) χ'
      (CategoryTheory.Sheaf.truth J) →
    χ' = CategoryTheory.Sheaf.χ m

def CategoryTheory.Sheaf.classifier E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      CategoryTheory.Subobject.Classifier (CategoryTheory.Sheaf J (Type (max u v)))

A construction of a subobject classifier for sheaf categories. Ω is the sheaf of closed sieves, and truth maps for each object X : C, an element of PUnit to the maximal Sieve X, which is always closed.

theorem CategoryTheory.Sheaf.classifier_χ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  {U X : CategoryTheory.Sheaf J (Type (max u v))} (m : U ⟶ X) (x : CategoryTheory.Mono m),
  (CategoryTheory.Sheaf.classifier J).χ m = CategoryTheory.Sheaf.χ m

theorem CategoryTheory.Sheaf.classifier_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C),
  (CategoryTheory.Sheaf.classifier J).truth = CategoryTheory.Sheaf.truth J

theorem CategoryTheory.Sheaf.classifier_Ω₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C),
  (CategoryTheory.Sheaf.classifier J).Ω₀ = CategoryTheory.Sheaf.terminal J CategoryTheory.Limits.Types.isTerminalPUnit

theorem CategoryTheory.Sheaf.classifier_Ω E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C),
  (CategoryTheory.Sheaf.classifier J).Ω = CategoryTheory.Sheaf.Ω J

theorem CategoryTheory.Sheaf.classifier_χ₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C)
  (Y : CategoryTheory.Sheaf J (Type (max u v))),
  (CategoryTheory.Sheaf.classifier J).χ₀ Y =
    (CategoryTheory.Sheaf.isTerminalTerminal J CategoryTheory.Limits.Types.isTerminalPUnit).from Y

instance CategoryTheory.Sheaf.instHasSubobjectClassifierTypeOfEssentiallySmall E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
  [CategoryTheory.EssentiallySmall.{w, v, u} C], CategoryTheory.HasSubobjectClassifier (CategoryTheory.Sheaf J (Type w))

Sheaf categories on essentially small sites have a subobject classifier.